user.vue 19 KB

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