增加:

抽奖次数不足时不跳转
增加配速播放
This commit is contained in:
2024-12-12 18:20:00 +08:00
parent fbdeaee553
commit 44a9d8669e
6 changed files with 137 additions and 101 deletions

View File

@@ -9,12 +9,15 @@
<view class="u-flex u-row-center">
<u-image src="/me/static/invite/title.png" alt="" width="544rpx" mode="widthFix"></u-image>
</view>
<view class="u-m-t-24 color-fff u-font-28 u-text-left "
<view class="u-flex u-row-right" style="padding-right:70rpx;">
<u-image src="/me/static/invite/rule.png" alt="" width="400rpx" mode="widthFix"></u-image>
</view>
<!-- <view class="u-m-t-24 color-fff u-font-28 u-text-left "
style=" padding-left: 248rpx;text-shadow: 0 0 10px #000;">
<view>好友首次签到成功送1元现金红包</view>
<view>满15人签到额外送9.9元红包</view>
<view>满99人签到额外送100元红包</view>
</view>
</view> -->
</view>
</view>
@@ -71,11 +74,11 @@
<view class="">签到</view>
<view class="text-red u-m-t-16 "><text class=" u-font-40">{{inviteSignCount}}</text></view>
</view>
<view>
<view @click="toGold">
<view class="">金币收益</view>
<view class="text-red u-m-t-16 "><text class=" u-font-40">{{earning.inviteGoldMoney}}</text></view>
</view>
<view>
<view @click="toPack">
<view class="">红包收益</view>
<view class="text-red u-m-t-16 "><text class=" u-font-40">{{earning.inviteMoney}}</text></view>
</view>
@@ -258,6 +261,16 @@
// #endif
},
methods: {
toGold(){
uni.navigateTo({
url:'/me/invite/moneyList?moneyType=2'
})
},
toPack(){
uni.navigateTo({
url:'/me/invite/moneyList?moneyType=1'
})
},
//获取用户分销比例
getUserInfoBl() {
this.$Request.getT('/app/user/selectUserById').then(res => {
@@ -793,7 +806,7 @@
.invite-box {
position: relative;
margin-top: -280rpx;
margin-top: -240rpx;
background-color: #fff;
border-radius: 16rpx 16rpx 16rpx 16rpx;
margin-left: 28rpx;