nonprofitDetail.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659
  1. <template>
  2. <view class="common_page" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
  3. <cus-header title="公益活动详情" bgColor="transparent"></cus-header>
  4. <image src="https://oss.familydaf.cn/sxsnfile/20251218/ff31a76e0e1148378a318382b998a51f.png" class="top_bg_img" mode="widthFix"></image>
  5. <view class="top">
  6. <view class="top-status adfacjb">
  7. <view class="left adfac">{{signupStateDict[info?.signupState]||'未知'}}</view>
  8. <view class="right" v-if="info?.activityLimit==1"><span>{{info?.valueLimit||0}}</span>爱心值</view>
  9. <view class="right" v-else-if="info?.activityLimit==2"><span>{{info?.valueLimit||0}}</span>张专享券</view>
  10. <view class="right" v-else-if="info?.activityLimit==3"><span>免费</span></view>
  11. </view>
  12. <view class="top-no">善行少年编号:{{info?.uniqueNo||''}}</view>
  13. </view>
  14. <view class="box box1 adf" style="margin-top: 30rpx;">
  15. <view class="box1-left">
  16. <image :src="info?.coverFile||''"></image>
  17. </view>
  18. <view class="box1-right">
  19. <view class="title">{{info?.activityName||''}}</view>
  20. <view class="memo">{{info?.loveValueContent||''}}</view>
  21. </view>
  22. </view>
  23. <view class="box box2">
  24. <view class="box-title">活动信息</view>
  25. <view class="box2-item adf">
  26. <view class="left">报名时间</view>
  27. <view class="right">{{info?.signupStartTime||''}} ~ {{info?.signupEndTime||''}}</view>
  28. </view>
  29. <view class="box2-item adf">
  30. <view class="left">活动时间</view>
  31. <view class="right">{{info?.activityStartTime||''}} ~ {{info?.activityEndTime||''}}</view>
  32. </view>
  33. <view class="box2-item adf">
  34. <view class="left">活动地点</view>
  35. <view class="right">{{info?.provinceName||''}}{{info?.cityName||''}}</view>
  36. </view>
  37. <view class="box2-item adf">
  38. <view class="left">招募人数</view>
  39. <view class="right">{{info?.recruitmentNow||0}}/{{info?.recruitmentMax||'无限制'}}</view>
  40. </view>
  41. <view class="box2-item adf">
  42. <view class="left">联系人</view>
  43. <view class="right">{{info?.activityContact||''}}/{{info?.activityContactPhone||''}}</view>
  44. </view>
  45. <view class="box2-item adf">
  46. <view class="left">公益支持</view>
  47. <view class="right">{{info?.channelName||''}}</view>
  48. </view>
  49. </view>
  50. <view class="box box3">
  51. <view class="box-title">报名信息</view>
  52. <view class="box3-list">
  53. <view class="box3-list-item adfacjb">
  54. <view class="left">
  55. <view class="top adfac">
  56. <view class="name">{{info?.memberName||''}}</view>
  57. <image class="sex" v-if="info?.gender==1" src="https://oss.familydaf.cn/sxsnfile/20251218/473d5677fbdb4106acdb9a163377d27f.png"></image>
  58. <image class="sex" v-else-if="info?.gender==0" src="https://oss.familydaf.cn/sxsnfile/20251218/02bc40a1c47b40f1a36b55cd0553211c.png"></image>
  59. <view class="age" :class="{'women':info?.gender==1,'man':info?.gender==0}">{{info?.age}}岁</view>
  60. </view>
  61. <view class="left-bottom">身份证 {{info?.idCardCopy}}</view>
  62. </view>
  63. </view>
  64. </view>
  65. </view>
  66. <view class="user">
  67. <view class="user-pre adfacjb">
  68. <view class="user-pre-left">联系人姓名</view>
  69. <view class="user-pre-right">{{info?.contact||''}}</view>
  70. </view>
  71. <view class="user-pre adfacjb">
  72. <view class="user-pre-left">联系人电话</view>
  73. <view class="user-pre-right">{{info?.contactPhone||''}}</view>
  74. </view>
  75. </view>
  76. <view class="user" v-if="info?.activityLimit==2">
  77. <view class="user-pre adfacjb" @click="handleSelectTicket">
  78. <view class="user-pre-left">专享券抵扣</view>
  79. <view class="user-pre-right adfac">
  80. <text>{{ticketText}}</text>
  81. <image src="https://oss.familydaf.cn/sxsnfile/20251218/48d65d353fd748ccb33c0fa29c1cecb0.png"></image>
  82. </view>
  83. </view>
  84. </view>
  85. <view class="bottom adfacjb">
  86. <view class="right" @click="handleCancel" v-if="info?.activeState==1&&info?.signupState==1">取消报名</view>
  87. <view class="right" @click="handleApply" v-if="info?.activeState==1&&info?.signupState==-1">立即报名</view>
  88. <view class="right" :class="{'half':[2,3].includes(info?.activeState)&&[1,2].includes(info?.signupState)}" @click="handleSignup" v-if="info?.activeState==2&&info?.signupState==1">去签到</view>
  89. <view class="right grey" :class="{'half':[2,3].includes(info?.activeState)&&[1,2].includes(info?.signupState)}" v-if="info?.activeState==2&&info?.signupState==2">已签到</view>
  90. <view class="right" :class="{'half':[2].includes(info?.activeState)&&[1,2].includes(info?.signupState)}" @click="handleFill" v-if="[2,3].includes(info?.activeState)&&[1,2].includes(info?.signupState)">写档案</view>
  91. <view class="right" @click="handleReview" v-if="info?.activeState==3&&info?.signupState==3">查看档案</view>
  92. <view class="right grey" v-if="info?.activeState==-1">活动已取消</view>
  93. </view>
  94. </view>
  95. </template>
  96. <script setup name="">
  97. import CusHeader from '@/components/CusHeader/index.vue'
  98. import { ref, getCurrentInstance } from 'vue'
  99. import { onLoad } from '@dcloudio/uni-app'
  100. const { proxy } = getCurrentInstance()
  101. const info = ref(null)
  102. const memberSignupId = ref('')
  103. const signupStateDict = ref({
  104. '-1':'已取消',
  105. 1:'已报名',
  106. 2:'已签到',
  107. 3:'已填档案'
  108. })
  109. const userLoveTicket = ref(null)
  110. const selectCouponIds = ref([])
  111. const ticketText = ref('暂无可用专享券')
  112. const getUserActivityDetail = () => {
  113. proxy.$api.get(`/core/activity/signup/myActivityInfo/${memberSignupId.value}`).then(({data:res})=>{
  114. if(res.code!==0) return proxy.$showToast(res.msg)
  115. info.value = res.data;
  116. if(info.value.signupStartTime) info.value.signupStartTime = new Date(info.value.signupStartTime).Format('yyyy.MM.dd hh:mm')
  117. if(info.value.signupEndTime) info.value.signupEndTime = new Date(info.value.signupEndTime).Format('yyyy.MM.dd hh:mm')
  118. if(info.value.activityStartTime) info.value.activityStartTime = new Date(info.value.activityStartTime).Format('yyyy.MM.dd hh:mm')
  119. if(info.value.activityEndTime) info.value.activityEndTime = new Date(info.value.activityEndTime).Format('yyyy.MM.dd hh:mm')
  120. info.value.age = getAge(info.value.idCard);
  121. info.value.idCardCopy = info.value.idCard.replace(/^(\d{6})(\d{8})(\d{3}[\dX])$/i,'$1********$3');
  122. getUserLoveTicket()
  123. })
  124. }
  125. const isValid = (idCard) => {
  126. // 正则表达式校验18位身份证号码(最后一位可以是数字或X/x)
  127. const regex = /^[1-9]\d{5}(18|19|20)\d{2}((0[1-9])|(1[0-2]))(([0-2][1-9])|10|20|30|31)\d{3}[0-9Xx]$/;
  128. return typeof idCard === 'string' && regex.test(idCard);
  129. }
  130. const getAge = (idCard) => {
  131. if (!isValid(idCard)) return 0
  132. // 从身份证的第7位开始,截取8位作为出生日期字符串 (YYYYMMDD)
  133. const birthDateStr = idCard.substring(6, 14);
  134. const birthYear = parseInt(birthDateStr.substring(0, 4), 10);
  135. const birthMonth = parseInt(birthDateStr.substring(4, 6), 10);
  136. const birthDay = parseInt(birthDateStr.substring(6, 8), 10);
  137. const today = new Date();
  138. const currentYear = today.getFullYear();
  139. const currentMonth = today.getMonth() + 1; // getMonth() 返回 0-11
  140. const currentDay = today.getDate();
  141. // 计算周岁
  142. let age = currentYear - birthYear;
  143. // 如果当前月份小于出生月份,或者月份相同但日期小于出生日期,说明今年的生日还没过
  144. if (currentMonth < birthMonth || (currentMonth === birthMonth && currentDay < birthDay)) {
  145. age--;
  146. }
  147. return age < 0 ? 0 : age;
  148. }
  149. const handleCancel = () => {
  150. uni.showModal({
  151. title:'温馨提示',
  152. content:'确认取消本次报名吗?取消后可再次报名本活动。',
  153. success: (res) => {
  154. if(res.confirm){
  155. proxy.$api.get(`/core/activity/signup/cancelSignupBySingle/${memberSignupId.value}`).then(({data:res})=>{
  156. if(res.code!==0) return proxy.$showToast(res.msg)
  157. getUserActivityDetail()
  158. proxy.$showToast('取消报名成功')
  159. })
  160. }
  161. }
  162. })
  163. }
  164. const handleApply = () => {
  165. let couponId = '';
  166. if(info.value?.activityLimit==2){
  167. if(selectCouponIds.value.length==0) return proxy.$showToast(`请选择1张专享券`)
  168. couponId = selectCouponIds.value[0];
  169. }
  170. proxy.$api.post(`/core/activity/signup/signupBySingle`,{
  171. couponId,
  172. memberSignupId:memberSignupId.value,
  173. userId:JSON.parse(uni.getStorageSync('userInfo')).id
  174. }).then(({data:res})=>{
  175. if(res.code!==0) return proxy.$showToast(res.msg)
  176. getUserActivityDetail()
  177. proxy.$showToast('报名成功')
  178. })
  179. }
  180. const handleSignup = () => {
  181. try{
  182. uni.scanCode({
  183. success: (res) => {
  184. if(res.errMsg=='scanCode:ok'){
  185. let r = res.result.replace(/^\uFEFF/, '');
  186. let d = JSON.parse(r);
  187. if(!d.hasOwnProperty('id')||!d) return proxy.$showToast('请扫描正确的活动签到码');
  188. let { id } = d;
  189. const userId = JSON.parse(uni.getStorageSync('userInfo'))?.id||'';
  190. proxy.$api.post('/core/activity/signup/signinBySingle',{
  191. activityId:id||'',
  192. memberSignupId:memberSignupId.value,
  193. userId
  194. }).then(({data:res})=>{
  195. if(res.code!==0) return proxy.$showToast('签到失败,请稍后再试')
  196. uni.navigateTo({
  197. url:'/pagesHome/signSuccess'
  198. })
  199. })
  200. }else proxy.$showToast(res.errMsg)
  201. },
  202. fail: (err) => {
  203. proxy.$showToast('扫描异常,请稍后再试')
  204. }
  205. })
  206. }catch(e){
  207. proxy.$showToast('签到异常,请稍后再试')
  208. }
  209. }
  210. const handleFill = () => {
  211. uni.navigateTo({
  212. url:'/pagesHome/fillNonprofitArchives?activity='+encodeURIComponent(JSON.stringify(info.value))
  213. })
  214. }
  215. const handleReview = () => {
  216. uni.navigateTo({
  217. url:'/pagesMy/archivesDetail?activityId='+info.value?.activityId+'&memberId='+info.value?.memberId
  218. })
  219. }
  220. const getUserLoveTicket = () => {
  221. let userId = JSON.parse(uni.getStorageSync('userInfo'))?.id;
  222. proxy.$api.get(`/core/activity/signup/userAsset/${userId}/${info.value?.activityId}`).then(({data:res})=>{
  223. if(res.code!==0) return proxy.$showToast(res.msg)
  224. userLoveTicket.value = res.data;
  225. ticketText.value = `剩余${res.data?.couponIds?.length||0}张可用`;
  226. })
  227. }
  228. const handleSelectTicket = () => {
  229. uni.navigateTo({
  230. url:'/pagesMy/exclusiveScroll?activityId='+info.value?.activityId,
  231. events:{
  232. 'selectTickets': data => {
  233. selectCouponIds.value = data;
  234. ticketText.value = `已选${data?.length||0}张,剩余${userLoveTicket.value?.couponIds?.length-data?.length}张可用`;
  235. }
  236. }
  237. })
  238. }
  239. onLoad((options)=>{
  240. memberSignupId.value = options?.memberSignupId;
  241. getUserActivityDetail()
  242. })
  243. </script>
  244. <style scoped lang="scss">
  245. ::v-deep .u-navbar>view{
  246. background: url('https://oss.familydaf.cn/sxsnfile/20251223/d07237024c5e4f00a63b9089abbf5a3c.png') no-repeat;
  247. background-size: 100% 100%;
  248. }
  249. .common_page{
  250. padding-bottom: 211rpx;
  251. box-sizing: border-box;
  252. .top{
  253. position: relative;
  254. margin-top: 39rpx;
  255. &-status{
  256. .left{
  257. font-family: PingFang-SC, PingFang-SC;
  258. font-weight: bold;
  259. font-size: 40rpx;
  260. color: #252525;
  261. line-height: 48rpx;
  262. label{
  263. font-family: PingFangSC, PingFang SC;
  264. font-weight: 400;
  265. font-size: 24rpx;
  266. color: #676775;
  267. line-height: 24rpx;
  268. margin-left: 16rpx;
  269. }
  270. }
  271. .right{
  272. font-family: PingFangSC, PingFang SC;
  273. font-weight: 400;
  274. font-size: 24rpx;
  275. color: #676775;
  276. line-height: 24rpx;
  277. label{
  278. font-family: PingFang-SC, PingFang-SC;
  279. font-weight: bold;
  280. font-size: 40rpx;
  281. color: #252525;
  282. line-height: 48rpx;
  283. margin-right: 6rpx;
  284. }
  285. }
  286. }
  287. &-no{
  288. font-family: PingFangSC, PingFang SC;
  289. font-weight: 400;
  290. font-size: 28rpx;
  291. color: #676775;
  292. line-height: 28rpx;
  293. margin-top: 30rpx;
  294. }
  295. }
  296. .box{
  297. background: #FFFFFF;
  298. border-radius: 24rpx;
  299. padding: 36rpx 24rpx;
  300. margin-top: 20rpx;
  301. position: relative;
  302. &-title{
  303. width: 170rpx;
  304. height: 44rpx;
  305. padding-left: 2rpx;
  306. font-family: PingFang-SC, PingFang-SC;
  307. font-weight: 800;
  308. font-size: 36rpx;
  309. color: #151B29;
  310. line-height: 36rpx;
  311. background-image: url('https://oss.familydaf.cn/sxsnfile/20251218/6198fa26a7ff4fc1bce530fbdfaa20db.png');
  312. background-size: 170rpx 31rpx;
  313. background-position: 0 20rpx;
  314. background-repeat: no-repeat;
  315. }
  316. }
  317. .box1{
  318. &-left{
  319. width: 158rpx;
  320. height: 214rpx;
  321. image{
  322. width: 100%;
  323. height: 100%;
  324. }
  325. }
  326. &-right{
  327. width: calc(100% - 158rpx);
  328. padding-left: 20rpx;
  329. box-sizing: border-box;
  330. .title{
  331. font-family: PingFang-SC, PingFang-SC;
  332. font-weight: bold;
  333. font-size: 32rpx;
  334. color: #151B29;
  335. line-height: 40rpx;
  336. }
  337. .memo{
  338. font-family: PingFangSC, PingFang SC;
  339. font-weight: 400;
  340. font-size: 24rpx;
  341. color: #C9A771;
  342. line-height: 37rpx;
  343. margin-top: 27rpx;
  344. }
  345. }
  346. }
  347. .box2{
  348. &-item{
  349. margin-top: 40rpx;
  350. justify-content: space-between;
  351. .left{
  352. font-family: PingFangSC, PingFang SC;
  353. font-weight: 400;
  354. font-size: 26rpx;
  355. color: #676775;
  356. line-height: 28rpx;
  357. width: 120rpx;
  358. }
  359. .right{
  360. width: calc(100% - 120rpx);
  361. box-sizing: border-box;
  362. font-family: PingFangSC, PingFang SC;
  363. font-weight: 400;
  364. font-size: 26rpx;
  365. color: #252525;
  366. line-height: 28rpx;
  367. text-align: right;
  368. }
  369. }
  370. }
  371. .box3{
  372. &-list{
  373. margin-top: 15rpx;
  374. &-item{
  375. margin-top: 25rpx;
  376. .left{
  377. .top{
  378. .name{
  379. font-family: PingFang-SC, PingFang-SC;
  380. font-weight: bold;
  381. font-size: 32rpx;
  382. color: #151B29;
  383. line-height: 32rpx;
  384. }
  385. .sex{
  386. width: 44rpx;
  387. height: 32rpx;
  388. margin-left: 10rpx;
  389. }
  390. .age{
  391. border-radius: 13rpx;
  392. font-family: PingFangSC, PingFang SC;
  393. font-weight: 400;
  394. font-size: 20rpx;
  395. line-height: 24rpx;
  396. padding: 4rpx 10rpx;
  397. margin-left: 13rpx;
  398. &.women{
  399. background: rgba(244,101,122,0.14);
  400. color: #F4657A;
  401. }
  402. &.man{
  403. background: rgba(5,169,254,0.12);
  404. color: #05A9FE;
  405. }
  406. }
  407. }
  408. &-bottom{
  409. font-family: PingFangSC, PingFang SC;
  410. font-weight: 400;
  411. font-size: 24rpx;
  412. color: #989998;
  413. line-height: 24rpx;
  414. margin-top: 24rpx;
  415. }
  416. }
  417. .right{
  418. image{
  419. width: 36rpx;
  420. height: 36rpx;
  421. }
  422. }
  423. }
  424. }
  425. }
  426. .box4{
  427. &-detail{
  428. margin-top: 40rpx;
  429. }
  430. }
  431. .user{
  432. margin-top: 20rpx;
  433. border-radius: 20rpx;
  434. background: #FFFFFF;
  435. &-pre{
  436. padding: 40rpx 24rpx;
  437. box-shadow: inset 0rpx -1rpx 0rpx 0rpx #ECEEF5;
  438. &-left{
  439. font-family: PingFangSC, PingFang SC;
  440. font-weight: 400;
  441. font-size: 30rpx;
  442. color: #676775;
  443. line-height: 30rpx;
  444. }
  445. &-right{
  446. font-family: PingFangSC, PingFang SC;
  447. font-weight: 400;
  448. font-size: 30rpx;
  449. color: #252525;
  450. line-height: 30rpx;
  451. text-align: right;
  452. image{
  453. width: 32rpx;
  454. height: 32rpx;
  455. margin-left: 20rpx;
  456. }
  457. }
  458. }
  459. }
  460. .bottom{
  461. width: 100%;
  462. height: 191rpx;
  463. background: #FFFFFF;
  464. box-shadow: 0rpx -2rpx 8rpx 0rpx rgba(178,178,178,0.1);
  465. padding: 0 30rpx;
  466. box-sizing: border-box;
  467. position: fixed;
  468. left: 0;
  469. bottom: 0;
  470. .left{
  471. text{
  472. font-family: PingFangSC, PingFang SC;
  473. font-weight: 400;
  474. font-size: 26rpx;
  475. color: #151B29;
  476. line-height: 26rpx;
  477. margin-top: 17rpx;
  478. }
  479. }
  480. .right{
  481. width: 100%;
  482. height: 90rpx;
  483. background: #B7F358;
  484. border-radius: 45rpx;
  485. font-family: PingFang-SC, PingFang-SC;
  486. font-weight: bold;
  487. font-size: 32rpx;
  488. color: #151B29;
  489. line-height: 90rpx;
  490. text-align: center;
  491. letter-spacing: 2rpx;
  492. &.grey{
  493. background: #F7F7F7;
  494. }
  495. &.half{
  496. width: calc(50% - 20rpx);
  497. }
  498. }
  499. }
  500. .dialog{
  501. position: fixed;
  502. left: 0;
  503. right: 0;
  504. top: 0;
  505. bottom: 0;
  506. background: rgba(0,0,0,0.4);
  507. display: flex;
  508. flex-direction: column;
  509. justify-content: flex-end;
  510. .dbox{
  511. position: relative;
  512. background: #FFFFFF;
  513. border-radius: 24rpx 24rpx 0rpx 0rpx;
  514. padding: 40rpx 0 64rpx;
  515. &-title{
  516. font-family: PingFang-SC, PingFang-SC;
  517. font-weight: bold;
  518. font-size: 36rpx;
  519. color: #151B29;
  520. line-height: 36rpx;
  521. text-align: center;
  522. }
  523. .close{
  524. width: 27rpx;
  525. height: 27rpx;
  526. position: absolute;
  527. top: 40rpx;
  528. right: 30rpx;
  529. }
  530. &-select{
  531. margin-top: 57rpx;
  532. padding: 27rpx 30rpx;
  533. background: #F7F7F7;
  534. &-left{
  535. font-family: PingFang-SC, PingFang-SC;
  536. font-weight: bold;
  537. font-size: 32rpx;
  538. color: #151B29;
  539. line-height: 36rpx;
  540. }
  541. &-right{
  542. text{
  543. font-family: PingFangSC, PingFang SC;
  544. font-weight: 400;
  545. font-size: 28rpx;
  546. color: #151B29;
  547. line-height: 36rpx;
  548. }
  549. image{
  550. width: 36rpx;
  551. height: 36rpx;
  552. margin-left: 10rpx;
  553. }
  554. }
  555. }
  556. &-list{
  557. padding: 0 30rpx;
  558. height: 820rpx;
  559. overflow-y: auto;
  560. &-item{
  561. padding: 36rpx 0;
  562. box-shadow: inset 0rpx -1rpx 0rpx 0rpx #E5E7EB;
  563. &-left{
  564. &-top{
  565. .name{
  566. font-family: PingFang-SC, PingFang-SC;
  567. font-weight: bold;
  568. font-size: 32rpx;
  569. color: #151B29;
  570. line-height: 32rpx;
  571. }
  572. .sex{
  573. width: 44rpx;
  574. height: 32rpx;
  575. margin-left: 20rpx;
  576. }
  577. .age{
  578. border-radius: 13rpx;
  579. font-family: PingFangSC, PingFang SC;
  580. font-weight: 400;
  581. font-size: 20rpx;
  582. line-height: 24rpx;
  583. padding: 4rpx 10rpx;
  584. margin-left: 13rpx;
  585. &.women{
  586. background: rgba(244,101,122,0.14);
  587. color: #F4657A;
  588. }
  589. &.man{
  590. background: rgba(5,169,254,0.12);
  591. color: #05A9FE;
  592. }
  593. }
  594. }
  595. &-bottom{
  596. font-family: PingFangSC, PingFang SC;
  597. font-weight: 400;
  598. font-size: 24rpx;
  599. color: #989998;
  600. line-height: 24rpx;
  601. margin-top: 18rpx;
  602. }
  603. }
  604. &-right{
  605. image{
  606. width: 36rpx;
  607. height: 36rpx;
  608. }
  609. }
  610. }
  611. }
  612. &-btn{
  613. margin: 43rpx 40rpx 0;
  614. width: calc(100% - 80rpx);
  615. height: 90rpx;
  616. background: #B7F358;
  617. border-radius: 45rpx;
  618. font-family: PingFang-SC, PingFang-SC;
  619. font-weight: bold;
  620. font-size: 32rpx;
  621. color: #151B29;
  622. line-height: 90rpx;
  623. text-align: center;
  624. letter-spacing: 2rpx;
  625. }
  626. }
  627. }
  628. }
  629. </style>