|
|
|
<template>
|
|
|
|
<view :style="viewColor">
|
|
|
|
<form @submit="submitSub" report-submit='true'>
|
|
|
|
<view class='header'>
|
|
|
|
|
|
|
|
|
|
|
|
<view class='nav acea-row'>
|
|
|
|
<view class='item'>
|
|
|
|
<view>预存金额</view>
|
|
|
|
<view class='num'>{{ userinfo.now_money || 0 }}</view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="payment">
|
|
|
|
<!-- <view class="nav acea-row row-around row-middle">
|
|
|
|
<view class="item" :class="active==index?'on':''" v-for="(item,index) in navRecharge" :key="index" @click="navRecharges(index)">{{item}}</view>
|
|
|
|
</view> -->
|
|
|
|
<view class='tip picList' v-if='!active'>
|
|
|
|
<view class="pic-box pic-box-color acea-row row-center-wrapper row-column" :class="activePic == index ? 'pic-box-color-active' : ''"
|
|
|
|
v-for="(item, index) in picList" :key="index" @click="picCharge(index, item)">
|
|
|
|
<view class="pic-number-pic">
|
|
|
|
{{ item.data.price }}<span class="pic-number" style="color:#000;margin-left: 5px;"> 元</span>
|
|
|
|
</view>
|
|
|
|
<view class="pic-number">赠送:{{ item.data.give }} 钻石/天</view>
|
|
|
|
</view>
|
|
|
|
<!-- <view class="pic-box pic-box-color acea-row row-center-wrapper" :class="rechar_id == 0 ? 'pic-box-color-active' : ''"
|
|
|
|
@click="picCharge(picList.length)">
|
|
|
|
<input type="number" :placeholder="otherValue" v-model="money" class="pic-box-money pic-number-pic" :class="rechar_id == 0 ? 'pic-box-color-active' : ''" />
|
|
|
|
</view> -->
|
|
|
|
|
|
|
|
</view>
|
|
|
|
<view class="tips-box">
|
|
|
|
<view class="tips mt-30">注意事项:</view>
|
|
|
|
<!-- <view class="tips-samll" v-for="item in rechargeAttention" :key="item">
|
|
|
|
{{ item }}
|
|
|
|
</view> -->
|
|
|
|
<u-parse :content="content"></u-parse>
|
|
|
|
</view>
|
|
|
|
<!-- <view class="tip" v-else>
|
|
|
|
<view class='input'><text>¥</text><input placeholder="0.00" type='number' placeholder-class='placeholder' :value="number"
|
|
|
|
name="number"></input></view>
|
|
|
|
<view class="tips-title">
|
|
|
|
<view style="font-weight: bold; font-size: 26rpx;">提示:</view>
|
|
|
|
<view style="margin-top: 10rpx;">当前佣金为 <text class='t-color'>¥{{userinfo.brokerage_price || 0}}</text></view>
|
|
|
|
</view>
|
|
|
|
<view class="tips-box">
|
|
|
|
<view class="tips mt-30">注意事项:</view>
|
|
|
|
<view class="tips-samll" v-for="item in rechargeAttention" :key="item">
|
|
|
|
{{ item }}
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</view> -->
|
|
|
|
<button class='but' formType="submit"> {{active ? '立即转入': '立即充值' }}</button>
|
|
|
|
</view>
|
|
|
|
</form>
|
|
|
|
<payment :payMode="payMode" :order_id="rechar_id" :pay_close="pay_close" :is-call="true" @onChangeFun="onChangeFun"
|
|
|
|
:totalPrice="totalPrice"></payment>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
// | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
// | Copyright (c) 2016~2024 https://www.crmeb.com All rights reserved.
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
// | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
// | Author: CRMEB Team <admin@crmeb.com>
|
|
|
|
// +----------------------------------------------------------------------
|
|
|
|
var statusBarHeight = uni.getSystemInfoSync().statusBarHeight + 'px';
|
|
|
|
import {
|
|
|
|
spreadInfo,
|
|
|
|
rechargeRoutine,
|
|
|
|
rechargeWechat,
|
|
|
|
getRechargeApi,
|
|
|
|
depositData,
|
|
|
|
rechargeBrokerage
|
|
|
|
} from '@/api/user.js';
|
|
|
|
import { mapGetters } from "vuex";
|
|
|
|
import payment from '@/components/payment';
|
|
|
|
import { openPaySubscribe } from '@/utils/SubscribeMessage.js';
|
|
|
|
export default {
|
|
|
|
components: {
|
|
|
|
payment
|
|
|
|
},
|
|
|
|
data() {
|
|
|
|
let that = this;
|
|
|
|
return {
|
|
|
|
content:'',
|
|
|
|
otherValue: '其他',
|
|
|
|
now_money: 0,
|
|
|
|
navRecharge: ['账户充值', '佣金转入'],
|
|
|
|
active: 0,
|
|
|
|
number: '',
|
|
|
|
from: '',
|
|
|
|
userinfo: {},
|
|
|
|
placeholder: "0.00",
|
|
|
|
picList: [],
|
|
|
|
activePic: 0,
|
|
|
|
money: "",
|
|
|
|
numberPic: '',
|
|
|
|
rechar_id: '0',
|
|
|
|
rechargeAttention: [],
|
|
|
|
delta: 1,
|
|
|
|
statusBarHeight: statusBarHeight,
|
|
|
|
pay_close: false,
|
|
|
|
totalPrice: '0',
|
|
|
|
payMode: [{
|
|
|
|
name: '微信支付',
|
|
|
|
icon: 'icon-weixinzhifu',
|
|
|
|
// #ifdef H5
|
|
|
|
value: this.$wechat.isWeixin() ? 'weixin' : 'h5',
|
|
|
|
// #endif
|
|
|
|
// #ifdef MP
|
|
|
|
value: 'routine',
|
|
|
|
// #endif
|
|
|
|
// #ifdef APP-PLUS
|
|
|
|
value: 'weixin',
|
|
|
|
// #endif
|
|
|
|
title: '微信快捷支付',
|
|
|
|
payStatus: true
|
|
|
|
}
|
|
|
|
// #ifdef H5 ||APP-PLUS
|
|
|
|
,
|
|
|
|
{
|
|
|
|
name: '支付宝支付',
|
|
|
|
icon: 'icon-zhifubao',
|
|
|
|
// #ifdef H5 || APP-PLUS
|
|
|
|
value: 'alipay',
|
|
|
|
// #endif
|
|
|
|
// #ifdef MP
|
|
|
|
value: 'alipayQr',
|
|
|
|
// #endif
|
|
|
|
title: '支付宝支付',
|
|
|
|
payStatus: true
|
|
|
|
}
|
|
|
|
// #endif
|
|
|
|
],
|
|
|
|
};
|
|
|
|
},
|
|
|
|
computed: mapGetters(['viewColor','isLogin']),
|
|
|
|
onLoad(options) {
|
|
|
|
this.delta = options.delta || 1;
|
|
|
|
if (this.isLogin) {
|
|
|
|
// this.getUserInfo();
|
|
|
|
this.getRecharge();
|
|
|
|
} else {
|
|
|
|
toLogin()
|
|
|
|
}
|
|
|
|
},
|
|
|
|
onUnload: function () {
|
|
|
|
uni.navigateBack({
|
|
|
|
delta: this.delta
|
|
|
|
})
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
goBack: function() {
|
|
|
|
uni.navigateBack();
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
* 选择金额
|
|
|
|
*/
|
|
|
|
picCharge(idx, item) {
|
|
|
|
this.activePic = idx;
|
|
|
|
if (item === undefined) {
|
|
|
|
this.rechar_id = '0';
|
|
|
|
this.numberPic = "";
|
|
|
|
this.otherValue = ''
|
|
|
|
} else {
|
|
|
|
this.otherValue = '其他'
|
|
|
|
this.money = "";
|
|
|
|
this.rechar_id = item.id.toString();
|
|
|
|
this.numberPic = item.data.price;
|
|
|
|
}
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
* 充值额度选择
|
|
|
|
*/
|
|
|
|
getRecharge() {
|
|
|
|
getRechargeApi()
|
|
|
|
.then(res => {
|
|
|
|
this.picList = res.data.recharge_quota;
|
|
|
|
if (this.picList[0]) {
|
|
|
|
this.rechar_id = this.picList[0].id.toString();
|
|
|
|
this.numberPic = this.picList[0].data.price;
|
|
|
|
}
|
|
|
|
// this.rechargeAttention = res.data.recharge_attention || [];
|
|
|
|
this.content = res.data.rule.the_lottery_rule
|
|
|
|
})
|
|
|
|
.catch(res => {
|
|
|
|
this.$dialog.toast({
|
|
|
|
mes: res
|
|
|
|
});
|
|
|
|
});
|
|
|
|
// depositData().then(res=>{
|
|
|
|
// this.picList = res.data
|
|
|
|
// }).catch(res => {
|
|
|
|
// this.$dialog.toast({
|
|
|
|
// mes: res
|
|
|
|
// });
|
|
|
|
// });
|
|
|
|
},
|
|
|
|
navRecharges: function(index) {
|
|
|
|
this.active = index;
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
* 获取用户信息
|
|
|
|
*/
|
|
|
|
// getUserInfo: function() {
|
|
|
|
// let that = this;
|
|
|
|
// spreadInfo().then(res => {
|
|
|
|
// that.$set(that, 'userinfo', res.data);
|
|
|
|
// })
|
|
|
|
// },
|
|
|
|
payClose: function() {
|
|
|
|
this.pay_close = false;
|
|
|
|
},
|
|
|
|
payCheck: function(type) {
|
|
|
|
this.createOrder(type);
|
|
|
|
},
|
|
|
|
/*
|
|
|
|
* 用户充值
|
|
|
|
*/
|
|
|
|
submitSub: function(e) {
|
|
|
|
let that = this
|
|
|
|
let value = e.detail.value.number;
|
|
|
|
// 转入余额
|
|
|
|
if (that.active) {
|
|
|
|
if (parseFloat(value) < 0 || parseFloat(value) == NaN || value == undefined || value == "") {
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: '请输入金额'
|
|
|
|
});
|
|
|
|
}
|
|
|
|
if(parseFloat(value) > that.userinfo.brokerage_price){
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: '剩余可用佣金不足' + parseFloat(value)
|
|
|
|
});
|
|
|
|
}
|
|
|
|
uni.showModal({
|
|
|
|
title: '转入余额',
|
|
|
|
content: '转入余额后无法再次转出,确认是否转入余额',
|
|
|
|
success(res) {
|
|
|
|
if (res.confirm) {
|
|
|
|
rechargeBrokerage({
|
|
|
|
brokerage: parseFloat(value),
|
|
|
|
}).then(res => {
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: '转入成功',
|
|
|
|
icon: 'success'
|
|
|
|
}, {
|
|
|
|
tab: 5,
|
|
|
|
url: '/pages/users/user_money/index'
|
|
|
|
});
|
|
|
|
}).catch(err => {
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: err
|
|
|
|
})
|
|
|
|
});
|
|
|
|
} else if (res.cancel) {
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: '已取消'
|
|
|
|
});
|
|
|
|
}
|
|
|
|
},
|
|
|
|
})
|
|
|
|
} else {
|
|
|
|
if (this.rechar_id == 0) {
|
|
|
|
if (parseFloat(that.money)=== 0) {
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: '充值金额金额不能为0!'
|
|
|
|
});
|
|
|
|
}
|
|
|
|
if (!that.money) {
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: '请填写充值金额!'
|
|
|
|
});
|
|
|
|
}
|
|
|
|
if (!Number(that.money)) {
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: '请填写正确的金额!'
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
this.pay_close = true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
createOrder(type) {
|
|
|
|
let that = this;
|
|
|
|
let query = {
|
|
|
|
price: that.rechar_id == 0 ? that.money : that.numberPic,
|
|
|
|
recharge_id: that.rechar_id,
|
|
|
|
type: type,
|
|
|
|
// #ifdef H5
|
|
|
|
return_url: location.port ? location.protocol + '//' + location.hostname + ':' + location.port +
|
|
|
|
'/pages/users/user_payment/index' : location.protocol + '//' + location.hostname +
|
|
|
|
'/pages/users/user_payment/index'
|
|
|
|
// #endif
|
|
|
|
};
|
|
|
|
// #ifdef MP
|
|
|
|
// openPaySubscribe().then(() => {
|
|
|
|
rechargeWechat(query).then(res => {
|
|
|
|
that.callPay(res);
|
|
|
|
}).catch(err => {
|
|
|
|
uni.showToast({
|
|
|
|
title: err,
|
|
|
|
icon: 'none'
|
|
|
|
});
|
|
|
|
});
|
|
|
|
// });
|
|
|
|
// #endif
|
|
|
|
// #ifndef MP
|
|
|
|
rechargeWechat(query).then(res => {
|
|
|
|
that.callPay(res);
|
|
|
|
}).catch(err => {
|
|
|
|
uni.showToast({
|
|
|
|
title: err,
|
|
|
|
icon: 'none'
|
|
|
|
});
|
|
|
|
});
|
|
|
|
// #endif
|
|
|
|
},
|
|
|
|
// 调用支付
|
|
|
|
callPay(res) {
|
|
|
|
let that = this, status = res.data.type,
|
|
|
|
orderId = res.data.recharge_id,
|
|
|
|
callback_key = res.data.pay_key,
|
|
|
|
jsConfig = res.data.config,
|
|
|
|
goPages = '/pages/users/user_payment/index';
|
|
|
|
switch (status) {
|
|
|
|
case 'ORDER_EXIST':
|
|
|
|
case 'EXTEND_ORDER':
|
|
|
|
case 'PAY_ERROR':
|
|
|
|
case 'error':
|
|
|
|
uni.hideLoading();
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: res.message
|
|
|
|
}, {
|
|
|
|
tab: 5,
|
|
|
|
url: goPages
|
|
|
|
});
|
|
|
|
break;
|
|
|
|
case 'success':
|
|
|
|
uni.hideLoading();
|
|
|
|
if (that.seckillId)
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: res.message,
|
|
|
|
icon: 'success'
|
|
|
|
}, {
|
|
|
|
tab: 4,
|
|
|
|
url: goPages
|
|
|
|
});
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: res.message,
|
|
|
|
icon: 'success'
|
|
|
|
}, {
|
|
|
|
tab: 5,
|
|
|
|
url: goPages
|
|
|
|
});
|
|
|
|
break;
|
|
|
|
case 'alipay':
|
|
|
|
case "alipayQr":
|
|
|
|
uni.hideLoading();
|
|
|
|
that.$emit('onChangeFun', {
|
|
|
|
action: 'payClose'
|
|
|
|
});
|
|
|
|
uni.navigateTo({
|
|
|
|
url: '/pages/order_pay_back/index?keyCode='+callback_key+'&url='+jsConfig+'&type=10'
|
|
|
|
})
|
|
|
|
return;
|
|
|
|
break;
|
|
|
|
// #ifndef MP
|
|
|
|
case "wechat":
|
|
|
|
case "weixin":
|
|
|
|
case "weixinApp":
|
|
|
|
jsConfig.timeStamp = jsConfig.timestamp;
|
|
|
|
// #ifndef APP-PLUS
|
|
|
|
that.$wechat.pay(jsConfig).then(res => {
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: res.message,
|
|
|
|
icon: 'success'
|
|
|
|
}, {
|
|
|
|
tab: 4,
|
|
|
|
url: goPages
|
|
|
|
});
|
|
|
|
}).catch(res => {
|
|
|
|
if (res.errMsg == 'chooseWXPay:cancel') return that.$util.Tips({
|
|
|
|
title: '取消支付'
|
|
|
|
}, {
|
|
|
|
tab: 5,
|
|
|
|
url: goPages
|
|
|
|
});
|
|
|
|
})
|
|
|
|
// #endif
|
|
|
|
// #ifdef APP-PLUS
|
|
|
|
let mp_pay_name=''
|
|
|
|
if(uni.requestOrderPayment){
|
|
|
|
mp_pay_name='requestOrderPayment'
|
|
|
|
}else{
|
|
|
|
mp_pay_name='requestPayment'
|
|
|
|
}
|
|
|
|
uni[mp_pay_name]({
|
|
|
|
provider: 'wxpay',
|
|
|
|
orderInfo: jsConfig,
|
|
|
|
success: (e) => {
|
|
|
|
let url = '/pages/users/user_payment/index';
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: '支付成功',
|
|
|
|
icon: 'success'
|
|
|
|
}, {
|
|
|
|
tab: 4,
|
|
|
|
url: url
|
|
|
|
});
|
|
|
|
},
|
|
|
|
fail: (e) => {
|
|
|
|
uni.showModal({
|
|
|
|
content: "支付失败",
|
|
|
|
showCancel: false,
|
|
|
|
success: function(res) {
|
|
|
|
let url = '/pages/users/user_payment/index';
|
|
|
|
uni.redirectTo({
|
|
|
|
url: url
|
|
|
|
})
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
complete: () => {
|
|
|
|
uni.hideLoading();
|
|
|
|
},
|
|
|
|
});
|
|
|
|
// #endif
|
|
|
|
break;
|
|
|
|
// #endif
|
|
|
|
// #ifdef MP
|
|
|
|
case "routine":
|
|
|
|
jsConfig.timeStamp = jsConfig.timestamp;
|
|
|
|
let mp_pay_name=''
|
|
|
|
if(uni.requestOrderPayment){
|
|
|
|
mp_pay_name='requestOrderPayment'
|
|
|
|
}else{
|
|
|
|
mp_pay_name='requestPayment'
|
|
|
|
}
|
|
|
|
uni[mp_pay_name]({
|
|
|
|
...jsConfig,
|
|
|
|
success: function(res) {
|
|
|
|
uni.hideLoading();
|
|
|
|
// that.getUserInfo();
|
|
|
|
that.getRecharge();
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: '支付成功',
|
|
|
|
icon: 'success'
|
|
|
|
}, {
|
|
|
|
tab: 5,
|
|
|
|
url: goPages
|
|
|
|
});
|
|
|
|
},
|
|
|
|
fail: function(e) {
|
|
|
|
uni.hideLoading();
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: '取消支付'
|
|
|
|
}, {
|
|
|
|
tab: 5,
|
|
|
|
url: goPages
|
|
|
|
});
|
|
|
|
},
|
|
|
|
})
|
|
|
|
break;
|
|
|
|
// #endif
|
|
|
|
case "balance":
|
|
|
|
uni.hideLoading();
|
|
|
|
//余额不足
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: res.message
|
|
|
|
}, {
|
|
|
|
tab: 5,
|
|
|
|
url: goPages
|
|
|
|
});
|
|
|
|
break;
|
|
|
|
// #ifdef H5
|
|
|
|
case 'h5':
|
|
|
|
let host = window.location.protocol + "//" + window.location.host;
|
|
|
|
let url = `${host}/pages/users/user_payment/index`
|
|
|
|
let eUrl = encodeURIComponent(url)
|
|
|
|
let jsurl = jsConfig.mweb_url || jsConfig.h5_url
|
|
|
|
let locations = `${jsurl}&redirect_url=${eUrl}`
|
|
|
|
setTimeout(() => {
|
|
|
|
location.href = locations;
|
|
|
|
}, 100);
|
|
|
|
break;
|
|
|
|
// #endif
|
|
|
|
// #ifdef APP-PLUS
|
|
|
|
case 'alipayApp':
|
|
|
|
uni.requestPayment({
|
|
|
|
provider: 'alipay',
|
|
|
|
orderInfo: jsConfig,
|
|
|
|
success: (e) => {
|
|
|
|
return that.$util.Tips({
|
|
|
|
title: '支付成功',
|
|
|
|
icon: 'success'
|
|
|
|
}, {
|
|
|
|
tab: 5,
|
|
|
|
url: goPages
|
|
|
|
});
|
|
|
|
},
|
|
|
|
fail: (e) => {
|
|
|
|
uni.showModal({
|
|
|
|
content: "支付失败",
|
|
|
|
showCancel: false,
|
|
|
|
success: function(res) {
|
|
|
|
uni.redirectTo({
|
|
|
|
url: goPages
|
|
|
|
})
|
|
|
|
}
|
|
|
|
})
|
|
|
|
},
|
|
|
|
complete: () => {
|
|
|
|
uni.hideLoading();
|
|
|
|
},
|
|
|
|
});
|
|
|
|
break;
|
|
|
|
// #endif
|
|
|
|
}
|
|
|
|
},
|
|
|
|
onChangeFun: function(e) {
|
|
|
|
let opt = e;
|
|
|
|
let action = opt.action || null;
|
|
|
|
let value = opt.value != undefined ? opt.value : null;
|
|
|
|
action && this[action] && this[action](value);
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
page {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
.header {
|
|
|
|
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAr4AAAEECAYAAADOPjf7AAAAAXNSR0IArs4c6QAAIABJREFUeF7svTuvbcmy55VjPtbar6o6da7TQoCBMO7tNjDxEcLiE2AhISScdsADpx10+2DgtAFGI7WFgQuNbh8QHwBMBDgICSGhFrqnTj32Y6015xwDRWREZkRmRI4x515Vu/auWPfuU2vNOUaOfEb+8j8iI6fU/Pz9//5fvf8Xj9O/slwO/9aSln8jpelfm6b0Fykt+/Za/nvxvoDP5/rl8Dq6DK9ZuTB/PemnNvesPWsZXNB91XwgijTMQ1stKpkt+aVrvKyWz/EXXR9eGYZpGV9enY7zAK/s5uVL2wV2WJW6vIN+1d3fXLtW96P71+rIbbMpWX3OKpNVJ1vv7frmoCxb+ufSjjNoh+YhVtt+TBnae7eWvbMLRtlX63sw5tp83Fruet9UOrU1zrp6MAzulvtKc4mLt+Qdr1EX2jZ3S1tveR4+bjS+vPy791F+B/dB+cz8N3OXNy1tKXt372ofc2z5qBxOHZRnb7B53rzW9wOjzroy1TJY93t1MkIJb862xrSLEWtzg3Fj38aDcSs5xsmENWa3sJRXj+Zj1tpbVPSIhcx8dQWY1pANO4w1VrbMQVaf8NNanlKa/r9lTv/7blr+p8d5/z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nGXAP4W1Sz0j83GnDLWN6s2jpGf1XJownLVJbWJrOywIkDLLy2tyZuX8UzJtiI6vBsC7yI47s9ju9umtJMNZ8hFbB3Svv9IV0ulzQv/C0vIPpJvu3n0zKladqlJS10
|
|
|
|
// background-color: var(--view-theme);
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
background-size: 100% 100%;
|
|
|
|
// width: 100%;
|
|
|
|
height: 260rpx;
|
|
|
|
font-size: 72rpx;
|
|
|
|
color: #fff;
|
|
|
|
padding: 31rpx 0 45rpx 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
text-align: center;
|
|
|
|
margin: 21rpx 24rpx;
|
|
|
|
border-radius: 10px;
|
|
|
|
}
|
|
|
|
.header .currentScore {
|
|
|
|
font-size: 26rpx;
|
|
|
|
color: rgba(255, 255, 255, 0.8);
|
|
|
|
text-align: center;
|
|
|
|
margin-bottom: 11rpx;
|
|
|
|
}
|
|
|
|
.currentScore .wenhao{
|
|
|
|
display: inline-block;
|
|
|
|
width: 32rpx;
|
|
|
|
height: 32rpx;
|
|
|
|
line-height: 32rpx;
|
|
|
|
text-align: center;
|
|
|
|
// font-size: 20rpx;
|
|
|
|
border-radius: 100%;
|
|
|
|
background-color: rgba(255,255,255,.8);
|
|
|
|
color: var(--view-theme);
|
|
|
|
margin-left: 4rpx;
|
|
|
|
}
|
|
|
|
|
|
|
|
.wenhao{
|
|
|
|
margin-top: -10rpx;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header .line {
|
|
|
|
width: 60rpx;
|
|
|
|
height: 3rpx;
|
|
|
|
background-color: #fff;
|
|
|
|
margin: 20rpx auto 0 auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header .nav {
|
|
|
|
font-size: 22rpx;
|
|
|
|
color: rgba(255, 255, 255, 0.8);
|
|
|
|
flex: 1;
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-around;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header .nav .item {
|
|
|
|
// width: 33.33%;
|
|
|
|
text-align: center;
|
|
|
|
font-size:24rpx;
|
|
|
|
color:#fff;
|
|
|
|
}
|
|
|
|
|
|
|
|
.header .nav .item .num {
|
|
|
|
color: #fff;
|
|
|
|
margin-top: 20rpx;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: 60rpx;
|
|
|
|
color: #FFFFFF;
|
|
|
|
}
|
|
|
|
.payment {
|
|
|
|
// position: relative;
|
|
|
|
// // top: -60rpx;
|
|
|
|
// width: 100%;
|
|
|
|
// padding-bottom: 50rpx;
|
|
|
|
// background-color: #fff;
|
|
|
|
// border-radius: 10rpx;
|
|
|
|
// padding-top: 25rpx;
|
|
|
|
// border-top-right-radius: 40rpx;
|
|
|
|
// border-top-left-radius: 40rpx;
|
|
|
|
}
|
|
|
|
.payment .nav {
|
|
|
|
height: 75rpx;
|
|
|
|
line-height: 75rpx;
|
|
|
|
padding: 0 100rpx;
|
|
|
|
}
|
|
|
|
.payment .nav .item {
|
|
|
|
font-size: 30rpx;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
.payment .nav .item.on {
|
|
|
|
font-weight: bold;
|
|
|
|
border-bottom: 4rpx solid var(--view-theme);
|
|
|
|
}
|
|
|
|
.t-color{color:var(--view-theme);}
|
|
|
|
.payment .input {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
border-bottom: 1px dashed #dddddd;
|
|
|
|
margin: 60rpx auto 0 auto;
|
|
|
|
padding-bottom: 20rpx;
|
|
|
|
font-size: 56rpx;
|
|
|
|
color: #333333;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
}
|
|
|
|
.payment .input text {
|
|
|
|
padding-left: 106rpx;
|
|
|
|
}
|
|
|
|
.payment .input input {
|
|
|
|
padding-right: 106rpx;
|
|
|
|
width: 300rpx;
|
|
|
|
height: 94rpx;
|
|
|
|
text-align: center;
|
|
|
|
font-size: 70rpx;
|
|
|
|
}
|
|
|
|
.payment .placeholder {
|
|
|
|
color: #d0d0d0;
|
|
|
|
height: 100%;
|
|
|
|
line-height: 94rpx;
|
|
|
|
}
|
|
|
|
.payment .tip {
|
|
|
|
font-size: 26rpx;
|
|
|
|
color: #888888;
|
|
|
|
padding: 0 30rpx;
|
|
|
|
margin-top: 25rpx;
|
|
|
|
}
|
|
|
|
.payment .but {
|
|
|
|
color: #fff;
|
|
|
|
font-size: 30rpx;
|
|
|
|
width: 700rpx;
|
|
|
|
height: 86rpx;
|
|
|
|
border-radius: 50rpx;
|
|
|
|
margin: 46rpx auto 0 auto;
|
|
|
|
line-height: 86rpx;
|
|
|
|
// background-color: var(--view-theme);
|
|
|
|
background: linear-gradient(-90deg, #89B929, #116636);
|
|
|
|
}
|
|
|
|
.container{
|
|
|
|
position: relative;
|
|
|
|
background-color: var(--view-theme);
|
|
|
|
border-radius: 0 0 40rpx 40rpx;
|
|
|
|
.fixed-head{
|
|
|
|
position: absolute;
|
|
|
|
left: 0;
|
|
|
|
top: 20px;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 10;
|
|
|
|
.icon-xiangzuo {
|
|
|
|
margin-right: 40rpx;
|
|
|
|
margin-left: 20rpx;
|
|
|
|
font-size: 40rpx;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.payment-top {
|
|
|
|
width: 100%;
|
|
|
|
height: 350rpx;
|
|
|
|
position: relative;
|
|
|
|
background-color: var(--view-theme);
|
|
|
|
.name {
|
|
|
|
font-size: 26rpx;
|
|
|
|
color: rgba(255, 255, 255, 0.8);
|
|
|
|
margin-top: -38rpx;
|
|
|
|
margin-bottom: 30rpx;
|
|
|
|
}
|
|
|
|
.pic {
|
|
|
|
font-size: 32rpx;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.pic-font {
|
|
|
|
font-size: 78rpx;
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.picList {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
margin: 30rpx 0;
|
|
|
|
.pic-box {
|
|
|
|
width: 32%;
|
|
|
|
height: auto;
|
|
|
|
border-radius: 10rpx;
|
|
|
|
margin-top: 21rpx;
|
|
|
|
padding: 30rpx 0;
|
|
|
|
margin-right: 12rpx;
|
|
|
|
&:nth-child(3n) {
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.pic-box-color {
|
|
|
|
background-color: #ffffff;
|
|
|
|
color: #333333;
|
|
|
|
}
|
|
|
|
.pic-number {
|
|
|
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
color: #999999;
|
|
|
|
margin-top: 20rpx;
|
|
|
|
}
|
|
|
|
.pic-number-pic {
|
|
|
|
font-size: 36rpx;
|
|
|
|
margin-right: 10rpx;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
.pic-box-color-active {
|
|
|
|
background: linear-gradient(-90deg, #89B929, #116636);
|
|
|
|
.pic-number {
|
|
|
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
color: #ffffff !important;
|
|
|
|
margin-top: 20rpx;
|
|
|
|
}
|
|
|
|
.pic-number-pic {
|
|
|
|
color: #fff !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tips-box {
|
|
|
|
margin: 0 30rpx;
|
|
|
|
background: #fff;
|
|
|
|
padding: 30rpx;
|
|
|
|
border-radius: 10px;
|
|
|
|
.tips {
|
|
|
|
|
|
|
|
margin-bottom: 27rpx;
|
|
|
|
font-family: Alibaba PuHuiTi;
|
|
|
|
font-weight: 400;
|
|
|
|
font-size: 30rpx;
|
|
|
|
color: #333333;
|
|
|
|
}
|
|
|
|
.tips-samll {
|
|
|
|
font-size: 24rpx;
|
|
|
|
color: #333333;
|
|
|
|
margin-bottom: 14rpx;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.tips-title {
|
|
|
|
margin-top: 20rpx;
|
|
|
|
font-size: 24rpx;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
</style>
|