From 5a1cc511d0a16970d5d56fad3cfeaab8f0d903d2 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 26 七月 2024 15:19:40 +0800
Subject: [PATCH] 提交
---
wechat_staff/components/detailFooter/index.js | 26 +++++++++++++++++++++-----
1 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/wechat_staff/components/detailFooter/index.js b/wechat_staff/components/detailFooter/index.js
index f7dc550..108ad93 100644
--- a/wechat_staff/components/detailFooter/index.js
+++ b/wechat_staff/components/detailFooter/index.js
@@ -55,7 +55,7 @@
let that = this
getContentShareImg({
articleId: `${info.id}_${path}`,
- type: '1',
+ type: '0',
// pageUrl: path,
imgurl: info.coverImage,
}).then(res => {
@@ -81,11 +81,27 @@
that.setData({
isShowPoster: false
})
- wx.showToast({
- title: '淇濆瓨鎴愬姛',
- icon: 'success',
- duration: 2000
+ wx.setClipboardData({
+ data: ' >>绮惧搧妗堜緥<<\n'
+ +' 馃绮剧泭姹傜簿锛屽搧璐ㄧ敓娲火煡嘰n'
+ +'姹囬泦鍏ㄥ浗浼樼璁捐甯堣幏濂栨渚媆n'
+ +'馃憠鍚勭椋庢牸鐏垫劅妗堜緥涓婁竾濂楌煈圽n'
+ +' 鎬绘湁涓�濂楄兘鎵撳姩鎮紝閫傚悎鎮�',
+ success: function (res) {
+ wx.getClipboardData({
+ success: function (res) {
+ wx.showToast({
+ title: '鏂囨宸插鍒舵垚鍔燂紝鍘诲垎浜惂'
+ })
+ }
+ })
+ }
})
+ // wx.showToast({
+ // title: '淇濆瓨鎴愬姛',
+ // icon: 'success',
+ // duration: 2000
+ // })
}
})
--
Gitblit v1.9.3