111111111
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<view
|
||||
style="background: #fff; width: 100%; border-radius: 15px;display: flex;flex-direction: column; box-sizing: border-box;flex: 1">
|
||||
|
||||
<view class="center" style="flex: 1;">
|
||||
<view class="center" style="">
|
||||
|
||||
<view
|
||||
style="width: 24%;display: flex;flex-direction: column;overflow-y: auto;padding-top: 10px;">
|
||||
@@ -158,7 +158,7 @@
|
||||
</view>
|
||||
|
||||
<view
|
||||
style="display: flex;flex-direction: row; justify-content: center;align-items: center;padding-bottom: 10px;margin-top: 5px;padding: 0px 10px;">
|
||||
style="display: flex;flex-direction: row; justify-content: center;align-items: center;margin-top: 5px;padding: 0px 10px;">
|
||||
|
||||
<button open-type="share">分享新人有礼</button>
|
||||
|
||||
@@ -201,7 +201,7 @@
|
||||
<uni-popup ref="inputDialog2" type="dialog">
|
||||
<uni-popup-dialog ref="inputClose" mode="base" title="起订说明" :showConfirm="true"
|
||||
:beforeClose="dialogBeforeClose2" @confirm="dialogInputConfirm2"
|
||||
content="百姓菜窖及精品菜窖起订量为20斤,\n\n20斤-99斤需额外支付10%附加费用,\n\n100斤-199斤需额外支付5%附加费用,\n\n满200斤及以上无附加费。"></uni-popup-dialog>
|
||||
:content="data.brandVos[selectIndex2].qdxy"></uni-popup-dialog>
|
||||
</uni-popup>
|
||||
|
||||
</view>
|
||||
@@ -554,7 +554,7 @@
|
||||
gotoCart() {
|
||||
uni.navigateTo({
|
||||
url: '/pages/good/shoppCart?affiliation=' + this.data.brandVos[this.selectIndex2].id +
|
||||
"&weight=" + this.data.brandVos[this.selectIndex2].qssl
|
||||
"&weight=" + this.data.brandVos[this.selectIndex2].qssl+"&qdxy=" + this.data.brandVos[this.selectIndex2].qdxy
|
||||
})
|
||||
},
|
||||
showPop2() {
|
||||
@@ -645,6 +645,13 @@
|
||||
|
||||
|
||||
},
|
||||
onShareTimeline() {
|
||||
return {
|
||||
title: '邀请您使用XXX小程序', // 分享出的卡片标题
|
||||
path: '/pages/index/index', // 他人通过卡片进入小程序的路径,可以在后面拼接URL的形式带参数
|
||||
imageUrl: '/static/logo_icon.png', // 分享出去的图片,默认为当前页面的截图。图片路径可以是本地文件路径或者网络图片路径。支持PNG及JPG。
|
||||
};
|
||||
},
|
||||
|
||||
}
|
||||
}
|
||||
@@ -685,6 +692,7 @@
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
/* 这里注意,影响弹窗 */
|
||||
height: calc(100vh - 120px - 50vw);
|
||||
background-color: #f7f7f7;
|
||||
border-radius: 15px;
|
||||
overflow: hidden;
|
||||
@@ -697,7 +705,6 @@
|
||||
border-top: 1px solid #F8F8F8;
|
||||
padding-top: 5px;
|
||||
flex-shrink: 0;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.label {
|
||||
|
||||
@@ -316,7 +316,8 @@
|
||||
<image src="https://supervise.yxtsoft.com/lpk/image/supplementing.png" mode="aspectFit"
|
||||
style="width: 50vw;height: 50vw;"></image>
|
||||
<view style="display: flex;flex-direction: row;align-items: center;margin-top: -15px;">
|
||||
<text style="font-size: 14px; color: #666;margin-right: 5px;">请添加~</text>
|
||||
<text
|
||||
style="background: #FF9900; border-radius: 8px; padding: 3px 8px; color: #fff;">请添加~</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@@ -449,11 +450,13 @@
|
||||
this.transferInfo.remarks = event.target.value
|
||||
},
|
||||
shareGift() {
|
||||
console.log("shareGift>>>>", this.shareSid);
|
||||
|
||||
// 邀请新人 助力礼包 isNewUser==1 可以助力
|
||||
if (this.shareSid != '' && getApp().globalData.isNewUser == '1') {
|
||||
|
||||
var params = {
|
||||
customerSid: this.shareSid,
|
||||
customerSid: getApp().globalData.sid,
|
||||
orderSid: this.orderSid
|
||||
}
|
||||
|
||||
@@ -583,15 +586,25 @@
|
||||
},
|
||||
|
||||
transfer() {
|
||||
this.showModal3 = true
|
||||
if (this.pickingUpGoods.length > 0) {
|
||||
|
||||
// this.showModal3 = true
|
||||
uni.navigateTo({
|
||||
url: '/pages/good/transfer?pickingUpGoods=' + encodeURIComponent(JSON.stringify(this
|
||||
.pickingUpGoods)) + "&affiliation=" + this.data[this.selectIndex].id,
|
||||
})
|
||||
} else {
|
||||
this.shortToast('请先选择商品')
|
||||
}
|
||||
|
||||
},
|
||||
reservation() {
|
||||
console.log(">>>>>>>>>>",this.pickingUpGoods);
|
||||
console.log(">>>>>>>>>>", this.pickingUpGoods);
|
||||
if (this.pickingUpGoods.length > 0) {
|
||||
|
||||
uni.navigateTo({
|
||||
url: '/pages/good/reservation?pickingUpGoods=' + encodeURIComponent(JSON.stringify(this.pickingUpGoods)) +
|
||||
url: '/pages/good/reservation?pickingUpGoods=' + encodeURIComponent(JSON.stringify(this
|
||||
.pickingUpGoods)) +
|
||||
"&affiliation=" + this.data[this.selectIndex].id,
|
||||
})
|
||||
|
||||
|
||||
@@ -125,24 +125,24 @@
|
||||
|
||||
<text style="font-size: 12px;color: #4B4B4B; margin-top: 8px;">邀请新朋友后,您将获得“蔬菜品鉴礼包”。</text>
|
||||
|
||||
<!-- <view style="display: flex;flex-direction: row;align-items: center; ">
|
||||
<!-- <view style="display: flex;flex-direction: row;align-items: center; "> -->
|
||||
|
||||
<image :src="recommend.iconUrl" style="width: 35%;height: 150px; border-radius: 10px;"
|
||||
<!-- <image :src="recommend.iconUrl" style="width: 35%;height: 150px; border-radius: 10px;"
|
||||
mode="aspectFill">
|
||||
|
||||
</image>
|
||||
</image> -->
|
||||
|
||||
<view style="display: flex;flex-direction: column; margin-left: 20px; ">
|
||||
<!-- <view style="display: flex;flex-direction: column; margin-left: 20px; ">
|
||||
<view v-for="(child,pos) in recommend.recordList" :key="pos"
|
||||
style="display: flex;flex-direction: column;">
|
||||
|
||||
<text style="color: #424242; font-size: 12px;line-height: 20px;">* {{child.content}}</text>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view> -->
|
||||
|
||||
|
||||
</view> -->
|
||||
<!-- </view> -->
|
||||
|
||||
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user