|
|
@@ -1,137 +1,175 @@
|
|
|
<template>
|
|
|
<view class="all">
|
|
|
- <view class="padding-t-30"></view>
|
|
|
- <view class="tab">
|
|
|
- <view class="flex">
|
|
|
- <view class="tab-item " @click="changeTab(item,ind)" :class="{action:actionIndex==ind}"
|
|
|
- v-for="(item,ind) in gameList">
|
|
|
- {{item.name}}
|
|
|
- </view>
|
|
|
- </view>
|
|
|
- <l-echart class="top" ref="chart"></l-echart>
|
|
|
- </view>
|
|
|
-
|
|
|
- <view class="center flex">
|
|
|
- <!-- 左 -->
|
|
|
- <view class="le">
|
|
|
- <view class="tit flex-start">
|
|
|
- <view class="ti1">{{$t('enter.u1')}}</view>
|
|
|
- <view class="ti2">({{$t('enter.u2')}})</view>
|
|
|
- </view>
|
|
|
- <view class="he">
|
|
|
- <view class="numbox flex-start">
|
|
|
- <view class="he1 flex" @click="gameMoneyValue=it" v-for="it in arMoneyList">
|
|
|
- <view class="wen">{{it}}</view>
|
|
|
- </view>
|
|
|
+ <template v-if="!upOnBtnData.show">
|
|
|
+ <view class="padding-t-30"></view>
|
|
|
+ <view class="tab">
|
|
|
+ <view class="flex">
|
|
|
+ <view class="tab-item " @click="changeTab(item,ind)" :class="{action:actionIndex==ind}"
|
|
|
+ v-for="(item,ind) in gameList">
|
|
|
+ {{item.name}}
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="yi flex-start">
|
|
|
- <image class="img" src="../../static/icon/le.png" mode=""></image>
|
|
|
- <view class="wz padding-l-10">{{history.base.token}}</view>
|
|
|
- <view class="qx padding-l-10" v-if="history.next.id">{{history.next.no}}</view>
|
|
|
- </view>
|
|
|
- <view class="shu">
|
|
|
- 0.064489
|
|
|
- </view>
|
|
|
+ <l-echart class="top" ref="chart"></l-echart>
|
|
|
</view>
|
|
|
- <!--右 -->
|
|
|
- <view class="ri">
|
|
|
- <view class="ti flex-center">
|
|
|
- <view class="t1">{{$t('enter.u3')}}</view>
|
|
|
- <view class="t2 padding-l-10">{{history.base.timebar}}</view>
|
|
|
- </view>
|
|
|
|
|
|
- <view class="dh">
|
|
|
- <input class="input" type="number" v-model="gameMoneyValue">
|
|
|
- </view>
|
|
|
- <view class="btn">
|
|
|
- <view class="bt flex">
|
|
|
- <view class="btnItem btnle">
|
|
|
- <image class="imag" src="../../static/icon/xia.png" mode=""></image>
|
|
|
- <text class="xia">{{$t('enter.u4')}}</text>
|
|
|
- </view>
|
|
|
- <view class="btnItem btnri">
|
|
|
- <image class="imag" src="../../static/icon/shang.png" mode=""></image>
|
|
|
- <text class="xia">{{$t('enter.u6')}}</text>
|
|
|
- </view>
|
|
|
+ <view class="center flex">
|
|
|
+ <!-- 左 -->
|
|
|
+ <view class="le">
|
|
|
+ <view class="tit flex-start">
|
|
|
+ <view class="ti1">{{$t('enter.u1')}}</view>
|
|
|
+ <view class="ti2">({{$t('enter.u2')}})</view>
|
|
|
</view>
|
|
|
- <view class="bt flex">
|
|
|
- <view class="btnItem btnle">
|
|
|
- <view class="xia">{{$t('enter.u5')}}</view>
|
|
|
- </view>
|
|
|
- <view class="btnItem btnri">
|
|
|
- <view class="xia">{{$t('enter.u7')}}</view>
|
|
|
+ <view class="he">
|
|
|
+ <view class="numbox flex-start">
|
|
|
+ <view class="he1 flex" @click="gameMoneyValue=it" v-for="it in arMoneyList">
|
|
|
+ <view class="wen">{{it}}</view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="yi flex-start">
|
|
|
+ <image class="img" src="../../static/icon/le.png" mode=""></image>
|
|
|
+ <view class="wz padding-l-10">{{history.base.token}}</view>
|
|
|
+ <view class="qx padding-l-10" v-if="history.next.id">{{history.next.no}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="shu">
|
|
|
+ 0.064489
|
|
|
+ </view>
|
|
|
</view>
|
|
|
+ <!--右 -->
|
|
|
+ <view class="ri">
|
|
|
+ <view class="ti flex-center">
|
|
|
+ <view class="t1">{{$t('enter.u3')}}</view>
|
|
|
+ <view class="t2 padding-l-10">{{history.base.timebar}}</view>
|
|
|
+ </view>
|
|
|
|
|
|
- <view class="db flex">
|
|
|
- <view class="jl">{{$t('enter.u8')}}</view>
|
|
|
- <view class="sj">
|
|
|
- <text v-if="time.H<10">0</text>
|
|
|
- {{time.H}}
|
|
|
+ <view class="dh">
|
|
|
+ <input class="input" type="number" v-model="gameMoneyValue">
|
|
|
</view>
|
|
|
- <view class="sj">
|
|
|
- <text v-if="time.M<10">0</text>
|
|
|
- {{time.M}}
|
|
|
+ <view class="btn">
|
|
|
+ <view class="bt flex">
|
|
|
+ <view class="btnItem btnle" @click="onbet(2)">
|
|
|
+ <image class="imag" src="../../static/icon/xia.png" mode=""></image>
|
|
|
+ <text class="xia">{{$t('enter.u4')}}</text>
|
|
|
+ </view>
|
|
|
+ <view class="btnItem btnri" @click="onbet(1)">
|
|
|
+ <image class="imag" src="../../static/icon/shang.png" mode=""></image>
|
|
|
+ <text class="xia">{{$t('enter.u6')}}</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="bt flex">
|
|
|
+ <view class="btnItem btnle" @click="onbet(3)">
|
|
|
+ <view class="xia">{{$t('enter.u5')}}</view>
|
|
|
+ </view>
|
|
|
+ <view class="btnItem btnri" @click="onbet(4)">
|
|
|
+ <view class="xia">{{$t('enter.u7')}}</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="sj">
|
|
|
- <text v-if="time.S<10">0</text>
|
|
|
- {{time.S}}
|
|
|
+
|
|
|
+ <view class="db flex">
|
|
|
+ <view class="jl">{{$t('enter.u8')}}</view>
|
|
|
+ <view class="sj">
|
|
|
+ <text v-if="time.H<10">0</text>
|
|
|
+ {{time.H}}
|
|
|
+ </view>
|
|
|
+ <view class="sj">
|
|
|
+ <text v-if="time.M<10">0</text>
|
|
|
+ {{time.M}}
|
|
|
+ </view>
|
|
|
+ <view class="sj">
|
|
|
+ <text v-if="time.S<10">0</text>
|
|
|
+ {{time.S}}
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <view class="kb"></view>
|
|
|
-
|
|
|
- <view class="last">
|
|
|
- <view class="flex">
|
|
|
- <text>{{$t('enter.u9')}}</text>
|
|
|
- <view class="flex" @click="nav">
|
|
|
- <text>{{$t('enter.u10')}}</text>
|
|
|
- <image class="lb" src="../../static/icon/jt.png" mode=""></image>
|
|
|
+ <view class="kb"></view>
|
|
|
+
|
|
|
+ <view class="last">
|
|
|
+ <view class="flex">
|
|
|
+ <text>{{$t('enter.u9')}}</text>
|
|
|
+ <view class="flex" @click="nav">
|
|
|
+ <text>{{$t('enter.u10')}}</text>
|
|
|
+ <image class="lb" src="../../static/icon/jt.png" mode=""></image>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
-
|
|
|
- <view class="bg">
|
|
|
- <view class="biaotou flex">
|
|
|
- <view class="biwe">{{$t('enter.u11')}}</view>
|
|
|
- <view class="biwe">{{$t('enter.u12')}}</view>
|
|
|
- <view class="biwe">{{$t('enter.u13')}}</view>
|
|
|
- <view class="biwe">{{$t('enter.u14')}}</view>
|
|
|
- </view>
|
|
|
- <view class="list flex" v-for="(item,ind) in betList.list" :key="ind">
|
|
|
- <view class="biwe flex-start">
|
|
|
- <view class="tr">{{history.base.token}}</view>
|
|
|
- <view class="nametip">{{history.base.timebar}}</view>
|
|
|
- <image class="zz" src="../../static/icon/shang.png" mode=""></image>
|
|
|
+
|
|
|
+ <view class="bg">
|
|
|
+ <view class="biaotou flex">
|
|
|
+ <view class="biwe">{{$t('enter.u11')}}</view>
|
|
|
+ <view class="biwe">{{$t('enter.u12')}}</view>
|
|
|
+ <view class="biwe">{{$t('enter.u13')}}</view>
|
|
|
+ <view class="biwe">{{$t('enter.u14')}}</view>
|
|
|
</view>
|
|
|
- <view class="biwe">23.5000</view>
|
|
|
- <view class="biwe">23.5000</view>
|
|
|
- <view class="biwe flex">
|
|
|
- <view class="list-buttom success margin-r-10">
|
|
|
- {{$t('enter.u17')}}
|
|
|
+ <view class="list flex" v-for="(item,ind) in betList.list" :key="ind">
|
|
|
+ <view class="biwe flex-start">
|
|
|
+ <view class="tr">{{history.base.token}}</view>
|
|
|
+ <view class="nametip">{{history.base.timebar}}</view>
|
|
|
+ <image class="zz" src="../../static/icon/shang.png" mode=""></image>
|
|
|
</view>
|
|
|
- <view class="list-buttom primary">
|
|
|
- {{$t('enter.u18')}}
|
|
|
+ <view class="biwe">23.5000</view>
|
|
|
+ <view class="biwe">23.5000</view>
|
|
|
+ <view class="biwe flex">
|
|
|
+ <view class="list-buttom success margin-r-10">
|
|
|
+ {{$t('enter.u17')}}
|
|
|
+ </view>
|
|
|
+ <view class="list-buttom primary">
|
|
|
+ {{$t('enter.u18')}}
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- </view>
|
|
|
|
|
|
|
|
|
- <view class="chz flex">
|
|
|
- <view>
|
|
|
- <view class="yue padding-b-10">{{$t('enter.u15')}}</view>
|
|
|
- <view class="yes">{{userWallet}}U</view>
|
|
|
+ <view class="chz flex">
|
|
|
+ <view>
|
|
|
+ <view class="yue padding-b-10">{{$t('enter.u15')}}</view>
|
|
|
+ <view class="yes">{{userWallet}}U</view>
|
|
|
+ </view>
|
|
|
+ <view class="flex-start" @click="navC">
|
|
|
+ <view class="quc">{{$t('enter.u16')}}</view>
|
|
|
+ <image class="choz" src="../../static/icon/jt.png" mode=""></image>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
- <view class="flex-start" @click="navC">
|
|
|
- <view class="quc">{{$t('enter.u16')}}</view>
|
|
|
- <image class="choz" src="../../static/icon/jt.png" mode=""></image>
|
|
|
+ <taber tab='entertainment'></taber>
|
|
|
+ </template>
|
|
|
+ <template v-if="upOnBtnData.show">
|
|
|
+ <view class="page">
|
|
|
+
|
|
|
+ <view>
|
|
|
+ <view class="pay-title">
|
|
|
+ <text v-show="AffirmStatus === 1">请输入6位支付密码</text>
|
|
|
+ <text v-show="AffirmStatus === 2">请设置6位支付密码</text>
|
|
|
+ <text v-show="AffirmStatus === 3">请确认6位支付密码</text>
|
|
|
+ </view>
|
|
|
+ <view class="pay-password" @click="onPayUp">
|
|
|
+ <view class="list">
|
|
|
+ <text v-show="passwordArr.length >= 1">●</text>
|
|
|
+ </view>
|
|
|
+ <view class="list">
|
|
|
+ <text v-show="passwordArr.length >= 2">●</text>
|
|
|
+ </view>
|
|
|
+ <view class="list">
|
|
|
+ <text v-show="passwordArr.length >= 3">●</text>
|
|
|
+ </view>
|
|
|
+ <view class="list">
|
|
|
+ <text v-show="passwordArr.length >= 4">●</text>
|
|
|
+ </view>
|
|
|
+ <view class="list">
|
|
|
+ <text v-show="passwordArr.length >= 5">●</text>
|
|
|
+ </view>
|
|
|
+ <view class="list">
|
|
|
+ <text v-show="passwordArr.length >= 6">●</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="hint">
|
|
|
+ <text>忘记支付密码?</text>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <cc-defineKeyboard ref="CodeKeyboard" passwrdType="pay" @KeyInfo="KeyInfo"></cc-defineKeyboard>
|
|
|
</view>
|
|
|
- </view>
|
|
|
- <taber tab='entertainment'></taber>
|
|
|
+ </template>
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -144,7 +182,8 @@
|
|
|
getGameList,
|
|
|
test,
|
|
|
gameWallet,
|
|
|
- gameBetList
|
|
|
+ gameBetList,
|
|
|
+ gameBetIn
|
|
|
} from "@/api/game.js";
|
|
|
import {
|
|
|
qianBao,
|
|
|
@@ -199,7 +238,16 @@
|
|
|
page: 1,
|
|
|
limit: 10,
|
|
|
},
|
|
|
- userWallet: 0
|
|
|
+ userWallet: 0,
|
|
|
+ upOnBtnData: {
|
|
|
+ show: false,
|
|
|
+ type: ''
|
|
|
+ },
|
|
|
+ AffirmStatus: 1,
|
|
|
+ passwordArr: [],
|
|
|
+ oldPasswordArr: [],
|
|
|
+ newPasswordArr: [],
|
|
|
+ afPasswordArr: [],
|
|
|
};
|
|
|
},
|
|
|
onLoad() {
|
|
|
@@ -222,20 +270,56 @@
|
|
|
})
|
|
|
return
|
|
|
}
|
|
|
- gameWallet().then((res) => {
|
|
|
- this.userWallet = res.data.back.USDT.money.money
|
|
|
- })
|
|
|
- if (this.history.next.id) {
|
|
|
- this.opTiem();
|
|
|
- } else {
|
|
|
- this.gameInit();
|
|
|
- }
|
|
|
+ this.getUserWallet();
|
|
|
+
|
|
|
},
|
|
|
// 关闭循环
|
|
|
onHide() {
|
|
|
clearInterval(this.time.t)
|
|
|
},
|
|
|
methods: {
|
|
|
+ onbet(type) {
|
|
|
+ this.upOnBtnData.type = type;
|
|
|
+ this.upOnBtnData.show = true;
|
|
|
+ this.$refs.CodeKeyboard.show();
|
|
|
+ },
|
|
|
+
|
|
|
+ KeyInfo(val) {
|
|
|
+ if (val.index >= 6) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ // 判断是否输入的是删除键
|
|
|
+ if (val.keyCode === 8) {
|
|
|
+ // 删除最后一位
|
|
|
+ this.passwordArr.splice(val.index + 1, 1)
|
|
|
+ }
|
|
|
+ // 判断是否输入的是.
|
|
|
+ else if (val.keyCode == 190) {
|
|
|
+ // 输入.无效
|
|
|
+ } else {
|
|
|
+ this.passwordArr.push(val.key);
|
|
|
+ }
|
|
|
+
|
|
|
+ uni.showModal({
|
|
|
+ title: '温馨提示',
|
|
|
+ content: '输入密码是 = ' + JSON.stringify(this.passwordArr)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ // 参与压住
|
|
|
+ gameBetIn(type) {
|
|
|
+
|
|
|
+ },
|
|
|
+ // 获取用户余额信息
|
|
|
+ getUserWallet() {
|
|
|
+ gameWallet().then((res) => {
|
|
|
+ this.userWallet = res.data.back.USDT.money.money
|
|
|
+ })
|
|
|
+ if (this.history.next.id) {
|
|
|
+ this.opTiem();
|
|
|
+ } else {
|
|
|
+ this.gameInit();
|
|
|
+ }
|
|
|
+ },
|
|
|
// 开始倒计时
|
|
|
async opTiem() {
|
|
|
const that = this;
|
|
|
@@ -250,7 +334,6 @@
|
|
|
that.time.S = Math.floor(timenum / 1000 % 60)
|
|
|
that.time.M = Math.floor(timenum / 1000 / 60 % 60);
|
|
|
if (that.time.H == 0 && that.time.M == 0 && that.time.S == 0) {
|
|
|
- console.log('进入');
|
|
|
clearInterval(that.time.t);
|
|
|
setTimeout(() => {
|
|
|
test();
|
|
|
@@ -307,8 +390,7 @@
|
|
|
limit: 10,
|
|
|
id: this.history.base.id
|
|
|
}).then((res) => {
|
|
|
- this.betList.list
|
|
|
- console.log(res);
|
|
|
+ this.betList.list = res.data.bet_log;
|
|
|
})
|
|
|
},
|
|
|
// 获取游戏K线信息
|
|
|
@@ -316,18 +398,21 @@
|
|
|
const that = this;
|
|
|
gameKline({
|
|
|
page: 1,
|
|
|
- limit: 30
|
|
|
+ limit: 60
|
|
|
}, that.history.base.id).then((res) => {
|
|
|
- console.log(res, 'res');
|
|
|
let list = res.data.list.reverse();
|
|
|
// x轴记录
|
|
|
let xarr = [];
|
|
|
// 打点数据
|
|
|
let linearr = [];
|
|
|
for (let i = 0; i < list.length; i++) {
|
|
|
- const ll = list[i]
|
|
|
- xarr.push(ll.ts)
|
|
|
- linearr.push([+ll.o, +ll.c, +ll.l, +ll.h])
|
|
|
+ const ll = list[i];
|
|
|
+ const time = new Date(+ll.ts);
|
|
|
+ const addar = [+(+ll.o).toFixed(5), +(+ll.c).toFixed(5), +(+ll.l).toFixed(5), +(+ll.h)
|
|
|
+ .toFixed(5)
|
|
|
+ ];
|
|
|
+ xarr.push(`${time.getHours()}:${time.getMinutes()}`)
|
|
|
+ linearr.push(addar)
|
|
|
}
|
|
|
that.$nextTick(() => {
|
|
|
that.initKline({
|
|
|
@@ -367,20 +452,28 @@
|
|
|
for (var j = 0; j < dayCount; j++) {
|
|
|
sum += data.linearr[i - j][1];
|
|
|
}
|
|
|
- result.push(+(sum / dayCount).toFixed(3));
|
|
|
+ result.push(+(sum / dayCount).toFixed(5));
|
|
|
}
|
|
|
return result;
|
|
|
},
|
|
|
|
|
|
async initKline(data) {
|
|
|
const that = this;
|
|
|
- const chart = await this.$refs.chart.init(echarts);
|
|
|
try {
|
|
|
+ const chart = await this.$refs.chart.init(echarts);
|
|
|
const upColor = '#00da3c';
|
|
|
const downColor = '#ec0000';
|
|
|
chart.setOption(
|
|
|
(this.option = {
|
|
|
animation: false,
|
|
|
+ legend: {
|
|
|
+ top: 10,
|
|
|
+ left: 10,
|
|
|
+ data: ['MA5', 'MA10', 'MA20'],
|
|
|
+ textStyle: {
|
|
|
+ color: '#999999'
|
|
|
+ }
|
|
|
+ },
|
|
|
tooltip: {
|
|
|
trigger: 'axis',
|
|
|
axisPointer: {
|
|
|
@@ -396,22 +489,26 @@
|
|
|
const obj = {
|
|
|
top: 10
|
|
|
};
|
|
|
- obj[['left', 'right'][+(pos[0] < size.viewSize[0] / 2)]] = 30;
|
|
|
+ obj[['left', 'right'][+(pos[0] < size.viewSize[0] / 2)]] = 40;
|
|
|
|
|
|
- console.log(obj, 'obj');
|
|
|
return obj;
|
|
|
}
|
|
|
},
|
|
|
+ dataZoom: [{
|
|
|
+ type: 'inside',
|
|
|
+ xAxisIndex: 0,
|
|
|
+ start: 50,
|
|
|
+ end: 100
|
|
|
+ }],
|
|
|
grid: [{
|
|
|
- left: 0,
|
|
|
- right: 0,
|
|
|
- height: '80%',
|
|
|
- top: 30
|
|
|
+ left: 10,
|
|
|
+ right: 55,
|
|
|
+ bottom: 20,
|
|
|
+ top: 45
|
|
|
}],
|
|
|
xAxis: [{
|
|
|
type: 'category',
|
|
|
data: data.xarr,
|
|
|
- boundaryGap: false,
|
|
|
axisLine: {
|
|
|
onZero: false
|
|
|
},
|
|
|
@@ -426,32 +523,65 @@
|
|
|
}],
|
|
|
yAxis: [{
|
|
|
scale: true,
|
|
|
- splitNumber: 2,
|
|
|
+ splitNumber: 4,
|
|
|
+ position: 'right',
|
|
|
axisTick: {
|
|
|
show: false
|
|
|
},
|
|
|
- splitLine:{
|
|
|
- lineStyle:{
|
|
|
- color:['#FFF']
|
|
|
+ splitLine: {
|
|
|
+ show: false,
|
|
|
+ lineStyle: {
|
|
|
+ color: '#e3e3e3'
|
|
|
}
|
|
|
},
|
|
|
axisLabel: {
|
|
|
- inside: true,
|
|
|
+ inside: false,
|
|
|
formatter: '{value}\n',
|
|
|
- color:"#FFFFFF"
|
|
|
+ color: '#999999'
|
|
|
}
|
|
|
- } ],
|
|
|
+ }],
|
|
|
series: [{
|
|
|
- name: that.history.base.token + '-USDT',
|
|
|
- type: 'candlestick',
|
|
|
- data: data.linearr,
|
|
|
- itemStyle: {
|
|
|
- color: upColor,
|
|
|
- color0: downColor,
|
|
|
- borderColor: undefined,
|
|
|
- borderColor0: undefined
|
|
|
- }
|
|
|
- }]
|
|
|
+ name: that.history.base.token + '-USDT',
|
|
|
+ type: 'candlestick',
|
|
|
+ data: data.linearr,
|
|
|
+ itemStyle: {
|
|
|
+ color: upColor,
|
|
|
+ color0: downColor,
|
|
|
+ borderColor: undefined,
|
|
|
+ borderColor0: undefined
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "MA5",
|
|
|
+ smooth: true,
|
|
|
+ type: 'line',
|
|
|
+ data: that.calculateMA(5, data),
|
|
|
+ showSymbol: false,
|
|
|
+ lineStyle: {
|
|
|
+ width: 1
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "MA10",
|
|
|
+ smooth: true,
|
|
|
+ type: 'line',
|
|
|
+ data: that.calculateMA(10, data),
|
|
|
+ showSymbol: false,
|
|
|
+ lineStyle: {
|
|
|
+ width: 1
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: "MA20",
|
|
|
+ smooth: true,
|
|
|
+ type: 'line',
|
|
|
+ data: that.calculateMA(20, data),
|
|
|
+ showSymbol: false,
|
|
|
+ lineStyle: {
|
|
|
+ width: 1
|
|
|
+ }
|
|
|
+ },
|
|
|
+ ]
|
|
|
}),
|
|
|
true
|
|
|
)
|
|
|
@@ -487,6 +617,70 @@
|
|
|
padding-bottom: 30rpx;
|
|
|
}
|
|
|
|
|
|
+ $base: orangered; // 基础颜色
|
|
|
+
|
|
|
+ .page {
|
|
|
+ position: absolute;
|
|
|
+ left: 0;
|
|
|
+ top: 0;
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ background-color: #FFFFFF;
|
|
|
+
|
|
|
+ .pay-title {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ width: 100%;
|
|
|
+ height: 200rpx;
|
|
|
+
|
|
|
+ text {
|
|
|
+ font-size: 28rpx;
|
|
|
+ color: #555555;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .pay-password {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ width: 90%;
|
|
|
+ height: 80rpx;
|
|
|
+ margin: 20rpx auto;
|
|
|
+ border: 2rpx solid $base;
|
|
|
+
|
|
|
+ .list {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ width: 16.666%;
|
|
|
+ height: 100%;
|
|
|
+ border-right: 2rpx solid #EEEEEE;
|
|
|
+
|
|
|
+ text {
|
|
|
+ font-size: 32rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .list:nth-child(6) {
|
|
|
+ border-right: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ .hint {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ width: 100%;
|
|
|
+ height: 100rpx;
|
|
|
+
|
|
|
+ text {
|
|
|
+ font-size: 28rpx;
|
|
|
+ color: $base;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
.tab {
|
|
|
padding: 30rpx 20rpx;
|
|
|
margin: 0 30rpx;
|
|
|
@@ -506,7 +700,7 @@
|
|
|
}
|
|
|
|
|
|
.top {
|
|
|
- height: 500rpx;
|
|
|
+ height: 530rpx;
|
|
|
width: 100%;
|
|
|
}
|
|
|
}
|