|
|
@@ -72,7 +72,7 @@
|
|
|
<view class="btn-info-time">{{ currentPath == '靖安-南昌' ? mxh_end : hjh_end }}</view>
|
|
|
</view>
|
|
|
|
|
|
- <view class="btn-button" @click="handleSub">{{ status ? '立即预约' : '候补预约' }}</view>
|
|
|
+ <view class="btn-button" @click="handleSubDebounce">{{ status ? '立即预约' : '候补预约' }}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
@@ -80,7 +80,7 @@
|
|
|
<view class="box-info">
|
|
|
<view class="info-title">温馨提示</view>
|
|
|
<view class="info-detail">
|
|
|
- 预约截止时间为发车前{{ yy_end }}分钟,如当月爽约{{ black_count }}次,账号会被锁定,锁定后联系车队长解锁。车队长联系方式:
|
|
|
+ 预约截止时间为发车前{{ yy_end }}分钟,车队长联系方式:
|
|
|
<span @click="handlePhone(13576937506)">13576937506</span>
|
|
|
,技术支持联系方式:
|
|
|
<span @click="handlePhone(`0791 - 82293574`)">0791-82293574</span>
|
|
|
@@ -92,14 +92,11 @@
|
|
|
|
|
|
<script setup>
|
|
|
import { ref, computed, watch } from 'vue'
|
|
|
-
|
|
|
import { onLoad, onPullDownRefresh, onShow } from '@dcloudio/uni-app'
|
|
|
-
|
|
|
import { myRequest } from '@/util/api.js'
|
|
|
-
|
|
|
import { isWeixin } from '@/util/isWeixin.js'
|
|
|
-
|
|
|
import { filterIdentity } from '@/util/filterIdentity.js'
|
|
|
+import debounce from 'lodash/debounce'
|
|
|
|
|
|
onLoad(() => {
|
|
|
if (isWeixin()) {
|
|
|
@@ -237,6 +234,11 @@ const getOrderConfig = async () => {
|
|
|
}
|
|
|
|
|
|
// 立即预约按钮回调
|
|
|
+const handleSubDebounce = debounce(() => {
|
|
|
+ handleSub()
|
|
|
+}, 200)
|
|
|
+
|
|
|
+// 立即预约按钮回调
|
|
|
const handleSub = () => {
|
|
|
if (status.value) {
|
|
|
if (!currentPath.value) {
|