index.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882
  1. <template>
  2. <view class="memberCenter">
  3. <zs-header title="会员中心" :background="background"></zs-header>
  4. <view class="top-box target" :style="{backgroundImage:`url(${list[current].backImg})`}">
  5. <view class="user-info">
  6. <image class="image" :src="userInfo.imgPath || defaultImg" lazy-load mode=""></image>
  7. <view class="info">
  8. <view class="user-name" :style="{color:`${list[current].backColour}`}">{{userInfo.nickname ||'用户'}}</view>
  9. <view class="tel">{{currentLevelName ||'您当前未开通会员'}}</view>
  10. </view>
  11. </view>
  12. <view class="swiper-box">
  13. <image v-if="current!=0" class="click left" src="../../static/member/click.gif" mode=""></image>
  14. <image v-if="current!=list.length-1" class="click" src="../../static/member/click.gif" mode=""></image>
  15. <swiper @change="changeSwiper" :current="current" class="swiper"
  16. >
  17. <swiper-item class="swiper-item" v-for="(item,index) in list" :key="item.setMealCode">
  18. <view class="content">
  19. <view :style="{background:item.backColour,color:item.colour}" v-if="userInfo.setMealCode == item.setMealCode" class="tag">
  20. 当前等级
  21. </view>
  22. <image class="icon" :src="item.imgUrl" mode=""></image>
  23. <!-- <view class="price" :style="{color:item.color}">
  24. {{`开通会员${item.price}/月`}}
  25. </view>
  26. <view class="notice" :style="{color:item.color}">
  27. 开通会员预计节省 <text class="num">¥99元</text>
  28. </view> -->
  29. </view>
  30. </swiper-item>
  31. </swiper>
  32. </view>
  33. </view>
  34. <view v-if="list1.length">
  35. <view class="title-box">
  36. <view class="title">
  37. 基础权益
  38. </view>
  39. </view>
  40. <u-grid :border="false" col="3">
  41. <u-grid-item v-for="(item,d) in list1" :key="d">
  42. <image class="icon" :src="item.equityImg" mode=""></image>
  43. <text class="title">{{item.equityName}}</text>
  44. <text class="desc">{{item.equityDetail}}</text>
  45. </u-grid-item>
  46. </u-grid>
  47. </view>
  48. <view v-if="list2.length">
  49. <view class="title-box">
  50. <view class="title">
  51. 专属权益
  52. </view>
  53. </view>
  54. <u-grid :border="false" col="3">
  55. <u-grid-item v-for="(item,d) in list2" :key="d" @click="openPop(item)">
  56. <image class="icon" :src="item.equityImg" mode=""></image>
  57. <text class="title">{{item.equityName}}</text>
  58. <text class="desc">{{item.equityDetail}}</text>
  59. </u-grid-item>
  60. </u-grid>
  61. </view>
  62. <!--
  63. <view class="title-box">
  64. <view class="title">
  65. 娱乐
  66. </view>
  67. <view class="desc">
  68. 享受多达24种娱乐权益
  69. </view>
  70. </view>
  71. <u-grid :border="false" col="3">
  72. <u-grid-item v-for="(item,listIndex) in list1" :key="listIndex">
  73. <image class="icon" :src="item.icon" mode=""></image>
  74. <text class="title">{{item.title}}</text>
  75. <text class="desc">{{item.desc}}</text>
  76. </u-grid-item>
  77. </u-grid> -->
  78. <view class="fixed-box">
  79. <view class="btn-box">
  80. <view class="left-box" @click="handleCall">
  81. <image class="icon" src="../../static/phone.png" mode=""></image>
  82. <view class="info">
  83. <view class="tel">
  84. 10086
  85. </view>
  86. <view class="desc">
  87. 套餐咨询
  88. </view>
  89. </view>
  90. </view>
  91. <button class="btn" v-if="cmVipEnable&&userInfo.setMealCode != currentMeal" :loading="btnLoading" @click="goOrder">
  92. 立即开通
  93. </button>
  94. </view>
  95. <view class="agreement-box" v-if="cmVipEnable&&userInfo.setMealCode != currentMeal">
  96. <u-checkbox-group size="28rpx" v-model="checked" @change="choose">
  97. <u-checkbox activeColor="#EE4320" shape="circle" name="1" ></u-checkbox>
  98. </u-checkbox-group>
  99. <view class="text">
  100. 已阅读并同意 <text class="color" @click="jump('/agreement/member')">《慧研学惠生活基础会员服务协议》</text>
  101. </view>
  102. </view>
  103. </view>
  104. <u-popup :show="show" round="32rpx" mode="bottom" @close="show = false">
  105. <view class="discounts-title">
  106. 权益领取
  107. </view>
  108. <view class="discounts">
  109. <view class="discounts-item" v-if="type == 2">
  110. <view class="type-box">
  111. <view class="price">
  112. {{item | filterPrice}}
  113. </view>
  114. <view class="type">
  115. {{item | filterType}}
  116. </view>
  117. </view>
  118. <view class="info">
  119. <view class="card-title">
  120. {{item.couponName}}
  121. </view>
  122. <view class="limit">
  123. {{item.useStartTime}}后可用
  124. </view>
  125. <view class="desc">
  126. {{item.usrDetail || '-'}}
  127. </view>
  128. </view>
  129. <view class="btn" :class="[item.exist > 0?'used':'']" @click="handleBuy(item.id,item.exist)">
  130. {{item.exist > 0?'已领取':'领取'}}
  131. </view>
  132. </view>
  133. <view class="box" v-else-if="type == 4">
  134. <view class="item" v-for="(i,d) in item.equityContent" :key="d">
  135. <image class="icon" :src="i.icon" mode=""></image>
  136. <view class="title">
  137. {{i.equityName}}
  138. </view>
  139. <view class="btn" @click="handle(i)">
  140. {{i.canClaim?'领取':'查看'}}
  141. </view>
  142. </view>
  143. </view>
  144. <view class="desc-box">
  145. <view class="sub-title" v-if="item.equityMsg">
  146. 权益说明
  147. </view>
  148. <!-- <rich-text class="desc" :nodes="item.equityMsg"></rich-text> -->
  149. <view class="desc" v-html="item.equityMsg">
  150. {{item.equityMsg}}
  151. </view>
  152. </view>
  153. </view>
  154. </u-popup>
  155. <u-popup :show="show1" round="32rpx" mode="bottom" @close="show1 = false">
  156. <view class="discounts-title">
  157. 权益领取手机号
  158. </view>
  159. <view class="account-box">
  160. <!-- <u--input
  161. class="account-input"
  162. placeholder="请输入充值账号"
  163. border="none"
  164. cursorSpacing="150rpx"
  165. v-model.trim="form.account"
  166. ></u--input> -->
  167. <input class="account-input" v-model.trim="form.account" placeholder="请输入充值账号" border="none" />
  168. <button class="btn" :loading="btnLoading1" @click="getMediaVipCoupon">
  169. 确认
  170. </button>
  171. </view>
  172. </u-popup>
  173. <web-view v-if="H5url" :src="H5url"></web-view>
  174. </view>
  175. </template>
  176. <script>
  177. import {getSetting} from '@/api/common.js'
  178. import {mealList,equityList,getH5url,getVideoEquity,getMediaVipCoupon} from '@/api/combo.js'
  179. import {getXiaojuCoupon,getCouponDetail} from '@/api/coupon.js'
  180. export default {
  181. data() {
  182. return {
  183. type:0,
  184. cmVipEnable:false,
  185. checked:'',
  186. current: 0,//轮播套餐index
  187. currentMeal: 0,//套餐id
  188. background: false,
  189. defaultImg: 'https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fci.xiaohongshu.com%2Fc34b7b74-ba38-0456-982a-43c0f97522fe%3FimageView2%2F2%2Fw%2F1080%2Fformat%2Fjpg&refer=http%3A%2F%2Fci.xiaohongshu.com&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=auto?sec=1693532127&t=a2e186c12aecaab7723611cb52a6778f',
  190. userInfo: {
  191. imgPath: "",
  192. isAuth: 1,
  193. lastLogin: "",
  194. nickname: "",
  195. openId: "",
  196. phoneNum: "",
  197. score: 0,
  198. setMealId: 0,
  199. sex: 1,
  200. userId: "",
  201. },
  202. list: [{backImg:''}],
  203. list1:[],
  204. list2:[],
  205. query:{
  206. "channelCode": "",
  207. "channelType": "",
  208. "discount": 6,
  209. "extension": "test",
  210. "phone": "",
  211. "saleModalId": ""
  212. },
  213. form:{
  214. account:JSON.parse(uni.getStorageSync('userInfo')).phoneNum
  215. },
  216. H5url:'',
  217. btnLoading:false,
  218. btnLoading1:false,
  219. currentMealCode:0,
  220. show:false,
  221. show1:false,
  222. item:{},
  223. equityId:0,
  224. equityContentId:0
  225. }
  226. },
  227. computed: {
  228. currentLevelName() {
  229. let list = this.list.filter(item=>{
  230. if(item.setMealCode == this.userInfo.setMealCode){
  231. return item
  232. }
  233. })
  234. if(list.length){
  235. return list[0].setMealName
  236. }else{
  237. return ''
  238. }
  239. }
  240. },
  241. filters: {
  242. filterPrice: function(val) {
  243. if(val.couponType == 1){
  244. return `¥${val.couponDiscount}`
  245. }else if(val.couponType == 2){
  246. return `${val.couponDiscount}折`
  247. }else if(val.couponType == 3){
  248. return `¥${val.couponDiscount}`
  249. }
  250. },
  251. filterType: function(val) {
  252. if(val.couponType == 1){
  253. if(val.couponCondition){
  254. return `满${val.couponCondition}立减`
  255. }else{
  256. return '无门槛立减'
  257. }
  258. }else if(val.couponType == 2){
  259. if(val.couponCondition){
  260. return `满${val.couponCondition}`
  261. }else{
  262. return '无门槛立减'
  263. }
  264. }else if(val.couponType == 3){
  265. if(val.couponCondition){
  266. return `满${val.couponCondition}立减`
  267. }else{
  268. return '无门槛立减'
  269. }
  270. }
  271. },
  272. },
  273. methods: {
  274. handle(item){
  275. if(item.canClaim){
  276. this.show = false
  277. this.show1 = true
  278. this.equityContentId = item.id
  279. this.form.account = JSON.parse(uni.getStorageSync('userInfo')).phoneNum
  280. }else{
  281. uni.navigateTo({
  282. url:'./logList'
  283. })
  284. }
  285. },
  286. handleCall() {
  287. uni.makePhoneCall({
  288. phoneNumber: '10086' //仅为示例
  289. });
  290. },
  291. openPop(item){
  292. this.type = item.bindService
  293. if(item.bindService == 2){//加油券
  294. this.show = true
  295. getCouponDetail({id:item.bindContent}).then(res=>{
  296. if(res.state == 'Success'){
  297. this.item = res.content
  298. this.item.equityMsg = item.equityMsg.replaceAll('\n','<br/>')
  299. }
  300. })
  301. }else if(item.bindService == 4){//视频会员
  302. this.show = true
  303. this.equityId = item.id
  304. getVideoEquity({equityId:item.id}).then(res=>{
  305. if(res.state == 'Success'){
  306. this.item = res.content
  307. this.item.equityContent = JSON.parse(this.item.equityContent)
  308. this.item.equityMsg = item.equityMsg.replaceAll('\n','<br/>')
  309. }
  310. })
  311. }else if(item.equityName.indexOf('领水')!=-1){
  312. uni.navigateTo({
  313. url:'/special/water'
  314. })
  315. }
  316. },
  317. // 点击领取
  318. handleBuy() {
  319. uni.showLoading({
  320. title:'领取中'
  321. })
  322. getXiaojuCoupon({activityXiaojuId:this.item.activityXiaojuId,userId:JSON.parse(uni.getStorageSync('userInfo')).userId,mobile:JSON.parse(uni.getStorageSync('userInfo')).phoneNum}).then(res=>{
  323. uni.hideLoading()
  324. if(res.state == 'Success'){
  325. uni.showToast({
  326. title:'领取成功',
  327. icon:'success'
  328. })
  329. }
  330. })
  331. },
  332. getMediaVipCoupon(){
  333. let userInfo = JSON.parse(uni.getStorageSync('userInfo'))
  334. getMediaVipCoupon({
  335. equityContentId:this.equityContentId,
  336. "equityId": this.equityId,
  337. "userId": userInfo.userId,
  338. userMobile:userInfo.phoneNum,
  339. mobile:this.form.account}).then(res=>{
  340. if(res.state == 'Success'){
  341. this.show1 = false
  342. uni.showToast({
  343. title:'领取成功',
  344. icon:'success'
  345. })
  346. }
  347. })
  348. },
  349. jump(url){
  350. uni.navigateTo({
  351. url
  352. })
  353. },
  354. choose(val){
  355. console.log(val);
  356. },
  357. goOrder(){
  358. if(!this.checked.length) return uni.showToast({
  359. title:'请勾选会员服务协议',
  360. icon:'none'
  361. })
  362. if(this.btnLoading) return
  363. this.query.saleModalId = this.list[this.current].setMealCode
  364. // this.H5url = 'http://iot-pay-server.dev.zonelife.cn/app-h5/task/dist/index.html#/localLife/orderResult?businessName=%E7%A0%94%E5%AD%A620%E5%85%83%E5%8C%85&lifeId=fcbfbb7ea3ada89ad160da82dc9c75e6'
  365. this.getH5url()
  366. },
  367. changeSwiper(val) {
  368. this.current = val.target.current
  369. this.currentMeal = this.list[val.target.current].setMealCode
  370. this.query.discount = this.list[val.target.current].discount
  371. this.equityList(this.currentMeal,1)
  372. this.equityList(this.currentMeal,2)
  373. },
  374. mealList(){
  375. return new Promise((resolve,reject)=>{
  376. mealList({currentPage:1,pageSize:99,status:1}).then(res=>{
  377. if (res.state == 'Success') {
  378. this.list = res.content.records
  379. this.list.map((item,index)=>{
  380. if(this.userInfo.setMealCode == item.setMealCode){
  381. this.current = index
  382. }
  383. })
  384. this.currentMeal = this.list[this.current].setMealCode
  385. this.query.discount = this.list[this.current].discount
  386. resolve(this.currentMeal)
  387. }
  388. })
  389. })
  390. },
  391. equityList(setMealCode,equityType){
  392. return new Promise((resolve,reject)=>{
  393. equityList({currentPage:1,pageSize:99,setMealCode,equityType,status:1,showType:1}).then(res=>{
  394. if (res.state == 'Success') {
  395. this['list'+equityType] = res.content.records
  396. resolve(setMealCode)
  397. }
  398. })
  399. })
  400. },
  401. getData(){
  402. this.mealList().then(id=>{
  403. return this.equityList(id,1)
  404. }).then(id1=>{
  405. this.equityList(id1,2)
  406. })
  407. },
  408. getH5url(){
  409. this.btnLoading = true
  410. getH5url(this.query).then(res=>{
  411. this.btnLoading = false
  412. if (res.state == 'Success') {
  413. this.H5url = res.content
  414. }
  415. })
  416. },
  417. getSetting(){
  418. getSetting().then(res=>{
  419. if(res.state == 'Success'){
  420. this.cmVipEnable = res.content.cmVipEnable
  421. }
  422. })
  423. }
  424. },
  425. onPageScroll(e) {
  426. if (e.scrollTop >= 50) {
  427. this.background = true
  428. } else {
  429. this.background = false
  430. }
  431. },
  432. created() {
  433. if(uni.getStorageSync('userInfo')) {
  434. this.userInfo = JSON.parse(uni.getStorageSync('userInfo'))
  435. this.query.phone = this.userInfo.phoneNum
  436. }
  437. // this.current = this.userInfo.setMealId
  438. this.getData()
  439. },
  440. onLoad(options) {
  441. this.getSetting()
  442. console.log('onload',options);
  443. }
  444. }
  445. </script>
  446. <style lang="scss">
  447. .memberCenter {
  448. min-height: 100vh;
  449. background: #FFF;
  450. padding-bottom: 180rpx;
  451. .swiper-box{
  452. position: relative;
  453. .click{
  454. position: absolute;
  455. top: calc(50% - 25rpx) ;
  456. right: 0;
  457. width: 100rpx;
  458. height: 100rpx;
  459. z-index: 999;
  460. }
  461. .click.left{
  462. left: 0;
  463. transform: rotateY(180deg);
  464. }
  465. .swiper {
  466. width: 750rpx !important;
  467. height: 272rpx !important;
  468. position: relative;
  469. left: -30rpx;
  470. top: 20rpx;
  471. }
  472. .swiper-item {
  473. width: 640rpx !important;
  474. height: 272rpx !important;
  475. position: relative;
  476. padding: 0 55rpx;
  477. .active {
  478. // transform: scale(1) !important;
  479. }
  480. .content {
  481. // transform: scale(.9);
  482. // transition: transform .3s;
  483. // transform-origin: center center;
  484. .icon {
  485. width: 640rpx;
  486. height: 272rpx;
  487. border-radius: 16rpx;
  488. }
  489. .tag {
  490. width: 104rpx;
  491. height: 34rpx;
  492. line-height: 34rpx;
  493. text-align: center;
  494. font-size: 22rpx;
  495. color: #fff;
  496. border-radius: 16rpx 0rpx 16rpx 0rpx;
  497. position: absolute;
  498. top: 0%;
  499. left: 55rpx;
  500. z-index: 2;
  501. }
  502. .price {
  503. font-size: 24rpx;
  504. position: absolute;
  505. left: 95rpx;
  506. top: 140rpx;
  507. }
  508. .notice {
  509. font-size: 24rpx;
  510. position: absolute;
  511. left: 95rpx;
  512. bottom: 40rpx;
  513. .num {
  514. font-weight: bold;
  515. font-size: 36rpx;
  516. }
  517. }
  518. }
  519. }
  520. }
  521. .top-box {
  522. width: 750rpx;
  523. height: 600rpx;
  524. padding: 150rpx 30rpx 0;
  525. box-sizing: border-box;
  526. position: relative;
  527. background-size: 100% 495rpx;
  528. background-repeat: no-repeat;
  529. .user-info {
  530. display: flex;
  531. align-items: center;
  532. justify-content: space-between;
  533. padding: 15rpx 0;
  534. color: #222222;
  535. .image {
  536. width: 108rpx;
  537. height: 108rpx;
  538. background: #f1f1f1;
  539. border-radius: 50%;
  540. }
  541. .info {
  542. flex: 1;
  543. margin-left: 30rpx;
  544. .user-name {
  545. font-size: 32rpx;
  546. font-weight: bold;
  547. color: #222222;
  548. }
  549. .tel {
  550. font-size: 24rpx;
  551. margin-top: 10rpx;
  552. color: #AAAAAA;
  553. }
  554. }
  555. }
  556. }
  557. .title-box {
  558. display: flex;
  559. align-items: center;
  560. margin: 30rpx 30rpx 0;
  561. .title {
  562. color: #222222;
  563. font-weight: bold;
  564. font-size: 32rpx;
  565. }
  566. .desc {
  567. margin-left: 10rpx;
  568. font-size: 22rpx;
  569. color: #AAAAAA;
  570. }
  571. }
  572. .u-grid{
  573. .u-grid-item{
  574. padding-top:30rpx ;
  575. }
  576. .icon{
  577. width: 80rpx;
  578. height: 80rpx;
  579. border-radius: 50%;
  580. }
  581. .title{
  582. width: 200rpx;
  583. font-size: 28rpx;
  584. color: #222222;
  585. margin-top: 10rpx;
  586. text-align: center;
  587. font-weight: bold;
  588. }
  589. .desc{
  590. width: 150rpx;
  591. color: #AAAAAA;
  592. font-size: 20rpx;
  593. text-align: center;
  594. }
  595. }
  596. .fixed-box {
  597. position: fixed;
  598. bottom: 0%;
  599. left: 0%;
  600. width: 100%;
  601. background: #fff;
  602. padding: 15rpx 20rpx 40rpx;
  603. box-sizing: border-box;
  604. .btn-box{
  605. display: flex;
  606. justify-content: space-between;
  607. align-items: center;
  608. .left-box {
  609. display: flex;
  610. align-items: center;
  611. .icon {
  612. width: 80rpx;
  613. height: 80rpx;
  614. }
  615. .info {
  616. margin-left: 20rpx;
  617. .tel {
  618. color: #222222;
  619. font-weight: bold;
  620. font-size: 32rpx;
  621. }
  622. .desc {
  623. font-size: 22rpx;
  624. color: #999999;
  625. }
  626. }
  627. }
  628. .btn {
  629. width: 340rpx;
  630. height: 80rpx;
  631. line-height: 80rpx;
  632. margin: 0;
  633. text-align: center;
  634. background: #FF4C3A;
  635. color: #fff;
  636. font-size: 28rpx;
  637. font-weight: bold;
  638. border-radius: 40rpx 40rpx 40rpx 40rpx;
  639. }
  640. }
  641. .agreement-box{
  642. display: flex;
  643. align-items: center;
  644. justify-content: center;
  645. font-size: 20rpx;
  646. color: #999999;
  647. margin-top: 20rpx;
  648. .color{
  649. color: #EE4320;
  650. }
  651. }
  652. }
  653. .u-popup__content{
  654. background: #F6F6F6!important;
  655. }
  656. .discounts-title {
  657. font-weight: bold;
  658. font-size: 32rpx;
  659. color: #222222;
  660. // text-align: center;
  661. padding: 28rpx 24rpx;
  662. }
  663. .discounts {
  664. padding: 0 24rpx 28rpx;
  665. max-height: 1000rpx;
  666. min-height: 600rpx;
  667. overflow: auto;
  668. .discounts-item {
  669. margin-bottom: 20rpx;
  670. display: flex;
  671. align-items: center;
  672. background-color: rgb(239, 239, 239);
  673. background: url('../../static/new-card.png') no-repeat;
  674. background-repeat: no-repeat;
  675. background-size: 100% 144rpx;
  676. border-radius: 16rpx;
  677. height: 144rpx;
  678. padding: 0 24rpx;
  679. box-sizing: border-box;
  680. .type-box{
  681. text-align: center;
  682. .price{
  683. ont-size: 40rpx;
  684. color: #FF4D3A;
  685. }
  686. .type{
  687. font-size: 20rpx;
  688. color: #AAAAAA;
  689. margin-top: 12rpx;
  690. }
  691. }
  692. .info {
  693. flex: 1;
  694. margin-left: 40rpx;
  695. .card-title {
  696. font-size: 28rpx;
  697. color: #222222;
  698. }
  699. .desc{
  700. font-size: 20rpx;
  701. color: #AAAAAA;
  702. }
  703. .limit{
  704. font-size: 20rpx;
  705. color: #AAAAAA;
  706. margin:10rpx 0;
  707. }
  708. }
  709. .btn {
  710. width: 118rpx;
  711. height: 48rpx;
  712. line-height: 48rpx;
  713. text-align: center;
  714. font-size: 24rpx;
  715. background: #EE4320;
  716. border-radius: 24rpx;
  717. color: #FFF;
  718. box-sizing: border-box;
  719. }
  720. .btn.used{
  721. border: 2rpx solid #EE421F;
  722. color: #EE421F;
  723. background: none;
  724. }
  725. }
  726. .box{
  727. border-radius: 16rpx;
  728. background: #fff;
  729. .item{
  730. display: flex;
  731. align-items: center;
  732. padding: 28rpx 24rpx;
  733. .icon{
  734. width: 160rpx;
  735. height: 160rpx;
  736. border-radius: 16rpx;
  737. }
  738. .title{
  739. font-weight: 600;
  740. font-size: 32rpx;
  741. color: #222222;
  742. flex: 1;
  743. margin-left: 20rpx;
  744. overflow: hidden;
  745. text-overflow: ellipsis;
  746. white-space: nowrap;
  747. }
  748. .btn{
  749. width: 120rpx;
  750. height: 52rpx;
  751. text-align: center;
  752. line-height: 52rpx;
  753. font-size: 28rpx;
  754. color: #EE4320;
  755. background: rgba(238,67,32,0.1);
  756. border-radius: 26rpx 26rpx 26rpx 26rpx;
  757. }
  758. .btn.disable{
  759. background: #F0F0F0;
  760. color: #AAAAAA;
  761. }
  762. }
  763. }
  764. .desc-box{
  765. border-radius: 16rpx;
  766. background: #fff;
  767. padding: 24rpx;
  768. margin-top: 20rpx;
  769. .sub-title{
  770. font-weight: bold;
  771. font-size: 26rpx;
  772. color: #222222;
  773. padding: 0rpx;
  774. }
  775. .desc{
  776. margin-top: 20rpx;
  777. }
  778. }
  779. .sub-title{
  780. font-weight: bold;
  781. font-size: 26rpx;
  782. color: #222222;
  783. // text-align: center;
  784. padding: 28rpx 24rpx;
  785. }
  786. .desc{
  787. color: #AAAAAA;
  788. font-size: 24rpx;
  789. line-height: 40rpx;
  790. }
  791. }
  792. .account-box{
  793. .account-input,.u-input__content{
  794. width: 702rpx;
  795. height: 96rpx;
  796. background: #FFFFFF;
  797. border-radius: 16rpx 16rpx 16rpx 16rpx;
  798. margin:0 auto 20rpx;
  799. box-sizing: border-box;
  800. padding: 0 20rpx;
  801. }
  802. .btn{
  803. width: 702rpx;
  804. height: 80rpx;
  805. line-height: 80rpx;
  806. text-align: center;
  807. background: #EE4320;
  808. border-radius: 40rpx;
  809. font-weight: 600;
  810. font-size: 28rpx;
  811. color: #FFFFFF;
  812. }
  813. }
  814. }
  815. </style>