|
|
@@ -402,6 +402,7 @@ export default {
|
|
|
})
|
|
|
// #endif
|
|
|
// #ifdef APP-PLUS
|
|
|
+ uni.showLoading()
|
|
|
if(plus.runtime.isApplicationExist({pname:'com.tencent.mm',action:'weixin://'})){
|
|
|
plus.share.getServices(function(s){
|
|
|
var sweixin
|
|
|
@@ -411,6 +412,7 @@ export default {
|
|
|
sweixin = t;
|
|
|
}
|
|
|
}
|
|
|
+ uni.hideLoading()
|
|
|
let miniOriginalId = that.dictInfo.miniOriginalId && that.dictInfo.miniOriginalId.current && that.dictInfo.miniOriginalId.current.hd ? that.dictInfo.miniOriginalId.current.hd : ''
|
|
|
if (sweixin && sweixin.nativeClient) {
|
|
|
sweixin.launchMiniProgram({
|
|
|
@@ -432,6 +434,7 @@ export default {
|
|
|
that.$msg("请安装微信,再打开小程序")
|
|
|
return false
|
|
|
}
|
|
|
+ uni.hideLoading()
|
|
|
// #endif
|
|
|
}else if(item.url == 'buyRecord'){
|
|
|
// #ifdef MP-WEIXIN
|
|
|
@@ -446,6 +449,7 @@ export default {
|
|
|
})
|
|
|
// #endif
|
|
|
// #ifdef APP-PLUS
|
|
|
+ uni.showLoading()
|
|
|
if(plus.runtime.isApplicationExist({pname:'com.tencent.mm',action:'weixin://'})){
|
|
|
plus.share.getServices(function(s){
|
|
|
var sweixin
|
|
|
@@ -455,6 +459,7 @@ export default {
|
|
|
sweixin = t;
|
|
|
}
|
|
|
}
|
|
|
+ uni.hideLoading()
|
|
|
let miniOriginalId = that.dictInfo.miniOriginalId && that.dictInfo.miniOriginalId.current && that.dictInfo.miniOriginalId.current.hd ? that.dictInfo.miniOriginalId.current.hd : ''
|
|
|
if (sweixin && sweixin.nativeClient) {
|
|
|
sweixin.launchMiniProgram({
|
|
|
@@ -476,6 +481,7 @@ export default {
|
|
|
that.$msg("请安装微信,再打开小程序")
|
|
|
return false
|
|
|
}
|
|
|
+ uni.hideLoading()
|
|
|
// #endif
|
|
|
}else{
|
|
|
this.$util.pageTo(item)
|