Commit 79e7ad89 authored by agping's avatar agping

修改

parent 1f1911e4
...@@ -83,12 +83,15 @@ ...@@ -83,12 +83,15 @@
</div> </div>
<div class="mark-shop-choose-gray" v-for="(item, index) in mainDataChoose" v-show="(initTabNumMainChoose == index) && item.isShow" @click="tabMainChoose(index)"> <div class="mark-shop-choose-gray" v-for="(item, index) in mainDataChoose" v-show="(initTabNumMainChoose == index) && item.isShow" @click="tabMainChoose(index)">
</div> </div>
<div class="to-five-page" v-if='isGif' @click="tabFivePage()">
<img :src="gif_img" class="to-five-page-img"/>
</div>
</div> </div>
</template> </template>
<script> <script>
// import content from 'https://s96.cnzz.com/z_stat.php?id=1275427652&web_id=1275427652'; // import content from 'https://s96.cnzz.com/z_stat.php?id=1275427652&web_id=1275427652';
import gif_img from '@/components/shop/images/gif.gif';
import icon_search from '@/components/shop/images/icon_search@2x.png'; import icon_search from '@/components/shop/images/icon_search@2x.png';
import icon_address from '@/components/shop/images/icon_address@2x.png'; import icon_address from '@/components/shop/images/icon_address@2x.png';
import icon_down from '@/components/shop/images/icon_down@2x.png'; import icon_down from '@/components/shop/images/icon_down@2x.png';
...@@ -138,11 +141,13 @@ ...@@ -138,11 +141,13 @@
site_area:2, site_area:2,
generalizeId:1, generalizeId:1,
isShowSearch:1, isShowSearch:1,
isGif:0,
isSelectDisabled:false, isSelectDisabled:false,
initTabNumAreaCity:0, initTabNumAreaCity:0,
initTabNumBusiness:0, initTabNumBusiness:0,
initMoreNum:0, initMoreNum:0,
initMoreNumRent:0, initMoreNumRent:0,
gif_img,
icon_address, icon_address,
icon_down02, icon_down02,
icon_down, icon_down,
...@@ -177,6 +182,7 @@ ...@@ -177,6 +182,7 @@
if(_this.$route.query.city){ if(_this.$route.query.city){
_this.isShowSearch = 0; _this.isShowSearch = 0;
_this.isSelectDisabled = true; _this.isSelectDisabled = true;
_this.isGif=1;
_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;
...@@ -494,6 +500,12 @@ ...@@ -494,6 +500,12 @@
localStorage.setItem('shop_list_b_user_city',this.initSelectCity); localStorage.setItem('shop_list_b_user_city',this.initSelectCity);
localStorage.setItem('shop_list_b_user_shoptype',this.initTabNumMain); localStorage.setItem('shop_list_b_user_shoptype',this.initTabNumMain);
}, },
//到500代金券
tabFivePage(){
let _this = this;
var str1 = this.common.ServerHost + "/app/baidu_send?" +'city=' + _this.$route.query.city +'&type=' + _this.$route.query.type +'&p_district_id=' + _this.$route.query.p_district_id+'&p_store_id=' + _this.$route.query.p_store_id +'&p_agent_id=' + _this.$route.query.p_agent_id+'&generalizeId=' + _this.$route.query.generalizeId;
location.href = str1;
},
delMore(){ delMore(){
let _this = this; let _this = this;
_this.initTabNumRent = 0; _this.initTabNumRent = 0;
...@@ -854,4 +866,13 @@ ...@@ -854,4 +866,13 @@
.icon-search-img{ .icon-search-img{
width: .46rem; width: .46rem;
} }
/*gif 动画*/
.to-five-page{
position: fixed;
top: 4.6rem;
right: .18rem;
}
.to-five-page img{
width: 1.6rem;
}
</style> </style>
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