分享、注册优化更新

This commit is contained in:
GaoHao 2025-01-13 11:28:01 +08:00
parent 4638a4a30d
commit b15ecf1349
2 changed files with 7 additions and 7 deletions

View File

@ -61,7 +61,7 @@
count: 60, count: 60,
relation: "", relation: "",
invitation: '', invitation: '',
registerCode: '', isregisterCode: '',
qdCodeion: '', // qdCodeion: '', //
checked: false, checked: false,
}) })
@ -72,7 +72,7 @@
if (options.invitation ) { data.invitation = options.invitation } if (options.invitation ) { data.invitation = options.invitation }
let res = await commonType(3) let res = await commonType(3)
data.registerCode = res.value data.isregisterCode = res.value
}) })
/** /**
@ -171,7 +171,7 @@
code, code,
checked, checked,
invitation, invitation,
registerCode, isregisterCode,
qdCodeion qdCodeion
} = data; } = data;
if (!mobile) { if (!mobile) {
@ -206,7 +206,7 @@
}) })
return return
} }
if (invitation.length == 0 && registerCode == '是') { if (invitation.length == 0 && isregisterCode == '是') {
uni.showToast({ uni.showToast({
title: '请输入邀请码', title: '请输入邀请码',
icon: 'none', icon: 'none',
@ -308,7 +308,7 @@
position: absolute; position: absolute;
left: 0; left: 0;
right: 0; right: 0;
bottom: 78rpx; bottom: 178rpx;
} }
.cuIcon::before{ .cuIcon::before{

View File

@ -49,11 +49,11 @@
</view> </view>
<view @click="goNav('/pages/me/withdraw/moneyList?moneyType=2&viewType=1')"> <view @click="goNav('/pages/me/withdraw/moneyList?moneyType=2&viewType=1')">
<view class="">金币收益</view> <view class="">金币收益</view>
<!-- <view class="text-red u-m-t-16 "><text class=" u-font-40">{{earning.inviteGoldMoney||0}}</text></view> --> <view class="text-red u-m-t-16 "><text class=" u-font-40">{{data.earning.inviteGoldMoney||0}}</text></view>
</view> </view>
<view @click="goNav('/pages/me/withdraw/moneyList?moneyType=1&viewType=1')"> <view @click="goNav('/pages/me/withdraw/moneyList?moneyType=1&viewType=1')">
<view class="">红包收益</view> <view class="">红包收益</view>
<!-- <view class="text-red u-m-t-16 "><text class=" u-font-40">{{earning.inviteMoney||0}}</text></view> --> <view class="text-red u-m-t-16 "><text class=" u-font-40">{{data.earning.inviteMoney||0}}</text></view>
</view> </view>
</view> </view>
<view class="u-m-t-16 u-p-b-32" style="text-align: center;color: #999;">好友签到成功可额外获得1元现金红包</view> <view class="u-m-t-16 u-p-b-32" style="text-align: center;color: #999;">好友签到成功可额外获得1元现金红包</view>