no message

This commit is contained in:
2025-11-17 18:10:45 +08:00
parent 3fe89ed7ee
commit f82345a229
3 changed files with 14 additions and 6 deletions
+3 -2
View File
@@ -91,9 +91,10 @@
},
onBtn(index){
if(index == 2){
let tmp = `【信任桥】消费共享数字化权益 ${this.qrvalue} ${this.text}`;
// #ifdef APP-PLUS
uni.setClipboardData({
data:this.qrvalue,
data:tmp,
success:function(res){
uni.getClipboardData({
success:function(res){
@@ -104,7 +105,7 @@
})
// #endif
// #ifdef H5
this.$copyText(this.qrvalue).then(res=>{
this.$copyText(tmp).then(res=>{
console.log('resresresres',res)
Func.myToast('复制成功')
})
@@ -3,7 +3,7 @@
<image
v-if="mOption.src"
class="mescroll-totop"
:class="[value ? 'mescroll-totop-in' : 'mescroll-totop-out', {'mescroll-totop-safearea': mOption.safearea}]"
:class="[!value ? 'mescroll-totop-in' : 'mescroll-totop-out', {'mescroll-totop-safearea': mOption.safearea}]"
:style="{'z-index':mOption.zIndex, 'left': left, 'right': right, 'bottom':addUnit(mOption.bottom), 'width':addUnit(mOption.width), 'border-radius':addUnit(mOption.radius)}"
:src="mOption.src"
mode="widthFix"
@@ -597,13 +597,14 @@ export default {
},
getValue,
onShare(index){
let tmp = `【信任桥】消费共享数字化权益 ${SHARE_URL}/#/pages/other_package/productInfo/productInfo?id=${this.id} ${this.orderInfo.name}`;
if(index == 0){
// WXSceneTimeline
uni.share({
provider:'weixin',
scene:'WXSceneSession',
type:1,
summary:`${SHARE_URL}/#/pages/other_package/productInfo/productInfo?id=${this.id}`,
summary:tmp,
})
this.onClose()
@@ -612,7 +613,7 @@ export default {
provider:'weixin',
scene:'WXSceneTimeline',
type:1,
summary:`${SHARE_URL}/#/pages/other_package/productInfo/productInfo?id=${this.id}`,
summary:tmp,
})
}else if(index == 2){
@@ -624,7 +625,13 @@ export default {
},1000)
this.onClose()
}else if(index == 4){
func.myToast('暂未开放')
return func.myToast('暂未开放');
uni.share({
provider:'qq',
type:1,
summary:tmp,
})
}
},
async onDraw(){