混淆,改动代码

This commit is contained in:
GYJ
2024-12-21 10:38:04 +08:00
parent a7f6209b08
commit f87a4b285e
34 changed files with 780 additions and 782 deletions

View File

@@ -7,7 +7,7 @@
<view class="" style="position: relative;overflow: hidden;width: 90px;">
<view style="position: absolute;bottom:0;">
<!-- <view class="flex"> -->
<button @tap="getOut" class="cu-btn round">立即提现</button>
<button @tap="getOut" class="cuBtn round">立即提现</button>
<!-- </view> -->
</view>
</view>
@@ -33,7 +33,7 @@
style="width: 80rpx;height:80rpx;border-radius: 50rpx;"></image>
<view class="margin-left-sm">
<view class="userName_view">{{item.userName}}</view>
<view class="text-cut" style="font-size: 24rpx;" v-if="item.userType && item.userType == 2">二级好友
<view class="text-cut" style="font-size: 24rpx;" v-if="item.userType && item.userType === 2">二级好友
</view>
<view class="text-cut" style="font-size: 24rpx;" v-else>一级好友
</view>
@@ -45,7 +45,7 @@
</view>
</view>
<empty v-if="userList.length == 0" />
<empty v-if="userList.length === 0" />
</view>
</view>
</template>
@@ -84,7 +84,7 @@
limit: this.limit
}
this.$u.api.queryInviter(data).then(res => {
if (res.code == 0) {
if (res.code === 0) {
this.inviterRecord = res.data.inviteMoney.money
} else {
uni.showToast({
@@ -102,8 +102,8 @@
userType:1
}
this.$u.api.inviter(data).then(res => {
if (res.code == 0) {
if (this.page == 1) {
if (res.code === 0) {
if (this.page === 1) {
this.userList = res.data.list
} else {
this.userList = [...this.userList, ...res.data.list]
@@ -128,7 +128,7 @@
</script>
<style>
.cu-btn {
.cuBtn {
background: rgba(255, 117, 129, 0.2);
color: #ff7581;
font-weight: bold;