|
|
|
|
@ -6,7 +6,8 @@
|
|
|
|
|
* date:2024年9月11日 19:24:50
|
|
|
|
|
*/
|
|
|
|
|
import {
|
|
|
|
|
ref
|
|
|
|
|
ref,
|
|
|
|
|
nextTick
|
|
|
|
|
} from "vue";
|
|
|
|
|
import {
|
|
|
|
|
$api,
|
|
|
|
|
@ -25,6 +26,10 @@
|
|
|
|
|
type: String,
|
|
|
|
|
default: "0",
|
|
|
|
|
},
|
|
|
|
|
test: {
|
|
|
|
|
type: String,
|
|
|
|
|
default: "0",
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
let erweima_popup = ref(null)
|
|
|
|
|
const fenzhen_list = ref(false);
|
|
|
|
|
@ -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 (!!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,7 +154,10 @@
|
|
|
|
|
});
|
|
|
|
|
uni.hideLoading();
|
|
|
|
|
$response(response, () => {
|
|
|
|
|
fenzhen_info.value = false
|
|
|
|
|
nextTick(() => {
|
|
|
|
|
fenzhen_info.value = response.data;
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -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,
|
|
|
|
|
|