From 780b26ee3f4668df42e746f4573642ddb87691db Mon Sep 17 00:00:00 2001 From: fanfan Date: Sat, 9 Nov 2024 14:23:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/gamll/dailyReport.vue | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) diff --git a/pages/gamll/dailyReport.vue b/pages/gamll/dailyReport.vue index 9cbd96a..dd10cbd 100644 --- a/pages/gamll/dailyReport.vue +++ b/pages/gamll/dailyReport.vue @@ -44,14 +44,12 @@ {{item.jd_short_url}} - - 抢购链接:{{item.applet_short_url}} - - - {{item.tail}} + + 👉抢购链接:{{item.applet_short_url}} + {{fromData.tail}} @@ -113,7 +111,9 @@ let text = '' that.shortList.forEach(function(obj) { text += - '★' + obj.goods_name + + text += + '★' + + obj.goods_name + '\n' + '市场价:' + obj.goods_price_min + @@ -121,21 +121,16 @@ '推广价:' + obj.cost_price_min + '\n' + - (obj.goods_no ? 'SKU:' + - obj.goods_no + - '\n' : '') + - (obj.jd_short_url ? obj.jd_short_url + - '\n' : '') + - (obj.applet_short_url ? '抢购链接:' + - obj.applet_short_url + - '\n' : '') + - (obj.tail ? '尾端内容' + - obj.tail + - '\n' : '') + + (obj.goods_no ? 'SKU:' + obj.goods_no + '\n' : '') + + (obj.jd_short_url ? obj.jd_short_url + '\n' + '\n' : '') + + (obj.applet_short_url ? '👉抢购链接:' + obj.applet_short_url + '\n' : '') + ' \n' }) + console.log('今天' + that.today + ',' + this.fromData.header_content + '\n' + ' \n' + text + '\n' + + this.fromData.tail) uni.setClipboardData({ - data: '今天' + that.today + ',' + this.fromData.header_content + '\n' + ' \n' + text, + data: '今天' + that.today + ',' + this.fromData.header_content + '\n' + ' \n' + text + + this.fromData.tail, success: () => { // 可以添加用户友好的提示,例如使用uni.showToast提示复制成功 uni.showToast({