mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 03:26:45 +08:00
控制pc样式
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
|
||||
<body>
|
||||
<img id="coverImg" src="" alt="" />
|
||||
<div class="pc">
|
||||
<div class="pc" id="pc" style="display: none;">
|
||||
<div class="img">
|
||||
<img src="https://iagentsales-sr.e-guofu.com:8443/images/logo.png" alt="" />
|
||||
</div>
|
||||
@@ -89,6 +89,7 @@
|
||||
android_download_url: 'https://iagentsales-sr.e-guofu.com:8443/gfrs/apk/GfLife.apk',
|
||||
ios_download_url: 'https://apps.apple.com/cn/app/id1483906479'
|
||||
}
|
||||
|
||||
if (isAndroid) {
|
||||
location.replace(URL.android_download_url)
|
||||
document.body.setAttribute('class', 'android_bg')
|
||||
@@ -98,6 +99,7 @@
|
||||
location.replace(URL.ios_download_url)
|
||||
} else {
|
||||
//coverImg.src = 'https://iagentsales-sr.e-guofu.com:8443/images/logo.png'
|
||||
document.getElementById('pc').style.display = 'flex'
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user