|
|
|
|
@ -79,7 +79,8 @@
|
|
|
|
|
开始时间:
|
|
|
|
|
</view>
|
|
|
|
|
<view class="viewlast" v-if="info.start_date">
|
|
|
|
|
<view>{{$u.timeFormat(new Date(info.start_date.replace(/-/g,'/')), 'yyyy年mm月dd日')}} {{info.start_time}}</view>
|
|
|
|
|
<view>{{$u.timeFormat(new Date(info.start_date.replace(/-/g,'/')), 'yyyy年mm月dd日')}}
|
|
|
|
|
{{info.start_time}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class='viewchild'>
|
|
|
|
|
@ -128,7 +129,9 @@
|
|
|
|
|
开始时间:
|
|
|
|
|
</view>
|
|
|
|
|
<view class="viewlast" v-if="info.apply_start">
|
|
|
|
|
<view>{{$u.timeFormat(new Date(info.apply_start.replace(/-/g,'/')), 'yyyy年mm月dd日 hh:MM:ss')}}</view>
|
|
|
|
|
<view>
|
|
|
|
|
{{$u.timeFormat(new Date(info.apply_start.replace(/-/g,'/')), 'yyyy年mm月dd日 hh:MM:ss')}}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class='viewchild'>
|
|
|
|
|
@ -137,7 +140,8 @@
|
|
|
|
|
截止时间:
|
|
|
|
|
</view>
|
|
|
|
|
<view class="viewlast" v-if="info.apply_end">
|
|
|
|
|
<view>{{$u.timeFormat(new Date(info.apply_end.replace(/-/g,'/')), 'yyyy年mm月dd日 hh:MM:ss')}}</view>
|
|
|
|
|
<view>{{$u.timeFormat(new Date(info.apply_end.replace(/-/g,'/')), 'yyyy年mm月dd日 hh:MM:ss')}}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</block>
|
|
|
|
|
@ -228,7 +232,7 @@
|
|
|
|
|
<view class="detail">
|
|
|
|
|
<view class="tit" v-if="false">商品详情</view>
|
|
|
|
|
<view class="txts">
|
|
|
|
|
<u-parse :html="info.content"></u-parse>
|
|
|
|
|
<u-parse class='parseHtml' :html="info.content"></u-parse>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
@ -244,7 +248,8 @@
|
|
|
|
|
开始时间:
|
|
|
|
|
</view>
|
|
|
|
|
<view class="viewlast" v-if="info.start_date">
|
|
|
|
|
<view>{{$u.timeFormat(new Date(info.start_date.replace(/-/g,'/')), 'yyyy年mm月dd日')}} {{info.start_time}}</view>
|
|
|
|
|
<view>{{$u.timeFormat(new Date(info.start_date.replace(/-/g,'/')), 'yyyy年mm月dd日')}}
|
|
|
|
|
{{info.start_time}}</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class='viewchild'>
|
|
|
|
|
@ -293,7 +298,9 @@
|
|
|
|
|
开始时间:
|
|
|
|
|
</view>
|
|
|
|
|
<view class="viewlast" v-if="info.apply_start">
|
|
|
|
|
<view>{{$u.timeFormat(new Date(info.apply_start.replace(/-/g,'/')), 'yyyy年mm月dd日 hh:MM:ss')}}</view>
|
|
|
|
|
<view>
|
|
|
|
|
{{$u.timeFormat(new Date(info.apply_start.replace(/-/g,'/')), 'yyyy年mm月dd日 hh:MM:ss')}}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class='viewchild'>
|
|
|
|
|
@ -302,7 +309,8 @@
|
|
|
|
|
截止时间:
|
|
|
|
|
</view>
|
|
|
|
|
<view class="viewlast" v-if="info.apply_end">
|
|
|
|
|
<view>{{$u.timeFormat(new Date(info.apply_end.replace(/-/g,'/')), 'yyyy年mm月dd日 hh:MM:ss')}}</view>
|
|
|
|
|
<view>{{$u.timeFormat(new Date(info.apply_end.replace(/-/g,'/')), 'yyyy年mm月dd日 hh:MM:ss')}}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</block>
|
|
|
|
|
@ -413,7 +421,8 @@
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="subInfo">{{item.start_date}} ~ {{item.end_date}}</view>
|
|
|
|
|
<view class="menu"><text class="hui">热</text>{{item.great_services?item.great_services:""}}</view>
|
|
|
|
|
<view class="menu"><text class="hui">热</text>{{item.great_services?item.great_services:""}}
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</block>
|
|
|
|
|
@ -457,8 +466,7 @@
|
|
|
|
|
<view class="formCol">
|
|
|
|
|
<view>性别<text style="color:red">*</text></view>
|
|
|
|
|
<view class="formRight">
|
|
|
|
|
<radio-group @change="changeSex"
|
|
|
|
|
style="display: flex;align-items: center;">
|
|
|
|
|
<radio-group @change="changeSex" style="display: flex;align-items: center;">
|
|
|
|
|
<label v-for="(item, index) in ['男','女']" :key="index"
|
|
|
|
|
style="display: flex;align-items: center;margin-right: 30rpx;">
|
|
|
|
|
<view>
|
|
|
|
|
@ -600,7 +608,8 @@
|
|
|
|
|
spread_member_id: ''
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
arrHospital: ["请选择建卡医院", "市立医院", "苏大附一院", "苏大附二院","附二浒关院区", "中医院", "第五人民医院", "苏州市第七人民医院", "明基医院", "九龙医院", "娄葑医院",
|
|
|
|
|
arrHospital: ["请选择建卡医院", "市立医院", "苏大附一院", "苏大附二院", "附二浒关院区", "中医院", "第五人民医院", "苏州市第七人民医院", "明基医院", "九龙医院",
|
|
|
|
|
"娄葑医院",
|
|
|
|
|
"吴中人民医院", "甪直人民医院", "相城人民医院", "相城区第二人民医院", "吴江第一人民医院", "吴江第二人民医院", "盛泽医院", "其他"
|
|
|
|
|
],
|
|
|
|
|
arrRegion: ["请选择区域", "吴中区", "吴江区", "姑苏区", "工业园区", "高新区", "相城区", "昆山", "常熟", "张家港", "太仓"],
|
|
|
|
|
@ -691,7 +700,9 @@
|
|
|
|
|
methods: {
|
|
|
|
|
// 跳转微信客服
|
|
|
|
|
jumpToWeChatCustomerService() {
|
|
|
|
|
this.openWeChatCustomerService("https://work.weixin.qq.com/kfid/kfccc6609d51a87324d?enc_scene=ENC5n1b6XBY2paqReUMjwNmTGay8jwTZQuyn17jL8n5xK9T7ZwfJx36T5EHqVbFWTzP8s", "wwe480a61872b54394");
|
|
|
|
|
this.openWeChatCustomerService(
|
|
|
|
|
"https://work.weixin.qq.com/kfid/kfccc6609d51a87324d?enc_scene=ENC5n1b6XBY2paqReUMjwNmTGay8jwTZQuyn17jL8n5xK9T7ZwfJx36T5EHqVbFWTzP8s",
|
|
|
|
|
"wwe480a61872b54394");
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
changeSex(e) {
|
|
|
|
|
@ -932,19 +943,29 @@
|
|
|
|
|
// 绘制文字(参数:要写的字,x坐标,y坐标)
|
|
|
|
|
|
|
|
|
|
let packagesFirst = this.info
|
|
|
|
|
let active_time = this.info.template=='新'?'上课时间:':'活动时间:'
|
|
|
|
|
let active_add = this.info.template=='新'?'上课地点:':'活动地点:'
|
|
|
|
|
let active_name = this.info.active_name.length>17?this.info.active_name.substring(0,17):this.info.active_name
|
|
|
|
|
let active_name1 = this.info.active_name.length>17?this.info.active_name.substring(17,this.info.active_name.length):''
|
|
|
|
|
let active_time = this.info.template == '新' ? '上课时间:' :
|
|
|
|
|
'活动时间:'
|
|
|
|
|
let active_add = this.info.template == '新' ? '上课地点:' :
|
|
|
|
|
'活动地点:'
|
|
|
|
|
let active_name = this.info.active_name.length > 17 ? this
|
|
|
|
|
.info.active_name.substring(0, 17) : this.info
|
|
|
|
|
.active_name
|
|
|
|
|
let active_name1 = this.info.active_name.length > 17 ? this
|
|
|
|
|
.info.active_name.substring(17, this.info.active_name
|
|
|
|
|
.length) : ''
|
|
|
|
|
|
|
|
|
|
ctx.fillText("" + active_name, 40, (h + 50) * 0.5 + 20);
|
|
|
|
|
ctx.fillText("" + active_name1, 40, (h + 50) * 0.5 + 40);
|
|
|
|
|
ctx.fillText(active_time + this.info.start_date+' '+this.info.start_time, 40, (h + 50) * 0.5 + 50 + 20);
|
|
|
|
|
ctx.fillText(active_time + this.info.start_date + ' ' +
|
|
|
|
|
this.info.start_time, 40, (h + 50) * 0.5 + 50 + 20);
|
|
|
|
|
// ctx.fillText("结束时间:" + this.info.end_date, 40, (h + 50) * 0.5 + 50 + 40);
|
|
|
|
|
let address = this.info.address.length>14?this.info.address.substring(0,14):this.info.address
|
|
|
|
|
let address1 = this.info.address.length>14?this.info.address.substring(14,this.info.address.length):''
|
|
|
|
|
let address = this.info.address.length > 14 ? this.info
|
|
|
|
|
.address.substring(0, 14) : this.info.address
|
|
|
|
|
let address1 = this.info.address.length > 14 ? this.info
|
|
|
|
|
.address.substring(14, this.info.address.length) : ''
|
|
|
|
|
|
|
|
|
|
ctx.fillText(active_add + address, 40, (h + 50) * 0.5 + 50 + 40);
|
|
|
|
|
ctx.fillText(active_add + address, 40, (h + 50) * 0.5 +
|
|
|
|
|
50 + 40);
|
|
|
|
|
ctx.fillText(address1, 40, (h + 50) * 0.5 + 50 + 60);
|
|
|
|
|
// ctx.fillText(active_add + this.info.apply_end, 40, (h + 50) * 0.5 + 60 + 60);
|
|
|
|
|
|
|
|
|
|
@ -1101,9 +1122,9 @@
|
|
|
|
|
//this.getUserProfile();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (weixin.isNull(this.form.name) || weixin.isNull(this.form.budget_date)
|
|
|
|
|
|| weixin.isNull(this.form.phone) || weixin.isNull(this.form.sex)
|
|
|
|
|
|| weixin.isNull(this.form.area) || weixin.isNull(this.form.hospital)) {
|
|
|
|
|
if (weixin.isNull(this.form.name) || weixin.isNull(this.form.budget_date) ||
|
|
|
|
|
weixin.isNull(this.form.phone) || weixin.isNull(this.form.sex) ||
|
|
|
|
|
weixin.isNull(this.form.area) || weixin.isNull(this.form.hospital)) {
|
|
|
|
|
this.showPop = true;
|
|
|
|
|
if (weixin.isNull(this.form.name) || this.form.name == '微信用户') {
|
|
|
|
|
this.alert('请输入真实会员姓名')
|
|
|
|
|
@ -1214,7 +1235,8 @@
|
|
|
|
|
if (that.compareDate(apply_start, nowtime)) {
|
|
|
|
|
that.isOrder = false
|
|
|
|
|
that.isOrderText = "报名未开始"
|
|
|
|
|
}else if(that.compareDate(nowtime,apply_end)||that.compareDate(nowtime,enddate)){
|
|
|
|
|
} else if (that.compareDate(nowtime, apply_end) || that.compareDate(nowtime,
|
|
|
|
|
enddate)) {
|
|
|
|
|
that.isOrder = false
|
|
|
|
|
that.isOrderText = "报名截止"
|
|
|
|
|
} else {
|
|
|
|
|
@ -1279,14 +1301,24 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|
<style scoped>
|
|
|
|
|
/deep/ .parseHtml video {
|
|
|
|
|
width: 80% !important;
|
|
|
|
|
min-height: 150px !important;
|
|
|
|
|
margin: 20px auto;
|
|
|
|
|
height:auto!important
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
button::after {
|
|
|
|
|
border: none
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.noscroll {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
position: fixed;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.userBoxBottomPass {
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
text-align: center;
|
|
|
|
|
@ -1401,6 +1433,7 @@
|
|
|
|
|
line-height: 72rpx;
|
|
|
|
|
color: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.noBtn {
|
|
|
|
|
background: linear-gradient(90deg, #ddd 0%, #ddd 100%);
|
|
|
|
|
}
|
|
|
|
|
@ -1867,17 +1900,21 @@
|
|
|
|
|
border-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.activeinfo {
|
|
|
|
|
margin-top: 10rpx;
|
|
|
|
|
padding: 30rpx 30rpx 30rpx 30rpx;
|
|
|
|
|
background: #fff;
|
|
|
|
|
width: 100%;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
|
|
.viewchild {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
|
|
|
|
.viewfirst {
|
|
|
|
|
width: 30%;
|
|
|
|
|
|
|
|
|
|
image {
|
|
|
|
|
width: 26rpx;
|
|
|
|
|
height: 26rpx;
|
|
|
|
|
@ -1885,10 +1922,12 @@
|
|
|
|
|
margin-right: 12rpx;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.viewlast {
|
|
|
|
|
width: 70%
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
u-col {
|
|
|
|
|
image {
|
|
|
|
|
width: 26rpx;
|
|
|
|
|
@ -1898,6 +1937,7 @@
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.details {
|
|
|
|
|
margin-top: 10rpx;
|
|
|
|
|
padding: 0 30rpx 30rpx 30rpx;
|
|
|
|
|
|