|
|
|
|
@ -2,9 +2,9 @@
|
|
|
|
|
<view>
|
|
|
|
|
<view class="content">
|
|
|
|
|
<view class="box-card">
|
|
|
|
|
<view class="box-card-title">
|
|
|
|
|
预约详情
|
|
|
|
|
</view>
|
|
|
|
|
<!-- <view class="box-card-title">
|
|
|
|
|
参观详情
|
|
|
|
|
</view> -->
|
|
|
|
|
<view class="box-card-content">
|
|
|
|
|
<view class="book-box" style="padding-top: 20rpx;">
|
|
|
|
|
<view class="book-box-card">
|
|
|
|
|
@ -21,7 +21,7 @@
|
|
|
|
|
</u-icon>
|
|
|
|
|
<view v-else>
|
|
|
|
|
<text
|
|
|
|
|
v-if="item.is_open==1">{{item.remain_count==0?"不可预约":"可预约"}}</text>
|
|
|
|
|
v-if="item.is_open==1">{{item.remain_count==0?"不可参观":"可参观"}}</text>
|
|
|
|
|
<text v-else>闭馆</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
@ -71,7 +71,7 @@
|
|
|
|
|
{{(currentTime.start_time||"")+"-"+(currentTime.end_time||"")}}
|
|
|
|
|
</view>
|
|
|
|
|
<view class="book-box-selectInfo-right" @click="openNoticeInfo(0)">
|
|
|
|
|
<text class="book-box-selectInfo-righttxt">预约须知</text>
|
|
|
|
|
<text class="book-box-selectInfo-righttxt">参观须知</text>
|
|
|
|
|
<u-icon name="arrow-right" color="#cf995a" size="20rpx"></u-icon>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
@ -100,9 +100,9 @@
|
|
|
|
|
<view class="box-tips">
|
|
|
|
|
<text class="box-tips-txt" v-if="type=='user'">每单限购{{maxCount}}张,同一身份证当天限购1张</text>
|
|
|
|
|
<text class="box-tips-txt"
|
|
|
|
|
v-if="type=='team'">{{minCount}}人以上可团体预约<!-- ,一个团体最多{{maxCount}}人 --></text>
|
|
|
|
|
v-if="type=='team'">{{minCount}}人以上可团体参观<!-- ,一个团体最多{{maxCount}}人 --></text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="commonuser">
|
|
|
|
|
<!-- <view class="commonuser">
|
|
|
|
|
<view class="box-card-content">
|
|
|
|
|
<view class="book-box" style="padding-top: 20rpx;">
|
|
|
|
|
<view class="book-box-card">
|
|
|
|
|
@ -121,7 +121,6 @@
|
|
|
|
|
</u-icon>
|
|
|
|
|
</view>
|
|
|
|
|
<view>{{item.name}}</view>
|
|
|
|
|
<!-- <view>{{item.datef}}</view> -->
|
|
|
|
|
</view>
|
|
|
|
|
</block>
|
|
|
|
|
</view>
|
|
|
|
|
@ -172,7 +171,7 @@
|
|
|
|
|
<u-icon name="question-circle-fill" color="#cf995a" size="40rpx"></u-icon>
|
|
|
|
|
<text class="book-box-selectInfo-righttxt" style="margin-left: 20rpx;">批量导入说明</text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view> -->
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
@ -288,8 +287,8 @@
|
|
|
|
|
mode="center" width="600rpx" height="150rpx">
|
|
|
|
|
<view class="">
|
|
|
|
|
<view class="successBox">
|
|
|
|
|
<view class="h3">您已经预约成功</view>
|
|
|
|
|
<view class="p">即将跳转到参观预约 {{time}} s</view>
|
|
|
|
|
<view class="h3">您已经填报成功</view>
|
|
|
|
|
<view class="p">即将跳转到参观信息 {{time}} s</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="pinkBtn" @click="goHome">返回首页</view>
|
|
|
|
|
</view>
|
|
|
|
|
@ -335,12 +334,12 @@
|
|
|
|
|
maxheight: "",
|
|
|
|
|
scrollheight: "",
|
|
|
|
|
notice: [{
|
|
|
|
|
title: "预约须知",
|
|
|
|
|
content: "预约须知的内容",
|
|
|
|
|
title: "参观须知",
|
|
|
|
|
content: "参观须知的内容",
|
|
|
|
|
isTemplate:false
|
|
|
|
|
}, {
|
|
|
|
|
title: "批量上传帮助",
|
|
|
|
|
content: "<p>1.批量上传EXCEL的以xlsx结尾</p><p>2.第一行为标题行 姓名 手机号 证件号 行动不便者</p><p>3.文件是从微信聊天记录中选取或者微信文件传输助手</p><img src='@host@/export.png?v=1.1' style='width:100%'/>",
|
|
|
|
|
content: "<p>1.批量上传EXCEL的以xlsx结尾</p><p>2.第一行为标题行 姓名 手机号 行动不便者</p><p>3.文件是从微信聊天记录中选取或者微信文件传输助手</p><img src='@host@/export.png?v=1.1' style='width:100%'/>",
|
|
|
|
|
isTemplate:true
|
|
|
|
|
}],
|
|
|
|
|
specialtype: false,
|
|
|
|
|
@ -467,7 +466,7 @@
|
|
|
|
|
this.type = options.from;
|
|
|
|
|
this.load3Day(this.bcurrentDate.date);
|
|
|
|
|
uni.setNavigationBarTitle({
|
|
|
|
|
title: (options.from == 'user' ? "个人预约" : "团队预约")
|
|
|
|
|
title: (options.from == 'user' ? "个人信息" : "团队信息")
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
//this.maxCount = (type == 'user' ? 5 : 50);
|
|
|
|
|
@ -891,11 +890,11 @@
|
|
|
|
|
that.showCalendar = false;
|
|
|
|
|
that.bcurrentTime = null;
|
|
|
|
|
} else {
|
|
|
|
|
that.util.toast("您选择的日期不可预约")
|
|
|
|
|
that.util.toast("您选择的日期不可参观")
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
that.util.toast("您选择的日期不可预约")
|
|
|
|
|
that.util.toast("您选择的日期不可参观")
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -915,9 +914,9 @@
|
|
|
|
|
if (date == m.date) {
|
|
|
|
|
if (m.is_open == 1) {
|
|
|
|
|
if (m.remain_count == 0) {
|
|
|
|
|
day.bottomInfo = '不可预约'
|
|
|
|
|
day.bottomInfo = '不可参观'
|
|
|
|
|
} else {
|
|
|
|
|
day.bottomInfo = '可预约'
|
|
|
|
|
day.bottomInfo = '可参观'
|
|
|
|
|
}
|
|
|
|
|
} else {
|
|
|
|
|
day.bottomInfo = '闭馆'
|
|
|
|
|
@ -944,7 +943,7 @@
|
|
|
|
|
if (cdate.remain_count === 0) {
|
|
|
|
|
uni.showToast({
|
|
|
|
|
icon: "none",
|
|
|
|
|
title: "该日期已不可预约"
|
|
|
|
|
title: "该日期已不可参观"
|
|
|
|
|
})
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
@ -966,7 +965,7 @@
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
if (mod.remain_count == 0) {
|
|
|
|
|
this.util.toast("该时段已不可预约");
|
|
|
|
|
this.util.toast("该时段已不可参观");
|
|
|
|
|
return false
|
|
|
|
|
}
|
|
|
|
|
for (var m of this.currentDate.rules) {
|
|
|
|
|
|