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){ onBtn(index){
if(index == 2){ if(index == 2){
let tmp = `【信任桥】消费共享数字化权益 ${this.qrvalue} ${this.text}`;
// #ifdef APP-PLUS // #ifdef APP-PLUS
uni.setClipboardData({ uni.setClipboardData({
data:this.qrvalue, data:tmp,
success:function(res){ success:function(res){
uni.getClipboardData({ uni.getClipboardData({
success:function(res){ success:function(res){
@@ -104,7 +105,7 @@
}) })
// #endif // #endif
// #ifdef H5 // #ifdef H5
this.$copyText(this.qrvalue).then(res=>{ this.$copyText(tmp).then(res=>{
console.log('resresresres',res) console.log('resresresres',res)
Func.myToast('复制成功') Func.myToast('复制成功')
}) })
@@ -3,7 +3,7 @@
<image <image
v-if="mOption.src" v-if="mOption.src"
class="mescroll-totop" 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)}" :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" :src="mOption.src"
mode="widthFix" mode="widthFix"
@@ -597,13 +597,14 @@ export default {
}, },
getValue, getValue,
onShare(index){ onShare(index){
let tmp = `【信任桥】消费共享数字化权益 ${SHARE_URL}/#/pages/other_package/productInfo/productInfo?id=${this.id} ${this.orderInfo.name}`;
if(index == 0){ if(index == 0){
// WXSceneTimeline // WXSceneTimeline
uni.share({ uni.share({
provider:'weixin', provider:'weixin',
scene:'WXSceneSession', scene:'WXSceneSession',
type:1, type:1,
summary:`${SHARE_URL}/#/pages/other_package/productInfo/productInfo?id=${this.id}`, summary:tmp,
}) })
this.onClose() this.onClose()
@@ -612,7 +613,7 @@ export default {
provider:'weixin', provider:'weixin',
scene:'WXSceneTimeline', scene:'WXSceneTimeline',
type:1, type:1,
summary:`${SHARE_URL}/#/pages/other_package/productInfo/productInfo?id=${this.id}`, summary:tmp,
}) })
}else if(index == 2){ }else if(index == 2){
@@ -624,7 +625,13 @@ export default {
},1000) },1000)
this.onClose() this.onClose()
}else if(index == 4){ }else if(index == 4){
func.myToast('暂未开放') return func.myToast('暂未开放');
uni.share({
provider:'qq',
type:1,
summary:tmp,
})
} }
}, },
async onDraw(){ async onDraw(){