index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690
  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 class="header" :style="{height:(CustomBar+90)-StatusBar+'px',paddingTop:CustomBar+'px',background:'url('+ bgImgUrl +')',backgroundSize:'cover'}">
  6. <view class="header-main" v-if="hasLogin">
  7. <view class="header-icon"><image :src="headpic == null? 'https://static.caimei365.com/app/img/icon/icon-club@3x.png' : headpic" mode=""></image></view>
  8. <view class="header-text">
  9. <view class="user-item">
  10. <text class="u-h1">{{name}}</text>
  11. <text class="u-viptips" v-if="userIdentity == 2">{{userType}}</text>
  12. <text class="u-tips" v-if="userIdentity == 4">{{userType}}</text>
  13. </view>
  14. <view class="user-item amount"><text class="u-p">账户余额:{{userMoney}}元</text></view>
  15. </view>
  16. </view>
  17. <view class="header-main-none" v-else>
  18. <view class="header-icon" @click="navigator('/pages/login/login')">
  19. <image src="https://static.caimei365.com/app/img/icon/icon-club@3x.png" mode=""></image>
  20. </view>
  21. <view class="header-text">
  22. <view class="user-item">
  23. <text class="u-h1" @click="navigator('/pages/login/login')">账号登录</text><text class="u-h1 line">|</text>
  24. <text class="u-h1" @click="navigatorNex('/pages/login/register-select')">立即注册</text>
  25. <!-- <text class="u-h1" @click="navigatorNex('/pages/login/register','2')">立即注册</text> -->
  26. </view>
  27. <view class="user-item">
  28. <text class="u-p" @click="navigator('/pages/login/login')">登录商城了解更多产品信息吧!</text>
  29. </view>
  30. <view class="user-item" @click="navigatorNex('/pages/login/logincode','3')">
  31. <view class="u-btn"><text>邀请码登录</text><text class="iconfont icon-xiangyouhuabeifen"></text></view>
  32. </view>
  33. </view>
  34. </view>
  35. <!-- 订单 -->
  36. <view class="user-order">
  37. <view class="tab-title" @click="navigator('/pages/user/order/order-list?state=0')">
  38. <text class="cell-tit">我的订单</text>
  39. <text class="cell-more">全部订单</text>
  40. <text class="iconfont icon-xiayibu"></text>
  41. </view>
  42. <view class="order-section">
  43. <view class="order-item" @click="navigator('/pages/user/order/order-list?state=1')" hover-class="common-hover" :hover-stay-time="50">
  44. <view class="order-icon">
  45. <image src="https://static.caimei365.com/app/img/icon/order5@3x.png" mode=""></image>
  46. <text v-if="confirmedCount>0 && hasLogin"
  47. class="uni-badge uni-badge-error uni-small uni-badge--small icon-num"
  48. :class="[confirmedCount < 10 ? 'goleft':'']">
  49. {{confirmedCount >= 99? '99+' : confirmedCount}}
  50. </text>
  51. </view>
  52. <text class="order-t">待确认</text>
  53. </view>
  54. <view class="order-item" @click="navigator('/pages/user/order/order-list?state=2')" hover-class="common-hover" :hover-stay-time="50">
  55. <view class="order-icon">
  56. <image src="https://static.caimei365.com/app/img/icon/order1@3x.png" mode=""></image>
  57. <text v-if="paymentCount >0 && hasLogin"
  58. class="uni-badge uni-badge-error uni-small uni-badge--small icon-num "
  59. :class="[paymentCount < 10 ? 'goleft':'']">
  60. {{paymentCount >= 99? '99+' : paymentCount}}
  61. </text>
  62. </view>
  63. <text class="order-t">待付款</text>
  64. </view>
  65. <view class="order-item" @click="navigator('/pages/user/order/order-list?state=3')" hover-class="common-hover" :hover-stay-time="50">
  66. <view class="order-icon">
  67. <image src="https://static.caimei365.com/app/img/icon/order2@3x.png" mode=""></image>
  68. <text v-if="waitShipmentsCount >0 && hasLogin"
  69. class="uni-badge uni-badge-error uni-small uni-badge--small icon-num"
  70. :class="[waitShipmentsCount < 10 ? 'goleft':'']">
  71. {{waitShipmentsCount >= 99? '99+' : waitShipmentsCount}}
  72. </text>
  73. </view>
  74. <text class="order-t">待发货</text>
  75. </view>
  76. <view class="order-item" @click="navigator('/pages/user/order/order-list?state=4')" hover-class="common-hover" :hover-stay-time="50">
  77. <view class="order-icon">
  78. <image src="https://static.caimei365.com/app/img/icon/order3@3x.png" mode=""></image>
  79. <text v-if="shipmentsCount>0 && hasLogin"
  80. class="uni-badge uni-badge-error uni-small uni-badge--small icon-num"
  81. :class="[shipmentsCount < 10 ? 'goleft':'']">
  82. {{shipmentsCount >= 99? '99+' : shipmentsCount}}
  83. </text>
  84. </view>
  85. <text class="order-t">已发货</text>
  86. </view>
  87. <view class="order-item" @click="navigator('/pages/user/order/order-list?state=5')" hover-class="common-hover" :hover-stay-time="50">
  88. <view class="order-icon">
  89. <image src="https://static.caimei365.com/app/img/icon/order4@3x.png" mode=""></image>
  90. <text v-if="salesReturnCount >0 && hasLogin"
  91. class="uni-badge uni-badge-error uni-small uni-badge--small icon-num"
  92. :class="[salesReturnCount < 10 ? 'goleft':'']">
  93. {{salesReturnCount >= 99? '99+' : salesReturnCount}}
  94. </text>
  95. </view>
  96. <text class="order-t">退货/款</text>
  97. </view>
  98. </view>
  99. </view>
  100. </view>
  101. <!-- 底部跳转 -->
  102. <view class="foot-list">
  103. <view class="list-cell-item" v-show="hasLogin">
  104. <view class="list-cell" v-show="userIdentity == 4" @click="navigator(`/pages/login/apply?clubStatus=${clubStatus}`)" hover-class="cell-hover" :hover-stay-time="50">
  105. <text class="cell-icon"><text class="iconfont icon-shengjihuiyuanjigou"></text></text>
  106. <text class="cell-tit">升级会员机构</text>
  107. <text class="cell-more">
  108. <text class="txt">{{clubStatusText(clubStatus)}}</text>
  109. <text class="iconfont icon-xiayibu"></text>
  110. </text>
  111. </view>
  112. <view class="list-cell" @click="navigator('/pages/user/regularPurchase/regularPurchase')" hover-class="cell-hover" :hover-stay-time="50">
  113. <text class="cell-icon"><text class="iconfont icon-zaicigoumai"></text></text>
  114. <text class="cell-tit">再次购买</text>
  115. <text class="cell-more iconfont icon-xiayibu"></text>
  116. </view>
  117. </view>
  118. <view class="list-cell-item">
  119. <view class="list-cell" v-for="(item, index) in firstList" :key="index" @click="navigator(item.path)" hover-class="cell-hover" :hover-stay-time="50">
  120. <text class="cell-icon"><text class="iconfont" :class="item.icon"></text></text>
  121. <text class="cell-tit">{{item.name}}</text>
  122. <text class="cell-more iconfont icon-xiayibu"></text>
  123. </view>
  124. </view>
  125. <view class="list-cell-item">
  126. <view class="list-cell" hover-class="cell-hover" :hover-stay-time="50">
  127. <text class="cell-icon"><text class="iconfont icon-lianxiwomen"></text></text>
  128. <text class="cell-tit">联系我们</text>
  129. <text class="cell-more" @click="toPhone">{{contactNumber}}</text>
  130. </view>
  131. <view class="list-cell" @click="this.$api.navigateTo('/pages/user/about/about')" hover-class="cell-hover" :hover-stay-time="50">
  132. <text class="cell-icon"><text class="iconfont icon-guanyuwomen"></text></text>
  133. <text class="cell-tit">关于我们</text>
  134. <text class="cell-more iconfont icon-xiayibu"></text>
  135. </view>
  136. <view class="list-cell last" @click="this.$api.navigateTo('/h5/pages/article/page?linkType=99')" hover-class="cell-hover" :hover-stay-time="50">
  137. <text class="cell-icon"><text class="iconfont icon-bangzhuzhongxin"></text></text>
  138. <text class="cell-tit">帮助中心</text>
  139. <text class="cell-more iconfont icon-xiayibu"></text>
  140. </view>
  141. </view>
  142. </view>
  143. </view>
  144. <upgrade-alert v-if="isUpgradeAlert" :clubStatus="clubStatus" @unBindUpgrade="hanldUnBindUpgrade" @GoApply="hanldGoApply"></upgrade-alert>
  145. </view>
  146. </template>
  147. <script>
  148. import uniBadge from '@/components/uni-badge/uni-badge.vue'
  149. import upgradeAlert from '@/components/cm-module/modelAlert/upgradeAlert.vue'
  150. import authorize from '@/common/config/authorize.js'
  151. import { mapState,mapMutations } from 'vuex'
  152. import { cancelPrompt } from "@/services/use.js"
  153. export default{
  154. components: {
  155. uniBadge,
  156. upgradeAlert
  157. },
  158. data() {
  159. return{
  160. nvabarData: {//顶部自定义导航
  161. showCapsule: 1, // 是否显示左上角图标 1表示显示 0表示不显示,
  162. showSearch: 0,
  163. title: '我的', // 导航栏 中间的标题
  164. haveBack:false,
  165. textLeft:this.$store.state.isIphone,
  166. textColor:'#FFFFFF',
  167. bgColor:''
  168. },
  169. CustomBar:this.CustomBar,// 顶部导航栏高度
  170. StatusBar: this.StatusBar,
  171. isCmcustom:false,
  172. isUpgradeAlert:false,
  173. bgImgUrl:'https://img.caimei365.com/group1/M00/03/B0/Cmis217Z_i6ASHobAAhl69yz3SM078.png',
  174. name:'',
  175. userType:"",
  176. headpic:'',
  177. userMoney:'0.00',
  178. contactNumber:'',
  179. openid:'',
  180. aboutHtml:'',
  181. telPhone:'',
  182. bindMobile:'',
  183. clubStatus:'', //机构升级会员机构审核状态1:待审核 91:审核失败
  184. userIdentity:'', //机构等级
  185. confirmedCount:0,//待确认
  186. paymentCount:0, //待付款角标
  187. waitShipmentsCount:0, //待收货角标
  188. shipmentsCount:0, //已发货角标
  189. salesReturnCount:'',//退货/款角标
  190. firstList:[
  191. {name:'运营人员管理',path:'/pages/user/operator/list',icon:'icon-yunyingrenyuanguanli'},
  192. {name:'账户余额明细',path:'/pages/user/account/account',icon:'icon-zhanghuyuemingxi1'},
  193. {name:'收货地址管理',path:'/pages/user/address/address',icon:'icon-shouhuodizhiguanli'},
  194. {name:'机构资料',path:'/pages/login/information',icon:'icon-jigouziliao'},
  195. {name:'账户设置',path:'/pages/user/setting/setting',icon:'icon-zhanghushezhi'},
  196. ]
  197. }
  198. },
  199. onLoad(){
  200. },
  201. computed: {
  202. ...mapState(['hasLogin','userInfo'])
  203. },
  204. methods:{
  205. getUserInfo(){
  206. let self = this;
  207. this.UserService.PersonalInfo({userID:this.userID}).then(response =>{
  208. this.$store.commit('updateAllNum',response.data.count)
  209. let data =response.data
  210. let $userData = data.user
  211. let $clubData = data.club
  212. if($userData.ableUserMoney == 0 || $userData.ableUserMoney ==null){
  213. this.userMoney = '0.00';
  214. }else{
  215. let i = $userData.ableUserMoney.toString().lastIndexOf('.');
  216. let money;
  217. if(i==-1){
  218. money = this.$api.FormatMoney($userData.ableUserMoney); //会所剩余余额
  219. this.userMoney = money +'.00'
  220. }else{
  221. money = this.$api.FormatMoney($userData.ableUserMoney); //会所剩余余额
  222. this.userMoney = money
  223. }
  224. }
  225. this.userIdentity = $userData.userIdentity //机构等级
  226. if(this.userIdentity == 2){
  227. this.name = $clubData.name //会员机构名称
  228. this.userType = '会员机构'
  229. }else{
  230. this.name = $userData.userName //普通机构名称
  231. this.userType = '普通机构'
  232. }
  233. this.headpic = $userData.image //会所头像
  234. this.bindMobile = $userData.bindMobile//登录手机号
  235. this.clubStatus = $userData.clubStatus //机构审核状态
  236. this.contactNumber = data.organize.contactNumber //联系电话
  237. this.confirmedCount = this.showBadge(data.confirmedCount)//待确认
  238. this.paymentCount = this.showBadge(data.paymentCount)//待付款
  239. this.waitShipmentsCount = this.showBadge(data.waitShipmentsCount)//待收货
  240. this.shipmentsCount = this.showBadge(data.shipmentsCount)//已发货
  241. this.salesReturnCount = this.showBadge(data.salesReturnCount)//退货/款
  242. let clubInfo ={name:this.name,image:this.headpic,clubID:$clubData.clubID}
  243. if($userData.tipStatus == '0'){
  244. this.isUpgradeAlert = true
  245. }
  246. uni.setStorage({key: 'clubInfo',data: clubInfo})
  247. }).catch(error =>{
  248. this.$util.msg(error.msg,2000)
  249. })
  250. },
  251. getPhone(){
  252. this.CommonService.QueryAfterSale().then(response =>{
  253. this.contactNumber = response.data.contactNumber
  254. }).catch(error =>{
  255. this.$util.msg(error.msg,2000);
  256. })
  257. },
  258. toPhone(){
  259. uni.makePhoneCall({
  260. phoneNumber:this.contactNumber //仅为示例
  261. });
  262. },
  263. hanldUnBindUpgrade(){//普通用户不升级会员机构
  264. cancelPrompt({ userId:this.userID}).then(response =>{
  265. this.isUpgradeAlert = false
  266. })
  267. },
  268. hanldGoApply(){
  269. cancelPrompt({ userId:this.userID}).then(response =>{
  270. this.isUpgradeAlert = false
  271. this.$api.navigateTo(`/pages/login/apply?clubStatus=${this.clubStatus}`);
  272. })
  273. },
  274. navigator(url){
  275. authorize.getSetting().then(wxResponse =>{// console.log('是否已授权',res);//0:为取消授权 1:为已授权 2:为未操作
  276. if(wxResponse == 1){
  277. if(this.hasLogin){
  278. this.$api.navigateTo(url)
  279. }else{
  280. this.$api.navigateTo('/pages/login/login?type=0')
  281. }
  282. }else{
  283. this.$api.navigateTo('/pages/authorization/authorization?type=1')
  284. }
  285. })
  286. },
  287. navigatorNex(url,type){
  288. authorize.getSetting().then(wxResponse =>{// console.log('是否已授权',res);//0:为取消授权 1:为已授权 2:为未操作
  289. if(wxResponse == 1){
  290. if(!this.hasLogin){
  291. this.$api.navigateTo(url)
  292. }
  293. }else{
  294. this.$api.navigateTo(`/pages/authorization/authorization?type=${type}`)
  295. }
  296. })
  297. },
  298. showBadge(n){
  299. let num ='';
  300. if(n>100){num = 99}else{num = n;}
  301. return num;
  302. },
  303. clubStatusText(state){
  304. let stateText;
  305. switch(state){
  306. case 90:
  307. stateText = ''
  308. break;
  309. case 1:
  310. stateText = '正在审核中'
  311. break;
  312. case 92:
  313. stateText = '审核不通过'
  314. break;
  315. }
  316. return stateText
  317. }
  318. },
  319. onPageScroll(e){//实时获取到滚动的值
  320. if(e.scrollTop>20){
  321. this.isCmcustom = true
  322. this.nvabarData.bgColor = '#E37A4B'
  323. this.nvabarData.textColor = '#FFFFFF'
  324. }else{
  325. this.isCmcustom = false
  326. this.nvabarData.bgColor = ''
  327. this.nvabarData.textColor = '#FFFFFF'
  328. }
  329. },
  330. onPullDownRefresh() {//下拉刷新
  331. if(this.hasLogin){
  332. this.getUserInfo()
  333. uni.stopPullDownRefresh()
  334. }else{
  335. uni.stopPullDownRefresh()
  336. }
  337. },
  338. onShow(){
  339. if(this.hasLogin){
  340. this.$api.getComStorage('userInfo').then((resolve) =>{
  341. this.userID = resolve.userID
  342. this.getUserInfo()
  343. }).catch(reject =>{
  344. console.log('异常处理=========>',reject)
  345. })
  346. }else{
  347. this.getPhone()
  348. this.$store.commit('updateAllNum',0)
  349. }
  350. }
  351. }
  352. </script>
  353. <style lang="scss">
  354. @import "@/uni.scss";
  355. page{
  356. background-color: #F7F7F7;
  357. }
  358. .user{
  359. width: 100%;
  360. height: 100%;
  361. position:relative;
  362. background: rgba(247, 247, 247, 1);
  363. }
  364. .header{
  365. width: 100%;
  366. position: relative;
  367. background-size: cover;
  368. }
  369. .header-main{
  370. width: 702rpx;
  371. height: 130rpx;
  372. padding: 12rpx 24rpx;
  373. display: flex;
  374. .header-text{
  375. flex: 8;
  376. display: flex;
  377. flex-direction: column;
  378. box-sizing: border-box;
  379. padding-left: 20rpx;
  380. .user-item{
  381. flex: 1;
  382. height: 64rpx;
  383. line-height: 64rpx;
  384. &.amount{
  385. height: 30rpx;
  386. line-height: 30rpx;
  387. }
  388. .u-tips{
  389. display: inline-block;
  390. float: left;
  391. width: 98rpx;
  392. height: 30rpx;
  393. border: 1px solid #FFFFFF;
  394. background: linear-gradient(128deg,rgba(242,143,49,1) 0%,rgba(225,86,22,1) 100%);
  395. border-radius: 16rpx;
  396. line-height: 30rpx;
  397. font-size: $font-size-20;
  398. text-align: center;
  399. color: #FFFFFF;
  400. margin-left: 10rpx;
  401. margin-top: 17rpx;
  402. }
  403. .u-viptips{
  404. display: inline-block;
  405. float: left;
  406. width: 98rpx;
  407. height: 30rpx;
  408. border: 1px solid #FFE600;
  409. background: linear-gradient(128deg,rgba(242,143,49,1) 0%,rgba(225,86,22,1) 100%);
  410. border-radius: 16rpx;
  411. line-height: 30rpx;
  412. font-size: $font-size-20;
  413. text-align: center;
  414. color: #FFE600;
  415. margin-left: 10rpx;
  416. margin-top: 17rpx;
  417. }
  418. .u-h1{
  419. width: 300rpx;
  420. float: left;
  421. font-size: $font-size-34;
  422. color: #FFFFFF;
  423. text-align: left;
  424. -o-text-overflow: ellipsis;
  425. text-overflow: ellipsis;
  426. display: -webkit-box;
  427. word-break: break-all;
  428. -webkit-box-orient: vertical;
  429. -webkit-line-clamp: 1;
  430. overflow: hidden;
  431. }
  432. .u-p{
  433. font-size: $font-size-24;
  434. line-height: 30rpx;
  435. color: #FFFFFF;
  436. text-align: left;
  437. }
  438. }
  439. }
  440. .header-icon{
  441. flex: 2;
  442. image{
  443. float: right;
  444. width: 128rpx;
  445. height: 128rpx;
  446. border-radius: 100%;
  447. border: 2rpx solid #FFFFFF;
  448. }
  449. }
  450. }
  451. .header-main-none{
  452. width: 702rpx;
  453. height: 152rpx;
  454. padding: 0 24rpx;
  455. display: flex;
  456. .header-text{
  457. flex: 8;
  458. display: flex;
  459. flex-direction: column;
  460. .user-item{
  461. flex: 1;
  462. height: 50rpx;
  463. line-height: 50rpx;
  464. .line{
  465. margin: 0 10rpx;
  466. }
  467. .u-h1{
  468. float: left;
  469. font-size: $font-size-34;
  470. color: #FFFFFF;
  471. text-align: left;
  472. -o-text-overflow: ellipsis;
  473. text-overflow: ellipsis;
  474. display: -webkit-box;
  475. word-break: break-all;
  476. -webkit-box-orient: vertical;
  477. -webkit-line-clamp: 1;
  478. overflow: hidden;
  479. }
  480. .u-p{
  481. font-size: $font-size-24;
  482. line-height: 50rpx;
  483. color: #EFEFEF;
  484. text-align: left;
  485. }
  486. .u-btn{
  487. width: 160rpx;
  488. height: 40rpx;
  489. background: rgba(255,255,255,.8);
  490. border-radius: 8rpx;
  491. line-height: 40rpx;
  492. text-align: center;
  493. font-size: $font-size-24;
  494. color: $color-system;
  495. display: block;
  496. margin-top: 5rpx;
  497. padding-left: 6rpx;
  498. .icon-xiangyouhuabeifen{
  499. font-size: $font-size-24;
  500. }
  501. }
  502. }
  503. }
  504. .header-icon{
  505. flex: 2;
  506. display: flex;
  507. margin-right: 20rpx;
  508. align-items: center;
  509. justify-content: center;
  510. image{
  511. float: right;
  512. width: 128rpx;
  513. height: 128rpx;
  514. border-radius: 100%;
  515. border: 2rpx solid #FFFFFF;
  516. }
  517. }
  518. }
  519. .user-order{
  520. width: 654rpx;
  521. height: auto;
  522. padding: 0 24rpx;
  523. background-color: $bg-color;
  524. margin-bottom: 24rpx;
  525. position: absolute;
  526. bottom: -170rpx;
  527. left: 24rpx;
  528. border-radius: 20rpx;
  529. }
  530. .tab-title{
  531. font-size: $font-size-28;
  532. line-height: 80rpx;
  533. color: #333333;
  534. text-align:left;
  535. border-bottom: 1px solid #F8F8F8;
  536. position: relative;
  537. .cell-tit{
  538. font-size: $font-size-28;
  539. color: $text-color;
  540. }
  541. .cell-more{
  542. float: right;
  543. line-height: 80rpx;
  544. font-size: $font-size-24;
  545. color: $text-color;
  546. padding-right: 30rpx;
  547. }
  548. .iconfont{
  549. width: 30rpx;
  550. height: 80rpx;
  551. line-height: 80rpx;
  552. text-align: center;
  553. position: absolute;
  554. right: 0;
  555. top: 0;
  556. display: block;
  557. font-size: $font-size-28;
  558. }
  559. }
  560. .order-section{
  561. display: flex;
  562. justify-content: space-around;
  563. align-items: center;
  564. flex-wrap:wrap;
  565. height: 99rpx;
  566. padding: 24rpx 0;
  567. }
  568. .order-item{
  569. flex:1;
  570. display: flex;
  571. flex-direction: column;
  572. align-items: center;
  573. position: relative;
  574. &:last-child{
  575. margin-right: 0;
  576. }
  577. .order-icon{
  578. width: 52rpx;
  579. height: 52rpx;
  580. position: relative;
  581. image{
  582. width: 52rpx;
  583. height: 52rpx;
  584. }
  585. .icon-num{
  586. position: absolute;
  587. right:-24rpx;
  588. top: -9rpx;
  589. }
  590. .icon-num.goleft{
  591. right: -12rpx;
  592. }
  593. }
  594. .order-t{
  595. line-height: 50rpx;
  596. font-size: $font-size-24;
  597. color: $text-color;
  598. }
  599. }
  600. .foot-list{
  601. width: 702rpx;
  602. padding: 0 24rpx;
  603. padding-top: 160rpx;
  604. }
  605. .list-cell-item{
  606. width: 654rpx;
  607. height: auto;
  608. margin-bottom: 24rpx;
  609. padding:0 24rpx;
  610. background: $bg-color;
  611. border-radius: 20rpx;
  612. }
  613. .list-cell{
  614. display:flex;
  615. width: 100%;
  616. align-items:baseline;
  617. line-height:100rpx;
  618. position:relative;
  619. background: $bg-color;
  620. justify-content: center;
  621. border-bottom: 1px solid #EBEBEB;
  622. &:last-child{
  623. border-bottom: none;
  624. }
  625. &.cell-hover{
  626. background:#fafafa;
  627. }
  628. .cell-icon{
  629. width: 60rpx;
  630. height: 100rpx;
  631. line-height: 100rpx;
  632. text-align: center;
  633. .iconfont{
  634. font-size: $font-size-34;
  635. color: #666666;
  636. }
  637. }
  638. .cell-more{
  639. align-self: baseline;
  640. font-size:$font-size-28;
  641. color:#666666;
  642. margin-left:10rpx;
  643. .txt{
  644. color: #FB4343;
  645. padding-right: 10rpx;
  646. }
  647. }
  648. .cell-tit{
  649. flex: 1;
  650. font-size: $font-size-28;
  651. color: #666666;
  652. margin-right:10rpx;
  653. }
  654. .cell-tip{
  655. font-size: $font-size-28;
  656. color: $text-color;
  657. }
  658. }
  659. .list-cell.last{
  660. border-bottom: none;
  661. }
  662. .uni-badge--small {
  663. -webkit-transform: scale(.8);
  664. -ms-transform: scale(.8);
  665. transform: scale(.8);
  666. -webkit-transform-origin: center center;
  667. -ms-transform-origin: center center;
  668. transform-origin: center center;
  669. }
  670. .uni-badge {
  671. font-family: 'Helvetica Neue', Helvetica, sans-serif;
  672. -webkit-box-sizing: border-box;
  673. box-sizing: border-box;
  674. font-size: 12px;
  675. line-height: 1;
  676. display: inline-block;
  677. padding: 3px 6px;
  678. color: #333;
  679. border-radius: 100px;
  680. background-color: #f1f1f1;
  681. }
  682. .uni-badge-error {
  683. color: #fff;
  684. background-color: #dd524d;
  685. }
  686. </style>