刘翔宇-旅管家 3 years ago
parent 6716c99a11
commit 3071ce8853

@ -350,18 +350,20 @@
this.form.type = (options.type == 'user' ? 2 : 1);
this.form.activity_id = parseInt(options.activity_id);
this.form.activity_number_id = parseInt(options.activity_number_id);
},
onShow(){
var that = this;
that.numberlist={};
wx.getStorage({
key: 'activityinfo',
success(res) {
that.list = res.data;
console.log(that.list)
for (var m of that.list.numbers) {
if (that.form.activity_number_id == m.id) {
that.numberlist = m
}
}
console.log(that.numberlist)
if (that.form.type == 2) {
that.form.total = 1
} else if (that.form.type == 1) {

@ -142,6 +142,12 @@
onLoad(options) {
var that = this;
that.id = options.id;
},
onShow(){
var that = this;
that.numbers=[];
wx.getLocation({
success(res) {
console.log(res)
@ -150,7 +156,6 @@
that.loadActiveInfo()
}
})
},
onShareAppMessage() {
return {

@ -1,6 +1,6 @@
import md5 from "./md5.min";
const HOSTARR = {
'development':'https://leyitest.ali251.langye.net',
'development':'https://leyitest.ali251.langye.net',//'https://leyiyuyue.szgmbwg.org.cn',//
'production': 'https://leyiyuyue.szgmbwg.org.cn'
}; // 审核状态

Loading…
Cancel
Save