gameDetail.vue 19 KB

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