|
|
|
|
@ -6,7 +6,8 @@
|
|
|
|
|
* date:2024年9月11日 19:24:50
|
|
|
|
|
*/
|
|
|
|
|
import {
|
|
|
|
|
ref
|
|
|
|
|
ref,
|
|
|
|
|
nextTick
|
|
|
|
|
} from "vue";
|
|
|
|
|
import {
|
|
|
|
|
$api,
|
|
|
|
|
@ -25,8 +26,12 @@
|
|
|
|
|
type: String,
|
|
|
|
|
default: "0",
|
|
|
|
|
},
|
|
|
|
|
test: {
|
|
|
|
|
type: String,
|
|
|
|
|
default: "0",
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
let erweima_popup=ref(null)
|
|
|
|
|
let erweima_popup = ref(null)
|
|
|
|
|
const fenzhen_list = ref(false);
|
|
|
|
|
const check_tip_show = ref(false);
|
|
|
|
|
const checkTipShow = (show) => {
|
|
|
|
|
@ -57,16 +62,21 @@
|
|
|
|
|
checkTipShow(response.data.check_tip)
|
|
|
|
|
}
|
|
|
|
|
if (fenzhen_active.value !== -1) {
|
|
|
|
|
fenzhen_info.value = false
|
|
|
|
|
getFenzhenInfo(fenzhen_active.value)
|
|
|
|
|
}
|
|
|
|
|
setTimeout(() => {
|
|
|
|
|
if (!!window.location.href.includes('/pages/user/fenzhen/fenzhen') &&
|
|
|
|
|
!window.location.href.includes('192.168.31.84:5173')) {
|
|
|
|
|
if(erweimaText.value==''){
|
|
|
|
|
if (!!window.location.href.includes('/pages/user/fenzhen/fenzhen')) {
|
|
|
|
|
if (!window.location.href.includes('192.168.31.84:5173')) {
|
|
|
|
|
if (erweimaText.value == '') {
|
|
|
|
|
getFenzhenList(false)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
} else {
|
|
|
|
|
if (Number($props.test) === 1) {
|
|
|
|
|
if (erweimaText.value == '') {
|
|
|
|
|
getFenzhenList(false)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}, 1000 * 10)
|
|
|
|
|
});
|
|
|
|
|
@ -144,20 +154,23 @@
|
|
|
|
|
});
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
$response(response, () => {
|
|
|
|
|
fenzhen_info.value = false
|
|
|
|
|
nextTick(() => {
|
|
|
|
|
fenzhen_info.value = response.data;
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
const useTimeShow = (time) => {
|
|
|
|
|
return Math.ceil(Number(time))
|
|
|
|
|
}
|
|
|
|
|
let erweimaText=ref('');
|
|
|
|
|
const erweima_click=(text)=>{
|
|
|
|
|
erweimaText.value=text
|
|
|
|
|
let erweimaText = ref('');
|
|
|
|
|
const erweima_click = (text) => {
|
|
|
|
|
erweimaText.value = text
|
|
|
|
|
erweima_popup.value.open()
|
|
|
|
|
}
|
|
|
|
|
const MaskClickFunc=()=>{
|
|
|
|
|
erweimaText.value=''
|
|
|
|
|
const MaskClickFunc = () => {
|
|
|
|
|
erweimaText.value = ''
|
|
|
|
|
console.log(erweimaText.value)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -193,8 +206,8 @@
|
|
|
|
|
</view>
|
|
|
|
|
<view v-if="!!fenzhen_list">
|
|
|
|
|
<view class="order_info_wrapper relative">
|
|
|
|
|
<w-qrcode v-if="fenzhen_list.info.kahao" @click="erweima_click(fenzhen_list.info.kahao)" class="absolute top-20rpx right-15rpx b-1 b-dashed b-#000 p-8rpx"
|
|
|
|
|
:options="{
|
|
|
|
|
<w-qrcode v-if="fenzhen_list.info.kahao" @click="erweima_click(fenzhen_list.info.kahao)"
|
|
|
|
|
class="absolute top-20rpx right-15rpx b-1 b-dashed b-#000 p-8rpx" :options="{
|
|
|
|
|
level: 4,
|
|
|
|
|
size: 130,
|
|
|
|
|
code: fenzhen_list.info.kahao,
|
|
|
|
|
|