entertainment.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029
  1. <template>
  2. <view class="all">
  3. <view class="padding-t-30"></view>
  4. <view class="tab">
  5. <view class="flex-start">
  6. <view class="tab-item " @click="changeTab(item,ind)" :class="{action:actionIndex==ind}"
  7. v-for="(item,ind) in gameList">
  8. {{item.name}}
  9. </view>
  10. </view>
  11. <l-echart class="top" ref="chart"></l-echart>
  12. </view>
  13. <view class="center flex">
  14. <!-- 左 -->
  15. <view class="le">
  16. <view class="tit flex-start">
  17. <view class="ti1">{{$t('enter.u1')}}</view>
  18. <view class="ti2">({{$t('enter.u2')}})</view>
  19. </view>
  20. <view class="he">
  21. <view class="numbox flex-start">
  22. <view class="he1 flex" @click="upOnBtnData.value=it" v-for="it in arMoneyList">
  23. <view class="wen">{{it}}</view>
  24. </view>
  25. </view>
  26. </view>
  27. <view class="yi flex-start">
  28. <image class="img" src="../../static/icon/le.png" mode=""></image>
  29. <view class="wz padding-l-10">{{history.base.token}}</view>
  30. <view class="qx padding-l-10" v-if="history.next.id">{{history.next.no}}</view>
  31. </view>
  32. <view class="shu">
  33. 0.064489
  34. </view>
  35. </view>
  36. <!--右 -->
  37. <view class="ri">
  38. <view class="ti flex-center">
  39. <view class="t1">{{$t('enter.u3')}}</view>
  40. <view class="t2 padding-l-10">{{history.base.timebar}}</view>
  41. </view>
  42. <view class="dh">
  43. <input class="input" :placeholder="$t('enter.a9')" type="number" v-model="upOnBtnData.value">
  44. </view>
  45. <view class="btn">
  46. <view class="bt flex">
  47. <view class="btnItem btnle" @click="onPayBet(2)">
  48. <image class="imag" src="../../static/icon/xia.png" mode=""></image>
  49. <text class="xia">{{$t('enter.u4')}}</text>
  50. </view>
  51. <view class="btnItem btnri" @click="onPayBet(1)">
  52. <image class="imag" src="../../static/icon/shang.png" mode=""></image>
  53. <text class="xia">{{$t('enter.u6')}}</text>
  54. </view>
  55. </view>
  56. <view class="bt flex">
  57. <view class="btnItem btnle" @click="onPayBet(3)">
  58. <view class="xia">{{$t('enter.u5')}}</view>
  59. </view>
  60. <view class="btnItem btnri" @click="onPayBet(4)">
  61. <view class="xia">{{$t('enter.u7')}}</view>
  62. </view>
  63. </view>
  64. </view>
  65. <view class="db flex">
  66. <view class="jl">{{$t('enter.u8')}}</view>
  67. <view class="sj">
  68. <text v-if="time.H<10">0</text>
  69. {{time.H}}
  70. </view>
  71. <view class="sj">
  72. <text v-if="time.M<10">0</text>
  73. {{time.M}}
  74. </view>
  75. <view class="sj">
  76. <text v-if="time.S<10">0</text>
  77. {{time.S}}
  78. </view>
  79. </view>
  80. </view>
  81. </view>
  82. <view class="kb"></view>
  83. <view class="last">
  84. <view class="flex">
  85. <text>{{$t('enter.u9')}}</text>
  86. <view class="flex" @click="nav">
  87. <text>{{$t('enter.u10')}}</text>
  88. <image class="lb" src="../../static/icon/jt.png" mode=""></image>
  89. </view>
  90. </view>
  91. </view>
  92. <view class="bg">
  93. <view class="biaotou flex">
  94. <view class="biwe">{{$t('enter.u11')}}</view>
  95. <view class="biwe">{{$t('enter.u12')}}</view>
  96. <view class="biwe">{{$t('enter.u13')}}</view>
  97. <view class="biwe">{{$t('enter.u14')}}</view>
  98. </view>
  99. <view class="list flex" v-for="(item,ind) in betList.list" :key="ind">
  100. <view class="biwe flex-start">
  101. <view class="tr">{{history.base.token}}</view>
  102. <view class="nametip">{{history.base.timebar}}</view>
  103. <image class="zz" src="../../static/icon/shang.png" mode=""></image>
  104. </view>
  105. <view class="biwe">23.5000</view>
  106. <view class="biwe">23.5000</view>
  107. <view class="biwe flex">
  108. <view class="list-buttom success margin-r-10">
  109. {{$t('enter.u17')}}
  110. </view>
  111. <view class="list-buttom primary">
  112. {{$t('enter.u18')}}
  113. </view>
  114. </view>
  115. </view>
  116. </view>
  117. <view class="chz flex">
  118. <view>
  119. <view class="yue padding-b-10">{{$t('enter.u15')}}</view>
  120. <view class="yes">{{userWallet}}U</view>
  121. </view>
  122. <view class="flex-start" @click="navC">
  123. <view class="quc">{{$t('enter.u16')}}</view>
  124. <image class="choz" src="../../static/icon/jt.png" mode=""></image>
  125. </view>
  126. </view>
  127. <uni-popup type="bottom" ref="popup" :mask-click="false" @maskClick='colsePayPassword'>
  128. <view class="page">
  129. <view>
  130. <view class="pay-title">
  131. <text>{{$t('enter.b3')}}</text>
  132. </view>
  133. <view class="pay-password" @click="onPayUp">
  134. <view class="list" v-for="item in 6">
  135. <text v-show="upOnBtnData.passwordArr.length >= item">●</text>
  136. </view>
  137. </view>
  138. <view class="hint">
  139. <text @click="navW">忘记支付密码?</text>
  140. </view>
  141. </view>
  142. <cc-defineKeyboard ref="CodeKeyboard" passwrdType="pay" @KeyInfo="KeyInfo"
  143. :viewShow="true"></cc-defineKeyboard>
  144. </view>
  145. </uni-popup>
  146. <taber tab='entertainment' v-if="!upOnBtnData.show"></taber>
  147. </view>
  148. </template>
  149. <script>
  150. import LEchart from '@/uni_modules/lime-echart/components/l-echart/l-echart.vue';
  151. import * as echarts from '@/uni_modules/lime-echart/static/echarts.min'
  152. import {
  153. getGame,
  154. gameKline,
  155. getGameList,
  156. test,
  157. gameWallet,
  158. gameBetList,
  159. gameBetIn
  160. } from "@/api/game.js";
  161. import {
  162. qianBao,
  163. } from "@/api/wallet.js";
  164. import {
  165. mapState,
  166. mapMutations
  167. } from 'vuex';
  168. import {
  169. saveUrl,
  170. interceptor
  171. } from '@/utils/loginUtils.js';
  172. import taber from "@/components/footer/footer.vue";
  173. export default {
  174. components: {
  175. taber,
  176. LEchart
  177. },
  178. computed: {
  179. ...mapState("user", ["hasLogin"])
  180. },
  181. data() {
  182. return {
  183. arMoneyList: [
  184. 1, 5, 10, 20, 50, 100
  185. ],
  186. actionIndex: 0,
  187. // 当前游戏列表
  188. gameList: [],
  189. // 游戏信息
  190. history: {
  191. list: [], //游戏进行记录
  192. page: 1,
  193. limit: 10,
  194. // 基础数据
  195. base: {},
  196. next: {},
  197. now: {}
  198. },
  199. time: {
  200. H: 0,
  201. M: 0,
  202. S: 0,
  203. // 保存倒计时对象
  204. t: ''
  205. },
  206. // 游戏押注记录
  207. betList: {
  208. list: [], //游戏进行记录
  209. page: 1,
  210. limit: 10,
  211. },
  212. userWallet: 0,
  213. upOnBtnData: {
  214. // 是否显示底部导航栏
  215. show: false,
  216. type: '',
  217. // 当前输入的密码
  218. passwordArr: [],
  219. value: '',
  220. },
  221. };
  222. },
  223. onLoad() {},
  224. onShow() {
  225. if (!this.hasLogin) {
  226. uni.showModal({
  227. title: this.$t('enter.c4'),
  228. content: this.$t('enter.b5'),
  229. success: (e) => {
  230. // 判断是否点击确认按钮
  231. if (e.confirm) {
  232. // 保存当前页面地址
  233. saveUrl()
  234. // 跳转页面
  235. interceptor()
  236. }
  237. }
  238. })
  239. return
  240. }
  241. this.getUserWallet();
  242. },
  243. // 关闭循环
  244. onHide() {
  245. clearInterval(this.time.t)
  246. },
  247. methods: {
  248. // 点击触发支付事件
  249. onPayBet(type) {
  250. if (!this.upOnBtnData.value) {
  251. uni.showToast({
  252. title: this.$t('enter.a9'),
  253. icon: "error"
  254. })
  255. return
  256. }
  257. this.upOnBtnData.type = type;
  258. this.openPayPassword();
  259. },
  260. // 打开支付弹窗
  261. openPayPassword() {
  262. this.upOnBtnData.show = true;
  263. this.$refs.popup.open();
  264. },
  265. // 关闭支付弹窗
  266. colsePayPassword() {
  267. this.upOnBtnData.show = false;
  268. this.$refs.popup.close();
  269. },
  270. KeyInfo(val) {
  271. console.log(val);
  272. let arr = this.upOnBtnData.passwordArr;
  273. if (val.index >= 6) {
  274. return;
  275. }
  276. // 判断是否输入的是删除键
  277. if (val.keyCode === 8) {
  278. // 删除最后一位
  279. arr.splice(val.index + 1, 1)
  280. }
  281. // 判断是否输入的是取消案件
  282. else if (val.keyCode == 190) {
  283. this.colsePayPassword();
  284. // 输入.无效
  285. } else {
  286. arr.push(val.key);
  287. }
  288. // 开始交易
  289. if (arr.length == 6) {
  290. this.colsePayPassword();
  291. this.gameBetIn();
  292. }
  293. },
  294. // 参与压住
  295. gameBetIn(type) {
  296. const that = this;
  297. const upData = {
  298. id: that.history.next.id,
  299. bet: that.upOnBtnData.type,
  300. num: that.upOnBtnData.value,
  301. trade_password: that.upOnBtnData.passwordArr.join("")
  302. };
  303. uni.showLoading({
  304. mask: true
  305. })
  306. gameBetIn(upData).then((res) => {
  307. uni.hideLoading()
  308. }).catch((res) => {
  309. uni.hideLoading();
  310. console.log(res)
  311. })
  312. },
  313. // 获取用户余额信息
  314. getUserWallet() {
  315. gameWallet().then((res) => {
  316. this.userWallet = +res.data.back.USDT.money.money
  317. })
  318. if (this.history.next.id) {
  319. this.opTiem();
  320. } else {
  321. this.gameInit();
  322. }
  323. },
  324. // 开始倒计时
  325. async opTiem() {
  326. const that = this;
  327. try {
  328. // 关闭循环
  329. clearInterval(that.time.t);
  330. if (that.history.base.id) {
  331. that.time.t = setInterval(() => {
  332. const da = (new Date()).getTime();
  333. const timenum = that.history.next.open_time * 1000 - da;
  334. that.time.H = Math.floor(timenum / 1000 / 60 / 60);
  335. that.time.S = Math.floor(timenum / 1000 % 60)
  336. that.time.M = Math.floor(timenum / 1000 / 60 % 60);
  337. if (that.time.H == 0 && that.time.M == 0 && that.time.S == 0) {
  338. clearInterval(that.time.t);
  339. setTimeout(() => {
  340. test();
  341. setTimeout(() => {
  342. this.gameDataInit(that.gameList[that.actionIndex].id)
  343. }, 1000)
  344. }, 3000)
  345. }
  346. }, 1000)
  347. }
  348. } catch (e) {
  349. console.log(e, '定时');
  350. }
  351. },
  352. changeTab(item, ind) {
  353. if (ind != this.actionIndex) {
  354. this.actionIndex = ind;
  355. clearInterval(this.time.t)
  356. this.gameDataInit(item.id);
  357. }
  358. },
  359. async gameInit() {
  360. try {
  361. await test();
  362. // 获取游戏列表
  363. await this.getGameList();
  364. // 加载游戏数据
  365. this.gameDataInit(this.history.next.id || this.gameList[0].id)
  366. } catch (e) {
  367. console.log(e, 'cuowu');
  368. }
  369. },
  370. // 加载游戏列表
  371. getGameList() {
  372. return getGameList().then((res) => {
  373. this.gameList = res.data.list;
  374. // console.log('1111111111',this.gameList);
  375. })
  376. },
  377. // 重新加载基础游戏信息
  378. async gameDataInit(id, reload = true) {
  379. // 获取基础信息
  380. await this.getGame(id);
  381. //获取K线
  382. this.getGameKline(reload);
  383. // 获取游戏压住记录
  384. this.gameBetList();
  385. },
  386. // 获取游戏压住记录
  387. gameBetList() {
  388. gameBetList({
  389. page: 1,
  390. limit: 10,
  391. id: this.history.base.id,
  392. }).then((res) => {
  393. this.betList.list = res.data.bet_log;
  394. console.log('aaa',this.betList.list );
  395. })
  396. },
  397. // 获取游戏K线信息
  398. getGameKline(reload = true) {
  399. const that = this;
  400. gameKline({
  401. page: 1,
  402. limit: 60
  403. }, that.history.base.id).then((res) => {
  404. let list = res.data.list.reverse();
  405. // x轴记录
  406. let xarr = [];
  407. // 打点数据
  408. let linearr = [];
  409. for (let i = 0; i < list.length; i++) {
  410. const ll = list[i];
  411. const time = new Date(+ll.ts);
  412. const addar = [+(+ll.o).toFixed(5), +(+ll.c).toFixed(5), +(+ll.l).toFixed(5), +(+ll.h)
  413. .toFixed(5)
  414. ];
  415. xarr.push(`${time.getHours()}:${time.getMinutes()}`)
  416. linearr.push(addar)
  417. }
  418. that.$nextTick(() => {
  419. // 判断是否要重载数据
  420. that.initKline({
  421. xarr,
  422. linearr
  423. }, reload)
  424. })
  425. })
  426. },
  427. // 获取当前项目信息
  428. getGame(type) {
  429. const that = this;
  430. return getGame({
  431. page: that.history.page,
  432. limit: that.history.limit
  433. }, type).then(({
  434. data
  435. }) => {
  436. that.history.list = data.list || [];
  437. that.history.base = data.game || {};
  438. that.history.next = data.next_game || {};
  439. that.history.now = data.now_game || {};
  440. if (that.history.next) {
  441. that.opTiem();
  442. }
  443. })
  444. },
  445. // 均值计算
  446. calculateMA(dayCount, data) {
  447. var result = [];
  448. for (var i = 0, len = data.linearr.length; i < len; i++) {
  449. if (i < dayCount) {
  450. result.push('-');
  451. continue;
  452. }
  453. var sum = 0;
  454. for (var j = 0; j < dayCount; j++) {
  455. sum += data.linearr[i - j][1];
  456. }
  457. result.push(+(sum / dayCount).toFixed(5));
  458. }
  459. return result;
  460. },
  461. // 重载K线
  462. async initKline(data, reload = true) {
  463. const that = this;
  464. try {
  465. const chart = await this.$refs.chart.init(echarts);
  466. if (reload) {
  467. const upColor = '#00da3c';
  468. const downColor = '#ec0000';
  469. chart.setOption(
  470. (this.option = {
  471. animation: false,
  472. legend: {
  473. top: 10,
  474. left: 10,
  475. data: ['MA5', 'MA10', 'MA20'],
  476. textStyle: {
  477. color: '#999999'
  478. }
  479. },
  480. tooltip: {
  481. trigger: 'axis',
  482. axisPointer: {
  483. type: 'cross'
  484. },
  485. borderWidth: 1,
  486. borderColor: '#ccc',
  487. padding: 10,
  488. textStyle: {
  489. color: '#000'
  490. },
  491. position: function(pos, params, el, elRect, size) {
  492. const obj = {
  493. top: 10
  494. };
  495. obj[['left', 'right'][+(pos[0] < size.viewSize[0] / 2)]] = 40;
  496. return obj;
  497. }
  498. },
  499. dataZoom: [{
  500. type: 'inside',
  501. xAxisIndex: 0,
  502. start: 50,
  503. end: 100
  504. }],
  505. grid: [{
  506. left: 10,
  507. right: 55,
  508. bottom: 20,
  509. top: 45
  510. }],
  511. xAxis: [{
  512. type: 'category',
  513. data: data.xarr,
  514. axisLine: {
  515. onZero: false
  516. },
  517. splitLine: {
  518. show: false
  519. },
  520. min: 'dataMin',
  521. max: 'dataMax',
  522. axisPointer: {
  523. z: 100
  524. }
  525. }],
  526. yAxis: [{
  527. scale: true,
  528. splitNumber: 4,
  529. position: 'right',
  530. axisTick: {
  531. show: false
  532. },
  533. splitLine: {
  534. show: false,
  535. lineStyle: {
  536. color: '#e3e3e3'
  537. }
  538. },
  539. axisLabel: {
  540. inside: false,
  541. formatter: '{value}\n',
  542. color: '#999999'
  543. }
  544. }],
  545. series: [{
  546. name: that.history.base.token + '-USDT',
  547. type: 'candlestick',
  548. data: data.linearr,
  549. itemStyle: {
  550. color: upColor,
  551. color0: downColor,
  552. borderColor: undefined,
  553. borderColor0: undefined
  554. }
  555. },
  556. {
  557. name: "MA5",
  558. smooth: true,
  559. type: 'line',
  560. data: that.calculateMA(5, data),
  561. showSymbol: false,
  562. lineStyle: {
  563. width: 1
  564. }
  565. },
  566. {
  567. name: "MA10",
  568. smooth: true,
  569. type: 'line',
  570. data: that.calculateMA(10, data),
  571. showSymbol: false,
  572. lineStyle: {
  573. width: 1
  574. }
  575. },
  576. {
  577. name: "MA20",
  578. smooth: true,
  579. type: 'line',
  580. data: that.calculateMA(20, data),
  581. showSymbol: false,
  582. lineStyle: {
  583. width: 1
  584. }
  585. },
  586. ]
  587. }),
  588. true
  589. )
  590. } else {
  591. chart.setOption({
  592. xAxis: [{
  593. type: 'category',
  594. data: data.xarr,
  595. }],
  596. series: [{
  597. name: that.history.base.token + '-USDT',
  598. data: data.linearr,
  599. },
  600. {
  601. name: "MA5",
  602. data: that.calculateMA(5, data),
  603. },
  604. {
  605. name: "MA10",
  606. data: that.calculateMA(10, data),
  607. },
  608. {
  609. name: "MA20",
  610. data: that.calculateMA(20, data),
  611. },
  612. ]
  613. })
  614. }
  615. } catch (e) {
  616. console.log(e, 'cuowu');
  617. //TODO handle the exception
  618. }
  619. },
  620. // 页面逻辑
  621. nav() {
  622. uni.navigateTo({
  623. url: "/pages/jump/history",
  624. });
  625. },
  626. navC() {
  627. uni.navigateTo({
  628. url: "/pages/jump/recharge",
  629. });
  630. },
  631. navW() {
  632. uni.navigateTo({
  633. url: "/pages/user/transaction",
  634. });
  635. },
  636. },
  637. };
  638. </script>
  639. <style lang="scss">
  640. .all {
  641. width: 750rpx;
  642. height: 100%;
  643. padding-top: var(--status-bar-height);
  644. padding-bottom: 30rpx;
  645. }
  646. $base: orangered; // 基础颜色
  647. .page {
  648. width: 100%;
  649. background-color: #FFFFFF;
  650. .pay-title {
  651. display: flex;
  652. align-items: center;
  653. justify-content: center;
  654. width: 100%;
  655. height: 200rpx;
  656. text {
  657. font-size: 28rpx;
  658. color: #555555;
  659. }
  660. }
  661. .pay-password {
  662. display: flex;
  663. align-items: center;
  664. width: 90%;
  665. height: 80rpx;
  666. margin: 20rpx auto;
  667. border: 2rpx solid $base;
  668. .list {
  669. display: flex;
  670. align-items: center;
  671. justify-content: center;
  672. width: 16.666%;
  673. height: 100%;
  674. border-right: 2rpx solid #EEEEEE;
  675. text {
  676. font-size: 32rpx;
  677. }
  678. }
  679. .list:nth-child(6) {
  680. border-right: none;
  681. }
  682. }
  683. .hint {
  684. display: flex;
  685. align-items: center;
  686. justify-content: center;
  687. width: 100%;
  688. height: 100rpx;
  689. text {
  690. font-size: 28rpx;
  691. color: $base;
  692. }
  693. }
  694. }
  695. .tab {
  696. padding: 30rpx 20rpx;
  697. margin: 0 30rpx;
  698. background-color: #191A1F;
  699. border-radius: 20px;
  700. .tab-item {
  701. color: #FFF;
  702. font-size: $font-sm;
  703. padding: 0 20rpx;
  704. padding-bottom: 10rpx;
  705. &.action {
  706. color: #F5A944;
  707. border-bottom: 1px solid #F5A944;
  708. }
  709. }
  710. .top {
  711. height: 530rpx;
  712. width: 100%;
  713. }
  714. }
  715. .center {
  716. padding: 30rpx;
  717. line-height: 1;
  718. align-items: flex-start;
  719. .le,
  720. .ri {
  721. width: 50%;
  722. }
  723. .le {
  724. .tit {
  725. font-weight: bold;
  726. .ti1 {
  727. font-size: 26rpx;
  728. color: #ffffff;
  729. }
  730. .ti2 {
  731. font-size: 22rpx;
  732. padding-left: 10rpx;
  733. color: #999999;
  734. }
  735. }
  736. .he {
  737. padding-top: 40rpx;
  738. .numbox {
  739. flex-wrap: wrap;
  740. .he1 {
  741. background: #fdaf41;
  742. border-radius: 10rpx;
  743. margin-bottom: 40rpx;
  744. margin-right: 20rpx;
  745. width: 84rpx;
  746. height: 84rpx;
  747. justify-content: center;
  748. .wen {
  749. font-size: 30rpx;
  750. font-weight: bold;
  751. color: #000000;
  752. }
  753. }
  754. }
  755. }
  756. .yi {
  757. color: #ffffff;
  758. font-size: $font-base;
  759. .img {
  760. width: 41rpx;
  761. height: 42rpx;
  762. }
  763. .wz {
  764. font-weight: bold;
  765. }
  766. }
  767. .shu {
  768. padding-top: 10rpx;
  769. font-size: 51rpx;
  770. font-weight: bold;
  771. color: #fdb242;
  772. }
  773. }
  774. .ri {
  775. .ti {
  776. font-size: 26rpx;
  777. font-weight: bold;
  778. .t1 {
  779. color: #ffffff;
  780. }
  781. .t2 {
  782. color: #fdaf41;
  783. }
  784. }
  785. .dh {
  786. width: 100%;
  787. padding: 20rpx 30rpx;
  788. margin-top: 30rpx;
  789. background: #efefef;
  790. border-radius: 10rpx;
  791. .te {
  792. font-size: 44rpx;
  793. font-weight: 800;
  794. color: #000000;
  795. }
  796. }
  797. .btn {
  798. padding-top: 30rpx;
  799. .bt {
  800. padding-bottom: 10rpx;
  801. .btnItem {
  802. width: 49%;
  803. height: 70rpx;
  804. line-height: 70rpx;
  805. text-align: center;
  806. .imag {
  807. width: 32rpx;
  808. height: 20rpx;
  809. }
  810. .xia {
  811. font-size: 28rpx;
  812. font-weight: 800;
  813. color: #ffffff;
  814. }
  815. }
  816. .btnle {
  817. border-radius: 50rpx 0 0 50rpx;
  818. background-color: #df5660;
  819. }
  820. .btnri {
  821. border-radius: 0 50rpx 50rpx 0;
  822. background-color: #5bb786;
  823. }
  824. }
  825. }
  826. .db {
  827. justify-content: flex-end;
  828. padding-top: 30rpx;
  829. .jl {
  830. font-size: 24rpx;
  831. font-weight: 400;
  832. color: #999999;
  833. }
  834. .sj {
  835. width: 40rpx;
  836. height: 40rpx;
  837. background: #bfbfbf;
  838. border-radius: 3rpx;
  839. text-align: center;
  840. line-height: 40rpx;
  841. margin-left: 10rpx;
  842. }
  843. }
  844. }
  845. }
  846. .kb {
  847. width: 750rpx;
  848. height: 20rpx;
  849. background-color: #191a1f;
  850. }
  851. .last {
  852. padding: 30rpx;
  853. line-height: 1;
  854. font-size: 24rpx;
  855. font-weight: 800;
  856. color: #fff;
  857. .lb {
  858. width: 14rpx;
  859. height: 20rpx;
  860. margin-left: 10rpx;
  861. }
  862. }
  863. .bg {
  864. padding: 0 30rpx;
  865. background-color: #000000;
  866. color: #fff;
  867. text-align: center;
  868. font-size: 28rpx;
  869. padding-bottom: 30rpx;
  870. .biaotou {
  871. font-weight: 800;
  872. padding-bottom: 10rpx;
  873. }
  874. .biwe {
  875. width: 25%;
  876. .zz {
  877. width: 22rpx;
  878. height: 14rpx;
  879. margin-left: 8rpx;
  880. }
  881. .nametip {
  882. font-size: 18rpx;
  883. color: #999999;
  884. padding-left: 8rpx;
  885. }
  886. }
  887. .biwe:nth-child(1) {
  888. flex-shrink: 0;
  889. text-align: left;
  890. align-items: flex-end;
  891. }
  892. .biwe:nth-child(4) {
  893. flex-shrink: 0;
  894. width: 200rpx;
  895. }
  896. .list {
  897. font-weight: bold;
  898. padding: 20rpx 0;
  899. border-bottom: 1px solid rgba(43, 42, 38, 0.52);
  900. }
  901. .list-buttom {
  902. width: 100rpx;
  903. border-radius: 30rpx;
  904. font-size: 16rpx;
  905. padding: 10rpx 0;
  906. &.success {
  907. background: #25b287;
  908. }
  909. &.primary {
  910. background: #01ebf6;
  911. color: #000000;
  912. }
  913. }
  914. }
  915. .chz {
  916. background: #191a1f;
  917. border-radius: 20rpx;
  918. margin: 0 30rpx;
  919. color: #ffffff;
  920. font-weight: bold;
  921. padding: 20rpx 30rpx;
  922. .yue {
  923. font-size: 28rpx;
  924. }
  925. .yes {
  926. color: #fdaf41;
  927. }
  928. .quc {
  929. font-size: 26rpx;
  930. font-weight: 500;
  931. color: #ffffff;
  932. }
  933. .choz {
  934. width: 22rpx;
  935. height: 14rpx;
  936. }
  937. }
  938. </style>