user.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700
  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(this.isWxAuthorize){
  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. if(this.isWxAuthorize){
  290. if(!this.hasLogin){
  291. this.$api.navigateTo(url)
  292. }
  293. }else{
  294. console.log(new Date +'用户未授权微信信息')
  295. this.$api.navigateTo(`/pages/authorization/authorization?type=${type}`)
  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 ? resolve.userId : 0
  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-avtiv{
  606. width: 702rpx;
  607. height: 240rpx;
  608. margin-bottom: 24rpx;
  609. image{
  610. width: 100%;
  611. height: 100%;
  612. display: block;
  613. }
  614. }
  615. .list-cell-item{
  616. width: 654rpx;
  617. height: auto;
  618. margin-bottom: 24rpx;
  619. padding:0 24rpx;
  620. background: $bg-color;
  621. border-radius: 20rpx;
  622. }
  623. .list-cell{
  624. display:flex;
  625. width: 100%;
  626. align-items:baseline;
  627. line-height:100rpx;
  628. position:relative;
  629. background: $bg-color;
  630. justify-content: center;
  631. border-bottom: 1px solid #EBEBEB;
  632. &:last-child{
  633. border-bottom: none;
  634. }
  635. &.cell-hover{
  636. background:#fafafa;
  637. }
  638. .cell-icon{
  639. width: 60rpx;
  640. height: 100rpx;
  641. line-height: 100rpx;
  642. text-align: center;
  643. .iconfont{
  644. font-size: $font-size-34;
  645. color: #666666;
  646. }
  647. }
  648. .cell-more{
  649. align-self: baseline;
  650. font-size:$font-size-28;
  651. color:#666666;
  652. margin-left:10rpx;
  653. .txt{
  654. color: #FB4343;
  655. padding-right: 10rpx;
  656. }
  657. }
  658. .cell-tit{
  659. flex: 1;
  660. font-size: $font-size-28;
  661. color: #666666;
  662. margin-right:10rpx;
  663. }
  664. .cell-tip{
  665. font-size: $font-size-28;
  666. color: $text-color;
  667. }
  668. }
  669. .list-cell.last{
  670. border-bottom: none;
  671. }
  672. .uni-badge--small {
  673. -webkit-transform: scale(.8);
  674. -ms-transform: scale(.8);
  675. transform: scale(.8);
  676. -webkit-transform-origin: center center;
  677. -ms-transform-origin: center center;
  678. transform-origin: center center;
  679. }
  680. .uni-badge {
  681. font-family: 'Helvetica Neue', Helvetica, sans-serif;
  682. -webkit-box-sizing: border-box;
  683. box-sizing: border-box;
  684. font-size: 12px;
  685. line-height: 1;
  686. display: inline-block;
  687. padding: 3px 6px;
  688. color: #333;
  689. border-radius: 100px;
  690. background-color: #f1f1f1;
  691. }
  692. .uni-badge-error {
  693. color: #fff;
  694. background-color: #dd524d;
  695. }
  696. </style>