index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878
  1. <template>
  2. <div>
  3. <!-- <div class="right-menu-item hover-effect" @click="handleDrawer">
  4. <i class="el-icon-message-solid" style="font-size: 24px; line-height: 50px" />
  5. <el-badge v-if='allUnreadNum > 0' class="mark" :value="allUnreadNum" />
  6. </div> -->
  7. <el-dropdown v-if="QRcodeList.length" class="user-container yidong">
  8. <div class="user right-menu-item hover-effect">
  9. <span>移动端</span>
  10. </div>
  11. <el-dropdown-menu slot="dropdown" class="user-dropdown">
  12. <el-dropdown-item v-for="(item, index) in QRcodeList" :key="index">
  13. <div class="QRcode">
  14. <el-image
  15. class="QRcode-img"
  16. :src="$showImgUrl(item.codeUrl)"
  17. :preview-src-list="[$showImgUrl(item.codeUrl)]"
  18. fit="fill"
  19. ></el-image>
  20. <div>
  21. <div>{{ item.name }}</div>
  22. <div class="liveTitle">{{ item.saleName }}</div>
  23. <div>
  24. <el-image
  25. v-if="$showImgUrl(item.iosIcon)"
  26. class="shouji-icon"
  27. :src="item.iosIcon"
  28. fit="fill"
  29. ></el-image>
  30. <el-image
  31. v-if="$showImgUrl(item.androidIcon)"
  32. class="shouji-icon"
  33. :src="item.androidIcon"
  34. fit="fill"
  35. ></el-image>
  36. </div>
  37. </div>
  38. </div>
  39. </el-dropdown-item>
  40. </el-dropdown-menu>
  41. </el-dropdown>
  42. <el-drawer
  43. size="450px"
  44. :with-header="false"
  45. :show-close="false"
  46. :visible.sync="drawer"
  47. direction="rtl"
  48. :modal="false"
  49. >
  50. <div class="drawer">
  51. <div :offset="0" class="drawer_left">
  52. <div class="drawer_top">
  53. <div class="flex center">
  54. <div class="radio">状态筛选标签</div>
  55. <div class="icon_close">
  56. <i class="el-icon-close" @click="guanbi" />
  57. </div>
  58. </div>
  59. <div>
  60. <el-button :type="pam.read_flag == '' ? 'primary' : null" size="mini" @click="hadleRead(0)"
  61. >全部</el-button
  62. >
  63. <el-button :type="pam.read_flag == 'NO' ? 'primary' : null" size="mini" @click="hadleRead(1)"
  64. >未读</el-button
  65. >
  66. <el-badge :value="allUnreadNum" class="item" />
  67. <el-button :type="pam.read_flag == 'YES' ? 'primary' : null" size="mini" @click="hadleRead(2)"
  68. >已读</el-button
  69. >
  70. </div>
  71. <el-tabs v-model="pam.type" @tab-click="handleClick">
  72. <el-tab-pane label="通知" name="N"></el-tab-pane>
  73. <el-tab-pane label="活动" name="A"></el-tab-pane>
  74. <el-tab-pane label="公告" name="B"></el-tab-pane>
  75. </el-tabs>
  76. </div>
  77. <div v-loading="loading" class="notice" style="position: relative">
  78. <div style="position: absolute; top: 0; bottom: 0; left: 0; right: 0">
  79. <v-scroll-view
  80. :x="false"
  81. :y="true"
  82. slidingBgClassName="slidingBgClassName3"
  83. slidingBlockClassName="slidingBlockClassName3"
  84. >
  85. <div style="box-sizing: border-box; padding: 10px">
  86. <div
  87. v-if="dataList.length"
  88. class="item-data"
  89. v-for="(item, index) in dataList"
  90. :key="index"
  91. @click="opendomview(item)"
  92. >
  93. <div class="item-tag">{{ ['活动', '公告', '通知'][['A', 'B', 'N'].indexOf(item.type)] }}</div>
  94. <div class="item-centor">
  95. <div class="item-centor">{{ item.content }}</div>
  96. <div class="item-time">{{ item.issueTime }}</div>
  97. </div>
  98. </div>
  99. <el-empty v-if="!dataList.length" description="暂无数据"></el-empty>
  100. </div>
  101. </v-scroll-view>
  102. </div>
  103. </div>
  104. <el-pagination
  105. layout="total, prev, pager, next"
  106. :total="total"
  107. small
  108. :page-size="pam.pageSize"
  109. :current-page="pam.pageNum"
  110. @current-change="currentChange"
  111. />
  112. </div>
  113. </div>
  114. </el-drawer>
  115. <el-drawer
  116. :title="showRow.title"
  117. :visible.sync="dialogVisible"
  118. direction="rtl"
  119. :before-close="dialogVisibleGuanbi"
  120. size="450px"
  121. :modal="false"
  122. >
  123. <el-card class="box-card">
  124. <div v-html="showRow.content"></div>
  125. </el-card>
  126. </el-drawer>
  127. </div>
  128. </template>
  129. <script>
  130. import { mapMutations, mapActions, mapGetters } from 'vuex'
  131. import vScrollView from 'v-scroll-view'
  132. // import { notifyMyList, notifyMyRead } from '@/api/notificationCenter/eventAnnouncement'
  133. import { EventBus } from '@/utils/eventBus'
  134. import { commonCompanywechatGet } from '@/api/common'
  135. export default {
  136. components: { vScrollView },
  137. data() {
  138. return {
  139. drawer: false,
  140. dataList: [],
  141. loading: false,
  142. total: 0,
  143. pam: {
  144. type: 'N',
  145. read_flag: '',
  146. pageNum: 1,
  147. pageSize: 20
  148. },
  149. dialogVisible: false,
  150. showRow: {},
  151. QRcodeList: []
  152. }
  153. },
  154. computed: {
  155. ...mapGetters(['allUnreadNum']),
  156. // 用户信息
  157. userInfo() {
  158. return JSON.parse(localStorage.getItem('greemall_user'))
  159. }
  160. },
  161. mounted() {
  162. EventBus.$on('opendomview', this.opendomview)
  163. EventBus.$on('handleDrawerabcde', this.handleDrawer)
  164. var this_ = this
  165. if (this.timeId) {
  166. clearTimeout(this.timeId)
  167. }
  168. ;(function dingshiqingqiu() {
  169. this_.updateUnreadNotice()
  170. this_.timeId = setTimeout(dingshiqingqiu, 2000)
  171. })()
  172. commonCompanywechatGet({ id: this.userInfo?.companyWechatId, returnErr: true }).then(res => {
  173. console.log(res)
  174. this.QRcodeList = []
  175. if (res?.data?.qrcode1) {
  176. this.QRcodeList.push({
  177. codeUrl: res.data.qrcode1,
  178. name: '小程序',
  179. saleName: '',
  180. iosIcon:
  181. 'https://zf-mall.oss-cn-shenzhen.aliyuncs.com/2024-03/17115930219681afd35b0-8c93-400a-94f8-e49277c88616.png',
  182. androidIcon:
  183. 'https://zf-mall.oss-cn-shenzhen.aliyuncs.com/2024-03/1711593045466d069e7f6-5c77-40a0-a7b3-6e2b3a6ce0eb.png'
  184. })
  185. }
  186. if (res?.data?.qrcode2) {
  187. this.QRcodeList.push({
  188. codeUrl: res.data.qrcode2,
  189. name: '公众号',
  190. saleName: '',
  191. iosIcon:
  192. 'https://zf-mall.oss-cn-shenzhen.aliyuncs.com/2024-03/17115930219681afd35b0-8c93-400a-94f8-e49277c88616.png',
  193. androidIcon:
  194. 'https://zf-mall.oss-cn-shenzhen.aliyuncs.com/2024-03/1711593045466d069e7f6-5c77-40a0-a7b3-6e2b3a6ce0eb.png'
  195. })
  196. }
  197. if (res?.data?.payQrcode) {
  198. this.QRcodeList.push({
  199. codeUrl: res.data.payQrcode,
  200. name: '收款码',
  201. saleName: '',
  202. iosIcon:
  203. 'https://zf-mall.oss-cn-shenzhen.aliyuncs.com/2024-03/17115930219681afd35b0-8c93-400a-94f8-e49277c88616.png',
  204. androidIcon:
  205. 'https://zf-mall.oss-cn-shenzhen.aliyuncs.com/2024-03/1711593045466d069e7f6-5c77-40a0-a7b3-6e2b3a6ce0eb.png'
  206. })
  207. }
  208. })
  209. },
  210. beforeDestroy() {
  211. if (this.timeId) {
  212. clearTimeout(this.timeId)
  213. }
  214. },
  215. watch: {
  216. pam: {
  217. handler(newVal, oldVal) {
  218. this.getMessageList()
  219. },
  220. deep: true
  221. }
  222. },
  223. methods: {
  224. ...mapMutations({
  225. SET_SHOW: 'app/SET_SHOW'
  226. }),
  227. ...mapActions({
  228. updateUnreadNotice: 'app/getUnreadNum'
  229. }),
  230. handleClick(val) {
  231. console.log(val)
  232. },
  233. opendomview(row) {
  234. this.showRow = row
  235. this.dialogVisible = true
  236. // notifyMyRead({
  237. // id:row.id
  238. // }).then(res=>{
  239. // this.updateUnreadNotice()
  240. // if(this.drawer){
  241. // this.getMessageList()
  242. // }
  243. // })
  244. },
  245. dialogVisibleGuanbi() {
  246. this.showRow = {}
  247. this.dialogVisible = false
  248. },
  249. // 数据处理
  250. getMessageList() {
  251. // notifyMyList({
  252. // "pageNum": this.pam.pageNum,
  253. // "pageSize": this.pam.pageSize,
  254. // "params": (()=>{
  255. // var arr = []
  256. // if(this.pam.read_flag){
  257. // arr.push({ "param": "a.read_flag", "compare": "=", "value": this.pam.read_flag })
  258. // }
  259. // if(this.pam.type){
  260. // arr.push({ "param": "a.type", "compare": "=", "value": this.pam.type })
  261. // }
  262. // return arr
  263. // })(),
  264. // "moduleId": "486084326453317-teshu"
  265. // }).then(res => {
  266. // this.dataList = res.data.records
  267. // this.total = res.data.total
  268. // })
  269. },
  270. currentChange(v) {
  271. this.pam.pageNum = v
  272. },
  273. // 打开消息弹窗
  274. handleDrawer() {
  275. this.drawer = true
  276. this.getMessageList()
  277. },
  278. guanbi() {
  279. this.drawer = false
  280. this.pam = {
  281. read_flag: '',
  282. pageNum: 1,
  283. pageSize: 20
  284. }
  285. },
  286. // 状态筛选标签
  287. hadleRead(index) {
  288. this.dataList = []
  289. this.pam.read_flag = ['', 'NO', 'YES'][index]
  290. this.pam.pageNum = 1
  291. this.getMessageList()
  292. }
  293. }
  294. }
  295. </script>
  296. <style lang="scss" scoped>
  297. @import '~@/styles/variables.scss';
  298. .item {
  299. margin-left: -10px;
  300. margin-top: -10px;
  301. }
  302. .notice_tip {
  303. font-size: 16px;
  304. }
  305. ::v-deep .slidingBgClassName {
  306. background: rgba(0, 0, 0, 0.0075) !important;
  307. }
  308. ::v-deep .slidingBlockClassName {
  309. background: rgba(0, 0, 0, 0.0125) !important;
  310. }
  311. ::v-deep .el-drawer .el-drawer__body {
  312. overflow: hidden !important;
  313. }
  314. .navbar {
  315. width: 100%;
  316. height: 50px;
  317. overflow: hidden;
  318. background: #{$navbarBg};
  319. box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
  320. display: flex;
  321. flex-direction: row;
  322. align-items: center;
  323. .hamburger-container {
  324. line-height: 46px;
  325. height: 100%;
  326. color: #{$navbarText};
  327. cursor: pointer;
  328. transition: background 0.3s;
  329. -webkit-tap-highlight-color: transparent;
  330. border-right: 1px solid #eaeaea;
  331. &:hover {
  332. background: rgba(0, 0, 0, 0.025);
  333. }
  334. }
  335. ul {
  336. list-style: none;
  337. padding: 0;
  338. line-height: 20px;
  339. li {
  340. overflow: hidden;
  341. white-space: nowrap;
  342. text-overflow: ellipsis;
  343. }
  344. }
  345. .right-menu {
  346. height: 100%;
  347. line-height: 50px;
  348. & > div {
  349. float: left;
  350. }
  351. &:focus {
  352. outline: none;
  353. }
  354. .user-container {
  355. height: 50px;
  356. .user {
  357. i {
  358. font-size: 18px;
  359. margin-right: 5px;
  360. }
  361. span {
  362. font-size: 16px;
  363. }
  364. }
  365. }
  366. .right-menu-item {
  367. display: inline-block;
  368. padding: 0 15px;
  369. height: 100%;
  370. font-size: 18px;
  371. color: #{$navbarText};
  372. vertical-align: text-bottom;
  373. border-left: 1px solid #eaeaea;
  374. &.hover-effect {
  375. cursor: pointer;
  376. transition: background 0.3s;
  377. &:hover {
  378. background: rgba(0, 0, 0, 0.025);
  379. }
  380. }
  381. .notice-icon {
  382. padding-top: 0;
  383. padding-bottom: 0;
  384. }
  385. .right-menu-item {
  386. .notice-icon > i {
  387. font-size: 18px;
  388. }
  389. sup {
  390. top: 12px;
  391. right: 25px;
  392. }
  393. }
  394. }
  395. }
  396. .flex {
  397. display: flex;
  398. justify-content: space-between;
  399. }
  400. .dot_title {
  401. height: 40px;
  402. }
  403. .dot::before {
  404. content: '';
  405. display: inline-block;
  406. margin-right: 10px;
  407. padding: 5px;
  408. border-radius: 25px;
  409. background-color: #f00;
  410. }
  411. .tip {
  412. width: 37px;
  413. height: 20px;
  414. border-radius: 2px;
  415. background-color: rgba(255, 0, 0, 1);
  416. color: rgba(255, 255, 255, 1);
  417. font-size: 14px;
  418. text-align: center;
  419. }
  420. .drawer_top {
  421. margin: 0 20px;
  422. }
  423. .center {
  424. align-items: center;
  425. }
  426. .notice {
  427. box-sizing: content-box;
  428. margin: 0 10px 10px 10px;
  429. background-color: rgba(255, 255, 255, 1);
  430. height: calc(100% - 205px);
  431. box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4);
  432. overflow-x: hidden;
  433. &_item {
  434. width: calc(450px - 80px);
  435. margin: 20px;
  436. border-bottom: 1px solid #ebeef5;
  437. }
  438. }
  439. .icon {
  440. &_bell {
  441. text-align: right;
  442. cursor: pointer;
  443. }
  444. &_close {
  445. font-size: 25px;
  446. cursor: pointer;
  447. }
  448. }
  449. .drawer {
  450. height: 100%;
  451. display: flex;
  452. font-size: 14px;
  453. &_left {
  454. width: 450px;
  455. display: inline-block;
  456. }
  457. &_right {
  458. width: 450px;
  459. margin: 0 20px;
  460. display: inline-block;
  461. .radio {
  462. display: flex;
  463. justify-content: center;
  464. }
  465. &_content {
  466. height: 855px;
  467. padding: 0 2px;
  468. overflow-y: auto;
  469. &_item {
  470. display: flex;
  471. align-items: center;
  472. margin: 20px 0;
  473. padding: 0 10px;
  474. height: 84px;
  475. font-size: 14px;
  476. border-radius: 5px;
  477. background-color: rgba(255, 255, 255, 1);
  478. box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4);
  479. &_text {
  480. display: flex;
  481. flex-direction: column;
  482. justify-content: space-around;
  483. flex: 1 1;
  484. height: 84px;
  485. padding-left: 20px;
  486. line-height: 20px;
  487. }
  488. }
  489. }
  490. }
  491. }
  492. }
  493. ::v-deep .slidingBgClassName3 {
  494. background: rgba(0, 0, 0, 0.01) !important;
  495. }
  496. ::v-deep .slidingBlockClassName3 {
  497. background: rgba(0, 0, 0, 0.03) !important;
  498. }
  499. .item-data {
  500. width: 100%;
  501. height: 50px;
  502. display: flex;
  503. align-items: center;
  504. cursor: pointer;
  505. .item-tag {
  506. height: auto;
  507. box-sizing: border-box;
  508. padding: 6px;
  509. background: #e8fffb;
  510. color: #44d4d0;
  511. margin-right: 6px;
  512. line-height: normal;
  513. }
  514. .item-centor {
  515. line-height: normal;
  516. flex: 1;
  517. overflow: hidden;
  518. text-overflow: ellipsis;
  519. white-space: nowrap;
  520. font-size: 16px;
  521. flex-wrap: 500;
  522. .item-time {
  523. font-size: 12px;
  524. color: #aaa;
  525. margin-top: 5px;
  526. text-indent: 0.8em;
  527. }
  528. }
  529. &:hover {
  530. background: #e8fffb;
  531. }
  532. }
  533. ul {
  534. list-style: none;
  535. padding: 0;
  536. line-height: 20px;
  537. li {
  538. overflow: hidden;
  539. white-space: nowrap;
  540. text-overflow: ellipsis;
  541. }
  542. }
  543. .right-menu {
  544. height: 100%;
  545. line-height: 50px;
  546. & > div {
  547. float: left;
  548. }
  549. &:focus {
  550. outline: none;
  551. }
  552. .user-container {
  553. height: 50px;
  554. .user {
  555. i {
  556. font-size: 18px;
  557. margin-right: 5px;
  558. }
  559. span {
  560. font-size: 16px;
  561. }
  562. }
  563. }
  564. .right-menu-item {
  565. display: inline-block;
  566. padding: 0 15px;
  567. height: 100%;
  568. font-size: 18px;
  569. color: #{$navbarText};
  570. vertical-align: text-bottom;
  571. border-left: 1px solid #eaeaea;
  572. &.hover-effect {
  573. cursor: pointer;
  574. transition: background 0.3s;
  575. &:hover {
  576. background: rgba(0, 0, 0, 0.025);
  577. }
  578. }
  579. .notice-icon {
  580. padding-top: 0;
  581. padding-bottom: 0;
  582. }
  583. .right-menu-item {
  584. .notice-icon > i {
  585. font-size: 18px;
  586. }
  587. sup {
  588. top: 12px;
  589. right: 25px;
  590. }
  591. }
  592. }
  593. }
  594. .flex {
  595. display: flex;
  596. justify-content: space-between;
  597. }
  598. .dot_title {
  599. height: 40px;
  600. }
  601. .dot::before {
  602. content: '';
  603. display: inline-block;
  604. margin-right: 10px;
  605. padding: 5px;
  606. border-radius: 25px;
  607. background-color: #f00;
  608. }
  609. .tip {
  610. width: 37px;
  611. height: 20px;
  612. border-radius: 2px;
  613. background-color: rgba(255, 0, 0, 1);
  614. color: rgba(255, 255, 255, 1);
  615. font-size: 14px;
  616. text-align: center;
  617. }
  618. .drawer_top {
  619. margin: 0 20px;
  620. }
  621. .center {
  622. align-items: center;
  623. }
  624. .notice {
  625. box-sizing: content-box;
  626. margin: 0 20px;
  627. margin-top: 20px;
  628. background-color: rgba(255, 255, 255, 1);
  629. height: 690px;
  630. box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4);
  631. overflow-x: hidden;
  632. &_item {
  633. width: calc(450px - 80px);
  634. margin: 20px;
  635. border-bottom: 1px solid #ebeef5;
  636. }
  637. }
  638. .icon {
  639. &_bell {
  640. text-align: right;
  641. cursor: pointer;
  642. }
  643. &_close {
  644. font-size: 25px;
  645. cursor: pointer;
  646. }
  647. }
  648. .drawer {
  649. height: 100%;
  650. display: flex;
  651. font-size: 14px;
  652. &_left {
  653. width: 450px;
  654. display: inline-block;
  655. }
  656. &_right {
  657. width: 450px;
  658. margin: 0 20px;
  659. display: inline-block;
  660. .radio {
  661. display: flex;
  662. justify-content: center;
  663. }
  664. &_content {
  665. height: 855px;
  666. padding: 0 2px;
  667. overflow-y: auto;
  668. &_item {
  669. display: flex;
  670. align-items: center;
  671. margin: 20px 0;
  672. padding: 0 10px;
  673. height: 84px;
  674. font-size: 14px;
  675. border-radius: 5px;
  676. background-color: rgba(255, 255, 255, 1);
  677. box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4);
  678. &_text {
  679. display: flex;
  680. flex-direction: column;
  681. justify-content: space-around;
  682. flex: 1 1;
  683. height: 84px;
  684. padding-left: 20px;
  685. line-height: 20px;
  686. }
  687. }
  688. }
  689. }
  690. }
  691. .download {
  692. width: 595px;
  693. max-height: 327px;
  694. background-color: rgba(255, 255, 255, 1);
  695. .clear {
  696. cursor: pointer;
  697. }
  698. &_title {
  699. display: flex;
  700. justify-content: space-between;
  701. padding: 5px 15px;
  702. div:last-child {
  703. display: flex;
  704. justify-content: flex-end;
  705. flex: 0 350px;
  706. div {
  707. flex: 1;
  708. font-size: 14px;
  709. }
  710. div:last-child {
  711. flex: 1;
  712. text-align: right;
  713. }
  714. }
  715. }
  716. &_item {
  717. max-height: 280px;
  718. margin: 15px;
  719. overflow-y: auto;
  720. &_content {
  721. display: flex;
  722. justify-content: space-between;
  723. margin: 10px 0;
  724. padding-bottom: 5px;
  725. font-size: 14px;
  726. border-bottom: 1px solid rgba(204, 204, 204, 0.38);
  727. div:last-child {
  728. display: flex;
  729. justify-content: flex-end;
  730. flex: 0 350px;
  731. div {
  732. flex: 1;
  733. }
  734. div:last-child {
  735. flex: 1;
  736. text-align: right;
  737. }
  738. }
  739. }
  740. }
  741. }
  742. .el-dropdown-menu {
  743. padding: 0 !important;
  744. margin: 0 !important;
  745. z-index: 9999 !important;
  746. }
  747. ::v-deep .el-dropdown-menu__item.is-disabled {
  748. color: #000;
  749. padding: 20px;
  750. border-bottom: 1px solid #ebeef5;
  751. }
  752. .yidong {
  753. ::v-deep .el-dropdown-menu__item {
  754. padding: 0;
  755. }
  756. }
  757. ::v-deep ul > li:last-child {
  758. border-bottom: none !important;
  759. }
  760. .QRcode {
  761. display: flex;
  762. flex-direction: row;
  763. align-items: center;
  764. margin-bottom: 20px;
  765. }
  766. .QRcode-img {
  767. width: 120px;
  768. height: 120px;
  769. margin-right: 5px;
  770. border: 1px solid #ebeef5;
  771. }
  772. .shouji-icon {
  773. width: 40px;
  774. height: 40px;
  775. margin-right: 10px;
  776. }
  777. .liveTitle {
  778. color: #f00;
  779. }
  780. </style>