陈冉 6 years ago
parent
commit
d9ad5da15c

+ 1
- 1
src/main.js View File

4
 import App from './App.vue'
4
 import App from './App.vue'
5
 import router from './router'
5
 import router from './router'
6
 import store from './store'
6
 import store from './store'
7
-import './theme'
7
+// import './theme'
8
 // import './public/style/common.scss'
8
 // import './public/style/common.scss'
9
 // import AMap  from 'vue-amap'
9
 // import AMap  from 'vue-amap'
10
 
10
 

+ 6
- 1
src/pages/building/buildingdetail.vue View File

20
     <correlation-dynamics></correlation-dynamics>
20
     <correlation-dynamics></correlation-dynamics>
21
     <div class="btn">
21
     <div class="btn">
22
       <van-button @click="gotoLookHouse" size="large" >预约看房</van-button>
22
       <van-button @click="gotoLookHouse" size="large" >预约看房</van-button>
23
-  </div>
23
+    </div>
24
 </div>
24
 </div>
25
 </template>
25
 </template>
26
 
26
 
153
     position: fixed;
153
     position: fixed;
154
     top:617px;
154
     top:617px;
155
     left:0;
155
     left:0;
156
+    background-color: rgba(63,65,68,1);
157
+    font-size:16px;
158
+    font-family:PingFangSC-Regular;
159
+    font-weight:400;
160
+    color:rgba(255,255,255,1);
156
   }
161
   }
157
 }
162
 }
158
 
163
 

+ 11
- 12
src/pages/building/components/housename.vue View File

9
         </div>
9
         </div>
10
         <div class="housenamefooter">
10
         <div class="housenamefooter">
11
             <span class="housetype">挑高双层</span>
11
             <span class="housetype">挑高双层</span>
12
-            <span class="housetel" @click="altfun()"><i class="iconfont  icon-dianhua2 phone"> </i><span >400-7689-9756</span></span>
12
+            <span class="housetel"><i class="iconfont  icon-dianhua2 phone"> </i><span ><a :href="'tel:' + 13057612112">13057612112</a></span></span>
13
         </div>
13
         </div>
14
     </div>
14
     </div>
15
 </template>
15
 </template>
18
 
18
 
19
 export default {
19
 export default {
20
     name:'HouseName',
20
     name:'HouseName',
21
-    methods:{
22
-        altfun(){
23
-            console.log(this)
24
-            this.$dialog.alert({
25
-            title: '标题',
26
-            message: '弹窗内容'
27
-            }).then(() => {
28
-            // on close
29
-            })
30
-        }
31
-    }
21
+    // methods:{
22
+    //     altfun(){
23
+    //         // console.log(this)
24
+    //         this.$dialog.confirm({
25
+    //         message: '弹窗内容'
26
+    //         }).then(() => {
27
+    //         // on close
28
+    //         })
29
+    //     }
30
+    // }
32
 }
31
 }
33
 </script>
32
 </script>
34
 <style lang="postcss" scoped>
33
 <style lang="postcss" scoped>

+ 43
- 30
src/pages/reservation/lookhouse.vue View File

2
   <div class="appoint-form">
2
   <div class="appoint-form">
3
     <vue-headful title="预约看房信息填写"  />
3
     <vue-headful title="预约看房信息填写"  />
4
     <div class="title"><h1>预约看房</h1>
4
     <div class="title"><h1>预约看房</h1>
5
-      <van-cell-group>
6
-        <van-cell class="field_name" is-link arrow-direction="down" @click="showName()">楼盘名称:
5
+        <van-cell-group>
6
+          <van-cell class="field_name" is-link arrow-direction="down" @click="showName()">楼盘名称:
7
+              <van-popup v-model="inside" position="bottom" :overlay="false">
8
+                <ul class="housenamelist">
9
+                  <li class="namelist">春江新城</li>
10
+                </ul>
11
+              </van-popup>
12
+          </van-cell>
13
+          <van-cell class="field_name">楼盘地址:</van-cell>
14
+          <van-switch-cell v-model="checked" title="马上去" />
15
+          <van-cell class="field_name" @click="showDatePicker()">预约时间:
7
             <van-popup v-model="show" position="bottom" :overlay="false">
