index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780
  1. <template>
  2. <view class="content">
  3. <!-- 我的 -->
  4. <image class="top-bg"
  5. src="https://ceres.zkthink.com/static/img/user/topBg.png"></image>
  6. <view class="page-content">
  7. <view class="user-info-box"
  8. @click="gologin"
  9. v-if="JSON.stringify(item) =='{}' ">
  10. <image class="user-image"
  11. src="https://ceres.zkthink.com/static/img/user/morentouxiang.png"
  12. mode="widthFix"></image>
  13. <view class="user-info">
  14. <view class="user-logoin-title">点击登录</view>
  15. <view class="user-logoin-lable">登录后享受更多权益~</view>
  16. </view>
  17. <image class="user-info-right"
  18. src="https://ceres.zkthink.com/static/img/user/back.png"></image>
  19. <view class="notice">
  20. <view class="messNum"
  21. v-if="useritem.notRead>0">{{ useritem.notRead }}
  22. </view>
  23. </view>
  24. </view>
  25. <view class="user-info-box"
  26. v-else>
  27. <image class="user-image"
  28. @click="goinfo"
  29. v-if="useritem.headImage"
  30. :src="useritem.headImage"
  31. mode="widthFix"
  32. style="border-radius: 50%;"></image>
  33. <image class="user-image"
  34. v-else
  35. src="https://ceres.zkthink.com/static/img/user/morentouxiang.png"
  36. mode="widthFix">
  37. </image>
  38. <view class="user-info">
  39. <view class="user-logoin-title"
  40. v-if="useritem.name">{{ useritem.name }}
  41. </view>
  42. <view class="experience flex-items"
  43. @click="goToMemberCenter">
  44. <label>成长值</label>
  45. <view class="experienceValue">{{ useritem.growth || 0 }} / {{ useritem.nextLevelGrowth || 0 }}</view>
  46. </view>
  47. </view>
  48. <view class="notice"
  49. @click="toMessage">
  50. <view class="messNum"
  51. v-if="useritem.notRead>0">{{ useritem.notRead > 99 ? '99+' : useritem.notRead }}
  52. </view>
  53. </view>
  54. </view>
  55. <view class="order-box">
  56. <view class="order-item"
  57. @click="orderTap(1)">
  58. <image class="order-item-image"
  59. src="https://ceres.zkthink.com/static/img/user/daifukuan1.png"
  60. mode="widthFix">
  61. </image>
  62. <view class="order-item-text">待付款</view>
  63. <view class="quan"
  64. v-if="useritem.waitPayOrderCount>0">
  65. {{ useritem.waitPayOrderCount }}
  66. </view>
  67. </view>
  68. <view class="order-item"
  69. @click="orderTap(2)">
  70. <image class="order-item-image"
  71. src="https://ceres.zkthink.com/static/img/user/daifahuo1.png"
  72. mode="widthFix">
  73. </image>
  74. <view class="order-item-text">待发货</view>
  75. <view class="quan"
  76. v-if="useritem.waitSendOrderCount>0">
  77. {{ useritem.waitSendOrderCount }}
  78. </view>
  79. </view>
  80. <view class="order-item"
  81. @click="orderTap(3)">
  82. <image class="order-item-image"
  83. src="https://ceres.zkthink.com/static/img/user/daishouhuo.png"
  84. mode="widthFix">
  85. </image>
  86. <view class="order-item-text">待收货</view>
  87. <view class="quan"
  88. v-if="useritem.waitReceiveOrderCount>0">
  89. {{ useritem.waitReceiveOrderCount }}
  90. </view>
  91. </view>
  92. <view class="order-item"
  93. @click="orderTap(0)">
  94. <image class="order-item-image"
  95. src="https://ceres.zkthink.com/static/img/user/dingdan.png"
  96. mode="widthFix"></image>
  97. <view class="order-item-text">全部订单</view>
  98. </view>
  99. </view>
  100. <!-- <view class="item-btn mt20" @click="toMessage">-->
  101. <!-- <image class="item-btn-icon" src="https://ceres.zkthink.com/static/images/mymessageIcon.png" mode="widthFix"></image>-->
  102. <!-- <view class="item-btn-text flex-row-plus flex-items">-->
  103. <!-- <label>消息中心</label>-->
  104. <!-- <view class="messNum" v-if="useritem.notRead>0">{{useritem.notRead}}</view>-->
  105. <!-- </view>-->
  106. <!-- <image class="item-btn-right" src="https://ceres.zkthink.com/static/img/user/arrow.png" mode="widthFix"></image>-->
  107. <!-- </view>-->
  108. <view class="itemBox">
  109. <view class="item-btn"
  110. @click="toCollection">
  111. <image class="item-btn-icon"
  112. src="https://ceres.zkthink.com/static/img/user/mycollectionIcon.png"
  113. mode="widthFix">
  114. </image>
  115. <view class="item-btn-text">我的收藏</view>
  116. </view>
  117. <view class="item-btn"
  118. @click="toQuestion">
  119. <image class="item-btn-icon"
  120. src="https://ceres.zkthink.com/static/img/user/myQuestionIcon.png"
  121. mode="widthFix">
  122. </image>
  123. <view class="item-btn-text">我的问答</view>
  124. </view>
  125. <view class="item-btn"
  126. @click="toFootprint">
  127. <image class="item-btn-icon"
  128. src="https://ceres.zkthink.com/static/img/user/myfootprintIcon.png"
  129. mode="widthFix">
  130. </image>
  131. <view class="item-btn-text">浏览足迹</view>
  132. </view>
  133. <view class="item-btn"
  134. @click="gouserEvaluate">
  135. <image class="item-btn-icon"
  136. src="https://ceres.zkthink.com/static/img/user/pingjia.png"
  137. mode="widthFix"></image>
  138. <view class="item-btn-text">我的评价</view>
  139. </view>
  140. <view class="item-btn"
  141. @click="memberAccountClick">
  142. <image class="item-btn-icon"
  143. src="https://ceres.zkthink.com/static/img/user/account.png"
  144. mode="widthFix"></image>
  145. <view class="item-btn-text">我的账户</view>
  146. </view>
  147. <view class="item-btn"
  148. @click="couponClick">
  149. <image class="item-btn-icon"
  150. src="https://ceres.zkthink.com/static/img/user/kaquan.png"
  151. mode="widthFix"></image>
  152. <view class="item-btn-text">我的卡券</view>
  153. </view>
  154. <view class="item-btn"
  155. @click="godistribution">
  156. <image class="item-btn-icon"
  157. src="https://ceres.zkthink.com/static/img/user/fenxiao.png"
  158. mode="widthFix"></image>
  159. <view class="item-btn-text">分销中心</view>
  160. </view>
  161. <view class="item-btn"
  162. @click="applySettle">
  163. <image class="item-btn-icon"
  164. src="https://ceres.zkthink.com/static/img/user/Settled.png"
  165. mode="widthFix"></image>
  166. <view class="item-btn-text">商家入驻</view>
  167. </view>
  168. </view>
  169. <view class="itemBox">
  170. <view class="item-btn"
  171. @click="addressClick">
  172. <image class="item-btn-icon"
  173. src="https://ceres.zkthink.com/static/img/user/dizhi1.png"
  174. mode="widthFix"></image>
  175. <view class="item-btn-text">地址管理</view>
  176. </view>
  177. <view class="item-btn"
  178. @click="goafterSale">
  179. <image class="item-btn-icon"
  180. src="https://ceres.zkthink.com/static/img/user/shouhou.png"
  181. mode="widthFix"></image>
  182. <view class="item-btn-text">我的售后</view>
  183. </view>
  184. <view class="item-btn"
  185. @click="goToMemberCenter">
  186. <image class="item-btn-icon"
  187. src="https://ceres.zkthink.com/static/img/user/VIP.png"
  188. mode="widthFix"></image>
  189. <view class="item-btn-text">会员中心</view>
  190. </view>
  191. <view class="item-btn"
  192. @click="goBankcard">
  193. <image class="item-btn-icon"
  194. src="https://ceres.zkthink.com/static/img/user/kaquan.png"
  195. mode="widthFix"></image>
  196. <view class="item-btn-text">银行卡</view>
  197. </view>
  198. <view class="item-btn"
  199. @click="goIntegral">
  200. <image class="item-btn-icon"
  201. src="https://ceres.zkthink.com/static/img/user/myIntegral.png"
  202. mode="widthFix"></image>
  203. <view class="item-btn-text">我的积分</view>
  204. </view>
  205. <view class="item-btn"
  206. @click="goSign">
  207. <image class="item-btn-icon"
  208. src="https://ceres.zkthink.com/static/img/user/signIcon.png"
  209. mode="widthFix"></image>
  210. <view class="item-btn-text">签到</view>
  211. </view>
  212. <view class="item-btn"
  213. @click="goCouponList">
  214. <image class="item-btn-icon"
  215. src="https://ceres.zkthink.com/static/img/user/userCouponIcon.png"
  216. mode="widthFix"></image>
  217. <view class="item-btn-text">优惠券</view>
  218. </view>
  219. <!-- <view class="item-btn">
  220. <image class="item-btn-icon" src="https://ceres.zkthink.com/static/img/user/service.png" mode="widthFix"></image>
  221. <view class="item-btn-text">平台客服</view>
  222. </view> -->
  223. <button open-type="contact"
  224. class="item-btn btnNone">
  225. <image class="item-btn-icon"
  226. src="https://ceres.zkthink.com/static/img/user/service.png"
  227. mode="widthFix"></image>
  228. <view class="item-btn-text">平台客服</view>
  229. </button>
  230. <!-- <view class="item-btn" @click="toSuccess">
  231. <image class="item-btn-icon" src="https://ceres.zkthink.com/static/img/user/userCouponIcon.png" mode="widthFix"></image>
  232. <view class="item-btn-text">成功测试</view>
  233. </view> -->
  234. <!-- <view class="item-btn" @click="goWxShop">-->
  235. <!-- <image class="item-btn-icon" src="https://ceres.zkthink.com/static/img/user/kaquan.png" mode="widthFix"></image>-->
  236. <!-- <view class="item-btn-text">测试</view>-->
  237. <!-- </view>-->
  238. </view>
  239. </view>
  240. <view class="copyright">
  241. <text>中科鑫智 版权所有</text>
  242. <text>粤ICP备19086489号-3</text>
  243. </view>
  244. <Loading v-if="false"></Loading>
  245. </view>
  246. </template>
  247. <script>
  248. import Loading from "@/components/Loading"
  249. const NET = require('../../../utils/request')
  250. const API = require('../../../config/api')
  251. const SECRET = require('../../../utils/secret')
  252. export default {
  253. components:{Loading},
  254. data() {
  255. return {
  256. item: {},
  257. useritem: {},
  258. isLoading: false,
  259. corpId: null,
  260. serviceURL: null,
  261. }
  262. },
  263. onLoad() {
  264. },
  265. onShow() {
  266. if (uni.getStorageSync('storage_key')) {
  267. this.item = uni.getStorageSync('storage_key');
  268. }
  269. this.GetUser()
  270. },
  271. methods: {
  272. // goWxShop() {
  273. // uni.navigateTo({
  274. // url: `plugin-private://wxf0713a10bbae8732/pages/productDetail/productDetail?productId=59656518`,
  275. // })
  276. // },
  277. // 测试
  278. // toSuccess() {
  279. // uni.navigateTo({
  280. // url: '../../../pages_category_page1/goodsModule/evaSuccessful'
  281. // // url: '../../../pages_category_page1/orderModule/paySuccessful'
  282. // })
  283. // },
  284. toMessage() {
  285. if (JSON.stringify(this.item) == '{}') {
  286. uni.navigateTo({
  287. url: '../../../pages_category_page2/userModule/login'
  288. })
  289. } else {
  290. uni.navigateTo({
  291. url: '../../../pages_category_page2/userModule/messageCenter'
  292. })
  293. }
  294. },
  295. toCollection() {
  296. if (JSON.stringify(this.item) == '{}') {
  297. uni.navigateTo({
  298. url: '../../../pages_category_page2/userModule/login'
  299. })
  300. } else {
  301. uni.navigateTo({
  302. url: '../../../pages_category_page2/userModule/collection'
  303. })
  304. }
  305. },
  306. toQuestion() {
  307. if (JSON.stringify(this.item) == '{}') {
  308. uni.navigateTo({
  309. url: '../../../pages_category_page2/userModule/login'
  310. })
  311. } else {
  312. uni.navigateTo({
  313. url: '../../../pages_category_page2/userModule/questionList'
  314. })
  315. }
  316. },
  317. toFootprint() {
  318. if (JSON.stringify(this.item) == '{}') {
  319. uni.navigateTo({
  320. url: '../../../pages_category_page2/userModule/login'
  321. })
  322. } else {
  323. uni.navigateTo({
  324. url: '../../../pages_category_page2/userModule/footprintList'
  325. })
  326. }
  327. },
  328. GetUser() {
  329. NET.request(API.GetUser, {}, 'GET').then(res => {
  330. this.useritem = res.data
  331. uni.setStorageSync('storage_userInfo', this.useritem);
  332. }).catch(res => {
  333. })
  334. },
  335. // 个人信息 登录页面
  336. gologin() {
  337. uni.navigateTo({
  338. url: '../../../pages_category_page2/userModule/login'
  339. })
  340. },
  341. goinfo() {
  342. uni.navigateTo({
  343. url: '../../../pages_category_page2/userModule/personalDetails'
  344. })
  345. },
  346. // 我的评论
  347. gouserEvaluate() {
  348. if (JSON.stringify(this.item) == '{}') {
  349. uni.navigateTo({
  350. url: '../../../pages_category_page2/userModule/login'
  351. })
  352. } else {
  353. uni.navigateTo({
  354. url: '../../../pages_category_page1/goodsModule/userEvaluate'
  355. })
  356. }
  357. },
  358. // 分销中心
  359. godistribution() {
  360. if (JSON.stringify(this.item) == '{}') {
  361. uni.navigateTo({
  362. url: '../../../pages_category_page2/userModule/login'
  363. })
  364. } else {
  365. uni.navigateTo({
  366. url: '../../../pages_category_page1/distributionModule/index'
  367. })
  368. }
  369. },
  370. goToMemberCenter() {
  371. uni.navigateTo({
  372. url: '../../../pages_category_page1/memberCenter/index'
  373. })
  374. },
  375. applySettle() {
  376. const res = uni.getStorageSync('storage_key');
  377. let token = SECRET.Encrypt(res.token)
  378. let username = this.useritem.name
  379. let test = SECRET.Decrypt(token)
  380. // #ifdef H5
  381. console.log('h5 test')
  382. window.open(API.SettledMerchantPrefix + `/#/?username=${username}&user=${token}`)
  383. // #endif
  384. // #ifdef APP-PLUS
  385. plus.runtime.openURL(API.SettledMerchantPrefix + `/#/?username=${username}&user=${token}`, function (e) {
  386. console.log(e);
  387. })
  388. // #endif
  389. // #ifdef MP-WEIXIN
  390. var url = API.SettledMerchantPrefix
  391. uni.navigateTo({
  392. url: `../../../pages_category_page1/linkOthers/index?url=${url}&username=${username}&user=${token}`
  393. // 此处的链接为小程序上面新建的webview页面路径,参数url为要跳转外链的地址
  394. // url: '../../../pages_category_page1/linkOthers/index?url=' + encodeURIComponent(url)
  395. // url:'../../../pages_category_page2/userModule/coupon'
  396. })
  397. // #endif
  398. // #ifdef MP-ALIPAY
  399. var url = API.SettledMerchantPrefix
  400. uni.navigateTo({
  401. url: `../../../pages_category_page1/linkOthers/index?url=${url}&username=${username}&user=${token}`
  402. // 此处的链接为小程序上面新建的webview页面路径,参数url为要跳转外链的地址
  403. // url: '../../../pages_category_page1/linkOthers/index?url=' + encodeURIComponent(url)
  404. // url:'../../../pages_category_page2/userModule/coupon'
  405. })
  406. // #endif
  407. },
  408. //我的账户
  409. memberAccountClick() {
  410. if (JSON.stringify(this.item) == '{}') {
  411. uni.navigateTo({
  412. url: '../../../pages_category_page2/userModule/login'
  413. })
  414. } else {
  415. uni.navigateTo({
  416. url: '../../../pages_category_page2/userModule/memberAccount'
  417. })
  418. }
  419. },
  420. //我的优惠券
  421. couponClick() {
  422. if (JSON.stringify(this.item) == '{}') {
  423. uni.navigateTo({
  424. url: '../../../pages_category_page2/userModule/login'
  425. })
  426. } else {
  427. uni.navigateTo({
  428. url: '../../../pages_category_page2/userModule/coupon'
  429. })
  430. }
  431. },
  432. // 地址管理
  433. addressClick() {
  434. if (JSON.stringify(this.item) == '{}') {
  435. uni.navigateTo({
  436. url: '../../../pages_category_page2/userModule/login'
  437. })
  438. } else {
  439. uni.navigateTo({
  440. url: '../../../pages_category_page2/userModule/address'
  441. })
  442. }
  443. },
  444. // 我的售后
  445. goafterSale() {
  446. if (JSON.stringify(this.item) == '{}') {
  447. uni.navigateTo({
  448. url: '../../../pages_category_page2/userModule/login'
  449. })
  450. } else {
  451. uni.navigateTo({
  452. url: '../../../pages_category_page2/orderModule/afterSale'
  453. })
  454. }
  455. },
  456. // 我的银行卡
  457. goBankcard() {
  458. if (JSON.stringify(this.item) == '{}') {
  459. uni.navigateTo({
  460. url: '../../../pages_category_page2/userModule/login'
  461. })
  462. } else {
  463. uni.navigateTo({
  464. url: '../../../pages_category_page2/userModule/bankcard'
  465. })
  466. }
  467. },
  468. // 我的积分
  469. goIntegral() {
  470. if (JSON.stringify(this.item) == '{}') {
  471. uni.navigateTo({
  472. url: '../../../pages_category_page2/userModule/login'
  473. })
  474. } else {
  475. uni.navigateTo({
  476. url: '../../../pages_category_page1/integral/index'
  477. })
  478. }
  479. },
  480. // 签到
  481. goSign() {
  482. if (JSON.stringify(this.item) == '{}') {
  483. uni.navigateTo({
  484. url: '../../../pages_category_page2/userModule/login'
  485. })
  486. } else {
  487. uni.navigateTo({
  488. url: '../../../pages_category_page1/integral/sign'
  489. })
  490. }
  491. },
  492. goCouponList() {
  493. if (JSON.stringify(this.item) == '{}') {
  494. uni.navigateTo({
  495. url: '../../../pages_category_page2/userModule/login'
  496. })
  497. } else {
  498. uni.navigateTo({
  499. url: '../../../pages_category_page1/coupon/list'
  500. })````
  501. }
  502. },
  503. //判断是否是分销员
  504. getApplyState() {
  505. NET.request(API.HasApply, {
  506. tenantCode: this.currentId
  507. }, 'POST').then(res => {
  508. uni.hideLoading()
  509. this.slist = res.data
  510. }).catch(res => {
  511. uni.hideLoading()
  512. })
  513. },
  514. orderTap(type) {
  515. if (JSON.stringify(this.item) == '{}') {
  516. uni.navigateTo({
  517. url: '../../../pages_category_page2/userModule/login'
  518. })
  519. } else {
  520. uni.navigateTo({
  521. url: '../../../pages_category_page1/orderModule/index?type=' + type
  522. })
  523. }
  524. },
  525. }
  526. }
  527. </script>
  528. <style lang='scss'>
  529. page {
  530. background: #f8f8f8;
  531. }
  532. .content {
  533. height: 100%;
  534. position: relative;
  535. padding-bottom: 150rpx;
  536. .itemBox {
  537. display: flex;
  538. flex-flow: wrap;
  539. padding-top: 30rpx;
  540. background: #FFFFFF;
  541. width: 690rpx;
  542. margin: 30rpx auto 0 auto;
  543. }
  544. /* background-color: #f8f8f8; */
  545. .top-bg {
  546. width: 100%;
  547. height: 400rpx;
  548. margin-top: -50rpx;
  549. }
  550. .page-content {
  551. width: 100%;
  552. height: 100%;
  553. display: flex;
  554. flex-direction: column;
  555. z-index: 10;
  556. margin-top: -320upx;
  557. .user-info-box {
  558. width: 100%;
  559. box-sizing: border-box;
  560. padding: 30upx;
  561. display: flex;
  562. flex-direction: row;
  563. align-items: center;
  564. position: relative;
  565. .notice {
  566. width: 60rpx;
  567. height: 60rpx;
  568. position: absolute;
  569. top: 0;
  570. right: 50rpx;
  571. background: url("https://ceres.zkthink.com/static/images/notice.png") no-repeat center center;
  572. background-size: contain;
  573. .messNum {
  574. background: #C83732;
  575. border-radius: 50%;
  576. color: #FFFFFF;
  577. text-align: center;
  578. margin: 0rpx 0 0 30rpx;
  579. width: 30rpx;
  580. height: 30rpx;
  581. line-height: 30rpx;
  582. font-size: 20rpx;
  583. }
  584. }
  585. .user-image {
  586. width: 126upx;
  587. height: 126upx;
  588. }
  589. .user-info {
  590. flex: 1;
  591. display: flex;
  592. flex-direction: column;
  593. padding-left: 20upx;
  594. box-sizing: border-box;
  595. z-index: 10;
  596. .user-logoin-title {
  597. font-size: 36upx;
  598. font-weight: 500;
  599. color: rgba(255, 255, 255, 1);
  600. }
  601. .user-logoin-lable {
  602. font-size: 24upx;
  603. font-weight: 400;
  604. color: rgba(255, 255, 255, 1);
  605. margin-top: 20upx;
  606. }
  607. .experience {
  608. label {
  609. font-size: 26rpx;
  610. color: #FFFFFF;
  611. opacity: 0.7;
  612. }
  613. .experienceValue {
  614. width: auto;
  615. padding: 0 28rpx;
  616. height: 40rpx;
  617. font-weight: 400;
  618. color: #FFFFFF;
  619. border-radius: 25rpx;
  620. line-height: 40rpx;
  621. border: 2rpx solid rgba(0, 0, 0, 0);
  622. background: linear-gradient(88deg, #C5AA7B 0%, #F5DEB2 100%);
  623. font-size: 20rpx;
  624. margin-left: 20rpx;
  625. }
  626. }
  627. }
  628. .user-info-right {
  629. width: 30upx;
  630. height: 30upx;
  631. }
  632. }
  633. .order-box {
  634. width: 690upx;
  635. height: 196upx !important;
  636. background: rgba(255, 255, 255, 1);
  637. box-shadow: 0px 0px 10upx 0px rgba(51, 51, 51, 0.1);
  638. display: flex;
  639. flex-direction: row;
  640. align-items: center;
  641. margin-left: 30upx;
  642. z-index: 10;
  643. .order-item {
  644. flex: 1;
  645. display: flex;
  646. flex-direction: column;
  647. align-items: center;
  648. justify-content: center;
  649. position: relative;
  650. .quan {
  651. position: absolute;
  652. right: 40upx;
  653. top: 10upx;
  654. border: 1px solid red;
  655. color: #FFFFFF;
  656. background-color: red;
  657. border-radius: 50%;
  658. font-size: 16rpx;
  659. width: 30upx;
  660. height: 30upx;
  661. line-height: 30upx;
  662. text-align: center;
  663. }
  664. .order-item-image {
  665. width: 90upx;
  666. height: 90upx;
  667. }
  668. .order-item-text {
  669. font-size: 28upx;
  670. margin-top: 10upx;
  671. font-weight: 500;
  672. color: rgba(102, 102, 102, 1);
  673. }
  674. }
  675. }
  676. .item-btn {
  677. width: 25%;
  678. box-sizing: border-box;
  679. background-color: #fff;
  680. text-align: center;
  681. margin-bottom: 40rpx;
  682. .item-btn-icon {
  683. width: 90upx;
  684. height: 90upx !important;
  685. }
  686. .item-btn-text {
  687. font-size: 28upx;
  688. font-weight: 500;
  689. flex: 1;
  690. color: rgba(102, 102, 102, 1);
  691. }
  692. .messNum {
  693. margin-left: 10rpx;
  694. font-size: 16rpx;
  695. background-color: red;
  696. color: #FFFFFF;
  697. width: 30rpx;
  698. height: 30rpx;
  699. border-radius: 50%;
  700. margin-top: -5rpx;
  701. line-height: 30rpx;
  702. text-align: center;
  703. }
  704. .item-btn-right {
  705. width: 24upx;
  706. height: 24upx;
  707. }
  708. }
  709. .btnNone {
  710. margin: 0;
  711. padding: 0;
  712. line-height: normal;
  713. &::after {
  714. display: none;
  715. }
  716. }
  717. .mt20 {
  718. margin-top: 20upx;
  719. }
  720. .mt1 {
  721. margin-top: 1upx;
  722. }
  723. }
  724. .copyright {
  725. text-align: center;
  726. padding: 30rpx 0 20rpx;
  727. position: absolute;
  728. bottom: 0;
  729. left: 0;
  730. width: 100%;
  731. text {
  732. display: block;
  733. font-size: 20rpx;
  734. line-height: 30rpx;
  735. color: #C5CACF;
  736. }
  737. }
  738. }
  739. </style>