|
|
@ -157,7 +157,8 @@ |
|
|
|
|
|
|
|
<view |
|
|
|
style="display: flex;flex-direction: row;margin-top: 5px;align-items: center;justify-content: space-between;width: 100%;"> |
|
|
|
<text style="flex: 1;font-size: 12px; color: #A5A5A5; margin-right: 10px;">- {{item.goods}}</text> |
|
|
|
<text style="flex: 1;font-size: 12px; color: #A5A5A5; margin-right: 10px;">- |
|
|
|
{{item.goods}}</text> |
|
|
|
|
|
|
|
<button v-show="item.isShare=='1'" class='sharebtn' :data-info="item" |
|
|
|
open-type="share">分享卡</button> |
|
|
@ -246,7 +247,7 @@ |
|
|
|
<view style="display: flex;align-items: center;margin-top: 6px;"> |
|
|
|
<input placeholder="请输入" |
|
|
|
style="font-size: 30rpx;flex: 1;background: #F8F8F8;border-radius: 5px;height: 40px;line-height: 40px;padding-left: 10px;padding-right: 10px;" |
|
|
|
:value="info.remarks" @input="onKeyInput2" /> |
|
|
|
:value="info.remarks" @input="onKeyInput2" /> |
|
|
|
<!-- <textarea placeholder="请输入" :disable-default-padding='true' :fixed="true" style="font-size: 30rpx;flex: 1;background: #F8F8F8;border-radius: 5px; |
|
|
|
line-height: 20px;padding: 10px; |
|
|
|
white-space: pre-wrap; |
|
|
@ -593,9 +594,23 @@ |
|
|
|
console.log("data", res.target.dataset) |
|
|
|
var data = res.target.dataset.info |
|
|
|
this.shareCard(data.sid) |
|
|
|
|
|
|
|
|
|
|
|
// ① |
|
|
|
let shareData = JSON.stringify({ |
|
|
|
url: '/pages/bind/bind_pickUpCard?code=' + data.code + '&codeKey=' + data.codeKey |
|
|
|
}) |
|
|
|
// 转码传输 |
|
|
|
let value = encodeURIComponent(shareData) |
|
|
|
uni.redirectTo({ |
|
|
|
url: this.data.order_url.page + '?data=' + |
|
|
|
value |
|
|
|
}) |
|
|
|
|
|
|
|
return { |
|
|
|
title: '汇融惠享-云菜窖', |
|
|
|
path: '/pages/bind/bind_pickUpCard?code=' + data.code + '&codeKey=' + data.codeKey, |
|
|
|
// ② |
|
|
|
path: '/pages/login/login?data=' + value, |
|
|
|
imageUrl: 'https://supervise.yxtsoft.com/lpk/image/shareAffeection.png', //自定义图片路径,显示图片长宽比是 5:4。 |
|
|
|
success: function(res) { |
|
|
|
console.log('aaaa', "分享成功") |
|
|
|