|
@@ -4,25 +4,25 @@
|
4
|
4
|
<div class="index-FourBoxes">
|
5
|
5
|
<div class="index-FourBoxes-yushi test" :class="{ active: currentItem === 0 }" @click="goPagess(0)">
|
6
|
6
|
<img src="../../public/fourBoxes-image/浴室.png" class="Four-image" @transitionend="handleTransitionEnd('yushi')" />
|
7
|
|
- <div style=" width: 80px; position: absolute; left: 13vw; top: 36vh;">
|
|
7
|
+ <div style=" width: 21vw; position: absolute; left: 13.5vw; top: 36vh;">
|
8
|
8
|
<img style=" width:100%;" src="../assets/fourBoxes-2/浴室-2.png" />
|
9
|
9
|
</div>
|
10
|
10
|
</div>
|
11
|
11
|
<div class="index-FourBoxes-yimao test" :class="{ active: currentItem === 1 }" @click="goPagess(1)">
|
12
|
12
|
<img src="../../public/fourBoxes-image/衣帽间.png" class="Four-image" @transitionend="handleTransitionEnd('yimao')" />
|
13
|
|
- <div style=" width: 80px;; position: absolute; left: 62vw; top: 36vh;">
|
|
13
|
+ <div style=" width: 21vw;; position: absolute; right: 13.5vw; top: 36vh;">
|
14
|
14
|
<img style=" width:100%;" src="../assets/fourBoxes-2/衣帽间-2.png" />
|
15
|
15
|
</div>
|
16
|
16
|
</div>
|
17
|
17
|
<div class="index-FourBoxes-keting test" :class="{ active: currentItem === 2 }" @click="goPagess(2)">
|
18
|
18
|
<img src="../../public/fourBoxes-image/客厅.png" @transitionend="handleTransitionEnd('keting')" class="Four-image" />
|
19
|
|
- <div style=" width: 80px;; position: absolute; left: 13vw; top: 77vh;">
|
|
19
|
+ <div style=" width: 21vw;; position: absolute; left: 13.5vw; top: 77vh;">
|
20
|
20
|
<img style=" width:100%;" src="../assets/fourBoxes-2/客厅-2.png" />
|
21
|
21
|
</div>
|
22
|
22
|
</div>
|
23
|
23
|
<div class="index-FourBoxes-yangtai test" :class="{ active: currentItem === 3 }" @click="goPagess(3)">
|
24
|
24
|
<img src="../../public/fourBoxes-image/阳台.png" @transitionend="handleTransitionEnd('yangtai')" class="Four-image" />
|
25
|
|
- <div style=" width: 80px;; position: absolute; left: 62vw; top: 77vh;">
|
|
25
|
+ <div style=" width: 21vw;; position: absolute; right: 13.5vw; top: 77vh;">
|
26
|
26
|
<img style=" width:100%;" src="../assets/fourBoxes-2/阳台-2.png" />
|
27
|
27
|
</div>
|
28
|
28
|
</div>
|
|
@@ -35,13 +35,6 @@ export default {
|
35
|
35
|
data() {
|
36
|
36
|
return {
|
37
|
37
|
currentItem: -1,
|
38
|
|
- currentType: '',
|
39
|
|
- styleImage: [
|
40
|
|
- 'opacity: 0.3;',
|
41
|
|
- 'opacity: 0.3;',
|
42
|
|
- 'opacity: 0.3;',
|
43
|
|
- 'opacity: 0.3;',
|
44
|
|
- ],
|
45
|
38
|
typeYushi: {
|
46
|
39
|
bgImage: require('../../public/yushi-image/1.jpg'),
|
47
|
40
|
swiper: {
|
|
@@ -84,59 +77,7 @@ export default {
|
84
|
77
|
},
|
85
|
78
|
goPagess(inx) {
|
86
|
79
|
this.currentItem = inx
|
87
|
|
-
|
88
|
|
- // switch (e) {
|
89
|
|
- // case 'yushi':
|
90
|
|
- // var arr = JSON.stringify(this.typeYushi)
|
91
|
|
- // this.styleImage[0] = 'opacity:1'
|
92
|
|
- // setTimeout(()=>{
|
93
|
|
- // this.$router.push({
|
94
|
|
- // name: 'Test',
|
95
|
|
- // params: { types: encodeURIComponent(arr) }
|
96
|
|
- // })
|
97
|
|
- // // this.styleImage[0] = 'opacity: 0.3;'
|
98
|
|
- // },1000)
|
99
|
|
- // break
|
100
|
|
- // case 'keting':
|
101
|
|
- // var arr = JSON.stringify(this.typeKeting)
|
102
|
|
- // this.styleImage[1] = ''
|
103
|
|
- // setTimeout(()=>{
|
104
|
|
- // this.$router.push({
|
105
|
|
- // name: 'Test',
|
106
|
|
- // params: { types: encodeURIComponent(arr) }
|
107
|
|
- // })
|
108
|
|
- // // this.styleImage[1] = 'opacity: 0.3;'
|
109
|
|
- // },1000)
|
110
|
|
- // break
|
111
|
|
- // case 'yimao':
|
112
|
|
- // var arr = JSON.stringify(this.typeYimao)
|
113
|
|
- // this.styleImage[2] = ''
|
114
|
|
- // setTimeout(()=>{
|
115
|
|
- // this.$router.push({
|
116
|
|
- // name: 'Test',
|
117
|
|
- // params: { types: encodeURIComponent(arr) }
|
118
|
|
- // })
|
119
|
|
- // // this.styleImage[2] = 'opacity: 0.3;'
|
120
|
|
- // },1000)
|
121
|
|
- // break
|
122
|
|
- // case 'yangtai':
|
123
|
|
- // var arr = JSON.stringify(this.typeYangtai)
|
124
|
|
- // this.styleImage[3] = ''
|
125
|
|
- // setTimeout(()=>{
|
126
|
|
- // this.$router.push({
|
127
|
|
- // name: 'Test',
|
128
|
|
- // params: { types: encodeURIComponent(arr) }
|
129
|
|
- // })
|
130
|
|
- // // this.styleImage[3] = 'opacity: 0.3;'
|
131
|
|
- // },1000)
|
132
|
|
- // break
|
133
|
|
- // default:
|
134
|
|
- // return
|
135
|
|
- // }
|
136
|
|
- },
|
137
|
|
- goYimao() {},
|
138
|
|
- goKeting() {},
|
139
|
|
- goYangtai() {}
|
|
80
|
+ }
|
140
|
81
|
}
|
141
|
82
|
}
|
142
|
83
|
</script>
|