Commit 827c0942 authored by zw's avatar zw

Merge branch 'test'

parents 3be6a465 75950910
......@@ -103,7 +103,7 @@ function jumpEvent(){
}
} else if (device.isAndroid()) {
if ( navigator.userAgent.toLowerCase().match(/MicroMessenger/i)!='micromessenger' ) {
window.location.href = 'tlscheme://tlhost/tonglian/open' + params;
window.location.href = 'tlscheme://tlhost/tonglian/open' ;//+ params;
window.setTimeout(function(){
location.href = ServerHostTempC + _clientType==='b'?'/app_broker/download_b':'/app.php/app/download_c'
},5000);
......@@ -121,7 +121,7 @@ function jumpEvent(){
location.href = ServerHostTempC + _clientType==='b'?'/app_broker/download_b':'/app.php/app/download_c'
},5000);
} else if (device.isAndroid()) {
window.location.href = 'tlscheme://tlhost/tonglian/open' + params;
window.location.href = 'tlscheme://tlhost/tonglian/open' ;//+ params;
window.setTimeout(function(){
location.href = ServerHostTempC + _clientType==='b'?'/app_broker/download_b':'/app.php/app/download_c'
},5000);
......
......@@ -83,10 +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>
</template>
<script>
// import content from 'https://s96.cnzz.com/z_stat.php?id=1275427652&web_id=1275427652';
import icon_search from '@/components/shop/images/icon_search@2x.png';
import icon_address from '@/components/shop/images/icon_address@2x.png';
import icon_down from '@/components/shop/images/icon_down@2x.png';
......@@ -557,6 +559,18 @@
}
]
}
},
beforeCreate() {
window.scrollTo(0,0);
let new_element = document.createElement('script');
new_element.setAttribute('type', 'text/javascript');
new_element.setAttribute('src', 'https://s96.cnzz.com/z_stat.php?id=1275427652&web_id=1275427652');
document.body.appendChild(new_element);
},
beforeDestroy() {
//移除统计浏览量的js
let b = document.querySelector('script[src*="https://s96.cnzz.com/z_stat.php?id=1275427652&web_id=1275427652"]');
b && b.parentNode.removeChild(b);
}
}
</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 to comment