Commit 94ad047d authored by chenqikuai's avatar chenqikuai

fix

parent 7c960d70
...@@ -10,14 +10,14 @@ ...@@ -10,14 +10,14 @@
<div class="line"></div> <div class="line"></div>
</div> </div>
<div class="txtContainer2"> <div class="txtContainer2">
<a :href="androidUrl"> <a :href="androidUrl" @click="clickH5Android">
<div class="btn btnTxt andriod"> <div class="btn btnTxt andriod">
<svg class="iconfont icon" aria-hidden="true" style="color: #3F7EC7; font-size: 28px;"> <svg class="iconfont icon" aria-hidden="true" style="color: #3F7EC7; font-size: 28px;">
<use xlink:href="#icon-anzhuo" /> <use xlink:href="#icon-anzhuo" />
</svg> Andriod版下载 </svg> Andriod版下载
</div> </div>
</a> </a>
<a :href="iosUrl"> <a :href="iosUrl" @click="clickH5Ios">
<div class="btn btnTxt ios"> <div class="btn btnTxt ios">
<svg class="iconfont icon" aria-hidden="true" style="color: #3F7EC7; font-size: 28px;"> <svg class="iconfont icon" aria-hidden="true" style="color: #3F7EC7; font-size: 28px;">
<use xlink:href="#icon-ios" /> <use xlink:href="#icon-ios" />
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
</div> </div>
</div> </div>
<div style="display: flex; justify-content: center" class="ig-btns-container"> <div style="display: flex; justify-content: center" class="ig-btns-container">
<a :href="androidUrl"> <a :href="androidUrl" @click="clickPcAndroid">
<div class="ig-btn" style="margin-right: 34px;"> <div class="ig-btn" style="margin-right: 34px;">
<svg <svg
class="iconfont icon" class="iconfont icon"
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
Andriod版下载 Andriod版下载
</div> </div>
</a> </a>
<a :href="iosUrl"> <a :href="iosUrl" @click="clickPcIos">
<div class="ig-btn"> <div class="ig-btn">
<svg <svg
class="iconfont icon" class="iconfont icon"
...@@ -110,6 +110,34 @@ onBeforeMount(() => { ...@@ -110,6 +110,34 @@ onBeforeMount(() => {
}) })
const clickH5Ios = (e: Event) => {
if (iosUrl.value == '') {
e.preventDefault();
notify('暂未开放')
}
}
const clickH5Android = (e: Event) => {
if (androidUrl.value == '') {
e.preventDefault();
notify('暂未开放')
}
}
const clickPcIos = (e: Event) => {
if (iosUrl.value == '') {
e.preventDefault();
notify2('暂未开放')
}
}
const clickPcAndroid = (e: Event) => {
if (androidUrl.value == '') {
e.preventDefault();
notify2('暂未开放')
}
}
const notify = (str: string) => { const notify = (str: string) => {
notifyStr.value = str notifyStr.value = str
clearTimeout(timeoutid) clearTimeout(timeoutid)
......
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