user.vue 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736
  1. <template>
  2. <view class="container user clearfix">
  3. <cm-custom :navbar-data="nvabarData" v-if="isCmcustom"></cm-custom>
  4. <view class="user-section">
  5. <view
  6. class="header"
  7. :style="{
  8. height: CustomBar + 120 - StatusBar + 'px',
  9. paddingTop: CustomBar + 'px',
  10. background: 'url(https://static.caimei365.com/app/mini-mcare/icon/icon_header@2x.png)',
  11. backgroundSize: 'cover'
  12. }"
  13. >
  14. <view class="header-main" v-if="hasLogin">
  15. <view class="header-icon">
  16. <view class="header-logo">
  17. <image :src="headpic ? headpic : `${staticUrl}icon_default@3x.png`" mode=""></image>
  18. </view>
  19. </view>
  20. <view class="header-text">
  21. <view class="user-item"
  22. ><text class="u-h1">{{ name }}</text></view
  23. >
  24. <view class="user-item">
  25. <view class="user-item-tips none" v-if="userIdentity == 2">
  26. 审核未通过,请重新提交 >
  27. </view>
  28. <view
  29. class="user-item-tips"
  30. v-if="userIdentity == 4"
  31. :class="userVip.vipFlag == 0 ? 'none' : ''"
  32. >
  33. <image class="tips-icon" v-if="userVip.vipFlag == 1" :src="userVipIcon" mode=""></image>
  34. {{ userType }}
  35. </view>
  36. </view>
  37. </view>
  38. </view>
  39. <view class="header-main-none" v-else>
  40. <view class="header-icon" @click="navigator('/pages/login/login')">
  41. <view class="header-logo">
  42. <image :src="staticUrl + 'icon_default@2x.png'" mode=""></image>
  43. </view>
  44. </view>
  45. <view class="header-text">
  46. <view class="user-item" @click="navigator('/pages/login/login')"> 登录 / 注册 </view>
  47. </view>
  48. </view>
  49. <!-- 订单 -->
  50. <view class="header-main-order">
  51. <view class="user-order">
  52. <view class="tab-title" @click="navigator('/pages/user/order/order-list?state=0')">
  53. <text class="cell-tit">我的订单</text> <text class="cell-more">全部订单</text>
  54. <text class="iconfont icon-xiangyou"></text>
  55. </view>
  56. <view class="order-section">
  57. <view
  58. class="order-item"
  59. @click="navigator('/pages/user/order/order-list?state=2')"
  60. hover-class="common-hover"
  61. :hover-stay-time="50"
  62. >
  63. <view class="order-icon">
  64. <image :src="staticUrl + 'icon_order_2@2x.png'" mode=""></image>
  65. <text
  66. v-if="paymentCount > 0 && hasLogin"
  67. class="uni-badge uni-badge-error uni-small uni-badge--small icon-num "
  68. :class="[paymentCount < 10 ? 'goleft' : '']"
  69. >
  70. {{ paymentCount >= 99 ? '99+' : paymentCount }}
  71. </text>
  72. </view>
  73. <text class="order-t">待付款</text>
  74. </view>
  75. <view
  76. class="order-item"
  77. @click="navigator('/pages/user/order/order-list?state=3')"
  78. hover-class="common-hover"
  79. :hover-stay-time="50"
  80. >
  81. <view class="order-icon">
  82. <image :src="staticUrl + 'icon_order_3@2x.png'" mode=""></image>
  83. <text
  84. v-if="waitShipmentsCount > 0 && hasLogin"
  85. class="uni-badge uni-badge-error uni-small uni-badge--small icon-num"
  86. :class="[waitShipmentsCount < 10 ? 'goleft' : '']"
  87. >
  88. {{ waitShipmentsCount >= 99 ? '99+' : waitShipmentsCount }}
  89. </text>
  90. </view>
  91. <text class="order-t">待发货</text>
  92. </view>
  93. <view
  94. class="order-item"
  95. @click="navigator('/pages/user/order/order-list?state=4')"
  96. hover-class="common-hover"
  97. :hover-stay-time="50"
  98. >
  99. <view class="order-icon">
  100. <image :src="staticUrl + 'icon_order_4@2x.png'" mode=""></image>
  101. <text
  102. v-if="shipmentsCount > 0 && hasLogin"
  103. class="uni-badge uni-badge-error uni-small uni-badge--small icon-num"
  104. :class="[shipmentsCount < 10 ? 'goleft' : '']"
  105. >
  106. {{ shipmentsCount >= 99 ? '99+' : shipmentsCount }}
  107. </text>
  108. </view>
  109. <text class="order-t">已发货</text>
  110. </view>
  111. <view
  112. class="order-item"
  113. @click="navigator('/pages/user/order/order-list?state=5')"
  114. hover-class="common-hover"
  115. :hover-stay-time="50"
  116. >
  117. <view class="order-icon">
  118. <image :src="staticUrl + 'icon_order_5@2x.png'" mode=""></image>
  119. <text
  120. v-if="salesReturnCount > 0 && hasLogin"
  121. class="uni-badge uni-badge-error uni-small uni-badge--small icon-num"
  122. :class="[salesReturnCount < 10 ? 'goleft' : '']"
  123. >
  124. {{ salesReturnCount >= 99 ? '99+' : salesReturnCount }}
  125. </text>
  126. </view>
  127. <text class="order-t">退货/款</text>
  128. </view>
  129. </view>
  130. </view>
  131. </view>
  132. <!-- 底部跳转 -->
  133. <view class="header-main-listcell">
  134. <view class="list-cell-item">
  135. <view
  136. class="list-cell"
  137. v-for="(item, index) in firstList"
  138. :key="index"
  139. @click="navigator(item.path)"
  140. hover-class="cell-hover"
  141. :hover-stay-time="50"
  142. >
  143. <view class="cell-icon">
  144. <image class="cell-icon-image" :src="staticUrl + item.icon" mode=""></image>
  145. </view>
  146. <text class="cell-tit"> {{ item.name }} </text>
  147. <text class="cell-more iconfont icon-xiangyou"></text>
  148. </view>
  149. <!-- #ifdef MP-WEIXIN -->
  150. <button class="list-cell" open-type="contact" @bindcontact="handleContact">
  151. <view class="cell-icon">
  152. <image class="cell-icon-image" :src="staticUrl + 'icon_club_5@2x.png'" mode=""></image>
  153. </view>
  154. <text class="cell-tit"> 官方客服 </text>
  155. <text class="cell-more iconfont icon-xiangyou"></text>
  156. </button>
  157. <!-- #endif -->
  158. </view>
  159. </view>
  160. </view>
  161. </view>
  162. <!-- 技术支持 -->
  163. <view class="copyright">
  164. <image class="image" :src="staticUrl + 'icon_caimei@2x.png'"></image>
  165. <view class="text">由采美365网提供技术服务</view>
  166. </view>
  167. </view>
  168. </template>
  169. <script>
  170. import authorize from '@/common/config/authorize.js'
  171. import { mapState, mapMutations } from 'vuex'
  172. export default {
  173. data() {
  174. return {
  175. nvabarData: {
  176. // 顶部自定义导航
  177. showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示,
  178. showSearch: 0,
  179. title: '个人中心', // 导航栏中间的标题
  180. haveBack: false,
  181. textLeft: this.$store.state.isIphone,
  182. textColor: '#333333',
  183. bgColor: ''
  184. },
  185. staticUrl:this.global.staticUrl,
  186. CustomBar: this.CustomBar, // 顶部导航栏高度
  187. StatusBar: this.StatusBar,
  188. userId: 0,
  189. isModify: false,
  190. isCmcustom: false,
  191. name: '',
  192. userType: '',
  193. headpic: '',
  194. userVip: {}, // 超级会员信息
  195. userBeans: 0,
  196. userMoney: '0.00',
  197. couponNum: 0,
  198. bankNum: 0,
  199. contactNumber: '',
  200. openid: '',
  201. aboutHtml: '',
  202. telPhone: '',
  203. bindMobile: '',
  204. isSvip: false,
  205. isSvipType: 2,
  206. clubStatus: '', // 机构升级资质机构审核状态1:待审核 91:审核失败
  207. userIdentity: '', // 机构等级
  208. confirmedCount: 0, // 待确认
  209. paymentCount: 0, // 待付款角标
  210. waitShipmentsCount: 0, // 待收货角标
  211. shipmentsCount: 0, // 已发货角标
  212. salesReturnCount: '', // 退货/款角标
  213. firstList: [
  214. {
  215. name: '收藏商品',
  216. path: '/pages/user/collection/collection',
  217. icon: 'icon_club_1@2x.png'
  218. },
  219. {
  220. name: '收货地址管理',
  221. path: '/pages/user/address/address',
  222. icon: 'icon_club_2@2x.png'
  223. },
  224. {
  225. name: '机构资料',
  226. path: '/pages/login/information',
  227. icon: 'icon_club_3@2x.png'
  228. },
  229. {
  230. name: '账户设置',
  231. path: '/pages/user/setting/setting',
  232. icon: 'icon_club_4@2x.png'
  233. }
  234. ]
  235. }
  236. },
  237. onLoad(option) {},
  238. computed: {
  239. ...mapState(['hasLogin', 'userInfo', 'isWxAuthorize'])
  240. },
  241. methods: {
  242. ...mapMutations(['updateNoticeNum']),
  243. getClubObtainCenter() {
  244. // 获取个人中心数据
  245. this.UserService.GetClubObtainCenter({ userId: this.userId })
  246. .then(response => {
  247. let data = response.data
  248. this.userIdentity = data.user.userIdentity //机构等级
  249. if (this.userIdentity == 2) {
  250. this.name = data.club.name //资质机构名称
  251. this.userType = '资质机构'
  252. } else {
  253. this.name = data.user.userName //个人机构名称
  254. this.userType = '个人机构'
  255. }
  256. this.userBeans = data.user.userBeans // 采美豆数量
  257. this.headpic = data.user.image // 会所头像
  258. this.bindMobile = data.user.bindMobile // 登录手机号
  259. this.clubStatus = data.user.clubStatus // 机构审核状态
  260. this.couponNum = data.couponNum // 优惠券数量
  261. this.bankNum = data.bankNum // 银行卡数量
  262. this.isModify = data.isModify // 是否显示采美豆
  263. this.contactNumber = data.contactNumber // 联系电话
  264. let clubInfo = { name: this.name, image: this.headpic, userId: data.user.userId }
  265. uni.setStorage({ key: 'clubInfo', data: clubInfo })
  266. })
  267. .catch(error => {
  268. this.$util.msg(error.msg, 2000)
  269. })
  270. },
  271. UserClubOrderCount() {
  272. //获取订单状态数量
  273. this.OrderService.UserClubOrderCount({ userId: this.userId })
  274. .then(response => {
  275. let data = response.data
  276. this.confirmedCount = this.showBadge(data.confirmedCount) //待确认
  277. this.paymentCount = this.showBadge(data.paymentCount) //待付款
  278. this.waitShipmentsCount = this.showBadge(data.waitShipmentsCount) //待收货
  279. this.shipmentsCount = this.showBadge(data.shipmentsCount) //已发货
  280. this.salesReturnCount = this.showBadge(data.salesReturnCount) //退货/款
  281. })
  282. .catch(error => {
  283. console.log('获取订单状态数量异常~')
  284. })
  285. },
  286. getPhone() {
  287. // 获取联系我们电话
  288. this.CommonService.QueryAfterSale()
  289. .then(response => {
  290. this.contactNumber = response.data.contactNumber
  291. })
  292. .catch(error => {
  293. this.$util.msg(error.msg, 2000)
  294. })
  295. },
  296. toPhone() {
  297. // 拨号
  298. uni.makePhoneCall({
  299. phoneNumber: this.contactNumber //仅为示例
  300. })
  301. },
  302. navigator(url) {
  303. if (this.hasLogin) {
  304. this.$api.navigateTo(url)
  305. } else {
  306. this.$api.navigateTo('/pages/login/login?type=0')
  307. }
  308. },
  309. showBadge(n) {
  310. let num = ''
  311. if (n > 100) {
  312. num = 99
  313. } else {
  314. num = n
  315. }
  316. return num
  317. },
  318. clubStatusText(state) {
  319. let stateText
  320. switch (state) {
  321. case 90:
  322. stateText = ''
  323. break
  324. case 1:
  325. stateText = '正在审核中'
  326. break
  327. case 92:
  328. stateText = '审核不通过'
  329. break
  330. }
  331. return stateText
  332. },
  333. async initUserData() {
  334. const userInfo = await this.$api.getComStorage('userInfo')
  335. this.userId = userInfo.userId ? userInfo.userId : 0
  336. this.getClubObtainCenter()
  337. this.UserClubOrderCount()
  338. }
  339. },
  340. onPageScroll(e) {
  341. //实时获取到滚动的值
  342. if (e.scrollTop > 20) {
  343. this.isCmcustom = true
  344. this.nvabarData.bgColor = '#FFFFFF'
  345. this.nvabarData.textColor = '#333333'
  346. } else {
  347. this.isCmcustom = false
  348. this.nvabarData.bgColor = ''
  349. this.nvabarData.textColor = '#FFFFFF'
  350. }
  351. },
  352. onPullDownRefresh() {
  353. //下拉刷新
  354. if (this.hasLogin) {
  355. this.getClubObtainCenter()
  356. this.UserClubOrderCount()
  357. uni.stopPullDownRefresh()
  358. } else {
  359. uni.stopPullDownRefresh()
  360. }
  361. },
  362. onShow() {
  363. if (this.hasLogin) {
  364. this.initUserData()
  365. } else {
  366. this.getPhone()
  367. this.$store.commit('updateAllNum', 0)
  368. }
  369. }
  370. }
  371. </script>
  372. <style lang="scss">
  373. @import '@/uni.scss';
  374. page {
  375. background-color: #f7f7f7;
  376. }
  377. .user {
  378. width: 100%;
  379. height: 100%;
  380. position: relative;
  381. background: rgba(247, 247, 247, 1);
  382. }
  383. .header {
  384. width: 100%;
  385. position: relative;
  386. background-size: cover;
  387. }
  388. .header-main {
  389. width: 702rpx;
  390. height: 130rpx;
  391. padding: 12rpx 24rpx;
  392. display: flex;
  393. .header-text {
  394. flex: 8;
  395. display: flex;
  396. flex-direction: column;
  397. box-sizing: border-box;
  398. padding: 10rpx 0 0 20rpx;
  399. .user-item {
  400. flex: 1;
  401. height: 64rpx;
  402. line-height: 64rpx;
  403. .user-item-tips {
  404. display: inline-block;
  405. float: left;
  406. height: 40rpx;
  407. background: #FCC120;
  408. border-radius: 20rpx;
  409. line-height: 40rpx;
  410. font-size: $font-size-22;
  411. text-align: center;
  412. color: #FFFFFF;
  413. box-sizing: border-box;
  414. padding: 0 20rpx;
  415. position: relative;
  416. &.none {
  417. background: #F85050;
  418. }
  419. }
  420. .u-none {
  421. font-size: $font-size-32;
  422. line-height: 120rpx;
  423. color: #ffffff;
  424. text-align: left;
  425. }
  426. .u-h1 {
  427. width: 400rpx;
  428. float: left;
  429. font-size: $font-size-30;
  430. color: #ffffff;
  431. text-align: left;
  432. -o-text-overflow: ellipsis;
  433. text-overflow: ellipsis;
  434. display: -webkit-box;
  435. word-break: break-all;
  436. -webkit-box-orient: vertical;
  437. -webkit-line-clamp: 1;
  438. overflow: hidden;
  439. }
  440. .u-p {
  441. font-size: $font-size-24;
  442. line-height: 30rpx;
  443. color: #ffffff;
  444. text-align: left;
  445. }
  446. }
  447. }
  448. .header-icon {
  449. flex: 2;
  450. display: flex;
  451. margin-right: 20rpx;
  452. align-items: center;
  453. justify-content: center;
  454. .header-logo {
  455. width: 120rpx;
  456. height: 120rpx;
  457. box-sizing: border-box;
  458. padding: 21rpx;
  459. background-color: #fff;
  460. border-radius: 100%;
  461. image {
  462. width: 78rpx;
  463. height: 78rpx;
  464. display: block;
  465. }
  466. }
  467. }
  468. }
  469. .header-main-none {
  470. width: 702rpx;
  471. height: 152rpx;
  472. padding: 0 24rpx;
  473. display: flex;
  474. .header-text {
  475. flex: 8;
  476. display: flex;
  477. flex-direction: column;
  478. position: relative;
  479. box-sizing: border-box;
  480. padding: 20rpx 0;
  481. .user-item {
  482. flex: 1;
  483. height: 120rpx;
  484. line-height: 120rpx;
  485. font-size: $font-size-32;
  486. color: #ffffff;
  487. text-align: left;
  488. }
  489. }
  490. .header-icon {
  491. flex: 2;
  492. display: flex;
  493. margin-right: 20rpx;
  494. align-items: center;
  495. justify-content: center;
  496. .header-logo {
  497. width: 120rpx;
  498. height: 120rpx;
  499. box-sizing: border-box;
  500. padding: 21rpx;
  501. background-color: #fff;
  502. border-radius: 100%;
  503. image {
  504. width: 78rpx;
  505. height: 78rpx;
  506. display: block;
  507. }
  508. }
  509. }
  510. }
  511. .header-main-order {
  512. width: 100%;
  513. height: auto;
  514. box-sizing: border-box;
  515. padding: 0 24rpx;
  516. margin-top: 26rpx;
  517. .user-order {
  518. width: 100%;
  519. height: auto;
  520. background-color: $bg-color;
  521. margin-bottom: 24rpx;
  522. border-radius: 20rpx;
  523. box-sizing: border-box;
  524. padding: 0 24rpx;
  525. }
  526. }
  527. .tab-title {
  528. font-size: $font-size-28;
  529. line-height: 80rpx;
  530. color: #333333;
  531. text-align: left;
  532. border-bottom: 1px solid #f8f8f8;
  533. position: relative;
  534. .cell-tit {
  535. font-size: $font-size-28;
  536. color: $text-color;
  537. }
  538. .cell-more {
  539. float: right;
  540. line-height: 80rpx;
  541. font-size: $font-size-24;
  542. color: $text-color;
  543. padding-right: 30rpx;
  544. }
  545. .iconfont {
  546. width: 30rpx;
  547. height: 80rpx;
  548. line-height: 80rpx;
  549. text-align: center;
  550. position: absolute;
  551. right: 0;
  552. top: 0;
  553. display: block;
  554. font-size: $font-size-28;
  555. color: #b2b2b2;
  556. }
  557. }
  558. .order-section {
  559. display: flex;
  560. justify-content: space-around;
  561. align-items: center;
  562. flex-wrap: wrap;
  563. height: 99rpx;
  564. padding: 24rpx 0;
  565. }
  566. .order-item {
  567. flex: 1;
  568. display: flex;
  569. flex-direction: column;
  570. align-items: center;
  571. position: relative;
  572. &:last-child {
  573. margin-right: 0;
  574. }
  575. .order-icon {
  576. width: 52rpx;
  577. height: 52rpx;
  578. position: relative;
  579. image {
  580. width: 52rpx;
  581. height: 52rpx;
  582. }
  583. .icon-num {
  584. position: absolute;
  585. right: -24rpx;
  586. top: -9rpx;
  587. }
  588. .icon-num.goleft {
  589. right: -12rpx;
  590. }
  591. }
  592. .order-t {
  593. line-height: 50rpx;
  594. font-size: $font-size-24;
  595. color: $text-color;
  596. }
  597. }
  598. .header-main-last {
  599. width: 100%;
  600. height: 20rpx;
  601. float: left;
  602. box-sizing: border-box;
  603. }
  604. .header-main-listcell {
  605. width: 100%;
  606. height: auto;
  607. box-sizing: border-box;
  608. padding: 0 24rpx;
  609. margin-bottom: 60rpx;
  610. }
  611. .list-cell-item {
  612. width: 654rpx;
  613. height: auto;
  614. margin-bottom: 24rpx;
  615. padding: 0 24rpx;
  616. background: $bg-color;
  617. border-radius: 20rpx;
  618. }
  619. .list-cell {
  620. width: 100%;
  621. line-height: 100rpx;
  622. position: relative;
  623. background: $bg-color;
  624. border-bottom: 1px solid #ebebeb;
  625. height: 100rpx;
  626. &:last-child {
  627. border-bottom: none;
  628. }
  629. &.cell-hover {
  630. background: #fafafa;
  631. }
  632. .cell-icon {
  633. width: 60rpx;
  634. height: 100rpx;
  635. text-align: center;
  636. box-sizing: border-box;
  637. padding: 32rpx 12rpx;
  638. float: left;
  639. .cell-icon-image {
  640. width: 36rpx;
  641. height: 36rpx;
  642. display: block;
  643. }
  644. }
  645. .cell-more {
  646. height: 100rpx;
  647. line-height: 100rpx;
  648. text-align: right;
  649. position: absolute;
  650. right: 0;
  651. top: 0;
  652. font-size: $font-size-28;
  653. color: #b2b2b2;
  654. &.cont {
  655. width: 250rpx;
  656. }
  657. .txt {
  658. color: #fb4343;
  659. padding-right: 10rpx;
  660. }
  661. }
  662. .cell-tit {
  663. width: 465rpx;
  664. display: block;
  665. float: left;
  666. font-size: $font-size-28;
  667. color: #666666;
  668. margin-right: 10rpx;
  669. text-align: left;
  670. &.cont {
  671. width: 300rpx;
  672. }
  673. .cell-tips {
  674. width: 74rpx;
  675. height: 32rpx;
  676. line-height: 32rpx;
  677. padding: 0 7rpx;
  678. border-radius: 16rpx;
  679. background-color: #ffe6dc;
  680. color: $color-system;
  681. text-align: center;
  682. font-size: $font-size-20;
  683. margin-left: 8rpx;
  684. }
  685. }
  686. .cell-tip {
  687. font-size: $font-size-28;
  688. color: $text-color;
  689. }
  690. }
  691. .list-cell.last {
  692. border-bottom: none;
  693. }
  694. .uni-badge--small {
  695. -webkit-transform: scale(0.8);
  696. -ms-transform: scale(0.8);
  697. transform: scale(0.8);
  698. -webkit-transform-origin: center center;
  699. -ms-transform-origin: center center;
  700. transform-origin: center center;
  701. }
  702. .uni-badge {
  703. font-family: 'Helvetica Neue', Helvetica, sans-serif;
  704. -webkit-box-sizing: border-box;
  705. box-sizing: border-box;
  706. font-size: 12px;
  707. line-height: 1;
  708. display: inline-block;
  709. padding: 3px 6px;
  710. color: #333;
  711. border-radius: 100px;
  712. background-color: #f1f1f1;
  713. }
  714. .uni-badge-error {
  715. color: #fff;
  716. background-color: #dd524d;
  717. }
  718. .copyright {
  719. width: 100%;
  720. position: absolute;
  721. bottom: 40rpx;
  722. display: flex;
  723. flex-direction: column;
  724. align-items: center;
  725. image{
  726. width: 180rpx;
  727. height: 60rpx;
  728. }
  729. .text {
  730. font-size: 20rpx;
  731. color: #cccccc;
  732. }
  733. }
  734. </style>