|
|
|
|
@ -83,7 +83,7 @@
|
|
|
|
|
</view>
|
|
|
|
|
</u-col>
|
|
|
|
|
<u-col span="8" v-if="info.start_date">
|
|
|
|
|
<view>{{$u.timeFormat(info.start_date+' 00:00:00', 'yyyy年mm月dd日')}} {{info.start_time}}</view>
|
|
|
|
|
<view>{{$u.timeFormat(new Date(info.start_date.replace(/-/g,'/')), 'yyyy年mm月dd日')}} {{info.start_time}}</view>
|
|
|
|
|
</u-col>
|
|
|
|
|
<u-col span="4">
|
|
|
|
|
<view>
|
|
|
|
|
@ -92,7 +92,7 @@
|
|
|
|
|
</view>
|
|
|
|
|
</u-col>
|
|
|
|
|
<u-col span="8" v-if="info.start_date">
|
|
|
|
|
<view>{{$u.timeFormat(info.end_date+' 00:00:00', 'yyyy年mm月dd日')}} {{info.end_time}}</view>
|
|
|
|
|
<view>{{$u.timeFormat(new Date(info.end_date), 'yyyy年mm月dd日')}} {{info.end_time}}</view>
|
|
|
|
|
</u-col>
|
|
|
|
|
<u-col span="4">
|
|
|
|
|
<view>
|
|
|
|
|
@ -133,7 +133,7 @@
|
|
|
|
|
</view>
|
|
|
|
|
</u-col>
|
|
|
|
|
<u-col span="8" v-if="info.apply_start">
|
|
|
|
|
<view>{{$u.timeFormat(info.apply_start, 'yyyy年mm月dd日 hh:MM:ss')}}</view>
|
|
|
|
|
<view>{{$u.timeFormat(new Date(info.apply_start.replace(/-/g,'/')), 'yyyy年mm月dd日 hh:MM:ss')}}</view>
|
|
|
|
|
</u-col>
|
|
|
|
|
<u-col span="4">
|
|
|
|
|
<view>
|
|
|
|
|
@ -142,7 +142,7 @@
|
|
|
|
|
</view>
|
|
|
|
|
</u-col>
|
|
|
|
|
<u-col span="8" v-if="info.apply_end">
|
|
|
|
|
<view>{{$u.timeFormat(info.apply_end, 'yyyy年mm月dd日 hh:MM:ss')}}</view>
|
|
|
|
|
<view>{{$u.timeFormat(new Date(info.apply_end.replace(/-/g,'/')), 'yyyy年mm月dd日 hh:MM:ss')}}</view>
|
|
|
|
|
</u-col>
|
|
|
|
|
</u-row>
|
|
|
|
|
</view>
|
|
|
|
|
@ -657,7 +657,7 @@
|
|
|
|
|
|
|
|
|
|
let packagesFirst = this.info
|
|
|
|
|
ctx.fillText("" + this.info.active_name, 40, (h + 50) * 0.5 + 20 + 30);
|
|
|
|
|
ctx.fillText("报名时间:" + this.info.apply_start, 40, (h + 50) * 0.5 + 50 + 50);
|
|
|
|
|
ctx.fillText("报名开始:" + this.info.apply_start, 40, (h + 50) * 0.5 + 50 + 50);
|
|
|
|
|
ctx.fillText("报名截止:" + this.info.apply_end, 40, (h + 50) * 0.5 + 60 + 60);
|
|
|
|
|
let user_info = uni.getStorageSync("user_info_yunyubang");
|
|
|
|
|
|
|
|
|
|
@ -864,19 +864,27 @@
|
|
|
|
|
api: "/api/member/active-apply",
|
|
|
|
|
data: this.form,
|
|
|
|
|
utilSuccess: res => {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon:'success',
|
|
|
|
|
title:res.msg,
|
|
|
|
|
duration:2000
|
|
|
|
|
})
|
|
|
|
|
console.log("res",res)
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon:'success',
|
|
|
|
|
title:res.msg,
|
|
|
|
|
duration:3000
|
|
|
|
|
})
|
|
|
|
|
},500)
|
|
|
|
|
|
|
|
|
|
this.showPop = false
|
|
|
|
|
},
|
|
|
|
|
utilFail: err => {
|
|
|
|
|
console.log(err,'err');
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon:'none',
|
|
|
|
|
title:err
|
|
|
|
|
})
|
|
|
|
|
setTimeout(function(){
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon:'none',
|
|
|
|
|
title:err,
|
|
|
|
|
duration:3000
|
|
|
|
|
})
|
|
|
|
|
},500)
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
|