任务修改,会员权益修改

This commit is contained in:
GaoHao
2024-12-25 17:10:05 +08:00
parent 3960ff7586
commit 28bab311d3
12 changed files with 255 additions and 69 deletions

View File

@@ -477,12 +477,16 @@
if (name.type ==1) {
tipContent = '很遗憾,没有中奖,请再接再厉!'
uni.showToast({
title: tipContent,
icon: "none"
})
} else {
tipContent = `恭喜您,获得 ${name}${this.result.type==2?(this.result.number+'元'):''} `
this.showLingPop({...this.result})
}
const _this=this;
console.log(this.result);
this.showLingPop({...this.result})
this.result=''
this.prizeing = false
return

View File

@@ -34,7 +34,8 @@
data() {
return {
query: {
discSpinningRecordId: null,
foreignId: null,
foreignType: 'spinning',
phone: "",
address: "",
remark: "",
@@ -44,9 +45,11 @@
onLoad(options) {
console.log(options)
if ( options.id ) {
this.query.discSpinningRecordId = options.id
this.query.foreignId = options.id
}
if ( options.foreignType ) {
this.query.foreignType = options.foreignType
}
},
methods: {

View File

@@ -184,7 +184,6 @@ export default {
getMoneyDetail() {
let that = this;
let token = uni.getStorageSync('token')
console.log(1);
if (token) {
//可以提现金额查询预估收入查询
let data = {

View File

@@ -41,11 +41,10 @@
}
},
onLoad: function(e) {
console.log(e)
if (e.moneyType) {
this.moneyType = e.moneyType
uni.setNavigationBarTitle({
title: e.moneyType === 1 ? '红包明细' : '金币明细'
title: e.moneyType == 1 ? '红包明细' : '金币明细'
});
}
if (e.viewType) {