
@@ -169,6 +169,7 @@ tabBtnType.value = route.meta.path
.top-bg-img-box {
width: 100%;
+ min-width: 1200px;
}
.top-bg-img-box .bg-img {
diff --git a/src/components/public/viewMap.vue b/src/components/public/viewMap.vue
index a77d2ae..cb17c8d 100644
--- a/src/components/public/viewMap.vue
+++ b/src/components/public/viewMap.vue
@@ -86,6 +86,7 @@ const showPop = () => show.value = !show.value
background: #fff;
border-radius: 20px;
padding: 20px;
+ max-width: 90vw;
.close {
display: block;
diff --git a/src/views/apartmentDetail.vue b/src/views/apartmentDetail.vue
index 9fa2dd4..93a0830 100644
--- a/src/views/apartmentDetail.vue
+++ b/src/views/apartmentDetail.vue
@@ -16,14 +16,16 @@
-
-
-
+
+
+
-
+
+
@@ -393,7 +395,7 @@ watch(route, () => {
carouselIndex.value = 0
allCarouselsData.value = []
// mediaBtnstate.value = {}
-
+
init()
@@ -591,7 +593,6 @@ const contactReservationService = () => {
})
}
-
let mediaBtnstate = ref({}) // 0 左边为不能点击 1 右边不能点击 2 是两个都能点击
const handleMediaBtn = (type, index) => {
@@ -659,9 +660,8 @@ onUnmounted(() => {
window.removeEventListener('scroll', handleScroll);
});
-const gobrand = item => {
- router.push(`/apartmentDetail?uniqid=${item.uniqid}`)
-}
+const gobrand = item => router.push(`/apartmentDetail?uniqid=${item.uniqid}`)
+
const handleScroll = () => {
if (Math.random() > 0.3) return
@@ -678,6 +678,16 @@ const handleScroll = () => {
}
}
+const indicateTypeState = () => {
+ console.log("carouselsconfig", carouselsconfig);
+
+ let total = 0 // 累计
+ for (const key in carouselsconfig.value) {
+ if (carouselsconfig.value[key]['amount'] > 0) total++
+ }
+
+ return total > 1 ? true : false
+}
@@ -729,7 +739,7 @@ const handleScroll = () => {
.arc {
width: 100%;
height: 100%;
- background: rgba(203, 254, 191, 1);
+ background: rgba(204, 253, 191, 1);
border-radius: 0 0 100% 0;
}