Parcourir la source

完善投居房移动站

廖泽华 il y a 4 ans
Parent
commit
c74c2f2c61
42 fichiers modifiés avec 892 ajouts et 169 suppressions
  1. 21 0
      backend/controllers/PublicuseController.php
  2. 1 0
      backend/controllers/PushmController.php
  3. 134 3
      backend/controllers/ZtController.php
  4. 47 0
      backend/views/publicuse/housenamecn.php
  5. 39 0
      backend/views/zt/gulfcitygledit.php
  6. 32 0
      backend/views/zt/hainanville.php
  7. 36 0
      backend/views/zt/hainanvilleadd.php
  8. 36 0
      backend/views/zt/hainanvilleedit.php
  9. 40 0
      backend/views/zt/hainanvillegl.php
  10. 37 0
      backend/views/zt/hainanvillegladd.php
  11. 50 0
      common/models/HousePrice.php
  12. 23 0
      common/models/PushmRotation.php
  13. 6 53
      mobile/controllers/IndexController.php
  14. 1 1
      mobile/controllers/NewsController.php
  15. 2 0
      mobile/controllers/PublicController.php
  16. 87 0
      mobile/controllers/ZtController.php
  17. 29 0
      mobile/modules/live/base/BaseController.php
  18. 10 5
      mobile/modules/live/controllers/DefaultController.php
  19. 67 0
      mobile/modules/live/controllers/EnrollController.php
  20. 11 11
      mobile/modules/live/controllers/HomeController.php
  21. 19 21
      mobile/modules/live/views/default/index.php
  22. 21 18
      mobile/modules/live/views/home/detail.php
  23. 39 13
      mobile/modules/live/views/layouts/main.php
  24. 17 0
      mobile/modules/v1/views/public/nav.php
  25. 27 0
      mobile/modules/v1/views/public/navsidebar.php
  26. 4 4
      mobile/views/public/customization.php
  27. 3 3
      mobile/web/modules/live/js/broadcastdetails.js
  28. 1 1
      mobile/web/overseas/js/applyVerify.js
  29. 2 2
      mobile/web/overseas/js/applyVerify.min.js
  30. 2 2
      mobile/web/overseas/js/house/details.js
  31. 7 5
      mobile/web/overseas/js/signup/signup.js
  32. 2 2
      mobile/web/overseas/js/videolist/details.js
  33. 3 3
      mobile/web/overseas/live/js/broadcastdetails.js
  34. 3 3
      mobile/web/web/modules/live/js/broadcastdetails.js
  35. 1 1
      mobile/web/web/overseas/js/applyVerify.js
  36. 2 2
      mobile/web/web/overseas/js/applyVerify.min.js
  37. 2 2
      mobile/web/web/overseas/js/house/details.js
  38. 2 2
      mobile/web/web/overseas/js/search_public.js
  39. 6 6
      mobile/web/web/overseas/js/signup/signup.js
  40. 2 2
      mobile/web/web/overseas/js/videolist/details.js
  41. 3 3
      mobile/web/web/overseas/live/js/broadcastdetails.js
  42. 15 1
      注意事项.html

+ 21 - 0
backend/controllers/PublicuseController.php

@@ -20,6 +20,27 @@ class PublicuseController extends Controller
20 20
         {
21 21
             return $this->render('housename');
22 22
         }
23
+	
24
+		public function actionHousenamecn()
25
+		{
26
+			return $this->render('housenamecn');
27
+		}
28
+	
29
+	/*
30
+ * 获取所有国内楼盘数据
31
+ * */
32
+	public function actionAllhousecnform()
33
+	{
34
+		$model = new House();
35
+		$input = Yii::$app->request->post();
36
+		if (!empty($input['name'])) {
37
+			$model->name = $input['name'];
38
+		}
39
+		$rows = $model->getList($input);
40
+		if ($rows != null) {
41
+			return Help::JsonData(0, '成功', $model->getListTotal($input), $rows);
42
+		}
43
+	}
23 44
 
