gameDetail.vue 21 KB

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