|
@@ -93,7 +93,7 @@
|
|
|
<div class="w-full box-border px-16">
|
|
|
<!-- 每一项签证的展示 -->
|
|
|
<Empty v-if="!visaList?.length && !loading" title="暂无该签证数据" top="100" />
|
|
|
- <!-- @load="getLoadList" -->
|
|
|
+ <!-- @load="getLoadList" v-model:loading="loading"-->
|
|
|
<van-list
|
|
|
v-else-if="visaList.length"
|
|
|
:finished="finished"
|
|
@@ -153,7 +153,7 @@
|
|
|
<span class="text-5xl font-semibold">
|
|
|
{{ item?.floorPrice ? item?.floorPrice : '????' }}
|
|
|
</span>
|
|
|
- RMB 起
|
|
|
+ 起
|
|
|
</p>
|
|
|
|
|
|
<button
|
|
@@ -236,7 +236,7 @@
|
|
|
</p>
|
|
|
<p class="text-right text-sm font-semibold leading-2xl text-black-9">
|
|
|
<span class="text-base text-[#FF476A]">
|
|
|
- ¥ {{ item?.price ? item?.price : '????' }} RMB
|
|
|
+ ¥ {{ item?.price ? item?.price : '????' }}
|
|
|
</span>
|
|
|
起
|
|
|
</p>
|
|
@@ -359,12 +359,14 @@ watch(showItemType.value, () => {}, { deep: true })
|
|
|
|
|
|
// 监听签证类型筛选框收起
|
|
|
function onVisaFilterClose() {
|
|
|
+ // itemTypeRef.value.toggle()
|
|
|
// visaTypeIndex.value = activeIndex.value
|
|
|
}
|
|
|
|
|
|
// 监听出签地筛选框收起
|
|
|
function onVisaLocFilterClose() {
|
|
|
// visaLocIndex.value = activeIndex2.value
|
|
|
+ // itemLocationRef.value.toggle()
|
|
|
}
|
|
|
|
|
|
const queryParams = reactive({
|
|
@@ -437,7 +439,7 @@ const handleCheckedVisaTypeChange = (parmas) => {
|
|
|
visaTypeTitle.value = parmas.title
|
|
|
}
|
|
|
checkedVisaType.value = parmas.id
|
|
|
- itemTypeRef.value.toggle()
|
|
|
+ itemTypeRef.value.toggle(false)
|
|
|
showItemType.value = !showItemType.value
|
|
|
document.title = parmas.title
|
|
|
getVisaList()
|
|
@@ -459,7 +461,7 @@ const handleCheckedCitiesChange = (parmas) => {
|
|
|
}
|
|
|
|
|
|
checkedIssueVisaAddr.value = parmas.code
|
|
|
- itemLocationRef.value.toggle()
|
|
|
+ itemLocationRef.value.toggle(false)
|
|
|
showItemLocation.value = !showItemLocation.value
|
|
|
document.title = parmas.name
|
|
|
getVisaList()
|
|
@@ -485,7 +487,6 @@ async function getVisaTypeList() {
|
|
|
// 获取签证列表
|
|
|
async function getVisaList() {
|
|
|
try {
|
|
|
- loading.value = true
|
|
|
let url = `/website/tourism/visa/list/page`
|
|
|
let data = {}
|
|
|
|
|
@@ -496,7 +497,7 @@ async function getVisaList() {
|
|
|
if (checkedIssueVisaAddr.value != 0) {
|
|
|
data.issueVisaCode = checkedIssueVisaAddr?.value
|
|
|
}
|
|
|
-
|
|
|
+ loading.value = true
|
|
|
let {
|
|
|
data: { dataList, totalCount }
|
|
|
} = await request(url, {
|
|
@@ -511,19 +512,18 @@ async function getVisaList() {
|
|
|
} else {
|
|
|
visaList.value = []
|
|
|
}
|
|
|
+
|
|
|
loading.value = false
|
|
|
|
|
|
if (totalCount <= visaList.value.length) {
|
|
|
- finished.value = false
|
|
|
- } else {
|
|
|
- finished.value = false
|
|
|
+ finished.value = true
|
|
|
}
|
|
|
} catch (err) {}
|
|
|
}
|
|
|
|
|
|
// 获取筛选签证列表
|
|
|
-async function getLoadList() {
|
|
|
- queryParams.pageNum += 1
|
|
|
+function getLoadList() {
|
|
|
+ queryParams.pageNum++
|
|
|
getVisaList()
|
|
|
}
|
|
|
|
|
@@ -576,6 +576,7 @@ watch(
|
|
|
() => queryParams.pageNum,
|
|
|
() => getVisaList()
|
|
|
)
|
|
|
+
|
|
|
watch(searchString, (newValue, oldValue) => {
|
|
|
searchString.value = newValue
|
|
|
if (newValue) {
|
|
@@ -610,7 +611,7 @@ onMounted(() => {
|
|
|
getCounselorQr()
|
|
|
|
|
|
// getCountryList()
|
|
|
- getVisaList()
|
|
|
+ // getVisaList()
|
|
|
})
|
|
|
|
|
|
useSeoMeta({
|