邀请页面更新,抽奖优化,提现列表文字优化
This commit is contained in:
@@ -440,16 +440,18 @@
|
|||||||
this.result=''
|
this.result=''
|
||||||
console.warn('###当前处于模拟的请求接口,并返回了中奖信息###')
|
console.warn('###当前处于模拟的请求接口,并返回了中奖信息###')
|
||||||
const res = await this.$Request.getT('app/discSpinning/draw',{source:this.source})
|
const res = await this.$Request.getT('app/discSpinning/draw',{source:this.source})
|
||||||
this.freeNum--
|
|
||||||
// this.getCount()
|
// this.getCount()
|
||||||
console.log(res);
|
console.log(res);
|
||||||
if (res.code != 0) {
|
if (res.code != 0) {
|
||||||
|
this.prizeing = false
|
||||||
return uni.showToast({
|
return uni.showToast({
|
||||||
title: res.msg
|
title: res.msg||'请求抽奖失败',
|
||||||
|
icon:'none'
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
this.freeNum--
|
||||||
this.result=res.data
|
this.result=res.data
|
||||||
|
|
||||||
let list = [...this.prizeList]
|
let list = [...this.prizeList]
|
||||||
// 这里随机产生的 prizeId 是模拟后端返回的 prizeId
|
// 这里随机产生的 prizeId 是模拟后端返回的 prizeId
|
||||||
const arr=list.filter(v=>v.type==res.data.type&&res.data.name==v.name)
|
const arr=list.filter(v=>v.type==res.data.type&&res.data.name==v.name)
|
||||||
|
|||||||
@@ -827,6 +827,7 @@
|
|||||||
// APP支付宝支付
|
// APP支付宝支付
|
||||||
console.log('nvue payType=' + paytype);
|
console.log('nvue payType=' + paytype);
|
||||||
httpsRequest.getT("/app/wuyou/payOrder/" + this.ordersId + '?payType=' + paytype, {}).then(ret => {
|
httpsRequest.getT("/app/wuyou/payOrder/" + this.ordersId + '?payType=' + paytype, {}).then(ret => {
|
||||||
|
console.log(ret);
|
||||||
// plus.runtime.openURL(ret.data.h5Url)
|
// plus.runtime.openURL(ret.data.h5Url)
|
||||||
if (ret.code == 0) {
|
if (ret.code == 0) {
|
||||||
uni.hideLoading()
|
uni.hideLoading()
|
||||||
|
|||||||
@@ -83,7 +83,7 @@
|
|||||||
<view style="margin-bottom: 8upx"> 收款人账号:{{ item.zhifubao }}</view>
|
<view style="margin-bottom: 8upx"> 收款人账号:{{ item.zhifubao }}</view>
|
||||||
<view style="margin-bottom: 8upx"> 收款人姓名:{{ item.zhifubaoName }}</view>
|
<view style="margin-bottom: 8upx"> 收款人姓名:{{ item.zhifubaoName }}</view>
|
||||||
<view style="margin-bottom: 8upx"> 发起时间:{{ item.createAt }}</view>
|
<view style="margin-bottom: 8upx"> 发起时间:{{ item.createAt }}</view>
|
||||||
<view style="margin-bottom: 8upx" v-if="item.state===1">成功时间 {{ item.outAt }}</view>
|
<view style="margin-bottom: 8upx" v-if="item.state===1">成功时间:{{ item.outAt }}</view>
|
||||||
<view style="margin-bottom: 8upx;color: #FD6416" v-if="item.state===-1||item.state===2">
|
<view style="margin-bottom: 8upx;color: #FD6416" v-if="item.state===-1||item.state===2">
|
||||||
失败原因:{{ item.refund }}
|
失败原因:{{ item.refund }}
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -9,15 +9,14 @@
|
|||||||
<view class="u-flex u-row-center">
|
<view class="u-flex u-row-center">
|
||||||
<u-image src="/me/static/invite/title.png" alt="" width="544rpx" mode="widthFix"></u-image>
|
<u-image src="/me/static/invite/title.png" alt="" width="544rpx" mode="widthFix"></u-image>
|
||||||
</view>
|
</view>
|
||||||
<view class="u-flex u-row-right" style="padding-right:70rpx;">
|
<!-- <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>
|
<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 class="u-m-t-24 color-fff u-font-28 u-text-left text-shadow "
|
||||||
|
style=" padding-left: 248rpx;">
|
||||||
|
<view>新人首次签到成功送1元现金红包</view>
|
||||||
|
<view>满15个新人完成签到额外送9.9红包</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
@@ -103,7 +102,11 @@
|
|||||||
:key='index'>
|
:key='index'>
|
||||||
<view class="flex">
|
<view class="flex">
|
||||||
<!-- <u-image :src="item.avatar == null?avatar:item.avatar" width="40px" mode="widthFix"></u-image> -->
|
<!-- <u-image :src="item.avatar == null?avatar:item.avatar" width="40px" mode="widthFix"></u-image> -->
|
||||||
<image src="../static/invite/5.png" style="width: 80rpx;" mode="widthFix"></image>
|
<view class="u-flex u-relative">
|
||||||
|
<image src="../static/invite/5.png" style="width: 80rpx;" mode="widthFix"></image>
|
||||||
|
<view class="tag-news" v-if="item.userTag==1">新人</view>
|
||||||
|
<text class="tag-no-real" v-if="item.userTag==0">未认证</text>
|
||||||
|
</view>
|
||||||
<text class="margin-left-sm">{{item.userName}}</text>
|
<text class="margin-left-sm">{{item.userName}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view style="width: 160rpx;" class="u-flex u-row-right font-bold">
|
<view style="width: 160rpx;" class="u-flex u-row-right font-bold">
|
||||||
@@ -798,7 +801,32 @@
|
|||||||
.text-red {
|
.text-red {
|
||||||
color: $color1;
|
color: $color1;
|
||||||
}
|
}
|
||||||
|
.tag-news{
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
color: $color1;
|
||||||
|
background: #DDDCFF;
|
||||||
|
border-radius: 100rpx;
|
||||||
|
font-size: 20rpx;
|
||||||
|
line-height: 1;
|
||||||
|
padding: 4rpx;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.tag-no-real{
|
||||||
|
position: absolute;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
top: 0;
|
||||||
|
border-radius: 50%;
|
||||||
|
font-size: 20rpx;
|
||||||
|
text-align: center;
|
||||||
|
font-weight: bold;
|
||||||
|
color:#fff;
|
||||||
|
background: rgba(51,51,51,0.44);
|
||||||
|
}
|
||||||
.gap {
|
.gap {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 0;
|
height: 0;
|
||||||
@@ -931,7 +959,9 @@
|
|||||||
/* background-size: 100%; */
|
/* background-size: 100%; */
|
||||||
/* background-repeat: no-repeat; */
|
/* background-repeat: no-repeat; */
|
||||||
}
|
}
|
||||||
|
.text-shadow{
|
||||||
|
text-shadow: 4px 4px 4px #333;
|
||||||
|
}
|
||||||
.top-title {
|
.top-title {
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user