|
@@ -1,22 +1,22 @@
|
1
|
1
|
<!-- home -->
|
2
|
2
|
<template>
|
3
|
|
- <div class="apartment">
|
4
|
|
- <pure-image :bg-image="require('@/assets/images/apartment/1.jpg')"></pure-image>
|
5
|
|
- <apartment-navi class="apartment-navi" @goto="handleGoto" />
|
|
3
|
+ <div class="office-index">
|
|
4
|
+ <pure-image :bg-image="require('@/assets/office/1.png')"></pure-image>
|
|
5
|
+ <office-image class="office-navi" @goto="handleGoto" />
|
6
|
6
|
<div v-for="(item, index) in list" :key="item.image">
|
7
|
|
- <modal v-if="visible[index]" class="apartment-modal">
|
|
7
|
+ <yz-modal :visible="visible[index]" class="office-modal">
|
8
|
8
|
<pure-image :bg-image="item.image"></pure-image>
|
9
|
9
|
<div class="back-sign" @click="cancelShow(index)">
|
10
|
|
- <img :src="require('@/assets/images/apartment/backSign.png')" alt />
|
|
10
|
+ <img :src="require('@/assets/office/1-2.png')" alt />
|
11
|
11
|
</div>
|
12
|
|
- </modal>
|
|
12
|
+ </yz-modal>
|
13
|
13
|
</div>
|
14
|
|
- <modal v-if="visible[5]" class="apartment-modal">
|
|
14
|
+ <!-- <modal v-if="visible[5]" class="office-modal">
|
15
|
15
|
<swiper-image :list="houseList"></swiper-image>
|
16
|
16
|
<div class="back-sign" @click="cancelShow(5)">
|
17
|
|
- <img :src="require('@/assets/images/apartment/backSign.png')" alt />
|
|
17
|
+ <img :src="require('@/assets/office/1-2.png')" alt />
|
18
|
18
|
</div>
|
19
|
|
- </modal>
|
|
19
|
+ </modal>-->
|
20
|
20
|
</div>
|
21
|
21
|
</template>
|
22
|
22
|
|
|
@@ -24,31 +24,32 @@
|
24
|
24
|
export default {
|
25
|
25
|
components: {
|
26
|
26
|
PureImage: () => import('./components/PureImage.vue'),
|
27
|
|
- SwiperImage: () => import('./components/SwiperImage.vue'),
|
28
|
|
- ApartmentNavi: () => import('./components/ApartmentNavi.vue')
|
|
27
|
+ // SwiperImage: () => import('./components/SwiperImage.vue'),
|
|
28
|
+ // ApartmentNavi: () => import('./components/ApartmentNavi.vue'),
|
|
29
|
+ OfficeImage: () => import('./components/OfficeImage.vue')
|
29
|
30
|
},
|
30
|
31
|
data() {
|
31
|
32
|
return {
|
32
|
33
|
visible: Array(6).fill(false),
|
33
|
34
|
list: [
|
34
|
35
|
{
|
35
|
|
- image: require('@/assets/images/apartment/2-2.jpg'),
|
|
36
|
+ image: require('@/assets/office/2-1.png'),
|
36
|
37
|
color: '#f0f0f0'
|
37
|
38
|
},
|
38
|
39
|
{
|
39
|
|
- image: require('@/assets/images/apartment/3-1.jpg'),
|
|
40
|
+ image: require('@/assets/office/3-1.png'),
|
40
|
41
|
color: '#f0f0f0'
|
41
|
42
|
},
|
42
|
43
|
{
|
43
|
|
- image: require('@/assets/images/apartment/4-1.jpg'),
|
|
44
|
+ image: require('@/assets/office/4-1.png'),
|
44
|
45
|
color: '#f0f0f0'
|
45
|
46
|
},
|
46
|
47
|
{
|
47
|
|
- image: require('@/assets/images/apartment/6-1.jpg'),
|
|
48
|
+ image: require('@/assets/office/6-1.png'),
|
48
|
49
|
color: '#f0f0f0'
|
49
|
50
|
},
|
50
|
51
|
{
|
51
|
|
- image: require('@/assets/images/apartment/5-1.jpg'),
|
|
52
|
+ image: require('@/assets/office/5-1.png'),
|
52
|
53
|
color: '#f0f0f0'
|
53
|
54
|
}
|
54
|
55
|
],
|
|
@@ -102,11 +103,11 @@ export default {
|
102
|
103
|
</script>
|
103
|
104
|
|
104
|
105
|
<style lang="scss" scoped>
|
105
|
|
-.apartment {
|
|
106
|
+.office-index {
|
106
|
107
|
height: 100%;
|
107
|
108
|
position: relative;
|
108
|
109
|
|
109
|
|
- .apartment-modal {
|
|
110
|
+ .office-modal {
|
110
|
111
|
position: absolute;
|
111
|
112
|
width: 100%;
|
112
|
113
|
height: 100%;
|
|
@@ -114,7 +115,7 @@ export default {
|
114
|
115
|
left: 0;
|
115
|
116
|
}
|
116
|
117
|
|
117
|
|
- .apartment-navi {
|
|
118
|
+ .office-navi {
|
118
|
119
|
position: absolute;
|
119
|
120
|
width: 100%;
|
120
|
121
|
height: 40%;
|