gameDetail.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850
  1. <template>
  2. <view class="content">
  3. <view class="game-top-bg">
  4. <image src="../../static/game/game06.png" mode=""></image>
  5. <view class="game-top-time">
  6. 第{{guaishouList.stage}}期
  7. <view class="yueyue" v-if="isGb">
  8. &nbsp;&nbsp;距离打怪
  9. <span>{{state==0?'开始':'结束'}}</span>
  10. 仅剩
  11. <span>{{hour.day}}</span>天<span>{{hour.hours}}</span>时<span>{{hour.minutes}}</span>分<span>{{hour.seconds}}</span>秒
  12. </view>
  13. <view class="yueyue" style="margin-left: 200rpx;" v-else>
  14. 已结束
  15. </view>
  16. </view>
  17. <view class="game-top-xl">
  18. <view class="xl" v-if="guaishouList.number!=guaishouList.money*1">
  19. 血量值:&nbsp;{{guaishouList.number}}/{{guaishouList.money*1}}
  20. </view>
  21. <view class="xl" v-else>
  22. 打怪成功!
  23. </view>
  24. <view class="xl-t">
  25. <!-- 血量进度条 暂未开发! -->
  26. <!-- <prog value= "80"></prog> -->
  27. <!-- change进度条变化时候触发 -->
  28. <bing-progress change="change" :value="getJd" width="474rpx" noActiveColor="#EB97E4" infoColor="#fff"
  29. :isActiveCircular="false" barBorderRadius="20px" :disabled="true" infoContent="value"
  30. infoEndText="%" handleWidth="0" infoFontSize="26px" strokeWidth="34rpx" :continuous="true"
  31. :subContinuous="true" infoAlign="center" activeColor="#D461CD">
  32. </bing-progress>
  33. </view>
  34. </view>
  35. <view class="xgs">
  36. <image :src="'../../static/game/reb0'+(index%5+1)+'.png'" mode=""></image>
  37. </view>
  38. <view class="id">
  39. 名称:{{guaishouList.name}}&nbsp&nbsp&nbsp期数Id:{{guaishouList.stage}}
  40. </view>
  41. <view class="gl">
  42. <image src="../../static/game/game08.png" mode=""></image>
  43. </view>
  44. </view>
  45. <view class="edu">
  46. 本次参与额度:1~{{guaishouList.upper_limit*1}}
  47. </view>
  48. <view class="button">
  49. <image v-if="isGoumai==false" src="../../static/game/game07.png" mode="" @click="yue"></image>
  50. <image v-else src="../../static/game/game10.png" mode=""></image>
  51. </view>
  52. <view class="u-table">
  53. <view class="column">
  54. <view class="table-box" @click="navTo('../user/whiteJf')">
  55. <view class="table-img">
  56. <image src="../../static/game/game04.png" mode=""></image>
  57. </view>
  58. <view class="table-title">
  59. <view class="table-top">
  60. {{userInfo.white_integral*1}}
  61. </view>
  62. <view class="table-top">
  63. 红积分
  64. </view>
  65. </view>
  66. </view>
  67. <view class="table-box" @click="navTo('../user/purpleJf')">
  68. <view class="table-img">
  69. <image src="../../static/game/game05.png" mode=""></image>
  70. </view>
  71. <view class="table-title">
  72. <view class="table-top">
  73. {{userInfo.purple_integral*1}}
  74. </view>
  75. <view class="table-top">
  76. 阳光积分
  77. </view>
  78. </view>
  79. </view>
  80. </view>
  81. <view class="aa">
  82. </view>
  83. <view class="bb">
  84. </view>
  85. <view class="column">
  86. <view class="table-box" @click="navTo('../user/myGreenCard')">
  87. <view class="table-img">
  88. <image src="../../static/game/game03.png" mode=""></image>
  89. </view>
  90. <view class="table-title">
  91. <view class="table-top">
  92. {{greenDe}}
  93. </view>
  94. <view class="table-top">
  95. 绿卡
  96. </view>
  97. </view>
  98. </view>
  99. <view class="table-box" @click="navTo('../money/wallet')">
  100. <view class="table-img">
  101. <image src="../../static/game/game02.png" mode=""></image>
  102. </view>
  103. <view class="table-title">
  104. <view class="table-top">
  105. {{userInfo.now_money*1}}
  106. </view>
  107. <view class="table-top">
  108. 余额
  109. </view>
  110. </view>
  111. </view>
  112. </view>
  113. </view>
  114. <!-- <uni-popup ref="popup" type="center">
  115. <view class="yue-box">
  116. <view class="yue-tit">
  117. 抢购
  118. </view>
  119. <view class="yue-content">
  120. 您有{{number}}张绿卡可直接抢购,要使用吗?
  121. </view>
  122. <view class="comfirm-box">
  123. <view class="cancel" @click="kfClose()">不使用</view>
  124. <view class="comfirm" @click="comfirm()">使用</view>
  125. </view>
  126. </view>
  127. </uni-popup> -->
  128. <uni-popup ref="popupYue" type="center">
  129. <view class="yue-box">
  130. <view class="yue-tit">
  131. 抢购数量
  132. </view>
  133. <!-- numberChange购买数量变化 goodsNumberMax最大可购买数 -->
  134. <uni-number-box class="step" :isMin="true" :value="goodsNumber" :min="1" :max="goodsNumberMax"
  135. @eventChange="numberChange"></uni-number-box>
  136. <view class="yue-content">
  137. 请填写积分数量
  138. </view>
  139. <view class="comfirm-box">
  140. <view class="cancel" @click="quxiao()">取消</view>
  141. <view class="comfirm" @click="quire()">确定</view>
  142. </view>
  143. </view>
  144. </uni-popup>
  145. <!-- <uni-popup ref="popupButton" type="bottom">
  146. <view class="zhifu-box">
  147. <view class="zhifu-title">
  148. 请选择支付方式
  149. </view>
  150. <view>
  151. <radio-group name="" @change="radioChange">
  152. <label class="zhifu-content">
  153. <view class="bai">
  154. <image src="../../static/game/game04.png" mode=""></image>
  155. <text>白积分支付</text>
  156. </view>
  157. <radio style="transform:scale(0.7); color: #ff0000;" v-model="bai" checked="true" />
  158. </label>
  159. <label class="zhifu-content">
  160. <view class="bai">
  161. <image src="../../static/game/game02.png" mode=""></image>
  162. <text>红积分支付</text>
  163. </view>
  164. <radio style="transform:scale(0.7); color:#ff0000" v-model="hong" />
  165. </label>
  166. <label class="zhifu-content">
  167. <view class="bai">
  168. <image src="../../static/game/game05.png" mode=""></image>
  169. <text>紫积分支付</text>
  170. </view>
  171. <radio style="transform:scale(0.7);color: #ff0000;" v-model="zi" />
  172. </label>
  173. </radio-group>
  174. </view>
  175. <view class="zhifu-bottom">
  176. <view class="zhifu-left">
  177. <text>合计:&nbsp;</text><text>{{goodsNumber}}</text>
  178. </view>
  179. <view class="zhifu-right" @click="buy">
  180. 立即支付
  181. </view>
  182. </view>
  183. </view>
  184. </uni-popup> -->
  185. <!-- <uni-popup ref="popupPass" type="center">
  186. <!-- <view class="yue-box">
  187. <view class="yue-tit">
  188. 请输入交易密码
  189. </view>
  190. <view class="password">
  191. <input type="password" v-model="passWord" focus placeholder="请填写交易密码">
  192. </view>
  193. <!-- numberChange购买数量变化 goodsNumberMax最大可购买数 -->
  194. <!-- <uni-number-box class="step" :isMin="true" :value="goodsNumber" :min="1" :max="goodsNumberMax"
  195. @eventChange="numberChange"></uni-number-box> -->
  196. <!-- <view class="yue-content">
  197. 请填写积分数量
  198. </view> -->
  199. <!-- <view class="comfirm-box">
  200. <view class="cancel" @click="quxiaoPass()">取消</view>
  201. <view class="comfirm" @click="quirePass(passWord)">确定</view>
  202. </view>
  203. </view> -->
  204. <!-- </uni-popup> -->
  205. </view>
  206. </template>
  207. <script>
  208. import {
  209. greenList,
  210. userinfo
  211. } from '@/api/user.js'
  212. import {
  213. mapState,
  214. mapMutations
  215. } from 'vuex';
  216. import {
  217. getTime,
  218. timeComputed,
  219. } from '@/utils/rocessor.js'
  220. import {
  221. getGameDetail,
  222. getPurchase
  223. } from '@/api/game.js'
  224. import bingProgress from '@/components/bing-progress/bing-progress.vue'
  225. import uniNumberBox from '@/components/uni-number-box.vue'
  226. export default {
  227. components: {
  228. uniNumberBox
  229. },
  230. data() {
  231. return {
  232. state: 0, //活动状态
  233. xuhaolan: 1690,
  234. name: '',
  235. isGb: true,
  236. goodsNumberMin: 1,
  237. greenDe: 0, //绿积分
  238. index: 0,
  239. timer: '',
  240. hour: {},
  241. guaishouList: [], //怪兽详情
  242. id: 0, //详情id
  243. isGoumai: false, //是否购买
  244. passWord: "", //交易密码
  245. bai: 0,
  246. hong: 0,
  247. zi: 0,
  248. goodsNumberMax: 1000, //最大可购买数
  249. goodsNumber: 1, //购买数量
  250. number: 8,
  251. bianhua: 0, //变化
  252. xiaoguaishou: '',
  253. imageList: [{
  254. image: "../../static/game/game01.png",
  255. // color: '#7F69D8'
  256. },
  257. {
  258. image: "../../static/game/reb02.png"
  259. },
  260. {
  261. image: "../../static/game/reb03.png"
  262. },
  263. {
  264. image: "../../static/game/reb01.png"
  265. },
  266. {
  267. image: "../../static/game/reb04.png"
  268. }
  269. ] //小怪兽图片
  270. };
  271. },
  272. computed: {
  273. ...mapState('user', ['hasLogin', 'userInfo']),
  274. getJd() {
  275. return (this.guaishouList.number / this.guaishouList.money * 1) * 100
  276. }
  277. },
  278. // beforeDestroy() {
  279. // clearInterval(this.timer)
  280. // },
  281. onLoad(option) {
  282. console.log(this.userInfo, 'userInfo');
  283. // this.xiaoguaishou = this.imageList[option.id].image
  284. this.uid = option.id
  285. this.index = option.index
  286. this.getDTime()
  287. let obj = this
  288. const time = setInterval(function() {
  289. obj.bianhua++;
  290. if (obj.bianhua == 2) {
  291. clearInterval(time)
  292. }
  293. }, 6)
  294. },
  295. onShow() {
  296. this.getDTime()
  297. this.jtDg()
  298. // this.getDetail()
  299. if (this.timer) {
  300. clearInterval(this.timer)
  301. }
  302. // let getTimes = uni.getStorageSync('time')
  303. // this.isGb !=getTimes
  304. // // uni.clearStorage('time')
  305. // console.log(getTimes, 'uni.setStorageSync');
  306. this.getGreen()
  307. this.getUerInfo()
  308. },
  309. methods: {
  310. //监听打怪状态
  311. jtDg() {
  312. console.log(this.xuhaolan == this.guaishouList.money * 1, '2323');
  313. },
  314. ...mapMutations('user', ['setUserInfo']),
  315. getUerInfo() {
  316. userinfo({})
  317. .then(({
  318. data
  319. }) => {
  320. this.setUserInfo(data);
  321. })
  322. .catch(e => {
  323. console.log(e);
  324. });
  325. },
  326. navTo(url) {
  327. uni.navigateTo({
  328. url
  329. })
  330. },
  331. getGreen() {
  332. greenList().then(res => {
  333. this.greenDe = res.data.count
  334. // console.log(res, '率积分');
  335. })
  336. },
  337. getDetail() {
  338. getGameDetail({
  339. id: this.uid
  340. }).then(res => {
  341. this.guaishouList = res.data
  342. console.log(res.data, 'res.data');
  343. })
  344. },
  345. //计算倒计时
  346. getDTime() {
  347. let obj = this
  348. getGameDetail({
  349. id: this.uid
  350. }).then(res => {
  351. this.guaishouList = res.data
  352. console.log(res, 'res');
  353. if (this.guaishouList.number == this.guaishouList.money * 1) {
  354. this.$api.msg('打怪成功!')
  355. }
  356. this.bianhua = 3000
  357. //当前时间
  358. let dqTime = Math.round(new Date().getTime()/1000).toString();
  359. console.log(dqTime,'if()');
  360. //开始事件
  361. let add_time = res.data.add_time
  362. if(dqTime >= add_time){
  363. this.state = 1
  364. }
  365. // this.getDTime()
  366. //获取结束时间
  367. let endTime = res.data.end_time
  368. // console.log(endTime, 'this.guaishouList.end_time');
  369. //开启倒计时
  370. obj.timer = setInterval(getShijian, 1000)
  371. function getShijian() {
  372. let da = timeComputed(endTime * 1000)
  373. obj.hour = da
  374. Object.values(obj.hour).forEach(e => {})
  375. if (obj.hour.day == 0 && obj.hour.hours == 0 && obj.hour.minutes == 0 && obj.hour
  376. .seconds == 0) {
  377. obj.isGb = false
  378. }
  379. }
  380. })
  381. },
  382. radioChange() {},
  383. //购买积分
  384. buy() {
  385. this.$refs.popupButton.close()
  386. this.$refs.popupPass.open()
  387. },
  388. //交易密码取消
  389. quxiaoPass() {
  390. this.$refs.popupPass.close()
  391. },
  392. //交易密码确认
  393. quirePass() {
  394. console.log(this.passWord, 'passWord');
  395. this.$refs.popupPass.close()
  396. this.isGoumai = true
  397. },
  398. //购买数量
  399. numberChange(e) {
  400. this.goodsNumber = e.number
  401. // console.log(this.goodsNumber, 'e');
  402. // this.$refs.popupButton.open()
  403. },
  404. //抢购数量取消
  405. quxiao() {
  406. this.$refs.popupYue.close()
  407. },
  408. //抢购数量确认
  409. quire() {
  410. console.log(this.goodsNumber, 'this.goodsNumber');
  411. this.$refs.popupYue.close()
  412. // this.$refs.popupButton.open()
  413. //投注
  414. getPurchase({
  415. //众筹场次id
  416. id: this.uid,
  417. price: this.goodsNumber
  418. //投注额度
  419. }).then(res => {
  420. console.log(res, '投注信息');
  421. uni.showToast({
  422. title: '投注成功',
  423. duration: 2000
  424. });
  425. this.getUerInfo()
  426. this.getDetail()
  427. })
  428. },
  429. //预约界面使用
  430. comfirm() {
  431. this.$refs.popup.close()
  432. this.$refs.popupYue.open()
  433. },
  434. //预约界面不使用
  435. kfClose() {
  436. this.$refs.popup.close()
  437. },
  438. //点击抢购
  439. yue() {
  440. console.log('asda');
  441. if (this.isGb == false) {
  442. this.$refs.popupYue.close()
  443. // uni.showModal({
  444. // title:"活动已结束!"
  445. // })
  446. // uni.showLoading({
  447. // title:"活动已结束!"
  448. // })
  449. this.$api.msg("活动已结束!")
  450. } else {
  451. this.$refs.popupYue.open()
  452. }
  453. // this.$refs.popupYue.open()
  454. }
  455. }
  456. }
  457. </script>
  458. <style lang="scss">
  459. page {
  460. background: #ECE7F8;
  461. width: 750rpx;
  462. height: 100%;
  463. padding: 0;
  464. margin: 0;
  465. }
  466. .popup {
  467. width: 100rpx;
  468. height: 100rpx;
  469. }
  470. .game-top-bg {
  471. position: relative;
  472. width: 750rpx;
  473. height: 550rpx;
  474. image {
  475. width: 100%;
  476. height: 100%;
  477. }
  478. }
  479. .game-top-time {
  480. line-height: 50rpx;
  481. padding-left: 100rpx;
  482. position: absolute;
  483. top: 30rpx;
  484. left: 20rpx;
  485. width: 710rpx;
  486. height: 50rpx;
  487. background: #000000;
  488. opacity: 0.61;
  489. border-radius: 25rpx;
  490. font-size: 32rpx;
  491. font-weight: 500;
  492. color: #fff;
  493. .yueyue {
  494. margin-left: 10rpx;
  495. display: inline-block;
  496. }
  497. span {
  498. width: 42rpx;
  499. height: 42rpx;
  500. background: #5655EF;
  501. border-radius: 10rpx;
  502. }
  503. }
  504. .game-top-xl {
  505. position: absolute;
  506. text-align: center;
  507. left: 140rpx;
  508. top: 90rpx;
  509. // line-height: 75rpx;
  510. .xl {
  511. font-size: 34rpx;
  512. font-weight: 500;
  513. color: #FFFFFF;
  514. }
  515. .xl-t {
  516. margin-top: 10rpx;
  517. // width: 474rpx;
  518. // height: 31rpx;
  519. // background: #A38CF4;
  520. // border: 3rpx solid #FFFFFF;
  521. // border-radius: 13rpx;
  522. }
  523. }
  524. .xgs {
  525. position: absolute;
  526. top: 200rpx;
  527. left: 210rpx;
  528. width: 330rpx;
  529. height: 260rpx;
  530. image {
  531. width: 100%;
  532. height: 100%;
  533. }
  534. }
  535. .id {
  536. text-align: center;
  537. position: absolute;
  538. top: 475rpx;
  539. left: 210rpx;
  540. width: 340rpx;
  541. height: 60rpx;
  542. background: #000000;
  543. opacity: 0.64;
  544. border-radius: 20rpx;
  545. font-size: 32rpx;
  546. font-weight: bold;
  547. color: #FFFFFF;
  548. line-height: 60rpx;
  549. }
  550. .gl {
  551. top: 400rpx;
  552. left: 36rpx;
  553. position: absolute;
  554. width: 90rpx;
  555. height: 106rpx;
  556. image {
  557. width: 100%;
  558. height: 100%;
  559. }
  560. }
  561. .edu {
  562. margin: 20rpx 190rpx;
  563. width: 370rpx;
  564. height: 50rpx;
  565. font-size: 30rpx;
  566. font-weight: 500;
  567. color: #FFFFFF;
  568. background: #1B1E2F;
  569. opacity: 0.57;
  570. border-radius: 25rpx;
  571. line-height: 50rpx;
  572. text-align: center;
  573. }
  574. .button {
  575. margin: 0 160rpx;
  576. width: 430rpx;
  577. height: 120rpx;
  578. image {
  579. width: 100%;
  580. height: 100%;
  581. }
  582. }
  583. .u-table {
  584. display: flex;
  585. flex-direction: column;
  586. justify-content: space-around;
  587. margin: 20rpx 30rpx;
  588. width: 688rpx;
  589. height: 309rpx;
  590. background: #FFFFFF;
  591. border: 3rpx solid #7F69D8;
  592. box-shadow: 0px 0px 20rpx 0rpx rgba(50, 50, 52, 0.06);
  593. border-radius: 20rpx;
  594. position: relative;
  595. .aa {
  596. width: 685rpx;
  597. top: 152rpx;
  598. position: absolute;
  599. height: 2rpx;
  600. background: #7F69D8;
  601. }
  602. .bb {
  603. width: 2rpx;
  604. height: 305rpx;
  605. background: #7F69D8;
  606. margin-left: 343rpx;
  607. top: 0;
  608. position: absolute;
  609. }
  610. .column {
  611. display: flex;
  612. align-items: center;
  613. justify-content: space-around;
  614. }
  615. .table-box {
  616. margin-left: 70rpx;
  617. width: 50%;
  618. display: flex;
  619. align-items: center;
  620. .table-img {
  621. width: 65rpx;
  622. height: 65rpx;
  623. image {
  624. width: 100%;
  625. height: 100%;
  626. }
  627. }
  628. .table-title {
  629. padding-left: 15rpx;
  630. display: flex;
  631. flex-direction: column;
  632. .table-top {
  633. overflow: hidden;
  634. white-space: nowrap;
  635. text-overflow: ellipsis;
  636. width: 180rpx;
  637. font-size: 30rpx;
  638. font-weight: bold;
  639. color: #333333;
  640. // line-height: 75px;
  641. }
  642. }
  643. ;
  644. }
  645. }
  646. .yue-box {
  647. display: flex;
  648. flex-direction: column;
  649. align-items: center;
  650. justify-content: space-around;
  651. width: 582rpx;
  652. height: 377rpx;
  653. background: #FFFFFF;
  654. border-radius: 20rpx;
  655. .yue-tit {
  656. align-items: center;
  657. font-size: 42rpx;
  658. font-weight: 500;
  659. color: #0C1732;
  660. line-height: 56rpx;
  661. }
  662. .password {
  663. text-align: center;
  664. align-items: center;
  665. }
  666. .yue-content {
  667. font-size: 30rpx;
  668. font-weight: 500;
  669. color: #0C1732;
  670. }
  671. .comfirm-box {
  672. width: 90%;
  673. display: flex;
  674. justify-content: space-between;
  675. .cancel {
  676. text-align: center;
  677. line-height: 78rpx;
  678. width: 248rpx;
  679. height: 78rpx;
  680. border: 2rpx solid #999999;
  681. border-radius: 10rpx;
  682. font-size: 34rpx;
  683. font-weight: 500;
  684. color: #333333;
  685. }
  686. .comfirm {
  687. text-align: center;
  688. width: 248rpx;
  689. height: 78rpx;
  690. background: #FF5454;
  691. border-radius: 10rpx;
  692. font-size: 34rpx;
  693. font-weight: 500;
  694. color: #FFFFFF;
  695. line-height: 78rpx;
  696. }
  697. }
  698. }
  699. .zhifu-box {
  700. padding: 25rpx 0 0 25rpx;
  701. width: 750rpx;
  702. height: 495rpx;
  703. background: #FFFFFF;
  704. border-radius: 10rpx 10rpx 0rpx 0rpx;
  705. .zhifu-title {
  706. display: flex;
  707. flex-direction: left;
  708. font-size: 28rpx;
  709. font-weight: bold;
  710. color: #333333;
  711. }
  712. .zhifu-content {
  713. display: flex;
  714. justify-content: space-between;
  715. .bai {
  716. margin: 30rpx 0;
  717. display: flex;
  718. align-items: center;
  719. image {
  720. width: 45rpx;
  721. height: 45rpx;
  722. }
  723. text {
  724. margin-left: 20rpx;
  725. font-size: 28rpx;
  726. font-weight: 400;
  727. color: #3F454B;
  728. }
  729. }
  730. }
  731. .zhifu-bottom {
  732. width: 750rpx;
  733. position: absolute;
  734. bottom: 0;
  735. display: flex;
  736. align-items: center;
  737. justify-content: space-between;
  738. .zhifu-left {
  739. display: flex;
  740. align-items: center;
  741. text:nth-child(1) {
  742. font-size: 28rpx;
  743. font-weight: 400;
  744. color: #3F454B;
  745. }
  746. text {
  747. font-size: 36rpx;
  748. font-family: PingFang SC;
  749. font-weight: bold;
  750. color: #FF4C4C;
  751. line-height: 55px;
  752. }
  753. }
  754. .zhifu-right {
  755. line-height: 98rpx;
  756. text-align: center;
  757. width: 360rpx;
  758. height: 98rpx;
  759. background: #FF4C4C;
  760. font-size: 32rpx;
  761. font-weight: bold;
  762. color: #FFFFFF;
  763. }
  764. }
  765. }
  766. </style>