Commit 352bd3e2 authored by agping's avatar agping

推广

parent f69590be
......@@ -424,7 +424,7 @@
});
//点击 商铺详情的 更多商铺
$('.shop-list').click(function() {
location.href = ServerHost + "/app/dist/#/shopList?city=" + p_city +'&type=' + p_type +'&p_district_id=' + p_district_id+'&p_store_id=' + p_store_id +'&p_agent_id=' + p_agent_id+'&generalizeId=' + generalize_id;
location.href = ServerHost + "/app/dist/#/shopList?city=" + p_city +'&type=' + p_type +'&p_district_id=' + p_district_id+'&p_store_id=' + p_store_id +'&p_agent_id=' + p_agent_id+'&generalizeId=' + generalize_id+'&redBag=1';
});
}else if(pc_isOfficial){
$('.pc-contact-agent').show();
......
......@@ -13,7 +13,7 @@ module.exports = {
proxyTable: {},
// Various Dev Server settings
host: '192.168.0.74', // can be overwritten by process.env.HOST
host: 'localhost', // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true,
errorOverlay: true,
......
......@@ -74,4 +74,5 @@
background: url(images/icon_close@2x.png) no-repeat center center/.72rem .72rem;
margin: 0 auto;
}
</style>
\ No newline at end of file
......@@ -83,11 +83,12 @@
</div>
<div class="mark-shop-choose-gray" v-for="(item, index) in mainDataChoose" v-show="(initTabNumMainChoose == index) && item.isShow" @click="tabMainChoose(index)">
</div>
<div class="to-five-page" v-if='isGif' @click="tabFivePage()">
<!--<div class="to-five-page" v-if='isGif' @click="tabFivePage()">
<img :src="gif_img" class="to-five-page-img"/>
</div>
</div>-->
<red-pack-mask @closeclick="showRedPackMask = false" v-if="showRedPackMask"></red-pack-mask>
<div class="immediately-to-receive" @click="tabFivePage()"></div>
</div>
</template>
......@@ -180,7 +181,7 @@
'isShow': false,
}],
showRedPackMask: true,//是否显示红包弹窗
showRedPackMask: false,//是否显示红包弹窗
}),
created() {
let _this = this;
......@@ -196,6 +197,12 @@
_this.p_agent_id = _this.$route.query.p_agent_id;
_this.generalizeId = _this.$route.query.generalizeId;
_this.site_area = 6;
if(_this.$route.query.redBag){
_this.showRedPackMask = false;
}else{
_this.showRedPackMask = true;
}
};
//H5 官网
if(_this.$route.query.isOfficial){
......@@ -508,8 +515,9 @@
},
//到500代金券
tabFivePage(){
console.log(555)
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;
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+'&redBag=1';
location.href = str1;
},
delMore(){
......@@ -917,4 +925,13 @@
.to-five-page img{
width: 1.6rem;
}
.immediately-to-receive{
width: 4.3rem;
height: .9rem;
position: absolute;
top: 7.6rem;
right: 1.5rem;
z-index: 999;
cursor: pointer;
}
</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