@@ -52,6 +53,7 @@ const props = defineProps({
return []
}
},
+ index: Number,
close: {
type: Function
},
@@ -67,6 +69,8 @@ let close = props.close
let carousel = ref(null)
let imageTab = ref(0)
+
+ if(!props['index']) imageTab = props['index']
//上一张
let prev = () => {
if (imageTab.value === list.value.length - 1) return
diff --git a/src/components/user/systematic-notification-pop.vue b/src/components/user/systematic-notification-pop.vue
index f7a71e0..1ebcb4a 100644
--- a/src/components/user/systematic-notification-pop.vue
+++ b/src/components/user/systematic-notification-pop.vue
@@ -179,7 +179,7 @@ const handleScroll = (event) => {
// 点击跳转详情页
const goDetail = (uniqid, status) => {
if (status != 1) return
- router.push(`/detail?uniqid=${uniqid}`);
+ router.push(`/detail?id=${uniqid}`);
}
diff --git a/src/views/apartmentDetail.vue b/src/views/apartmentDetail.vue
index 355d1d6..8d44de1 100644
--- a/src/views/apartmentDetail.vue
+++ b/src/views/apartmentDetail.vue
@@ -23,14 +23,15 @@