Browse Source

首页下载功能

master
luyisha 3 years ago
parent
commit
4c7a111c1e
  1. 21
      pages/base/home.vue
  2. BIN
      static/img/trusted-section_5.png

21
pages/base/home.vue

@ -440,8 +440,8 @@
<image class="section-h-3-bp" src="../../static/img/trusted-section_5.png" mode=""></image> <image class="section-h-3-bp" src="../../static/img/trusted-section_5.png" mode=""></image>
</view> </view>
<view class="d-flex justify-between"> <view class="d-flex justify-between">
<view class="section-h-3-btn"><image src="../../static/img/antFill-apple.png" mode=""></image>App Stoer</view> <view class="section-h-3-btn" @click="toLink('apple')"><image src="../../static/img/antFill-apple.png" mode=""></image>App Stoer</view>
<view class="section-h-3-btn"><image src="../../static/img/fab fa-android.png" mode=""></image>Android APK</view> <view class="section-h-3-btn" @click="toLink('android')"><image src="../../static/img/fab fa-android.png" mode=""></image>Android APK</view>
</view> </view>
</view> </view>
<!-- 点击前往 --> <!-- 点击前往 -->
@ -1075,6 +1075,23 @@ export default {
url: '/pages/assets/recharge' url: '/pages/assets/recharge'
}) })
} }
},
toLink(type){
if(type==='apple'){
// #ifdef APP-PLUS
plus.runtime.openURL("https://app.cxipro.com/download/ ")
// #endif
// #ifdef H5
window.open("https://app.cxipro.com/download/ ", '_blank')
// #endif
}else if(type==='android'){
// #ifdef APP-PLUS
plus.runtime.openURL("https://app.cxipro.com/download/ ")
// #endif
// #ifdef H5
window.open("https://app.cxipro.com/download/ ", '_blank')
// #endif
}
} }
}, },
mounted() { mounted() {

BIN
static/img/trusted-section_5.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

After

Width:  |  Height:  |  Size: 426 KiB

Loading…
Cancel
Save