gameDetail.vue 20 KB

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