|
|
|
@ -26,7 +26,7 @@
|
|
|
|
default: "0",
|
|
|
|
default: "0",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
let erweima_popup=ref(null)
|
|
|
|
const fenzhen_list = ref(false);
|
|
|
|
const fenzhen_list = ref(false);
|
|
|
|
const check_tip_show = ref(false);
|
|
|
|
const check_tip_show = ref(false);
|
|
|
|
const checkTipShow = (show) => {
|
|
|
|
const checkTipShow = (show) => {
|
|
|
|
@ -45,12 +45,12 @@
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const getFenzhenList = async (loading = true) => {
|
|
|
|
const getFenzhenList = async (loading = true) => {
|
|
|
|
if (!!loading) {
|
|
|
|
if (!!loading) {
|
|
|
|
uni.showLoading();
|
|
|
|
// uni.showLoading();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
const response = await $api("FenzhenList", {
|
|
|
|
const response = await $api("FenzhenList", {
|
|
|
|
id: $props.id,
|
|
|
|
id: $props.id,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
uni.hideLoading();
|
|
|
|
//uni.hideLoading();
|
|
|
|
$response(response, () => {
|
|
|
|
$response(response, () => {
|
|
|
|
fenzhen_list.value = response.data;
|
|
|
|
fenzhen_list.value = response.data;
|
|
|
|
if (!check_tip_show.value) {
|
|
|
|
if (!check_tip_show.value) {
|
|
|
|
@ -63,8 +63,11 @@
|
|
|
|
setTimeout(() => {
|
|
|
|
setTimeout(() => {
|
|
|
|
if (!!window.location.href.includes('/pages/user/fenzhen/fenzhen') &&
|
|
|
|
if (!!window.location.href.includes('/pages/user/fenzhen/fenzhen') &&
|
|
|
|
!window.location.href.includes('192.168.31.84:5173')) {
|
|
|
|
!window.location.href.includes('192.168.31.84:5173')) {
|
|
|
|
|
|
|
|
if(erweimaText.value==''){
|
|
|
|
getFenzhenList(false)
|
|
|
|
getFenzhenList(false)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}, 1000 * 10)
|
|
|
|
}, 1000 * 10)
|
|
|
|
});
|
|
|
|
});
|
|
|
|
};
|
|
|
|
};
|
|
|
|
@ -148,6 +151,15 @@
|
|
|
|
const useTimeShow = (time) => {
|
|
|
|
const useTimeShow = (time) => {
|
|
|
|
return Math.ceil(Number(time))
|
|
|
|
return Math.ceil(Number(time))
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
let erweimaText=ref('');
|
|
|
|
|
|
|
|
const erweima_click=(text)=>{
|
|
|
|
|
|
|
|
erweimaText.value=text
|
|
|
|
|
|
|
|
erweima_popup.value.open()
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
const MaskClickFunc=()=>{
|
|
|
|
|
|
|
|
erweimaText.value=''
|
|
|
|
|
|
|
|
console.log(erweimaText.value)
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
onShow(() => {
|
|
|
|
onShow(() => {
|
|
|
|
if (!!config_ref.value) {
|
|
|
|
if (!!config_ref.value) {
|
|
|
|
@ -158,6 +170,16 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<DraggableButton />
|
|
|
|
<DraggableButton />
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
|
|
|
|
<uni-popup ref="erweima_popup" type="center" :animation="false" @maskClick="MaskClickFunc()">
|
|
|
|
|
|
|
|
<view style="background-color: #fff;padding: 20rpx;border-radius: 10rpx;">
|
|
|
|
|
|
|
|
<view>扫码预约取号</view>
|
|
|
|
|
|
|
|
<w-qrcode :options="{
|
|
|
|
|
|
|
|
level: 4,
|
|
|
|
|
|
|
|
size: 460,
|
|
|
|
|
|
|
|
code: erweimaText,
|
|
|
|
|
|
|
|
}"></w-qrcode>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</uni-popup>
|
|
|
|
<view v-if="!!$store.config">
|
|
|
|
<view v-if="!!$store.config">
|
|
|
|
<view :ref="configRef"></view>
|
|
|
|
<view :ref="configRef"></view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
@ -171,11 +193,11 @@
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view v-if="!!fenzhen_list">
|
|
|
|
<view v-if="!!fenzhen_list">
|
|
|
|
<view class="order_info_wrapper relative">
|
|
|
|
<view class="order_info_wrapper relative">
|
|
|
|
<w-qrcode v-if="fenzhen_list.info.qrcode" class="absolute top-20rpx right-15rpx b-1 b-dashed b-#000 p-8rpx"
|
|
|
|
<w-qrcode v-if="fenzhen_list.info.qrcode" @click="erweima_click(fenzhen_list.info.kahao)" class="absolute top-20rpx right-15rpx b-1 b-dashed b-#000 p-8rpx"
|
|
|
|
:options="{
|
|
|
|
:options="{
|
|
|
|
level: 4,
|
|
|
|
level: 4,
|
|
|
|
size: 130,
|
|
|
|
size: 130,
|
|
|
|
code: fenzhen_list.info.qrcode,
|
|
|
|
code: fenzhen_list.info.kahao,
|
|
|
|
}"></w-qrcode>
|
|
|
|
}"></w-qrcode>
|
|
|
|
<view class="person_name_wrapper">
|
|
|
|
<view class="person_name_wrapper">
|
|
|
|
<view class="person_name_text_wrapper">{{
|
|
|
|
<view class="person_name_text_wrapper">{{
|
|
|
|
@ -544,7 +566,7 @@
|
|
|
|
line-height: 55rpx;
|
|
|
|
line-height: 55rpx;
|
|
|
|
text-align: center;
|
|
|
|
text-align: center;
|
|
|
|
position: relative;
|
|
|
|
position: relative;
|
|
|
|
z-index: 99;
|
|
|
|
z-index: 20;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.time_line_item_time_wrapper {
|
|
|
|
.time_line_item_time_wrapper {
|
|
|
|
|