16
             <van-popup v-model="show" position="bottom" :overlay="false">
8
-              <ul>
9
-                <li></li>
10
-              </ul>
17
+              <van-datetime-picker v-model="currentDate" type="datetime" :min-date="minDate" :max-date="maxDate"/>
11
             </van-popup>
18
             </van-popup>
12
-        </van-cell>
13
-        <van-cell class="field_name">楼盘地址:</van-cell>
14
-        <van-switch-cell v-model="checked" title="马上去" />
15
-        <van-cell class="field_name" @click="showDatePicker()">预约时间:
16
-          <van-popup v-model="show" position="bottom" :overlay="false">
17
-            <van-datetime-picker v-model="currentDate" type="datetime" :min-date="minDate" :max-date="maxDate"/>
18
-          </van-popup>
19
-        </van-cell>
20
-        <van-field class="field_name"  label="手机号码:" />
21
-        <van-field class="field_name"  label="预约看房人数:"/> 
22
-      </van-cell-group>
23
-      <div class="information">
24
-        <span class="remarks">备注信息:</span>
25
-        <div class="input_content">
26
-            <textarea  id="textArea" class="content_txt" maxlength="100" placeholder="例如:偏好、预算、要求等" onfocus="this.placeholder=''" onblur="this.placeholder='例如:偏好、预算、要求等'"></textarea>
27
-            <span class="number"><span  id="textNum" style="color:#FB6B2F">0</span><span>/100</span></span>
28
-        </div>
29
-      </div>
19
+          </van-cell>
20
+          <van-field class="field_name"  label="手机号码:" />
21
+          <van-field class="field_name"  label="看房人数:"/> 
22
+        </van-cell-group>
23
+        <div class="information">
24
+          <span class="remarks">备注信息:</span>
25
+          <div class="input_content">
26
+              <textarea  id="textArea" class="content_txt" maxlength="100" placeholder="例如:偏好、预算、要求等" onfocus="this.placeholder=''" onblur="this.placeholder='例如:偏好、预算、要求等'"></textarea>
27
+              <span class="number"><span  id="textNum" style="color:#FB6B2F">0</span><span>/100</span></span>
28
+          </div>
29
+        </div> 
30
     </div>
30
     </div>
31
-    <div>
31
+    <div class="btn">
32
       <van-button size="large">提交</van-button>
32
       <van-button size="large">提交</van-button>
33
     </div>
33
     </div>
34
   </div>
34
   </div>
41
   },
41
   },
42
   data() {
42
   data() {
43
     return {
43
     return {
44
-      checked: true,
44
+      checked: false,
45
+      inside: false,
45
       show: false,
46
       show: false,
46
       minHour: 10,
47
       minHour: 10,
47
       maxHour: 20,
48
       maxHour: 20,
55
       this.show = true;
56
       this.show = true;
56
     },
57
     },
57
     showName (){
58
     showName (){
58
-      this.show = true;
59
+      this.inside = true;
59
     }
60
     }
60
   }
61
   }
61
 };
62
 };
72
 .appoint-form {
73
 .appoint-form {
73
   padding: 26px;
74
   padding: 26px;
74
 
75
 
76
+.van-button{
77
+    background-color: rgba(63,65,68,1);
78
+    font-size:16px;
79
+    font-family:PingFangSC-Regular;
80
+    font-weight:400;
81
+    color:rgba(255,255,255,1);
82
+  }
75
   .title {
83
   .title {
76
     background-color: #fff;
84
     background-color: #fff;
77
     margin-bottom: 22px;
85
     margin-bottom: 22px;
128
     color: rgba(0, 0, 0, 1);
136
     color: rgba(0, 0, 0, 1);
129
     line-height: 20px;
137
     line-height: 20px;
130
 
138
 
131
-    .van-field {
132
-      .van-cell__title {
133
-        max-width: 100px !important;
134
-      }
139
+  .housenamelist{
140
+    width: 100%;
141
+    height: 224px;
142
+
143
+     .namelist{
144
+      width: 90%;
145
+      border-bottom:1px solid #EBEBEB;
146
+      text-align: center;
135
     }
147
     }
136
   }
148
   }
149
+  }
137
 }
150
 }
138
 </style>
151
 </style>