24 45
         /*
25 46
          * 获取所有楼盘数据

+ 1 - 0
backend/controllers/PushmController.php

@@ -217,6 +217,7 @@ class PushmController extends CommonController
217 217
 	public function actionRotationforms ()
218 218
 	{
219 219
 		$model = new PushmRotation();
220
+		
220 221
 		$rows  = $model->getList( Yii::$app->request->post() );
221 222
 		if ( $rows != null ) {
222 223
 			$imgUrl = Yii::$app->params[ 'httpImg' ][ 'host' ] . Yii::$app->params[ 'httpImg' ][ 'push_lb' ];

+ 134 - 3
backend/controllers/ZtController.php

@@ -170,8 +170,121 @@ class ZtController extends CommonController
170 170
             return Help::JsonCode(Help::ERROR, '删除失败');
171 171
         }
172 172
     }
173
-
174
-    public function actionTohainanvilleedit()
173
+	
174
+	//海南站专题别墅
175
+	public function actionHainanville()
176
+	{
177
+		return $this->render('hainanville');
178
+	}
179
+	
180
+	public function actionHainanvilleform()
181
+	{
182
+		$data = PushplaceType::find()->where(['type' => 1])->asArray()->all();
183
+		return help::JsonData(0, '成功', 0, $data);
184
+	}
185
+	
186
+	public function actionHainanvillestate()
187
+	{
188
+		$input = Yii::$app->request->post();
189
+		if (is_numeric($input['id'])) {
190
+			$row = PushplaceType::findOne($input['id']);
191
+			$row->state = $input['state'];
192
+			if ($row->update(false)) return Help::JsonCode(Help::SUCCESS, '设置成功');
193
+			return Help::JsonCode(Help::SUCCESS, '设置失败');
194
+		} else {
195
+			return Help::JsonCode(Help::SUCCESS, '设置失败');
196
+		}
197
+	}
198
+	
199
+	public function actionTohainanvilleadd()
200
+	{
201
+		$input = Yii::$app->request->post('data');
202
+		$row = PushplaceType::find();
203
+		if (!$row->where(['title' => $input['title'], 'type' => 1])->exists()) {
204
+			$query = new PushplaceType();
205
+			$query->title = $input['title'];
206
+			$query->type = 1;
207
+			if ($query->save()) return Help::JsonCode(Help::SUCCESS, '添加成功');
208
+			Help::JsonCode(Help::ERROR, '添加失败');
209
+		} else {
210
+			return Help::JsonCode(Help::SUCCESS, '地区已存在');
211
+		}
212
+	}
213
+	
214
+	
215
+	
216
+	
217
+	public function actionHainanvilleadd()
218
+	{
219
+		return $this->render('hainanvilleadd');
220
+	}
221
+	
222
+	public function actionHainanvillegl()
223
+	{
224
+		$id = Yii::$app->request->get('id');
225
+		return $this->render('hainanvillegl', ['id' => $id]);
226
+	}
227
+	
228
+	public function actionHainanvilleglform()
229
+	{
230
+		$previd = Yii::$app->request->get('previd');
231
+		$data = PushhouseType::find()
232
+		                     ->select('pfg_pushhouse_type.*,pfg_pushplace_type.title,pfg_house.name,')
233
+		                     ->where(['pfg_pushhouse_type.previd' => $previd, 'pfg_pushhouse_type.type' => 2])
234
+		                     ->leftJoin('pfg_house', 'pfg_house.id = pfg_pushhouse_type.hid')
235
+		                     ->leftJoin('pfg_pushplace_type', 'pfg_pushplace_type.id = pfg_pushhouse_type.previd')
236
+		                     ->orderBy(['pfg_pushhouse_type.sort' => SORT_DESC])->asArray()->all();
237
+		return help::JsonData(0, '成功', 0, $data);
238
+	}
239
+	
240
+	public function actionHainanvillegladd()
241
+	{
242
+		$previd = Yii::$app->request->get('previd');
243
+		return $this->render('hainanvillegladd', ['previd' => $previd]);
244
+	}
245
+	
246
+	public function actionGulfcitygledit()
247
+	{
248
+		$id = Yii::$app->request->get('id');
249
+		$data = PushhouseType::find()
250
+		                     ->select('pfg_pushhouse_type.*,pfg_house.name,')
251
+		                     ->where(['pfg_pushhouse_type.id' => $id])
252
+		                     ->leftJoin('pfg_house', 'pfg_house.id = pfg_pushhouse_type.hid')
253
+		                     ->asArray()->one();
254
+		return $this->render('gulfcitygledit', ['data' => $data]);
255
+	}
256
+	
257
+	public function actionGulfcitygleditto()
258
+	{
259
+		$input = Yii::$app->request->post('data');
260
+		$row = PushhouseType::find();
261
+		if (!$row->where("id <> {$input['id']} AND previd = {$input['previd']} AND hid = {$input['hid']}")->exists()) {
262
+			$query = PushhouseType::findOne($input['id']);
263
+			$query->hid = $input['hid'];
264
+			if ($query->update(false)) return Help::JsonCode(Help::SUCCESS, '编辑成功');
265
+			return Help::JsonCode(Help::SUCCESS, '编辑失败');
266
+		} else {
267
+			return Help::JsonCode(Help::ERROR, '楼盘已存在');
268
+		}
269
+	}
270
+	
271
+	public function actionHainanvillegladdto()
272
+	{
273
+		$input = Yii::$app->request->post('data');
274
+		$row = PushhouseType::find();
275
+		if (!$row->where(['previd' => $input['previd'], 'type' => 2, 'hid' => $input['hid']])->exists()) {
276
+			$query = new PushhouseType();
277
+			$query->hid = $input['hid'];
278
+			$query->previd = $input['previd'];
279
+			$query->type = 2;
280
+			if ($query->save()) return Help::JsonCode(Help::SUCCESS, '添加成功');
281
+			Help::JsonCode(Help::ERROR, '添加失败');
282
+		} else {
283
+			Help::JsonCode(Help::ERROR, '楼盘已存在');
284
+		}
285
+	}
286
+	
287
+	public function actionTohainanvilleedit()
175 288
     {
176 289
         $input = Yii::$app->request->post('data');
177 290
         $rows = PushplaceType::find();
@@ -320,6 +433,24 @@ class ZtController extends CommonController
320 433
             Help::JsonCode(Help::ERROR, '楼盘已存在');
321 434
         }
322 435
     }
323
-
436
+	
437
+	public function actionHainanvilledel()
438
+	{
439
+		$id = Yii::$app->request->post('id');
440
+		if (is_numeric($id)) {
441
+			if (PushplaceType::findOne($id)->delete()) return Help::JsonCode(Help::SUCCESS, '删除成功');
442
+			return Help::JsonCode(Help::ERROR, '删除失败');
443
+		} else {
444
+			return Help::JsonCode(Help::ERROR, '删除失败');
445
+		}
446
+	}
447
+	
448
+	public function actionHainanvilleedit()
449
+	{
450
+		$id = Yii::$app->request->get('id');
451
+		$data = PushplaceType::findOne($id);
452
+		return $this->render('hainanvilleedit', ['data' => $data]);
453
+	}
454
+	
324 455
 
325 456
 }

+ 47 - 0
backend/views/publicuse/housenamecn.php

@@ -0,0 +1,47 @@
1
+<?php
2
+
3
+use backend\assets\AppAsset;
4
+
5
+AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/publicuse/housecn.js");
6
+?>
7
+<style>
8
+    body {
9
+        padding: 15px;
10
+    }
11
+
12
+    .layui-elem-quote {
13
+        margin-bottom: 0;
14
+        border-left: none;
15
+        padding: 10px;
16
+    }
17
+    .layui-table-page .layui-laypage {
18
+        float: right;
19
+        margin-right: 1%;
20
+    }
21
+
22
+    .layui-form-radio {
23
+        line-height: auto;
24
+        margin: 0;
25
+        padding-right: 0;
26
+    }
27
+</style>
28
+<form class="layui-form" id="bbb_b">    <fieldset class="layui-elem-field">
29
+        <legend>搜索信息</legend>
30
+        <div class="layui-field-box">
31
+    <blockquote class="layui-elem-quote quoteBox demoTable">
32
+
33
+        <div class="layui-inline">
34
+            <span>楼盘名称:</span>
35
+            <div class="layui-input-inline">
36
+                <input type="text" name="input_house_text" class="layui-input searchVal" placeholder="请输入楼盘名称"/>
37
+            </div>
38
+        </div>
39
+        <div class="layui-inline">
40
+            <a class="layui-btn search_btn" data-type="house_reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
41
+        </div>
42
+    </blockquote></div></fieldset>
43
+    <table id="houselist" lay-filter="houselist"></table>
44
+    <div class="layui-inline ">
45
+        <a class="layui-btn search_btn xuanzhouse" style="margin-left: 400px;margin-top:15px;">确认</a>
46
+    </div>
47
+</form>

+ 39 - 0
backend/views/zt/gulfcitygledit.php

@@ -0,0 +1,39 @@
1
+<?php
2
+/**
3
+ * Created by PhpStorm.
4
+ * User: xiaofeng
5
+ * Date: 2018/3/6
6
+ * Time: 下午5:49
7
+ */
8
+use backend\assets\AppAsset;
9
+AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/zt/gulfcitygl.js");
10
+?>
11
+<style>
12
+    .layui_box {width:80%;margin:0 auto;margin-top:25px;}
13
+    .layui-code, .layui-upload-list {margin-top:0;}
14
+    hr {width:100%;margin:0 auto;}
15
+    .mt {text-align:center;margin-top:15px;}
16
+    .The_house {background:#FBFBFB;color:#333;}
17
+    .The_house:hover {border:1px solid #a9a9a9;color:#333;}
18
+    .xm_xcxqTc_button {margin-top:-20px;}
19
+</style>
20
+
21
+
22
+<form class="layui-form layui-form-pane">
23
+    <div class="layui_box">
24
+        <div class="layui-form-item">
25
+            <label class="layui-form-label ">楼盘:</label>
26
+            <div class="layui-input-inline" style="width:43%">
27
+                <input type="text" id="house_name" name="house_name"  disabled placeholder="请选择所属区域" value="<?=$data['name']?>" autocomplete="off" class="layui-input">
28
+            </div>
29
+            <input type="hidden" name="hid" value="<?=$data['hid']?>">
30
+            <div class="layui-inline"><a class="layui-btn layui-btn-primary The_house" href="javascript:;">选择楼盘</a></div>
31
+        </div>
32
+        <div class="layui-form-item mt">
33
+            <input type="hidden" name="id" value="<?=$data['id']?>">
34
+            <input type="hidden" name="previd" value="<?=$data['previd']?>">
35
+            <button class="layui-btn" lay-submit="" lay-filter="edit_hainanville">提交</button>
36
+        </div>
37
+    </div>
38
+
39
+</form>

+ 32 - 0
backend/views/zt/hainanville.php

@@ -0,0 +1,32 @@
1
+<?php
2
+
3
+use backend\assets\AppAsset;
4
+
5
+AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/zt/hainanville.js");
6
+
7
+?>
8
+<style>
9
+    body {
10
+        padding: 15px;
11
+    }
12
+
13
+    .layui-elem-quote {
14
+        margin-bottom: 0;
15
+        border-left: none;
16
+        padding: 10px;
17
+    }
18
+    .layui-table-page .layui-laypage {float:right;margin-right:1%;}
19
+    .layui-table-view .layui-form-switch{right:0px}
20
+</style>
21
+<blockquote class="layui-elem-quote quoteBox demoTable">
22
+    <div class="layui-btn-group demoTable" >
23
+        <a class="layui-btn" data-type="addData">新增</a>
24
+    </div></blockquote>
25
+<table id="hainanvillelist" lay-filter="hainanvillelist"></table>
26
+
27
+
28
+<script type="text/html" id="hainanvillefunc">
29
+    <a class="layui-btn layui-btn-xs" lay-event="gl">关联楼盘</a>
30
+    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
31
+    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
32
+</script>

+ 36 - 0
backend/views/zt/hainanvilleadd.php

@@ -0,0 +1,36 @@
1
+<?php
2
+/**
3
+ * Created by PhpStorm.
4
+ * User: xiaofeng
5
+ * Date: 2018/3/6
6
+ * Time: 下午5:49
7
+ */
8
+use backend\assets\AppAsset;
9
+AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/zt/hainanville.js");
10
+?>
11
+<style>
12
+    .layui_box {width:80%;margin:0 auto;margin-top:25px;}
13
+    .layui-code, .layui-upload-list {margin-top:0;}
14
+    hr {width:100%;margin:0 auto;}
15
+    .mt {text-align:center;margin-top:15px;}
16
+    .The_house {background:#FBFBFB;color:#333;}
17
+    .The_house:hover {border:1px solid #a9a9a9;color:#333;}
18
+    .xm_xcxqTc_button {margin-top:-20px;}
19
+</style>
20
+
21
+
22
+<form class="layui-form layui-form-pane">
23
+    <div class="layui_box">
24
+        <div class="layui-form-item">
25
+            <label class="layui-form-label ">区域:</label>
26
+            <div class="layui-input-inline" style="width:43%">
27
+                <input type="text" name="title"  placeholder="请选择所属区域" autocomplete="off" class="layui-input">
28
+            </div>
29
+<!--            <div class="layui-inline"><a class="layui-btn layui-btn-primary The_house" href="javascript:;">选择所属区域</a></div>-->
30
+        </div>
31
+        <div class="layui-form-item mt">
32
+            <button class="layui-btn" lay-submit="" lay-filter="add_hainanville">提交</button>
33
+        </div>
34
+    </div>
35
+
36
+</form>

+ 36 - 0
backend/views/zt/hainanvilleedit.php

@@ -0,0 +1,36 @@
1
+<?php
2
+/**
3
+ * Created by PhpStorm.
4
+ * User: xiaofeng
5
+ * Date: 2018/3/6
6
+ * Time: 下午5:49
7
+ */
8
+use backend\assets\AppAsset;
9
+AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/zt/hainanville.js");
10
+?>
11
+<style>
12
+    .layui_box {width:80%;margin:0 auto;margin-top:25px;}
13
+    .layui-code, .layui-upload-list {margin-top:0;}
14
+    hr {width:100%;margin:0 auto;}
15
+    .mt {text-align:center;margin-top:15px;}
16
+    .The_house {background:#FBFBFB;color:#333;}
17
+    .The_house:hover {border:1px solid #a9a9a9;color:#333;}
18
+    .xm_xcxqTc_button {margin-top:-20px;}
19
+</style>
20
+
21
+
22
+<form class="layui-form layui-form-pane">
23
+    <div class="layui_box">
24
+        <div class="layui-form-item">
25
+            <label class="layui-form-label ">区域:</label>
26
+            <div class="layui-input-inline" style="width:43%">
27
+                <input type="text" name="title"  placeholder="请选择所属区域"  value="<?=$data['title']?>" autocomplete="off" class="layui-input">
28
+            </div>
29
+        </div>
30
+        <div class="layui-form-item mt">
31
+            <input type="hidden" name="id" value="<?=$data['id']?>">
32
+            <button class="layui-btn" lay-submit="" lay-filter="edit_hainanville">提交</button>
33
+        </div>
34
+    </div>
35
+
36
+</form>

+ 40 - 0
backend/views/zt/hainanvillegl.php

@@ -0,0 +1,40 @@
1
+<?php
2
+
3
+use backend\assets\AppAsset;
4
+
5
+AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/zt/hainanvillegl.js");
6
+
7
+?>
8
+<style>
9
+    body {
10
+        padding: 15px;
11
+    }
12
+
13
+    .layui-elem-quote {
14
+        margin-bottom: 0;
15
+        border-left: none;
16
+        padding: 10px;
17
+    }
18
+
19
+    .layui-table-page .layui-laypage {
20
+        float: right;
21
+        margin-right: 1%;
22
+    }
23
+
24
+    .layui-table-view .layui-form-switch {
25
+        right: 0px
26
+    }
27
+</style>
28
+<blockquote class="layui-elem-quote quoteBox demoTable">
29
+    <div class="layui-btn-group demoTable">
30
+        <a class="layui-btn" data-type="addData">新增</a>
31
+    </div>
32
+    <input type="hidden" id="previd" value="<?=$id?>">
33
+</blockquote>
34
+<table id="hainanvillelist" lay-filter="hainanvillelist"></table>
35
+
36
+
37
+<script type="text/html" id="hainanvillefunc">
38
+    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
39
+    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
40
+</script>

+ 37 - 0
backend/views/zt/hainanvillegladd.php

@@ -0,0 +1,37 @@
1
+<?php
2
+/**
3
+ * Created by PhpStorm.
4
+ * User: xiaofeng
5
+ * Date: 2018/3/6
6
+ * Time: 下午5:49
7
+ */
8
+use backend\assets\AppAsset;
9
+AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/zt/hainanvillegl.js");
10
+?>
11
+<style>
12
+    .layui_box {width:80%;margin:0 auto;margin-top:25px;}
13
+    .layui-code, .layui-upload-list {margin-top:0;}
14
+    hr {width:100%;margin:0 auto;}
15
+    .mt {text-align:center;margin-top:15px;}
16
+    .The_house {background:#FBFBFB;color:#333;}
17
+    .The_house:hover {border:1px solid #a9a9a9;color:#333;}
18
+    .xm_xcxqTc_button {margin-top:-20px;}
19
+</style>
20
+
21
+
22
+<form class="layui-form layui-form-pane">
23
+    <div class="layui_box">
24
+        <div class="layui-form-item">
25
+            <label class="layui-form-label ">楼盘:</label>
26
+            <div class="layui-input-inline" style="width:43%">
27
+                <input type="text" id="house_name" name="house_name" disabled placeholder="请选择所属区域" autocomplete="off" class="layui-input">
28
+            </div>
29
+            <div class="layui-inline"><a class="layui-btn layui-btn-primary The_house" href="javascript:;">选择所属区域</a></div>
30
+        </div>
31
+        <div class="layui-form-item mt">
32
+            <input type="hidden" name="previd" value="<?=$previd?>">
33
+            <button class="layui-btn" lay-submit="" lay-filter="add_hainanville">提交</button>
34
+        </div>
35
+    </div>
36
+
37
+</form>

+ 50 - 0
common/models/HousePrice.php

@@ -0,0 +1,50 @@
1
+<?php
2
+
3
+
4
+namespace common\models;
5
+
6
+
7
+class HousePrice extends AllclickRecord
8
+{
9
+    public function rules()
10
+    {
11
+        return [
12
+            ['price', 'required', 'message' => '户型不能为空'],
13
+            ['state', 'in', 'range' => [1, 2]],
14
+            ['del', 'in', 'range' => [1, 2]],
15
+        ];
16
+    }
17
+
18
+    public function FindById($id)
19
+    {
20
+        return self::findOne($id);
21
+    }
22
+
23
+    public function getList($input, $arr = null)
24
+    {
25
+        $query = self::find();
26
+        $query->select($arr);
27
+        $query = $this->WhereFouse($query);
28
+        if (!empty($input['page'])) {
29
+            $query->offset = ($input['page'] - 1) * $input['limit'];
30
+            $query->limit = $input['limit'];
31
+        }
32
+        return $query->orderBy(['sort' => SORT_ASC])->asArray()->all();
33
+    }
34
+
35
+    public function WhereFouse($query)
36
+    {
37
+        $query->andFilterWhere(['del' => $this->setDel]);
38
+        $query->andFilterWhere(['price' => $this->price]);
39
+        $query->andFilterWhere(['state' => $this->state]);
40
+        return $query;
41
+    }
42
+
43
+    public function Total()
44
+    {
45
+        $query = self::find();
46
+        $query = $this->WhereFouse($query);
47
+        return $query->count();
48
+    }
49
+
50
+}

+ 23 - 0
common/models/PushmRotation.php

@@ -121,5 +121,28 @@ class PushmRotation  extends Common
121 121
                 $query->limit = 5;
122 122
                 return $query->all();
123 123
         }
124
+	
125
+	/**
126
+	 * 前台获取图片
127
+	 * @param $type
128
+	 * @param $limit
129
+	 * @return array|\yii\db\ActiveRecord[]
130
+	 */
131
+	public function getRoationChart( $limit)
132
+	{
133
+		$query = self::find();
134
+		$query->andWhere(['del' => $this->setDel]);
135
+		$query->select(['title', 'url', 'img']);
136
+		$query->limit = $limit;
137
+		$query->orderBy(['sort' => SORT_DESC, 'id' => SORT_DESC]);
138
+		$data = $query->asArray()->all();
139
+		
140
+		if (!empty($data)) {
141
+			foreach ($data as &$val) {
142
+				$val['img'] = \Yii::$app->params['httpImg']['host'] . \Yii::$app->params['httpImg']['push_lb'] . $val['img'];
143
+			}
144
+			return $data;
145
+		}
146
+	}
124 147
 
125 148
 }

+ 6 - 53
mobile/controllers/IndexController.php

@@ -10,7 +10,7 @@ namespace mobile\controllers;
10 10
 
11 11
 use common\models\CategoryCity;
12 12
 use common\models\CategoryTelCity;
13
-use common\models\PushRotation;
13
+use common\models\PushmRotation;
14 14
 use common\models\PushmCity;
15 15
 use common\models\PushmColumn;
16 16
 use mobile\base\CommonController;
@@ -23,54 +23,7 @@ class IndexController extends CommonController
23 23
 
24 24
     public $enableCsrfValidation = false;
25 25
 
26
-    /*public function actionIndex()
27
-    {
28
-	    //获取当前模块
29
-	    $module = Yii::$app->hostserver->module;
30
-	    //导航
31
-	    $sysmenu = new \common\models\Frontend();
32
-	    $sysmenu->pid = 208;
33
-	    $sysrows = $sysmenu->SonList(8, ['name', 'url', 'icon', 'id', 'function']);
34
-	
35
-	    $lunbo = (new PushRotation())->getRoationChart(5, 5);                 //轮播图
36
-	
37
-	    $IndexModel = new IndexServer();
38
-	
39
-	    $news = $IndexModel->newslist();                                //咨询列表
40
-		
41
-	    $housetou = $IndexModel->getHouseTouTiao(1,3);                     //获取房产头条推送
42
-	
43
-	    $hothouse = $IndexModel->getHotHouse(12,3);                                     //获取首页热榜楼盘
44
-	
45
-	    $PCIndexModel = new \frontend\server\IndexServer();
46
-	    $vrhouse = $PCIndexModel->getVrHouse(4);                                                //获取VR看房
47
-	    $pushaerial = $PCIndexModel->getPushAerial(4);                                          //获取航拍实景
48
-	    //区域
49
-	    $gCity = Yii::$app->request->get('city');
50
-	    if (empty($gCity)) {
51
-		    $gCity = 60;
52
-		    if ($gCity != 0) {
53
-			    $cityName = CategoryCity::findOne($gCity)['city_name'];
54
-		    } else {
55
-			    $cityName = '海南';
56
-		    }
57
-	    } else {
58
-		    $cityName = CategoryCity::findOne($gCity)['city_name'];
59
-	    }
60
-	
61
-	
62
-	    return $this->render($this->action->id, [
63
-		    'module' => $module['module'],
64
-		    'sysmenu' => $sysrows,
65
-		    'cityname' => $cityName,
66
-		    'news' => $news,
67
-		    'lunbo'=>$lunbo,
68
-		    'housetou'=>$housetou,
69
-		    'hothouse'=>$hothouse,
70
-		    'vrhouse'=>$vrhouse,
71
-		    'pushaerial'=>$pushaerial
72
-	    ]);
73
-    }*/
26
+    
74 27
 	
75 28
 	/**
76 29
 	 * 移动端 - 首页
@@ -82,14 +35,14 @@ class IndexController extends CommonController
82 35
 		$module = Yii::$app->hostserver->module;
83 36
 		//导航
84 37
 		$sysmenu = new \common\models\Frontend();
85
-		$sysmenu->pid = 208;
38
+		$sysmenu->pid = 5;
86 39
 		$sysrows = $sysmenu->SonList(8, ['name', 'url', 'icon', 'id', 'function']);
87 40
 		
88
-		$lunbo = (new PushRotation())->getRoationChart(5, 5);                 //轮播图
41
+		$lunbo = (new PushmRotation())->getRoationChart(5);                 //轮播图
89 42
 		
90 43
 		$IndexModel = new IndexServer();
91 44
 		
92
-		$news = $IndexModel->newslist();                                //咨询列表
45
+//		$news = $IndexModel->newslist();                                //咨询列表
93 46
 		
94 47
 		$housetou = $IndexModel->getHouseTouTiao(1,3);                     //获取房产头条推送
95 48
 		
@@ -102,7 +55,7 @@ class IndexController extends CommonController
102 55
 		//区域
103 56
 		$gCity = Yii::$app->request->get('city');
104 57
 		if (empty($gCity)) {
105
-			$gCity = 68;
58
+			$gCity = 60;
106 59
 			if ($gCity != 0) {
107 60
 				$cityName = CategoryCity::findOne($gCity)['city_name'];
108 61
 			} else {

+ 1 - 1
mobile/controllers/NewsController.php

@@ -33,7 +33,7 @@ class NewsController extends  CommonController{
33 33
             }
34 34
         }
35 35
         $rows = $model->Pushinfo(2);
36
-
36
+		
37 37
         return $this->render('home',['lei'=>$lei,'top'=>$rows]);
38 38
     }
39 39
 

+ 2 - 0
mobile/controllers/PublicController.php

@@ -55,7 +55,9 @@ class PublicController extends CommonController
55 55
         $arr['type'] = $typeModel->getList([], ['id', 'huxing_name']);
56 56
         $city = new \common\models\CategoryCity();
57 57
         $city->pid = 0;
58
+        $city->abroad = 1;
58 59
         $arr['province'] = $city->getList([], ['id', 'city_name']);
60
+        
59 61
 //        p($arr);1111
60 62
 //        exit;
61 63
         return $this->renderPartial('customization', $arr);

+ 87 - 0
mobile/controllers/ZtController.php

@@ -182,6 +182,93 @@ class ZtController extends CommonController
182 182
         $data = $server->GuoQingZhongQiuY();
183 183
         return $this->render('autumnzt',['data'=>$data]);
184 184
     }
185
+	
186
+	//获取指定地区别墅TOP8
187
+	public function actionGetprovince()
188
+	{
189
+		$id = Yii::$app->request->post('city');
190
+		if(is_numeric($id)){
191
+			$data = \common\models\PushhouseType::find()
192
+			                                    ->select(['pfg_house.id','pfg_house.name','pfg_house.sale_price','pfg_house.thumb','pfg_house_detail.price_unit','pfg_house_detail.preferential'])
193
+			                                    ->where(['pfg_pushhouse_type.previd' => $id,'pfg_pushhouse_type.type'=>2])
194
+			                                    ->innerJoin('pfg_house', 'pfg_house.id = pfg_pushhouse_type.hid')
195
+			                                    ->innerJoin('pfg_house_detail','pfg_house_detail.hid = pfg_house.id')
196
+			                                    ->limit(8)
197
+			                                    ->orderBy(['pfg_pushhouse_type.sort'=>SORT_DESC])->asArray()->all();
198
+			foreach ($data as &$value){
199
+				$value['thumb'] = Yii::$app->params['httpImg']['hosts'] . Yii::$app->params['httpImg']['housesch'] . $value['thumb'] . '/same';
200
+			}
201
+			return \backend\base\Help::JsonData(Help::SUCCESS,'成功',0,$data);
202
+		}else{
203
+			return Help::JsonData(0,'成功',0,[]);
204
+		}
205
+	}
206
+	
207
+	//获取湾区列表
208
+	public function actionGetgulfcitygl()
209
+	{
210
+		$id = Yii::$app->request->post('id');
211
+		if (is_numeric($id)) {
212
+			$data = \common\models\PushhouseType::find()
213
+			                                    ->select('pfg_pushhouse_type.*,pfg_house.name,pfg_house.city,pfg_house.sale_price,pfg_house.thumb,pfg_house_detail.price_unit')
214
+			                                    ->where(['pfg_pushhouse_type.previd' => $id])
215
+			                                    ->innerJoin('pfg_house', 'pfg_house.id = pfg_pushhouse_type.hid')
216
+			                                    ->innerJoin('pfg_house_detail', 'pfg_house_detail.hid = pfg_house.id')
217
+			                                    ->limit(6)
218
+			                                    ->orderBy(['pfg_pushhouse_type.sort' => SORT_DESC])->asArray()->all();
219
+			foreach ($data as &$value) {
220
+				$value['thumb'] = Yii::$app->params['httpImg']['hosts'] . Yii::$app->params['httpImg']['housesch'] . $value['thumb'] . '/same';
221
+				$value['tel'] = $this->RandTel($value['city']);
222
+			}
223
+			return \backend\base\Help::JsonData(Help::SUCCESS, '成功', 0, $data);
224
+		} else {
225
+			return Help::JsonData(0, '成功', 0, []);
226
+		}
227
+	}
228
+	
229
+	
230
+	// 海南别墅专题
231
+	public function actionHnbszt()
232
+	{
233
+		$row = new \common\models\PushplaceType();
234
+		$city1 = $row->city1();
235
+		$city2 = $row->city2();
236
+		$hn_boutiquevilla = $row->boutiquevilla();
237
+		$hn_city = \common\models\CategoryCity::find()->where(['pid' => 68])->select('id,city_name')->asArray()->all();
238
+		$priceList = \common\models\HousePrice::find()->where(['del' => 1, 'state' => 1])->orderBy(['sort' => SORT_ASC])->asArray()->all();
239
+		//别墅动态
240
+		$villa_news = (new \common\models\PushnewsType())->getlist(4);
241
+		foreach ($villa_news as &$value){
242
+			$value['thumb'] = Yii::$app->params['httpImg']['host'] . Yii::$app->params['httpImg']['newsthumb_cn'] . json_decode($value['thumb'],true)[0];
243
+			$value['time'] = date('Y.m.d',$value['create_at']);
244
+		}
245
+		//获取最新资讯
246
+		$new_news = \common\models\News::find()->select('id,subject,thumb,abstract,create_at')->where(['state'=>1,'del'=>1])->orderBy(['create_at'=>SORT_DESC,'id'=>SORT_DESC])->limit(4)->asArray()->all();
247
+		foreach ($new_news as &$value){
248
+			$value['thumb'] = Yii::$app->params['httpImg']['host'] . Yii::$app->params['httpImg']['newsthumb_cn'] . json_decode($value['thumb'],true)[0];
249
+			$value['time'] = date('Y.m.d',$value['create_at']);
250
+		}
251
+		return $this->render('hnbszt', [
252
+			'city1' => $city1,
253
+			'city2' => $city2,
254
+			'hn_city' => $hn_city,
255
+			'priceList' => $priceList,
256
+			'hn_boutiquevilla' => $hn_boutiquevilla,
257
+			'villa_news'=>$villa_news,
258
+			'new_news'=>$new_news
259
+		]);
260
+	}
261
+	
262
+	//获取专栏广告位
263
+	public function actionGetboutiquevillalist()
264
+	{
265
+		$id = Yii::$app->request->post('id');
266
+		$data = (new \common\models\PushhouseType())->boutiquevillaList($id,8);
267
+		foreach ($data as &$value){
268
+			$value['img'] = Yii::$app->params['httpImg']['host'] . Yii::$app->params['httpImg']['boutiquevilla'] . $value['img'];
269
+		}
270
+		return \backend\base\Help::JsonData(Help::SUCCESS, '成功', 0, $data);
271
+	}
185 272
 
186 273
 
187 274
 }

+ 29 - 0
mobile/modules/live/base/BaseController.php

@@ -0,0 +1,29 @@
1
+<?php
2
+
3
+namespace mobile\modules\live\base;
4
+
5
+use common\models\CategoryCity;
6
+use common\models\House;
7
+use mobile\base\CommonController;
8
+use Yii;
9
+
10
+/**
11
+ * Default controller for the `live` module
12
+ */
13
+class BaseController extends CommonController
14
+{
15
+    /**
16
+     * @param $action
17
+     * @return bool|void
18
+     * @throws \yii\web\BadRequestHttpException
19
+     */
20
+    public function beforeAction($action)
21
+    {
22
+        parent::beforeAction($action);
23
+
24
+        Yii::$app->hostserver->module['module'] = $action->controller->module->id;
25
+
26
+        return true;
27
+    }
28
+
29
+}

+ 10 - 5
mobile/modules/live/controllers/DefaultController.php

@@ -5,10 +5,11 @@ namespace mobile\modules\live\controllers;
5 5
 
6 6
 use common\Helps\Time;
7 7
 use common\models\CategoryCity;
8
+use common\models\House;
9
+use common\models\Live;
8 10
 use mobile\modules\live\base\BaseController;
9 11
 use Yii;
10
-use common\models\Live;
11
-use common\models\House;
12
+
12 13
 
13 14
 /**
14 15
  * Default controller for the `dinglongwan` module
@@ -30,7 +31,7 @@ class DefaultController extends BaseController
30 31
         $input = Yii::$app->request->get();
31 32
 
32 33
         if (!empty($input['city'])) {
33
-            $cmodel = new \common\models\CategoryCity();
34
+            $cmodel = new CategoryCity();
34 35
             $input['city'] = array_column($cmodel->GetAllSon($input['city']), 'id');
35 36
 
36 37
         }
@@ -42,12 +43,16 @@ class DefaultController extends BaseController
42 43
         if (!empty($res)) {
43 44
             foreach ($res as &$val) {
44 45
                 $val['pid'] = CategoryCity::find()->select(['pid'])->andWhere(['del' => 1, 'id' => $val['city']])->asArray()->one()['pid'];
45
-                if (!empty($val['pid'])) $val['house']['f'] = CategoryCity::find()->select(['id', 'city_name'])->andWhere(['del' => 1, 'id' => $val['pid']])->asArray()->one();
46
+                if (!empty($val['pid'])) $val['house']['f'] = CategoryCity::find()->select(['id', 'city_name', 'sort'])->andWhere(['del' => 1, 'state' => 1, 'id' => $val['pid']])->asArray()->one();
46 47
             }
47 48
         }
49
+
48 50
         $c = array_column($res, 'house');
49 51
         $province = array_column($c, 'f', 'province');
50 52
 
53
+        $sortKey = array_column($province, 'sort'); //取出数组中sort的一列,返回一维数组
54
+        array_multisort($sortKey, SORT_DESC, SORT_NUMERIC); //大到小排序,根据sort排序在前
55
+
51 56
         $data = $lmodel->showList($input);
52 57
         if (!empty($data)) {
53 58
             foreach ($data as &$val) {
@@ -57,7 +62,7 @@ class DefaultController extends BaseController
57 62
                 $house = House::findOne($val['hid']);
58 63
                 if (!empty($house['area'])) {
59 64
                     $val['swt'] = $house['area'];
60
-                }else{
65
+                } else {
61 66
                     $val['swt'] = $house['city'];
62 67
                 }
63 68
             }

+ 67 - 0
mobile/modules/live/controllers/EnrollController.php

@@ -0,0 +1,67 @@
1
+<?php
2
+
3
+namespace mobile\modules\live\controllers;
4
+
5
+
6
+use common\api\EnrollServer;
7
+use common\models\china\CnEnroll;
8
+use mobile\base\Help;
9
+use Yii;
10
+use mobile\modules\live\base\BaseController;
11
+use common\enums\EmailEnum;
12
+
13
+
14
+class EnrollController extends BaseController
15
+{
16
+    public $enableCsrfValidation = false;
17
+
18
+    /*
19
+     * name             姓名
20
+     * source_model     来源模块
21
+     * mobile           手机号
22
+     * intention_house  意向楼盘
23
+     * hid              楼盘ID 不存在:0
24
+     * equipment        设备 2=>pc   1=>移动
25
+     * city             区域
26
+     *
27
+     * */
28
+    public function actionSignup()
29
+    {
30
+        header("Access-Control-Allow-Origin:*");
31
+        $en = new EnrollServer();
32
+
33
+        $testNumber = \common\models\TestNumber::find()->andWhere(['number' => Yii::$app->request->post('mobile'), 'is_show' => 1])->asArray()->one();
34
+        if (empty($testNumber)) {
35
+            //如果不为测试号码,则需要限制报名次数
36
+            $cacheResult = $en->Restrict();
37
+            if ($cacheResult === false) return Help::JsonCode(Help::ERROR, '您今天的报名次数已超过限制');
38
+        }
39
+
40
+        $form = new \common\forms\VisitorRegistrationFormcn();
41
+        $form->load(['type' => 'cn'], '');
42
+        $form->load(Yii::$app->request->post(), '');
43
+        if (!$form->validate()) return Help::JsonCode(Help::ERROR, '提交失败', $form->errors);
44
+
45
+        $model = new CnEnroll();
46
+        $model->scenario = 'madd';
47
+        $model->load(array_merge($form->attributes, Yii::$app->request->post()), '');
48
+
49
+        if ($model->save()) {
50
+
51
+            if (!empty($testNumber)) {
52
+                //如果是测试号码,则不走以下发送邮箱的步骤
53
+                return Help::JsonCode(Help::SUCCESS, '测试号码提交成功');
54
+            }
55
+
56
+            $Email = $form->attributes;
57
+            $Email['id'] = $model->attributes['id'];
58
+            (new \common\service\common\MailerService())->send($form->send_email, $Email, EmailEnum::SITEFORM);
59
+            return \frontend\base\Help::JsonCode(Help::SUCCESS, '提交成功');
60
+        }
61
+
62
+        return Help::JsonCode(Help::ERROR, '提交失败');
63
+
64
+    }
65
+
66
+
67
+}

+ 11 - 11
mobile/modules/live/controllers/HomeController.php

@@ -6,14 +6,14 @@ namespace mobile\modules\live\controllers;
6 6
 
7 7
 use common\Helps\Time;
8 8
 use common\models\CategoryCity;
9
-use common\models\LiveHttprecord;
9
+use common\models\House;
10
+use common\models\HouseType;
11
+use common\models\Live;
10 12
 use common\models\Sendcoderecord;
11 13
 use mobile\modules\live\base\BaseController;
12 14
 use Yii;
13 15
 use mobile\base\Help;
14
-use common\models\Live;
15
-use common\models\HouseType;
16
-use common\models\House;
16
+
17 17
 
18 18
 
19 19
 class HomeController extends BaseController
@@ -32,7 +32,7 @@ class HomeController extends BaseController
32 32
     {
33 33
         $input = Yii::$app->request->get();
34 34
         if (!empty($input['city'])) {
35
-            $cmodel = new \common\models\CategoryCity();
35
+            $cmodel = new CategoryCity();
36 36
             $input['city'] = array_column($cmodel->GetAllSon($input['city']), 'id');
37 37
 
38 38
         }
@@ -85,10 +85,10 @@ class HomeController extends BaseController
85 85
         //推送直播--随机同一区域其他楼盘直播
86 86
         $pushLive = $model->getLiveBySameArea($res->city, $res->id);
87 87
 
88
-        //记录浏览记录
89
-        $server = new \common\api\HttpServer();
90
-        $record = new LiveHttprecord();
91
-        $record->Add($ip = Yii::$app->request->userIP, $vid = $input['id'], $url = $server->GetCurUrl());
88
+//        //记录浏览记录
89
+//        $server = new \common\api\HttpServer();
90
+//        $record = new LiveHttprecord();
91
+//        $record->Add($ip = Yii::$app->request->userIP, $vid = $input['id'], $url = $server->GetCurUrl());
92 92
 
93 93
         return $this->render($this->action->id, [
94 94
             'module' => $module['module'],
@@ -112,7 +112,7 @@ class HomeController extends BaseController
112 112
         $housetype = $htmodel::find()->andWhere(['hid' => $input['id'], 'type_id' => $input['value'], 'del' => 1, 'state' => 1])->asArray()->all();
113 113
         if (!empty($housetype)) {
114 114
             array_walk($housetype, function (&$val) {
115
-                $val['img'] = Yii::$app->params['httpImg']['hosts'] . Yii::$app->params['httpImg']['housetypes'] . $val['img'] . Yii::$app->params['pfgwatermark'];
115
+                $val['img'] = Yii::$app->params['httpImg']['hosts'] . Yii::$app->params['httpImg']['housetypesch'] . $val['img'] . Yii::$app->params['pfgwatermark'];
116 116
             });
117 117
         }
118 118
         if (!empty($housetype)) return Help::JsonCode(Help::SUCCESS, '成功', $housetype);
@@ -125,7 +125,7 @@ class HomeController extends BaseController
125 125
         $input['purpose'] = '视频播放验证';
126 126
         $smsServer = new \mobile\server\SendCode();
127 127
 
128
-        return $smsServer->send($input);
128
+        return $smsServer->easySms($input);
129 129
     }
130 130
 
131 131
     public function actionCheckcode()

+ 19 - 21
mobile/modules/live/views/default/index.php

@@ -3,47 +3,45 @@
3 3
 use yii\helpers\Url;
4 4
 
5 5
 use mobile\modules\live\assets\AppAsset;
6
+AppAsset::addCss($this, Yii::$app->request->baseUrl . "/overseas/css/public/public.css");
7
+AppAsset::addCss($this, Yii::$app->request->baseUrl . "/overseas/live/css/broadcast.css");
6 8
 
7
-AppAsset::addCss($this, Yii::$app->request->baseUrl . "/css/public.css");
8
-AppAsset::addCss($this, Yii::$app->request->baseUrl . "/modules/live/css/broadcast.css");
9
+AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/js/nav.js');
10
+AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/live/js/menu/iscroll.js');
11
+AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/live/js/menu/navbarscroll.js');
12
+AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/live/js/dropload.min.js');
13
+AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/live/js/broadcast.js');
9 14
 
10
-AppAsset::addScript($this, Yii::$app->request->baseUrl . '/js/nav.js');
11
-AppAsset::addScript($this, Yii::$app->request->baseUrl . '/modules/live/js/menu/iscroll.js');
12
-AppAsset::addScript($this, Yii::$app->request->baseUrl . '/modules/live/js/menu/navbarscroll.js');
13
-AppAsset::addScript($this, Yii::$app->request->baseUrl . '/modules/live/js/dropload.min.js');
14
-AppAsset::addScript($this, Yii::$app->request->baseUrl . '/modules/live/js/broadcast.js');
15
-
16
-$this->title = '直播看房-首页_易购房';
15
+$this->title = '直播看房-首页_品房阁';
17 16
 
18 17
 ?>
19 18
 
20 19
 <div class="body_box">
21 20
 
22
-
23 21
     <!-- 头部导航 -->
24 22
     <div class="m_albumtnav_box">
25
-        <?php $this->beginContent('@app/views/public/nav.php'); ?>
26
-        <?php $this->endContent(); ?>
27
-
23
+    <!-- 导航 -->
24
+    <?php $this->beginContent('@app/modules/v1/views/public/nav.php'); ?>
25
+    <?php $this->endContent(); ?>
28 26
 
29 27
         <div class="wrapper02_box">
30 28
             <div class="wrapper02" id="demo06">
31 29
                 <div class="scroller">
32 30
                     <ul class="m_click c">
33
-                        <li country="0" name="city"><a href="javascript:void(0)">全国<i></i></a></li>
34
-                        <?php if (!empty($province)) : ?>
35
-                            <?php foreach ($province as $val): ?>
36
-                                <li country="<?= $val['id'] ?>" name="city"><a
37
-                                            href="javascript:void(0)"><?= $val['city_name'] ?><i></i></a></li>
38
-                            <?php endforeach; ?>
39
-                        <?php endif; ?>
31
+<!--                        <li country="0" name="city"><a href="javascript:void(0)">全国<i></i></a></li>-->
32
+<!--                        --><?php //if (!empty($province)) : ?>
33
+<!--                            --><?php //foreach ($province as $val): ?>
34
+                                <li country="68" name="city"><a
35
+                                            href="javascript:void(0)">海南<i></i></a></li>
36
+<!--                            --><?php //endforeach; ?>
37
+<!--                        --><?php //endif; ?>
40 38
                     </ul>
41 39
                 </div>
42 40
             </div>
43 41
         </div>
44 42
 
45 43
     </div>
46
-    <div style="height: 106px;"></div>
44
+    <div style="height: 101px;"></div>
47 45
 
48 46
     <!-- 楼盘列表 -->
49 47
     <?php if (!empty($Data)): ?>

+ 21 - 18
mobile/modules/live/views/home/detail.php

@@ -3,18 +3,18 @@
3 3
 use yii\helpers\Url;
4 4
 
5 5
 use mobile\modules\live\assets\AppAsset;
6
-AppAsset::addCss($this, Yii::$app->request->baseUrl . "/css/public.css");
7
-AppAsset::addCss($this, Yii::$app->request->baseUrl . "/modules/live/css/broadcastdetails.css");
6
+AppAsset::addCss($this, Yii::$app->request->baseUrl . "/overseas/css/public/public.css");
7
+AppAsset::addCss($this, Yii::$app->request->baseUrl . "/overseas/live/css/broadcastdetails.css");
8 8
 AppAsset::addCss($this, Yii::$app->request->baseUrl . "/js/alert/alert.css");
9
-AppAsset::addCss($this, Yii::$app->request->baseUrl . "/modules/live/js/lunbo/swiper-3.4.2.min.css");
9
+AppAsset::addCss($this, Yii::$app->request->baseUrl . "/overseas/live/js/lunbo/swiper-3.4.2.min.css");
10 10
 
11
-AppAsset::addScript($this, Yii::$app->request->baseUrl . '/modules/live/js/jquery.SuperSlide.2.1.3.js');
12
-AppAsset::addScript($this, Yii::$app->request->baseUrl . '/modules/live/js/lunbo/swiper-3.4.2.min.js');
13
-AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/applyVerify.js");
11
+AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/live/js/jquery.SuperSlide.2.1.3.js');
12
+AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/live/js/lunbo/swiper-3.4.2.min.js');
13
+AppAsset::addScript($this,Yii::$app->request->baseUrl."/overseas/js/applyVerify.min.js");
14 14
 AppAsset::addScript($this, Yii::$app->request->baseUrl . '/js/alert/alert.js');
15
-AppAsset::addScript($this, Yii::$app->request->baseUrl . '/modules/live/js/broadcastdetails.js');
15
+AppAsset::addScript($this, Yii::$app->request->baseUrl . '/overseas/live/js/broadcastdetails.js');
16 16
 
17
-$this->title = '直播看房-首页_易购房';
17
+$this->title = '直播看房-首页_品房阁';
18 18
 
19 19
 ?>
20 20
 <!--<!doctype html>-->
@@ -35,14 +35,17 @@ $this->title = '直播看房-首页_易购房';
35 35
 <!--<script src="./js/lunbo/swiper-3.4.2.min.js"></script>-->
36 36
 <!--<script type="text/javascript" src="./js/broadcastdetails.js"></script>-->
37 37
 <!--</html>-->
38
-
38
+<style>
39
+    .detailsctitle p{width:64%;}
40
+    .detailsctitle img.wlogo {width:80px;height:25px;position:absolute;top:13px;right:10px;}
41
+</style>
39 42
 <div class="body_box">
40 43
 
41 44
     <!-- 头部 -->
42 45
     <div class="detailsctitle c">
43
-        <a class="l" href="javascript:window.history.back()"><img src="/modules/live/image/zb4.png" alt=""></a>
46
+        <a href="javascript:window.history.back()"><img src="/modules/live/image/zb4.png" alt=""></a>
44 47
         <p><?= !empty($Data) ? $Data['title'] : ''; ?> </p>
45
-        <span><a href="/"><img src="/image/v2/index01.png" alt=""></a></span>
48
+        <img class="wlogo" src="/image/v2/logo.png" alt="">
46 49
     </div>
47 50
 
48 51
     <!-- 推送 -->
@@ -71,7 +74,7 @@ $this->title = '直播看房-首页_易购房';
71 74
     <div class="m_video">
72 75
         <div class="m_videobj"><img src="<?= $Data['img'] ?>" alt=""></div> 
73 76
         <video class="m_video_sp" controls="controls" id="myVideo" 
74
-               src="<?= !empty($Data)? $Data['video_url'] : '';?>" 
77
+               src="<?= !empty($Data)? $Data['video_url'] : '';?>"
75 78
                poster="<?= $Data['img'] ?>"
76 79
                width="100%" height="100%" style="object-fit:fill" playsinline="true" webkit-playsinline="true" ></video>
77 80
         <div class="m_video_img" id="live_id" data-boole="true">
@@ -81,12 +84,12 @@ $this->title = '直播看房-首页_易购房';
81 84
     </div>
82 85
 
83 86
 
84
-    <div class="sweepcode_box" style="display:none;">
87
+    <div class="sweepcode_box">
85 88
 
86 89
         <div class="sweepcode_title c">
87
-            <span><img src="/modules/live/image/zb7.png" alt="">易购房</span>
88
-            <i class="zk">关注公众号</i>
89
-            <i class="sq">收起</i>
90
+            <span>品房海外</span>
91
+         <!--    <i class="zk">关注公众号</i>
92
+            <i class="sq">收起</i> -->
90 93
         </div>
91 94
 
92 95
         <!--		  <div class="sweepcode_switch">-->
@@ -228,8 +231,8 @@ $this->title = '直播看房-首页_易购房';
228 231
                   <span>快速获取完整的专业楼盘解读信息!</span>
229 232
              </div>
230 233
              <form class="submit_area y_reduced_left2">
231
-                  <input type="hidden" name="hid" value="0">              <!-- 0 为公共报名,其它为楼盘ID,有时默认为0有可能通过JS修改为楼盘ID-->
232
-                  <input type="hidden" name="source" value="65">     <!--报名来源 具体查看applyVerify.js文件中SourceModule 标识说明-->
234
+                  <input type="hidden" name="hid" value="<?= $Data['hid'] ?>">              <!-- 0 为公共报名,其它为楼盘ID,有时默认为0有可能通过JS修改为楼盘ID-->
235
+                  <input type="hidden" name="source" value="111">     <!--报名来源 具体查看applyVerify.js文件中SourceModule 标识说明-->
233 236
                   <input type="hidden" name="equipment" value="1">        <!--来源设备 ( PC端  2,手机端   1 )-->
234 237
                     <p class="zhanghao">
235 238
                         <b class="hint-text">您输入的手机号码不正确</b>

Fichier diff supprimé car celui-ci est trop grand
+ 39 - 13
mobile/modules/live/views/layouts/main.php


+ 17 - 0
mobile/modules/v1/views/public/nav.php

@@ -0,0 +1,17 @@
1
+<?php
2
+
3
+$view = \Yii::$app->getView();
4
+
5
+?>
6
+<div>
7
+    <div class="y_header">
8
+        <div class="header_back"><a href="<?= \common\fm\Request::Referer(Yii::$app->hostserver->module['module']); ?>"><img src="/overseas/img/head-back.png"></a></div>
9
+        <div class="header_logo2"><a href="/"><img src="/overseas/img/jpzimg_1.png"></a></div>
10
+        <div class="header_menu"><a></a></div>
11
+    </div>
12
+    <!-- 侧边栏 -->
13
+    <?php $this->beginContent('@app/modules/v1/views/public/navsidebar.php'); ?>
14
+    <?php $this->endContent(); ?>
15
+    <div style="height:50px;" class="height"></div>
16
+</div>
17
+

+ 27 - 0
mobile/modules/v1/views/public/navsidebar.php

@@ -0,0 +1,27 @@
1
+<!-- 侧边栏 -->
2
+<div class="y_sidebar">
3
+    <div class="y_sidebarcent">
4
+        <div class="y_sidebarcent_ul">
5
+            <ul>
6
+                <?php
7
+                $sysmenu = new \common\models\Frontend();
8
+                $sysmenu->pid = 210;
9
+                $SysRows = $sysmenu->SonList(10, ['name', 'url', 'icon', 'function']);
10
+                ?>
11
+                <?php if (!empty($SysRows)) {
12
+                    foreach ($SysRows as $val) { ?>
13
+                        <li><a href="<?= $val['url'] ?>" <?php if (!empty($val['function'])) {
14
+                                echo $val['function'];
15
+                            } ?>><i><img src="<?= Yii::$app->params['httpImg']['host'], Yii::$app->params['httpImg']['city'], $val['icon'] ?>"
16
+                                         alt=""></i><span><?= \common\fm\Opencc::ConvertHn($val['name']) ?></span></a>
17
+                        </li>
18
+                    <?php }
19
+                } ?>
20
+            </ul>
21
+        </div>
22
+        <div class="y_sidscend y_input">
23
+            <a class="y_lplist_inp" href="javascript:;"><?= \common\fm\Opencc::ConvertHn('输入楼盘名称') ?>...</a>
24
+        </div>
25
+    </div>
26
+    <div class="y_sidebar_bg"></div>
27
+</div>

+ 4 - 4
mobile/views/public/customization.php

@@ -607,14 +607,14 @@
607 607
         <div class="demand_title"><?= Opencc::ConvertHn('您想在哪里买房?') ?></div>
608 608
 
609 609
         <div class="region_box">
610
-            <!-- <ul class="region">
610
+             <ul class="region">
611 611
                 <?php foreach ($province as $val) { ?>
612 612
                     <li regionId="<?= $val['id'] ?>"><i></i><?= $val['city_name'] ?></li>
613 613
                 <?php } ?>
614
-            </ul> -->
615
-            <ul class="region">
616
-                <li regionId="68"><i></i>海南</li>
617 614
             </ul>
615
+<!--            <ul class="region">-->
616
+<!--                -->
617
+<!--            </ul>-->
618 618
             <div class="region_City_box">
619 619
                 <ul class="region_City">
620 620
                     <!--                    <li><span>不限</span><i class="i_dark"></i></li>-->

+ 3 - 3
mobile/web/modules/live/js/broadcastdetails.js

@@ -361,7 +361,7 @@ $(function(){
361 361
     }
362 362
 
363 363
     var urlstr = window.location.href;
364
-    var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
364
+    // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
365 365
 
366 366
     var phoneReg = /(^1[3|4|5|7|8]\d{9}$)|(^09\d{8}$)/;//手机号正则 
367 367
     var count = 60; //间隔函数,1秒执行
@@ -398,7 +398,7 @@ $(function(){
398 398
         // alert(password);
399 399
         $.ajax({
400 400
             type: "POST",
401
-            url: matchdata +"/home/checkcode",
401
+            url: "/home/checkcode",
402 402
             data: {mobile:phone,code:code},
403 403
             dataType: "json",
404 404
             success:function(data){
@@ -447,7 +447,7 @@ $(function(){
447 447
         //向后台发送处理数据
448 448
         $.ajax({
449 449
             type: "POST",
450
-            url: matchdata +"/home/sendcode",
450
+            url: "/home/sendcode",
451 451
             data: {mobilephone:phone},
452 452
             dataType: "json",
453 453
             success:function(data){

+ 1 - 1
mobile/web/overseas/js/applyVerify.js

@@ -56,7 +56,7 @@ var PublicAction = {
56 56
         // 获取
57 57
         var urlstr = window.location.href;
58 58
         var searchurl = urlstr.substring(0, urlstr.indexOf('?') + 1);
59
-        var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
59
+        // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
60 60
 
61 61
         var oid = e.CORID,                      //ID
62 62
             url = '/enroll/signup',        //提交地址

+ 2 - 2
mobile/web/overseas/js/applyVerify.min.js

@@ -13,10 +13,10 @@ var PublicAction = {
13 13
         // 获取
14 14
         var urlstr = window.location.href;
15 15
         var searchurl = urlstr.substring(0,urlstr.indexOf('?')+1);
16
-        var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
16
+        // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
17 17
 
18 18
         var i = e.CORID,                      //ID
19
-            _url = matchdata+'/enroll/signup',        //提交地址
19
+            _url = '/enroll/signup',        //提交地址
20 20
             _post = "POST",                      //提交方式
21 21
             _async = true;             
22 22
 

+ 2 - 2
mobile/web/overseas/js/house/details.js

@@ -25,12 +25,12 @@ $(function(){
25 25
     $('.y_ckysz').on('click',function(){
26 26
         var urlstr = window.location.href;
27 27
         var searchurl = urlstr.substring(0,urlstr.indexOf('?')+1);
28
-        var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
28
+        // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
29 29
 
30 30
         var $that = $(this);
31 31
         var height =  $('.y_licence').outerHeight();
32 32
         var width =  $('.y_licence').outerWidth();
33
-        CreatePopLayerDivlp(width,width,matchdata+'/public/licence');
33
+        CreatePopLayerDivlp(width,width,'/public/licence');
34 34
         $('#offDivlp').css({'top':height+'px'}).animate({top:'20%'})
35 35
         // 向弹窗传数据
36 36
         parent.lic_id = $that.attr('data-id');                        //把楼盘名称传向父级

+ 7 - 5
mobile/web/overseas/js/signup/signup.js

@@ -11,7 +11,9 @@ $(function(){
11 11
     $('body .popup').on('click',function(){
12 12
         var urlstr = window.location.href;
13 13
         var searchurl = urlstr.substring(0,urlstr.indexOf('?')+1);
14
-        var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
14
+        console.log(searchurl)
15
+
16
+        // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
15 17
 
16 18
         var $that = $(this);
17 19
         CreatePopLayerDiv('100%','100%','/public/signup');
@@ -30,12 +32,12 @@ $(function(){
30 32
     $('.customize_btn').on('click',function(){
31 33
         var urlstr = window.location.href;
32 34
         var searchurl = urlstr.substring(0,urlstr.indexOf('?')+1);
33
-        var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
35
+        // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
34 36
 
35 37
         var $that = $(this);
36 38
         var height =  $('.m_form').outerHeight();
37 39
         var width =  $('.m_form').outerWidth();
38
-        CreatePopLayerDiv(width,width,matchdata+'/public/customization');
40
+        CreatePopLayerDiv(width,width,'/public/customization');
39 41
         $('.m_signUp_box').show();
40 42
         $('.m_form').css('margin-top',-height/2 -20);
41 43
 
@@ -52,12 +54,12 @@ $(function(){
52 54
     $('.home_analyze a').on('click',function(){
53 55
         var urlstr = window.location.href;
54 56
         var searchurl = urlstr.substring(0,urlstr.indexOf('?')+1);
55
-        var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
57
+        // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
56 58
 
57 59
         var $that = $(this);
58 60
         var height =  $('.analyze').outerHeight();
59 61
         var width =  $('.analyze').outerWidth();
60
-        CreatePopLayerDiv(width,'auto',matchdata+'/public/analyze');
62
+        CreatePopLayerDiv(width,'auto','/public/analyze');
61 63
 
62 64
         // 向弹窗传数据
63 65
         parent.w_title = $that.attr('data-name');                        //把楼盘名称传向父级

+ 2 - 2
mobile/web/overseas/js/videolist/details.js

@@ -135,10 +135,10 @@ $(function(){
135 135
 	        var self = this, result;
136 136
 	        var urlstr = window.location.href;
137 137
 	        var searchurl = urlstr.substring(0,urlstr.indexOf('?')+1);
138
-	        var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
138
+	        // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
139 139
 	        // 获取
140 140
 	        var oid = e.CORID,                      //ID
141
-	            url = matchdata+'/enroll/signup',        //提交地址
141
+	            url = '/enroll/signup',        //提交地址
142 142
 	            type = "POST",                      //提交方式
143 143
 	            async = true;                      //同步或异步
144 144
 

+ 3 - 3
mobile/web/overseas/live/js/broadcastdetails.js

@@ -361,7 +361,7 @@ $(function(){
361 361
     }
362 362
 
363 363
     var urlstr = window.location.href;
364
-    var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
364
+    // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
365 365
 
366 366
     var phoneReg = /(^1[3|4|5|7|8]\d{9}$)|(^09\d{8}$)/;//手机号正则 
367 367
     var count = 60; //间隔函数,1秒执行
@@ -398,7 +398,7 @@ $(function(){
398 398
         // alert(password);
399 399
         $.ajax({
400 400
             type: "POST",
401
-            url: matchdata +"/home/checkcode",
401
+            url: "/home/checkcode",
402 402
             data: {mobile:phone,code:code},
403 403
             dataType: "json",
404 404
             success:function(data){
@@ -447,7 +447,7 @@ $(function(){
447 447
         //向后台发送处理数据
448 448
         $.ajax({
449 449
             type: "POST",
450
-            url: matchdata +"/home/sendcode",
450
+            url: "/home/sendcode",
451 451
             data: {mobilephone:phone},
452 452
             dataType: "json",
453 453
             success:function(data){

+ 3 - 3
mobile/web/web/modules/live/js/broadcastdetails.js

@@ -361,7 +361,7 @@ $(function(){
361 361
     }
362 362
 
363 363
     var urlstr = window.location.href;
364
-    var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
364
+    // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
365 365
 
366 366
     var phoneReg = /(^1[3|4|5|7|8]\d{9}$)|(^09\d{8}$)/;//手机号正则 
367 367
     var count = 60; //间隔函数,1秒执行
@@ -398,7 +398,7 @@ $(function(){
398 398
         // alert(password);
399 399
         $.ajax({
400 400
             type: "POST",
401
-            url: matchdata +"/home/checkcode",
401
+            url: "/home/checkcode",
402 402
             data: {mobile:phone,code:code},
403 403
             dataType: "json",
404 404
             success:function(data){
@@ -447,7 +447,7 @@ $(function(){
447 447
         //向后台发送处理数据
448 448
         $.ajax({
449 449
             type: "POST",
450
-            url: matchdata +"/home/sendcode",
450
+            url: "/home/sendcode",
451 451
             data: {mobilephone:phone},
452 452
             dataType: "json",
453 453
             success:function(data){

+ 1 - 1
mobile/web/web/overseas/js/applyVerify.js

@@ -56,7 +56,7 @@ var PublicAction = {
56 56
         // 获取
57 57
         var urlstr = window.location.href;
58 58
         var searchurl = urlstr.substring(0, urlstr.indexOf('?') + 1);
59
-        var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
59
+        // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
60 60
 
61 61
         var oid = e.CORID,                      //ID
62 62
             url = '/enroll/signup',        //提交地址

+ 2 - 2
mobile/web/web/overseas/js/applyVerify.min.js

@@ -13,10 +13,10 @@ var PublicAction = {
13 13
         // 获取
14 14
         var urlstr = window.location.href;
15 15
         var searchurl = urlstr.substring(0,urlstr.indexOf('?')+1);
16
-        var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
16
+        // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
17 17
 
18 18
         var i = e.CORID,                      //ID
19
-            _url = matchdata+'/enroll/signup',        //提交地址
19
+            _url = '/enroll/signup',        //提交地址
20 20
             _post = "POST",                      //提交方式
21 21
             _async = true;             
22 22
 

+ 2 - 2
mobile/web/web/overseas/js/house/details.js

@@ -25,12 +25,12 @@ $(function(){
25 25
     $('.y_ckysz').on('click',function(){
26 26
         var urlstr = window.location.href;
27 27
         var searchurl = urlstr.substring(0,urlstr.indexOf('?')+1);
28
-        var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
28
+        // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
29 29
 
30 30
         var $that = $(this);
31 31
         var height =  $('.y_licence').outerHeight();
32 32
         var width =  $('.y_licence').outerWidth();
33
-        CreatePopLayerDivlp(width,width,matchdata+'/public/licence');
33
+        CreatePopLayerDivlp(width,width,'/public/licence');
34 34
         $('#offDivlp').css({'top':height+'px'}).animate({top:'20%'})
35 35
         // 向弹窗传数据
36 36
         parent.lic_id = $that.attr('data-id');                        //把楼盘名称传向父级

+ 2 - 2
mobile/web/web/overseas/js/search_public.js

@@ -35,8 +35,8 @@ $(function(){
35 35
     $(".js_y_lplist_inp").click(function(){
36 36
         var urlstr = window.location.href;
37 37
         var searchurl = urlstr.substring(0,urlstr.indexOf('?')+1);
38
-        var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
39
-        CreatePopLayerDiv2('100%','100%',matchdata+"/public/searchalertwindow"); //添加加载页面
38
+        // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
39
+        CreatePopLayerDiv2('100%','100%',"/public/searchalertwindow"); //添加加载页面
40 40
         $('#serachBox2').hide();
41 41
         $('.my_needs').hide();
42 42
         $('.home_module_channel').hide();

+ 6 - 6
mobile/web/web/overseas/js/signup/signup.js

@@ -11,10 +11,10 @@ $(function(){
11 11
     $('body .popup').on('click',function(){
12 12
         var urlstr = window.location.href;
13 13
         var searchurl = urlstr.substring(0,urlstr.indexOf('?')+1);
14
-        var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
14
+        // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
15 15
 
16 16
         var $that = $(this);
17
-        CreatePopLayerDiv('100%','100%',matchdata+'/public/signup');
17
+        CreatePopLayerDiv('100%','100%','/public/signup');
18 18
 
19 19
         // 向弹窗传数据
20 20
         parent.bm_title=$that.attr('data-title');
@@ -30,12 +30,12 @@ $(function(){
30 30
     $('.customize_btn').on('click',function(){
31 31
         var urlstr = window.location.href;
32 32
         var searchurl = urlstr.substring(0,urlstr.indexOf('?')+1);
33
-        var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
33
+        // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
34 34
 
35 35
         var $that = $(this);
36 36
         var height =  $('.m_form').outerHeight();
37 37
         var width =  $('.m_form').outerWidth();
38
-        CreatePopLayerDiv(width,width,matchdata+'/public/customization');
38
+        CreatePopLayerDiv(width,width,'/public/customization');
39 39
         $('.m_signUp_box').show();
40 40
         $('.m_form').css('margin-top',-height/2 -20);
41 41
 
@@ -52,12 +52,12 @@ $(function(){
52 52
     $('.home_analyze a').on('click',function(){
53 53
         var urlstr = window.location.href;
54 54
         var searchurl = urlstr.substring(0,urlstr.indexOf('?')+1);
55
-        var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
55
+        // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
56 56
 
57 57
         var $that = $(this);
58 58
         var height =  $('.analyze').outerHeight();
59 59
         var width =  $('.analyze').outerWidth();
60
-        CreatePopLayerDiv(width,'auto',matchdata+'/public/analyze');
60
+        CreatePopLayerDiv(width,'auto','/public/analyze');
61 61
 
62 62
         // 向弹窗传数据
63 63
         parent.w_title = $that.attr('data-name');                        //把楼盘名称传向父级

+ 2 - 2
mobile/web/web/overseas/js/videolist/details.js

@@ -135,10 +135,10 @@ $(function(){
135 135
 	        var self = this, result;
136 136
 	        var urlstr = window.location.href;
137 137
 	        var searchurl = urlstr.substring(0,urlstr.indexOf('?')+1);
138
-	        var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
138
+	        // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
139 139
 	        // 获取
140 140
 	        var oid = e.CORID,                      //ID
141
-	            url = matchdata+'/enroll/signup',        //提交地址
141
+	            url = '/enroll/signup',        //提交地址
142 142
 	            type = "POST",                      //提交方式
143 143
 	            async = true;                      //同步或异步
144 144
 

+ 3 - 3
mobile/web/web/overseas/live/js/broadcastdetails.js

@@ -361,7 +361,7 @@ $(function(){
361 361
     }
362 362
 
363 363
     var urlstr = window.location.href;
364
-    var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
364
+    // var matchdata = urlstr.match(/\.com(\/\w+)/)[1];
365 365
 
366 366
     var phoneReg = /(^1[3|4|5|7|8]\d{9}$)|(^09\d{8}$)/;//手机号正则 
367 367
     var count = 60; //间隔函数,1秒执行
@@ -398,7 +398,7 @@ $(function(){
398 398
         // alert(password);
399 399
         $.ajax({
400 400
             type: "POST",
401
-            url: matchdata +"/home/checkcode",
401
+            url: "/home/checkcode",
402 402
             data: {mobile:phone,code:code},
403 403
             dataType: "json",
404 404
             success:function(data){
@@ -447,7 +447,7 @@ $(function(){
447 447
         //向后台发送处理数据
448 448
         $.ajax({
449 449
             type: "POST",
450
-            url: matchdata +"/home/sendcode",
450
+            url: "/home/sendcode",
451 451
             data: {mobilephone:phone},
452 452
             dataType: "json",
453 453
             success:function(data){

+ 15 - 1
注意事项.html

@@ -1,4 +1,18 @@
1 1
 <!--复制 list_nav 表-->
2 2
 <!--复制 pfg_cn_push_hothouse 表 移动站 热门楼盘-->
3 3
 <!--复制 pfg_pushm_news 表-->
4
-复制 pfg_push_housesale 表
4
+复制 pfg_push_housesale 表
5
+
6
+
7
+<!--专题-->
8
+复制 pfg_pushplace_type 表
9
+复制 pfg_cn_house_price 表
10
+复制 pfg_pushnews_type 表
11
+
12
+<!--资讯列表-->
13
+复制 pfg_pushhouse_type 表
14
+<!--复制 pushm_news 表-->
15
+
16
+<!--移动端轮播图-->
17
+pfg_pushm_rotation
18
+pfg_push_rotation