user.vue 21 KB

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