Commit c124fb26 authored by agping's avatar agping

推广修改

parent 285b5cbf
...@@ -283,7 +283,6 @@ ...@@ -283,7 +283,6 @@
var _name = jsonObect.user_name; var _name = jsonObect.user_name;
var _name_img = jsonObect.user_img; var _name_img = jsonObect.user_img;
var _tel = jsonObect.user_tel; var _tel = jsonObect.user_tel;
var _city = jsonObect.city;
// var _name = getUrlParam('user_name'); // var _name = getUrlParam('user_name');
// var _name_img = getUrlParam('user_img'); // var _name_img = getUrlParam('user_img');
// var _tel = getUrlParam('user_tel'); // var _tel = getUrlParam('user_tel');
...@@ -353,7 +352,7 @@ ...@@ -353,7 +352,7 @@
}); });
}; };
function isCity(){//判断是 推广链接 function isCity(){//判断是 推广链接
if(_city){ if(p_city){
var _fix_bottom = $(".fix_area_bottom_new"); var _fix_bottom = $(".fix_area_bottom_new");
_fix_bottom.show(); _fix_bottom.show();
$('.shop-list').show(); $('.shop-list').show();
......
...@@ -42,6 +42,8 @@ ...@@ -42,6 +42,8 @@
<!-- built files will be auto injected --> <!-- built files will be auto injected -->
<script src="https://api.tonglianjituan.com/app/js/libs/vue.min.js"></script> <script src="https://api.tonglianjituan.com/app/js/libs/vue.min.js"></script>
<script src="https://api.tonglianjituan.com/app/js/libs/vue-router.min.js"></script> <script src="https://api.tonglianjituan.com/app/js/libs/vue-router.min.js"></script>
<!--<script src="https://unpkg.com/vue/dist/vue.js"></script>
<script src="https://unpkg.com/vue-router/dist/vue-router.js"></script>-->
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</select> </select>
<img :src="icon_address" class="icon-address-img"/> <img :src="icon_address" class="icon-address-img"/>
</div> </div>
<div class="top-shop-search" @click="toShopSearchList()"> <div class="top-shop-search" @click="toShopSearchList()" v-show="isShowSearch">
<img :src="icon_search" class="icon-search-img"/> <img :src="icon_search" class="icon-search-img"/>
</div> </div>
...@@ -135,6 +135,7 @@ ...@@ -135,6 +135,7 @@
p_agent_id:'', p_agent_id:'',
site_area:2, site_area:2,
generalizeId:1, generalizeId:1,
isShowSearch:1,
initTabNumAreaCity:0, initTabNumAreaCity:0,
initTabNumBusiness:0, initTabNumBusiness:0,
initMoreNum:0, initMoreNum:0,
...@@ -170,6 +171,7 @@ ...@@ -170,6 +171,7 @@
created() { created() {
let _this = this; let _this = this;
if(_this.$route.query.city){ if(_this.$route.query.city){
_this.isShowSearch = 0;
_this.initSelectCity = decodeURIComponent(_this.$route.query.city); _this.initSelectCity = decodeURIComponent(_this.$route.query.city);
_this.initTabNumMain = _this.$route.query.type*1 == 1?0:1; _this.initTabNumMain = _this.$route.query.type*1 == 1?0:1;
_this.p_district_id = _this.$route.query.p_district_id; _this.p_district_id = _this.$route.query.p_district_id;
...@@ -472,7 +474,6 @@ ...@@ -472,7 +474,6 @@
var str = this.common.ServerHost + "/index/shareShop?id=" + id +'&share=1&isC=0&client=b&user_name=' + user_name +'&user_img=' + user_img +'&user_tel=' + user_tel; var str = this.common.ServerHost + "/index/shareShop?id=" + id +'&share=1&isC=0&client=b&user_name=' + user_name +'&user_img=' + user_img +'&user_tel=' + user_tel;
} }
// var str = this.common.ServerHost + "/app.php/app/share_detail?id=" + id +'&share=1&isC=0&client=b&user_name=' + user_name +'&user_img=' + user_img +'&user_tel=' + user_tel;
location.href = str; location.href = str;
}, },
toShopSearchList(){ toShopSearchList(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment