Commit 14ebfa9282a84130fa69329ee59d7f5f5e19df4d

Authored by yiren
1 parent bb6c123e

商家端优惠券购买分享

... ... @@ -8,7 +8,7 @@
</view>
<view class="info_right">
<view class="preferential font32r">
<text wx:if="{{use.cash && (use.is_cash=='1' || use.is_cash)}}" class="font32r">{{use.cash}}元/</text>
<text wx:if="{{use.cash && (use.is_cash=='1' || use.is_cash) && detail.price}}" class="font32r">{{use.cash}}元/</text>
{{detail.price}}元
</view>
<view class="operation">
... ...
... ... @@ -89,9 +89,19 @@ Page({
duration: 1000,
icon:'none',
success: function () {
let url='';
if(that.data.opt.types=='1'){
url='/pages/customer/detail_owner_invitation_new?id='+that.data.opt.detail.oid;
}
if(that.data.opt.types=='2'){
url='/pack-cookbook/pages/success_new';
}
if(that.data.opt.types=='3'){
url='/pages/reserve/index';
}
setTimeout(function () {
wx.reLaunch({
url: `/pages/customer/detail_owner_invitation_new?id=${that.data.opt.detail.oid}&hasInvitation=1&hasSellerShare=1&tplid=1`
url
})
}, 1000);
}
... ...