提交演示入口
This commit is contained in:
parent
072b0f2f25
commit
6dfb588983
@ -72,6 +72,10 @@
|
||||
</button>
|
||||
</u-grid-item>
|
||||
<!-- #endif -->
|
||||
<u-grid-item @click="commercialLink">
|
||||
<image class="gn-icon" src="/static/img/commercial-licensing.png"></image>
|
||||
<view style="color: #e50000;font-size: 12px;margin-bottom: 20rpx;">商业版</view>
|
||||
</u-grid-item>
|
||||
</u-grid>
|
||||
</view>
|
||||
<!-- 发贴入口 -->
|
||||
@ -140,6 +144,23 @@
|
||||
uni.navigateTo({
|
||||
url: url
|
||||
});
|
||||
},
|
||||
commercialLink(){
|
||||
// #ifdef H5
|
||||
window.open("https://www.linfeng.tech")
|
||||
// #endif
|
||||
// #ifdef MP-WEIXIN
|
||||
uni.navigateToMiniProgram({
|
||||
appId:'wx1d4a8967c92bda9b',
|
||||
path:'pages/index/index',
|
||||
success: res => {
|
||||
console.log("打开成功", res);
|
||||
},
|
||||
fail: err => {
|
||||
console.log(err);
|
||||
}
|
||||
})
|
||||
// #endif
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
Loading…
Reference in New Issue
Block a user