nonprofitDetail.vue 18 KB

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