Commit b46c91bb by 施宇

111

parent 0b138a51
......@@ -18,7 +18,7 @@
</div>
<div class="fl qrcode">
<img src="__PUBLIC__/images/qrcode.png" alt="">
<img src="__PUBLIC__/images/gzhqr.jpg" alt="">
<p>微信公众号</p>
</div>
</div>
......
......@@ -21,7 +21,7 @@
<p>微信小程序</p>
</div>
<div class="pull_qrcode header_qrcode app_qrcode">
<img src="__PUBLIC__/images/xcx.png" alt="">
<img src="__PUBLIC__/images/appdownqr.png" alt="">
<p>扫描下载APP</p>
</div>
</div>
......
......@@ -65,11 +65,11 @@
<p class="text">版本: V1.0.0</p>
</div>
<div class="pull_qrcode rj_qrcode ios_qrcode">
<img src="__PUBLIC__/images/xcx.png" alt="">
<img src="__PUBLIC__/images/iosdownqr.png" alt="">
<p>扫描下载APP</p>
</div>
<div class="pull_qrcode rj_qrcode android_qrcode">
<img src="__PUBLIC__/images/xcx.png" alt="">
<img src="__PUBLIC__/images/appdownqr.png" alt="">
<p>扫描下载APP</p>
</div>
</div>
......@@ -155,11 +155,11 @@
<p>微信小程序</p>
</div>
<div class="qrcode">
<img src="__PUBLIC__/images/xcx.png" alt="">
<img src="__PUBLIC__/images/appdownqr.png" alt="">
<p>APP下载</p>
</div>
<div class="qrcode">
<img src="__PUBLIC__/images/xcx.png" alt="">
<img src="__PUBLIC__/images/gzhqr.jpg" alt="">
<p>微信公众号</p>
</div>
</div>
......@@ -324,6 +324,7 @@
$('.mobile_wrapper .web_img').show()
}
};
// pc逻辑
$('.index_wrapper .lb_nav span').click(function () {
var index = $(this).index();
$('.index_wrapper .lb_div_content').css('left', -(index * 1190) + 'px');
......@@ -346,17 +347,32 @@
}
});
// h5逻辑
$('.mobile_wrapper .lb_nav span').click(function () {
var index = $(this).index();
window.location.replace(window.location.origin + '?type=' + index)
});
$('.xcx_item').on('click', function () {
$('.mobile_wrapper .lb_nav span').click(function () {
var index = $(this).index();
window.location.replace(window.location.origin + '?type=' + index)
});
$('.mobile_wrapper').on('click', '.app_item_div',function () {
var index = $(this).index();
if(index == 0){
//ios下载
window.location.href = 'https://itunes.apple.com/us/app/id1481750196'
}else{
//安卓下载
window.location.href = 'https://img.icsales.com/down/ICSales_release_1_v1.0_2019_10_12_14_42_57.apk'
}
});
$('.mobile_wrapper').on('click', '.xcx_item',function () {
$('.xcx_mask').show();
});
$('.xcx_mask').on('click', function () {
$('.mobile_wrapper').on('click','.xcx_mask',function () {
$(this).hide()
});
$('.xcx_mask .mask_img_div').on('click', function (e) {
$('.mobile_wrapper').on('click', '.mask_img_div',function (e) {
if (e && e.stopPropagation) {
e.stopPropagation();
} else {
......@@ -367,7 +383,6 @@
Util.showOrHideQrcode('app_btn', 'app_qrcode');
Util.showOrHideQrcode('ios', 'ios_qrcode');
Util.showOrHideQrcode('android', 'android_qrcode');
})
</script>
......
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 sign in to comment