gameDetail.vue 18 KB

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