master
fanfan 3 weeks ago
parent f1267728a7
commit 780b26ee3f
  1. 31
      pages/gamll/dailyReport.vue

@ -44,14 +44,12 @@
<view class="" v-if="item.jd_short_url"> <view class="" v-if="item.jd_short_url">
{{item.jd_short_url}} {{item.jd_short_url}}
</view> </view>
<view class="" v-if="item.applet_short_url"> <view class="" v-if="item.applet_short_url" style="padding-top: 15rpx;">
抢购链接<text style="color:blue">{{item.applet_short_url}}</text> 👉抢购链接<text style="color:blue">{{item.applet_short_url}}</text>
</view>
<view class="" v-if="item.tail">
{{item.tail}}
</view> </view>
</view> </view>
</scroll-view> </scroll-view>
<view class="report-name" v-if="fromData.tail">{{fromData.tail}}</view>
<!-- </view> --> <!-- </view> -->
</view> </view>
</view> </view>
@ -113,7 +111,9 @@
let text = '' let text = ''
that.shortList.forEach(function(obj) { that.shortList.forEach(function(obj) {
text += text +=
'★' + obj.goods_name + text +=
'★' +
obj.goods_name +
'\n' + '\n' +
'市场价:' + '市场价:' +
obj.goods_price_min + obj.goods_price_min +
@ -121,21 +121,16 @@
'推广价:' + '推广价:' +
obj.cost_price_min + obj.cost_price_min +
'\n' + '\n' +
(obj.goods_no ? 'SKU:' + (obj.goods_no ? 'SKU:' + obj.goods_no + '\n' : '') +
obj.goods_no + (obj.jd_short_url ? obj.jd_short_url + '\n' + '\n' : '') +
'\n' : '') + (obj.applet_short_url ? '👉抢购链接:' + obj.applet_short_url + '\n' : '') +
(obj.jd_short_url ? obj.jd_short_url +
'\n' : '') +
(obj.applet_short_url ? '抢购链接:' +
obj.applet_short_url +
'\n' : '') +
(obj.tail ? '尾端内容' +
obj.tail +
'\n' : '') +
' \n' ' \n'
}) })
console.log('今天' + that.today + ',' + this.fromData.header_content + '\n' + ' \n' + text + '\n' +
this.fromData.tail)
uni.setClipboardData({ 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: () => { success: () => {
// 使uni.showToast // 使uni.showToast
uni.showToast({ uni.showToast({

Loading…
Cancel
Save