index.vue 23 KB

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