|
@@ -70,6 +70,8 @@
|
|
|
</p>
|
|
|
</div>
|
|
|
</van-dialog>
|
|
|
+
|
|
|
+ <img v-if="showWixin" src="../../assets/img/weixin.jpg" class="Down">
|
|
|
</div>
|
|
|
</template>
|
|
|
<script setup>
|
|
@@ -90,6 +92,7 @@ import {
|
|
|
import logoImage from '@/assets/img/logp.png';
|
|
|
const toShanshipin = ref(false);
|
|
|
const toDetail = ref(false);
|
|
|
+const showWixin = ref(false);
|
|
|
|
|
|
function getDownloadUrl() {
|
|
|
let url = 'https://ssp.sxtvs.com.cn';
|
|
@@ -102,8 +105,7 @@ function getDownloadUrl() {
|
|
|
|
|
|
function toShanshipinFunc() {
|
|
|
if (isIpad || isIpod || isIphone) return (location.href = getDownloadUrl());
|
|
|
- if (isWechat)
|
|
|
- document.querySelector('.weixin').setAttribute('style', 'display:block');
|
|
|
+ if (isWechat) showWixin.value = true;
|
|
|
else location.href = getDownloadUrl();
|
|
|
if (!isWechat && isAndroid)
|
|
|
window.setTimeout(function () {
|
|
@@ -204,5 +206,12 @@ function toShanshipinFunc() {
|
|
|
line-height: 1.5em;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+ .Down{
|
|
|
+ position: fixed;
|
|
|
+ z-index: 100000;
|
|
|
+ width: 100vw;
|
|
|
+ height: 100vh;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|