Przeglądaj źródła

Merge branch 'master' of http://git.ycjcjy.com/H5/huaqiaocheng-h5

李志伟 3 lat temu
rodzic
commit
0ae37ec1b2
1 zmienionych plików z 29 dodań i 13 usunięć
  1. 29
    13
      src/views/office.vue

+ 29
- 13
src/views/office.vue Wyświetl plik

@@ -11,6 +11,18 @@
11 11
         </div>
12 12
       </yz-modal>
13 13
     </div>
14
+    <yz-modal :visible="visible[2]" class="apartment-modal">
15
+      <swiper-image :list="featureList"></swiper-image>
16
+      <div class="back-sign" @click="cancelShow(2)">
17
+        <img :src="backSignImg" alt />
18
+      </div>
19
+    </yz-modal>
20
+    <yz-modal :visible="visible[3]" class="apartment-modal">
21
+      <swiper-image :list="houseList"></swiper-image>
22
+      <div class="back-sign" @click="cancelShow(3)">
23
+        <img :src="backSignImg" alt />
24
+      </div>
25
+    </yz-modal>
14 26
     <div class="back-sign index-back" @click="handleGotoIndex(index)">
15 27
       <img :src="backSignImg" alt />
16 28
     </div>
@@ -23,7 +35,7 @@ const backSignImg2 = require('@/assets/images/apartment/backSign-2.png')
23 35
 export default {
24 36
   components: {
25 37
     PureImage: () => import('./components/PureImage.vue'),
26
-    // SwiperImage: () => import('./components/SwiperImage.vue'),
38
+    SwiperImage: () => import('./components/SwiperImage.vue'),
27 39
     // ApartmentNavi: () => import('./components/ApartmentNavi.vue'),
28 40
     OfficeImage: () => import('./components/OfficeImage.vue')
29 41
   },
@@ -31,7 +43,7 @@ export default {
31 43
     return {
32 44
       backSignImg,
33 45
       backSignImg2,
34
-      visible: Array(6).fill(false),
46
+      visible: Array(5).fill(false),
35 47
       list: [
36 48
         {
37 49
           image: require('@/assets/office/2-1.png'),
@@ -49,47 +61,51 @@ export default {
49 61
           backSign: backSignImg
50 62
         },
51 63
         {
52
-          image: require('@/assets/office/6-1.png'),
64
+          image: require('@/assets/office/5-1.png'),
65
+
53 66
           color: '#f0f0f0',
54 67
           backSign: backSignImg
55 68
         },
56 69
         {
57
-          image: require('@/assets/office/5-1.png'),
70
+          image: require('@/assets/office/6-1.png'),
71
+
58 72
           color: '#f0f0f0',
59 73
           backSign: backSignImg
60 74
         }
61 75
       ],
62 76
       houseList: [
63 77
         {
64
-          image: require('@/assets/images/apartment/7-1.jpg'),
78
+          image: require('@/assets/office/5-1.png'),
65 79
           color: '#f0f0f0'
66 80
         },
67 81
         {
68
-          image: require('@/assets/images/apartment/7-2.jpg'),
82
+          image: require('@/assets/office/5-2.png'),
69 83
           color: '#f0f0f0'
70 84
         },
71 85
         {
72
-          image: require('@/assets/images/apartment/7-3.jpg'),
86
+          image: require('@/assets/office/5-3.png'),
73 87
           color: '#f0f0f0'
74 88
         },
75 89
         {
76
-          image: require('@/assets/images/apartment/7-4.jpg'),
90
+          image: require('@/assets/office/5-4.png'),
77 91
           color: '#f0f0f0'
78 92
         },
79 93
         {
80
-          image: require('@/assets/images/apartment/7-5.jpg'),
94
+          image: require('@/assets/office/5-5.png'),
81 95
           color: '#f0f0f0'
82
-        },
96
+        }
97
+      ],
98
+      featureList: [
83 99
         {
84
-          image: require('@/assets/images/apartment/7-6.jpg'),
100
+          image: require('@/assets/office/4-1.png'),
85 101
           color: '#f0f0f0'
86 102
         },
87 103
         {
88
-          image: require('@/assets/images/apartment/7-7.jpg'),
104
+          image: require('@/assets/office/4-2.png'),
89 105
           color: '#f0f0f0'
90 106
         },
91 107
         {
92
-          image: require('@/assets/images/apartment/7-8.jpg'),
108
+          image: require('@/assets/office/4-3.png'),
93 109
           color: '#f0f0f0'
94 110
         }
95 111
       ]