修改跳转路径
This commit is contained in:
@@ -90,9 +90,11 @@
|
|||||||
left: 0;
|
left: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
// 内容
|
||||||
.codeCont {
|
.codeContent {
|
||||||
position: absolute;
|
// position: absolute;
|
||||||
|
// left: 0;
|
||||||
|
// top: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
bottom: 100rpx;
|
bottom: 100rpx;
|
||||||
left: 0;
|
left: 0;
|
||||||
|
|||||||
@@ -128,7 +128,7 @@
|
|||||||
<view class="userAssets">
|
<view class="userAssets">
|
||||||
<view class="userAssets-top">
|
<view class="userAssets-top">
|
||||||
<view class="withdraw-name">
|
<view class="withdraw-name">
|
||||||
当前能量球价值<view class="withdraw-number">¥0.00</view>
|
当前能量球价值<view class="withdraw-number">¥{{userData.account.stone_value || 0}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="withdraw-btn" @click="$Router.push({name: 'Extract'})">
|
<view class="withdraw-btn" @click="$Router.push({name: 'Extract'})">
|
||||||
去提现
|
去提现
|
||||||
@@ -141,7 +141,7 @@
|
|||||||
<view class="assets-list" v-if="userData.account">
|
<view class="assets-list" v-if="userData.account">
|
||||||
<view class="assets-label" @click="$Router.push({name:'walletProperty'})">
|
<view class="assets-label" @click="$Router.push({name:'walletProperty'})">
|
||||||
<view class="assets-label-name">能量球钱包<image @click.stop="showHelp('wallet')" class="assets-label-icon" src="/static/user/userAssets_tips.png"></image></view>
|
<view class="assets-label-name">能量球钱包<image @click.stop="showHelp('wallet')" class="assets-label-icon" src="/static/user/userAssets_tips.png"></image></view>
|
||||||
<view class="assets-label-number">{{userData.account.coins || 0}}</view>
|
<view class="assets-label-number">{{userData.account.stone || 0}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="assets-label" @click="$Router.push({name:'Fragment'})">
|
<view class="assets-label" @click="$Router.push({name:'Fragment'})">
|
||||||
<view class="assets-label-name">能量碎片<image @click.stop="showHelp('chip')" class="assets-label-icon" src="/static/user/userAssets_tips.png"></image></view>
|
<view class="assets-label-name">能量碎片<image @click.stop="showHelp('chip')" class="assets-label-icon" src="/static/user/userAssets_tips.png"></image></view>
|
||||||
@@ -294,6 +294,13 @@
|
|||||||
userInfo() {
|
userInfo() {
|
||||||
// 读取配置信息
|
// 读取配置信息
|
||||||
userIndex().then(res=>{
|
userIndex().then(res=>{
|
||||||
|
res.account = {
|
||||||
|
stone: res.stone,
|
||||||
|
stone_value: res.stone_value,
|
||||||
|
...res.account
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
this.userData = res
|
this.userData = res
|
||||||
this.helpDoc = res.help_doc
|
this.helpDoc = res.help_doc
|
||||||
this.userIdentity = res.identityShow
|
this.userIdentity = res.identityShow
|
||||||
|
|||||||
@@ -24,8 +24,9 @@
|
|||||||
<view class="withdrawing-content">
|
<view class="withdrawing-content">
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view style="flex: 1;">
|
<view style="flex: 1;">
|
||||||
|
<view class="inputTxt">提现数量</view>
|
||||||
<input class="input_num" v-model="withdraw_input" @input='inputNum' type="number"
|
<input class="input_num" v-model="withdraw_input" @input='inputNum' type="number"
|
||||||
placeholder-style="color:#999;font-weight:normal; font-size:34rpx;" placeholder="提现数量" />
|
placeholder-style="color:#999;font-weight:normal; font-size:34rpx;" placeholder="请输入提现数量" />
|
||||||
</view>
|
</view>
|
||||||
<view class="all" @click="all">全部提现</view>
|
<view class="all" @click="all">全部提现</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -71,6 +72,7 @@
|
|||||||
this.tax = res.tax
|
this.tax = res.tax
|
||||||
this.cost = res.cost
|
this.cost = res.cost
|
||||||
this.bank_accounts = res.bank_accounts.length
|
this.bank_accounts = res.bank_accounts.length
|
||||||
|
this.withdraw_input = Number(res.balance)
|
||||||
uni.setStorageSync('refresh', false)
|
uni.setStorageSync('refresh', false)
|
||||||
}).catch(err => {
|
}).catch(err => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
@@ -313,15 +315,18 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: $padding 0;
|
padding: 20rpx 0;
|
||||||
|
|
||||||
span:nth-child(1) {
|
span:nth-child(1) {
|
||||||
color: #666;
|
color: #666;
|
||||||
margin-right: 20rpx;
|
margin-right: 20rpx;
|
||||||
}
|
}
|
||||||
|
.inputTxt{
|
||||||
|
color: #999;
|
||||||
|
padding-bottom: 20rpx;
|
||||||
|
}
|
||||||
.input_num {
|
.input_num {
|
||||||
font-size: $title-size*1.5;
|
font-size: 60rpx;
|
||||||
color: #3a3a3a;
|
color: #3a3a3a;
|
||||||
font-weight: bolder;
|
font-weight: bolder;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user