user.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702
  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'])
  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. authorize.checkLogin()
  278. .then(res => {
  279. if(this.hasLogin){
  280. this.$api.navigateTo(url)
  281. }else{
  282. this.$api.navigateTo('/pages/login/login?type=0')
  283. }
  284. })
  285. .catch(err => {
  286. this.$api.navigateTo('/pages/authorization/authorization?type=1')
  287. })
  288. },
  289. navigatorNex(url,type){
  290. authorize.checkLogin()
  291. .then(res => {
  292. if(!this.hasLogin){
  293. this.$api.navigateTo(url)
  294. }
  295. })
  296. .catch(err => {
  297. this.$api.navigateTo(`/pages/authorization/authorization?type=${type}`)
  298. })
  299. },
  300. showBadge(n){
  301. let num ='';
  302. if(n>100){num = 99}else{num = n;}
  303. return num;
  304. },
  305. clubStatusText(state){
  306. let stateText;
  307. switch(state){
  308. case 90:
  309. stateText = ''
  310. break;
  311. case 1:
  312. stateText = '正在审核中'
  313. break;
  314. case 92:
  315. stateText = '审核不通过'
  316. break;
  317. }
  318. return stateText
  319. }
  320. },
  321. onPageScroll(e){//实时获取到滚动的值
  322. if(e.scrollTop>20){
  323. this.isCmcustom = true
  324. this.nvabarData.bgColor = '#E37A4B'
  325. this.nvabarData.textColor = '#FFFFFF'
  326. }else{
  327. this.isCmcustom = false
  328. this.nvabarData.bgColor = ''
  329. this.nvabarData.textColor = '#FFFFFF'
  330. }
  331. },
  332. onPullDownRefresh() {//下拉刷新
  333. if(this.hasLogin){
  334. this.getUserInfo()
  335. uni.stopPullDownRefresh()
  336. }else{
  337. uni.stopPullDownRefresh()
  338. }
  339. },
  340. onShow(){
  341. if(this.hasLogin){
  342. this.$api.getComStorage('userInfo').then((resolve) =>{
  343. this.userID = resolve.userId ? resolve.userId : 0
  344. this.getUserInfo()
  345. }).catch(reject =>{
  346. console.log('异常处理=========>',reject)
  347. })
  348. }else{
  349. this.getPhone()
  350. this.$store.commit('updateAllNum',0)
  351. }
  352. }
  353. }
  354. </script>
  355. <style lang="scss">
  356. @import "@/uni.scss";
  357. page{
  358. background-color: #F7F7F7;
  359. }
  360. .user{
  361. width: 100%;
  362. height: 100%;
  363. position:relative;
  364. background: rgba(247, 247, 247, 1);
  365. }
  366. .header{
  367. width: 100%;
  368. position: relative;
  369. background-size: cover;
  370. }
  371. .header-main{
  372. width: 702rpx;
  373. height: 130rpx;
  374. padding: 12rpx 24rpx;
  375. display: flex;
  376. .header-text{
  377. flex: 8;
  378. display: flex;
  379. flex-direction: column;
  380. box-sizing: border-box;
  381. padding-left: 20rpx;
  382. .user-item{
  383. flex: 1;
  384. height: 64rpx;
  385. line-height: 64rpx;
  386. &.amount{
  387. height: 30rpx;
  388. line-height: 30rpx;
  389. }
  390. .u-tips{
  391. display: inline-block;
  392. float: left;
  393. width: 98rpx;
  394. height: 30rpx;
  395. border: 1px solid #FFFFFF;
  396. background: linear-gradient(128deg,rgba(242,143,49,1) 0%,rgba(225,86,22,1) 100%);
  397. border-radius: 16rpx;
  398. line-height: 30rpx;
  399. font-size: $font-size-20;
  400. text-align: center;
  401. color: #FFFFFF;
  402. margin-left: 10rpx;
  403. margin-top: 17rpx;
  404. }
  405. .u-viptips{
  406. display: inline-block;
  407. float: left;
  408. width: 98rpx;
  409. height: 30rpx;
  410. border: 1px solid #FFE600;
  411. background: linear-gradient(128deg,rgba(242,143,49,1) 0%,rgba(225,86,22,1) 100%);
  412. border-radius: 16rpx;
  413. line-height: 30rpx;
  414. font-size: $font-size-20;
  415. text-align: center;
  416. color: #FFE600;
  417. margin-left: 10rpx;
  418. margin-top: 17rpx;
  419. }
  420. .u-h1{
  421. width: 300rpx;
  422. float: left;
  423. font-size: $font-size-34;
  424. color: #FFFFFF;
  425. text-align: left;
  426. -o-text-overflow: ellipsis;
  427. text-overflow: ellipsis;
  428. display: -webkit-box;
  429. word-break: break-all;
  430. -webkit-box-orient: vertical;
  431. -webkit-line-clamp: 1;
  432. overflow: hidden;
  433. }
  434. .u-p{
  435. font-size: $font-size-24;
  436. line-height: 30rpx;
  437. color: #FFFFFF;
  438. text-align: left;
  439. }
  440. }
  441. }
  442. .header-icon{
  443. flex: 2;
  444. image{
  445. float: right;
  446. width: 128rpx;
  447. height: 128rpx;
  448. border-radius: 100%;
  449. border: 2rpx solid #FFFFFF;
  450. }
  451. }
  452. }
  453. .header-main-none{
  454. width: 702rpx;
  455. height: 152rpx;
  456. padding: 0 24rpx;
  457. display: flex;
  458. .header-text{
  459. flex: 8;
  460. display: flex;
  461. flex-direction: column;
  462. .user-item{
  463. flex: 1;
  464. height: 50rpx;
  465. line-height: 50rpx;
  466. .line{
  467. margin: 0 10rpx;
  468. }
  469. .u-h1{
  470. float: left;
  471. font-size: $font-size-34;
  472. color: #FFFFFF;
  473. text-align: left;
  474. -o-text-overflow: ellipsis;
  475. text-overflow: ellipsis;
  476. display: -webkit-box;
  477. word-break: break-all;
  478. -webkit-box-orient: vertical;
  479. -webkit-line-clamp: 1;
  480. overflow: hidden;
  481. }
  482. .u-p{
  483. font-size: $font-size-24;
  484. line-height: 50rpx;
  485. color: #EFEFEF;
  486. text-align: left;
  487. }
  488. .u-btn{
  489. width: 160rpx;
  490. height: 40rpx;
  491. background: rgba(255,255,255,.8);
  492. border-radius: 8rpx;
  493. line-height: 40rpx;
  494. text-align: center;
  495. font-size: $font-size-24;
  496. color: $color-system;
  497. display: block;
  498. margin-top: 5rpx;
  499. padding-left: 6rpx;
  500. .icon-xiangyouhuabeifen{
  501. font-size: $font-size-24;
  502. }
  503. }
  504. }
  505. }
  506. .header-icon{
  507. flex: 2;
  508. display: flex;
  509. margin-right: 20rpx;
  510. align-items: center;
  511. justify-content: center;
  512. image{
  513. float: right;
  514. width: 128rpx;
  515. height: 128rpx;
  516. border-radius: 100%;
  517. border: 2rpx solid #FFFFFF;
  518. }
  519. }
  520. }
  521. .user-order{
  522. width: 654rpx;
  523. height: auto;
  524. padding: 0 24rpx;
  525. background-color: $bg-color;
  526. margin-bottom: 24rpx;
  527. position: absolute;
  528. bottom: -170rpx;
  529. left: 24rpx;
  530. border-radius: 20rpx;
  531. }
  532. .tab-title{
  533. font-size: $font-size-28;
  534. line-height: 80rpx;
  535. color: #333333;
  536. text-align:left;
  537. border-bottom: 1px solid #F8F8F8;
  538. position: relative;
  539. .cell-tit{
  540. font-size: $font-size-28;
  541. color: $text-color;
  542. }
  543. .cell-more{
  544. float: right;
  545. line-height: 80rpx;
  546. font-size: $font-size-24;
  547. color: $text-color;
  548. padding-right: 30rpx;
  549. }
  550. .iconfont{
  551. width: 30rpx;
  552. height: 80rpx;
  553. line-height: 80rpx;
  554. text-align: center;
  555. position: absolute;
  556. right: 0;
  557. top: 0;
  558. display: block;
  559. font-size: $font-size-28;
  560. }
  561. }
  562. .order-section{
  563. display: flex;
  564. justify-content: space-around;
  565. align-items: center;
  566. flex-wrap:wrap;
  567. height: 99rpx;
  568. padding: 24rpx 0;
  569. }
  570. .order-item{
  571. flex:1;
  572. display: flex;
  573. flex-direction: column;
  574. align-items: center;
  575. position: relative;
  576. &:last-child{
  577. margin-right: 0;
  578. }
  579. .order-icon{
  580. width: 52rpx;
  581. height: 52rpx;
  582. position: relative;
  583. image{
  584. width: 52rpx;
  585. height: 52rpx;
  586. }
  587. .icon-num{
  588. position: absolute;
  589. right:-24rpx;
  590. top: -9rpx;
  591. }
  592. .icon-num.goleft{
  593. right: -12rpx;
  594. }
  595. }
  596. .order-t{
  597. line-height: 50rpx;
  598. font-size: $font-size-24;
  599. color: $text-color;
  600. }
  601. }
  602. .foot-list{
  603. width: 702rpx;
  604. padding: 0 24rpx;
  605. padding-top: 160rpx;
  606. }
  607. .list-cell-avtiv{
  608. width: 702rpx;
  609. height: 240rpx;
  610. margin-bottom: 24rpx;
  611. image{
  612. width: 100%;
  613. height: 100%;
  614. display: block;
  615. }
  616. }
  617. .list-cell-item{
  618. width: 654rpx;
  619. height: auto;
  620. margin-bottom: 24rpx;
  621. padding:0 24rpx;
  622. background: $bg-color;
  623. border-radius: 20rpx;
  624. }
  625. .list-cell{
  626. display:flex;
  627. width: 100%;
  628. align-items:baseline;
  629. line-height:100rpx;
  630. position:relative;
  631. background: $bg-color;
  632. justify-content: center;
  633. border-bottom: 1px solid #EBEBEB;
  634. &:last-child{
  635. border-bottom: none;
  636. }
  637. &.cell-hover{
  638. background:#fafafa;
  639. }
  640. .cell-icon{
  641. width: 60rpx;
  642. height: 100rpx;
  643. line-height: 100rpx;
  644. text-align: center;
  645. .iconfont{
  646. font-size: $font-size-34;
  647. color: #666666;
  648. }
  649. }
  650. .cell-more{
  651. align-self: baseline;
  652. font-size:$font-size-28;
  653. color:#666666;
  654. margin-left:10rpx;
  655. .txt{
  656. color: #FB4343;
  657. padding-right: 10rpx;
  658. }
  659. }
  660. .cell-tit{
  661. flex: 1;
  662. font-size: $font-size-28;
  663. color: #666666;
  664. margin-right:10rpx;
  665. }
  666. .cell-tip{
  667. font-size: $font-size-28;
  668. color: $text-color;
  669. }
  670. }
  671. .list-cell.last{
  672. border-bottom: none;
  673. }
  674. .uni-badge--small {
  675. -webkit-transform: scale(.8);
  676. -ms-transform: scale(.8);
  677. transform: scale(.8);
  678. -webkit-transform-origin: center center;
  679. -ms-transform-origin: center center;
  680. transform-origin: center center;
  681. }
  682. .uni-badge {
  683. font-family: 'Helvetica Neue', Helvetica, sans-serif;
  684. -webkit-box-sizing: border-box;
  685. box-sizing: border-box;
  686. font-size: 12px;
  687. line-height: 1;
  688. display: inline-block;
  689. padding: 3px 6px;
  690. color: #333;
  691. border-radius: 100px;
  692. background-color: #f1f1f1;
  693. }
  694. .uni-badge-error {
  695. color: #fff;
  696. background-color: #dd524d;
  697. }
  698. </style>