gameDetail.vue 21 KB

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