Showing
12 changed files
with
42 additions
and
39 deletions
| @@ -312,7 +312,7 @@ | @@ -312,7 +312,7 @@ | ||
| 312 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> | 312 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> |
| 313 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> | 313 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> |
| 314 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth"> | 314 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth"> |
| 315 | - <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> | 315 | + <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn && options.isMeeting == '1')) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> |
| 316 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> | 316 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> |
| 317 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> | 317 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> |
| 318 | <block wx:if="{{options.hasSellerShare == '1'}}"> | 318 | <block wx:if="{{options.hasSellerShare == '1'}}"> |
| @@ -322,11 +322,11 @@ | @@ -322,11 +322,11 @@ | ||
| 322 | <block wx:if="{{options.hasSellerShare != '1'}}"> | 322 | <block wx:if="{{options.hasSellerShare != '1'}}"> |
| 323 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> | 323 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> |
| 324 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> | 324 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> |
| 325 | - <block wx:if="{{wxNickname && wxAvatar}}"> | 325 | + <block wx:if="{{wxNickname && wxAvatar && options.isMeeting == '1'}}"> |
| 326 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 326 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 327 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 327 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 328 | </block> | 328 | </block> |
| 329 | - <block wx:if="{{!wxNickname || !wxAvatar}}"> | 329 | + <block wx:if="{{(!wxNickname || !wxAvatar) && options.isMeeting == '1'}}"> |
| 330 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> | 330 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> |
| 331 | </block> | 331 | </block> |
| 332 | </block> | 332 | </block> |
| @@ -495,7 +495,7 @@ | @@ -495,7 +495,7 @@ | ||
| 495 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> | 495 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> |
| 496 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> | 496 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> |
| 497 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth"> | 497 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth"> |
| 498 | - <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> | 498 | + <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn && options.isMeeting == '1')) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> |
| 499 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> | 499 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> |
| 500 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> | 500 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> |
| 501 | <block wx:if="{{options.hasSellerShare == '1'}}"> | 501 | <block wx:if="{{options.hasSellerShare == '1'}}"> |
| @@ -505,11 +505,11 @@ | @@ -505,11 +505,11 @@ | ||
| 505 | <block wx:if="{{options.hasSellerShare != '1'}}"> | 505 | <block wx:if="{{options.hasSellerShare != '1'}}"> |
| 506 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> | 506 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> |
| 507 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> | 507 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> |
| 508 | - <block wx:if="{{wxNickname && wxAvatar}}"> | 508 | + <block wx:if="{{wxNickname && wxAvatar && options.isMeeting == '1'}}"> |
| 509 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 509 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 510 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 510 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 511 | </block> | 511 | </block> |
| 512 | - <block wx:if="{{!wxNickname || !wxAvatar}}"> | 512 | + <block wx:if="{{(!wxNickname || !wxAvatar) && options.isMeeting == '1'}}"> |
| 513 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> | 513 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> |
| 514 | </block> | 514 | </block> |
| 515 | </block> | 515 | </block> |
| @@ -198,7 +198,7 @@ | @@ -198,7 +198,7 @@ | ||
| 198 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> | 198 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> |
| 199 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> | 199 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> |
| 200 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth"> | 200 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth"> |
| 201 | - <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> | 201 | + <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn && options.isMeeting == '1')) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> |
| 202 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> | 202 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> |
| 203 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> | 203 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> |
| 204 | <block wx:if="{{options.hasSellerShare == '1'}}"> | 204 | <block wx:if="{{options.hasSellerShare == '1'}}"> |
| @@ -208,11 +208,11 @@ | @@ -208,11 +208,11 @@ | ||
| 208 | <block wx:if="{{options.hasSellerShare != '1'}}"> | 208 | <block wx:if="{{options.hasSellerShare != '1'}}"> |
| 209 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> | 209 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> |
| 210 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> | 210 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> |
| 211 | - <block wx:if="{{wxNickname && wxAvatar}}"> | 211 | + <block wx:if="{{wxNickname && wxAvatar && options.isMeeting == '1'}}"> |
| 212 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 212 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 213 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 213 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 214 | </block> | 214 | </block> |
| 215 | - <block wx:if="{{!wxNickname || !wxAvatar}}"> | 215 | + <block wx:if="{{(!wxNickname || !wxAvatar) && options.isMeeting == '1'}}"> |
| 216 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> | 216 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> |
| 217 | </block> | 217 | </block> |
| 218 | </block> | 218 | </block> |
| @@ -352,7 +352,7 @@ | @@ -352,7 +352,7 @@ | ||
| 352 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> | 352 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> |
| 353 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> | 353 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> |
| 354 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth {{themeColor}}"> | 354 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth {{themeColor}}"> |
| 355 | - <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> | 355 | + <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn && options.isMeeting == '1')) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> |
| 356 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> | 356 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> |
| 357 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> | 357 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> |
| 358 | <block wx:if="{{options.hasSellerShare == '1'}}"> | 358 | <block wx:if="{{options.hasSellerShare == '1'}}"> |
| @@ -362,11 +362,11 @@ | @@ -362,11 +362,11 @@ | ||
| 362 | <block wx:if="{{options.hasSellerShare != '1'}}"> | 362 | <block wx:if="{{options.hasSellerShare != '1'}}"> |
| 363 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> | 363 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> |
| 364 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> | 364 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> |
| 365 | - <block wx:if="{{wxNickname && wxAvatar}}"> | 365 | + <block wx:if="{{wxNickname && wxAvatar && options.isMeeting == '1'}}"> |
| 366 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 366 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 367 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 367 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 368 | </block> | 368 | </block> |
| 369 | - <block wx:if="{{!wxNickname || !wxAvatar}}"> | 369 | + <block wx:if="{{(!wxNickname || !wxAvatar) && options.isMeeting == '1'}}"> |
| 370 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> | 370 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> |
| 371 | </block> | 371 | </block> |
| 372 | </block> | 372 | </block> |
| @@ -357,7 +357,7 @@ | @@ -357,7 +357,7 @@ | ||
| 357 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> | 357 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> |
| 358 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> | 358 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> |
| 359 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth {{themeColor}}"> | 359 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth {{themeColor}}"> |
| 360 | - <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> | 360 | + <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn && options.isMeeting == '1')) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> |
| 361 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> | 361 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> |
| 362 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> | 362 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> |
| 363 | <block wx:if="{{options.hasSellerShare == '1'}}"> | 363 | <block wx:if="{{options.hasSellerShare == '1'}}"> |
| @@ -367,11 +367,11 @@ | @@ -367,11 +367,11 @@ | ||
| 367 | <block wx:if="{{options.hasSellerShare != '1'}}"> | 367 | <block wx:if="{{options.hasSellerShare != '1'}}"> |
| 368 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> | 368 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> |
| 369 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> | 369 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> |
| 370 | - <block wx:if="{{wxNickname && wxAvatar}}"> | 370 | + <block wx:if="{{wxNickname && wxAvatar && options.isMeeting == '1'}}"> |
| 371 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 371 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 372 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 372 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 373 | </block> | 373 | </block> |
| 374 | - <block wx:if="{{!wxNickname || !wxAvatar}}"> | 374 | + <block wx:if="{{(!wxNickname || !wxAvatar) && options.isMeeting == '1'}}"> |
| 375 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> | 375 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> |
| 376 | </block> | 376 | </block> |
| 377 | </block> | 377 | </block> |
| @@ -340,7 +340,7 @@ | @@ -340,7 +340,7 @@ | ||
| 340 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> | 340 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> |
| 341 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> | 341 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> |
| 342 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth {{themeColor}}"> | 342 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth {{themeColor}}"> |
| 343 | - <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> | 343 | + <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn && options.isMeeting == '1')) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> |
| 344 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> | 344 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> |
| 345 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> | 345 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> |
| 346 | <block wx:if="{{options.hasSellerShare == '1'}}"> | 346 | <block wx:if="{{options.hasSellerShare == '1'}}"> |
| @@ -350,11 +350,11 @@ | @@ -350,11 +350,11 @@ | ||
| 350 | <block wx:if="{{options.hasSellerShare != '1'}}"> | 350 | <block wx:if="{{options.hasSellerShare != '1'}}"> |
| 351 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> | 351 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> |
| 352 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> | 352 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> |
| 353 | - <block wx:if="{{wxNickname && wxAvatar}}"> | 353 | + <block wx:if="{{wxNickname && wxAvatar && options.isMeeting == '1'}}"> |
| 354 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 354 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 355 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 355 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 356 | </block> | 356 | </block> |
| 357 | - <block wx:if="{{!wxNickname || !wxAvatar}}"> | 357 | + <block wx:if="{{(!wxNickname || !wxAvatar) && options.isMeeting == '1'}}"> |
| 358 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> | 358 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> |
| 359 | </block> | 359 | </block> |
| 360 | </block> | 360 | </block> |
| @@ -339,7 +339,7 @@ | @@ -339,7 +339,7 @@ | ||
| 339 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> | 339 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> |
| 340 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> | 340 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> |
| 341 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth {{themeColor}}"> | 341 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth {{themeColor}}"> |
| 342 | - <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> | 342 | + <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn && options.isMeeting == '1')) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> |
| 343 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> | 343 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> |
| 344 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> | 344 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> |
| 345 | <block wx:if="{{options.hasSellerShare == '1'}}"> | 345 | <block wx:if="{{options.hasSellerShare == '1'}}"> |
| @@ -349,11 +349,11 @@ | @@ -349,11 +349,11 @@ | ||
| 349 | <block wx:if="{{options.hasSellerShare != '1'}}"> | 349 | <block wx:if="{{options.hasSellerShare != '1'}}"> |
| 350 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> | 350 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> |
| 351 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> | 351 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> |
| 352 | - <block wx:if="{{wxNickname && wxAvatar}}"> | 352 | + <block wx:if="{{wxNickname && wxAvatar && options.isMeeting == '1'}}"> |
| 353 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 353 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 354 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 354 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 355 | </block> | 355 | </block> |
| 356 | - <block wx:if="{{!wxNickname || !wxAvatar}}"> | 356 | + <block wx:if="{{(!wxNickname || !wxAvatar) && options.isMeeting == '1'}}"> |
| 357 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> | 357 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> |
| 358 | </block> | 358 | </block> |
| 359 | </block> | 359 | </block> |
| @@ -325,7 +325,7 @@ | @@ -325,7 +325,7 @@ | ||
| 325 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> | 325 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> |
| 326 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> | 326 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> |
| 327 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="all-button flex-lr sharewidth"> | 327 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="all-button flex-lr sharewidth"> |
| 328 | - <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> | 328 | + <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn && options.isMeeting == '1')) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> |
| 329 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> | 329 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> |
| 330 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> | 330 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> |
| 331 | <block wx:if="{{options.hasSellerShare == '1'}}"> | 331 | <block wx:if="{{options.hasSellerShare == '1'}}"> |
| @@ -335,11 +335,11 @@ | @@ -335,11 +335,11 @@ | ||
| 335 | <block wx:if="{{options.hasSellerShare != '1'}}"> | 335 | <block wx:if="{{options.hasSellerShare != '1'}}"> |
| 336 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> | 336 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> |
| 337 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> | 337 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> |
| 338 | - <block wx:if="{{wxNickname && wxAvatar}}"> | 338 | + <block wx:if="{{wxNickname && wxAvatar && options.isMeeting == '1'}}"> |
| 339 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 339 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 340 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 340 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 341 | </block> | 341 | </block> |
| 342 | - <block wx:if="{{!wxNickname || !wxAvatar}}"> | 342 | + <block wx:if="{{(!wxNickname || !wxAvatar) && options.isMeeting == '1'}}"> |
| 343 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> | 343 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> |
| 344 | </block> | 344 | </block> |
| 345 | </block> | 345 | </block> |
| @@ -352,7 +352,7 @@ | @@ -352,7 +352,7 @@ | ||
| 352 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> | 352 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> |
| 353 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> | 353 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> |
| 354 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth {{themeColor}}"> | 354 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth {{themeColor}}"> |
| 355 | - <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> | 355 | + <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn && options.isMeeting == '1')) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> |
| 356 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> | 356 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> |
| 357 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> | 357 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> |
| 358 | <block wx:if="{{options.hasSellerShare == '1'}}"> | 358 | <block wx:if="{{options.hasSellerShare == '1'}}"> |
| @@ -362,11 +362,11 @@ | @@ -362,11 +362,11 @@ | ||
| 362 | <block wx:if="{{options.hasSellerShare != '1'}}"> | 362 | <block wx:if="{{options.hasSellerShare != '1'}}"> |
| 363 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> | 363 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> |
| 364 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> | 364 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> |
| 365 | - <block wx:if="{{wxNickname && wxAvatar}}"> | 365 | + <block wx:if="{{wxNickname && wxAvatar && options.isMeeting == '1'}}"> |
| 366 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 366 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 367 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 367 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 368 | </block> | 368 | </block> |
| 369 | - <block wx:if="{{!wxNickname || !wxAvatar}}"> | 369 | + <block wx:if="{{(!wxNickname || !wxAvatar) && options.isMeeting == '1'}}"> |
| 370 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> | 370 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> |
| 371 | </block> | 371 | </block> |
| 372 | </block> | 372 | </block> |
| @@ -350,7 +350,7 @@ | @@ -350,7 +350,7 @@ | ||
| 350 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> | 350 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> |
| 351 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> | 351 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> |
| 352 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth {{themeColor}}"> | 352 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth {{themeColor}}"> |
| 353 | - <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> | 353 | + <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn && options.isMeeting == '1')) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> |
| 354 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> | 354 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> |
| 355 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> | 355 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> |
| 356 | <block wx:if="{{options.hasSellerShare == '1'}}"> | 356 | <block wx:if="{{options.hasSellerShare == '1'}}"> |
| @@ -360,11 +360,11 @@ | @@ -360,11 +360,11 @@ | ||
| 360 | <block wx:if="{{options.hasSellerShare != '1'}}"> | 360 | <block wx:if="{{options.hasSellerShare != '1'}}"> |
| 361 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> | 361 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> |
| 362 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> | 362 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> |
| 363 | - <block wx:if="{{wxNickname && wxAvatar}}"> | 363 | + <block wx:if="{{wxNickname && wxAvatar && options.isMeeting == '1'}}"> |
| 364 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 364 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 365 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 365 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> |
| 366 | </block> | 366 | </block> |
| 367 | - <block wx:if="{{!wxNickname || !wxAvatar}}"> | 367 | + <block wx:if="{{(!wxNickname || !wxAvatar) && options.isMeeting == '1'}}"> |
| 368 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> | 368 | <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> |
| 369 | </block> | 369 | </block> |
| 370 | </block> | 370 | </block> |
| @@ -350,7 +350,7 @@ | @@ -350,7 +350,7 @@ | ||
| 350 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> | 350 | <!-- (开启在线预订 显示在线预订) || (未开启在线预订 显示再次预订(打商家电话)) --> |
| 351 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> | 351 | <!-- (未结束&&未取消 && 开启转发开关 显示 转发邀请函给客人) || (过了当前餐段结束时间||用餐完成||已取消 显示 转发店铺给好友) --> |
| 352 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth"> | 352 | <view wx:if="{{isMoreBtn || options.isOrder == '1' || (!isMoreBtn && seller.phone) || (detail.status !='4' && isPaymenBtn) || (detail.status !='4' && isShareItem)}}" class="flex-lr sharewidth"> |
| 353 | - <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> | 353 | + <view wx:if="{{isMoreBtn}}" class="flex-cc font30r moreBtn {{(((detail.status !='4' && isPaymenBtn) || (reserveOpenid != openid && options.isOrder != '1' && options.hasSellerShare!='1' && isShowBtn && options.isMeeting == '1')) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="secondbook">再次预订</view> |
| 354 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> | 354 | <view wx:if="{{!isMoreBtn && seller.phone}}" class="flex-cc font30r moreBtn {{((detail.status !='4' && isPaymenBtn) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="call" data-phone="{{seller.phone}}">再次预订</view> |
| 355 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> | 355 | <view wx:if="{{detail.status !='4' && isPaymenBtn}}" class="flex-cc font30r paymenBtn {{((isMoreBtn || (!isMoreBtn && seller.phone)) && ((detail.status !='4' && isShareItem) || options.isOrder == '1')) ? 'threeBtn' : ''}}" bindtap="paymentFun">支付定金</view> |
| 356 | <block wx:if="{{options.hasSellerShare == '1'}}"> | 356 | <block wx:if="{{options.hasSellerShare == '1'}}"> |
| @@ -360,12 +360,12 @@ | @@ -360,12 +360,12 @@ | ||
| 360 | <block wx:if="{{options.hasSellerShare != '1'}}"> | 360 | <block wx:if="{{options.hasSellerShare != '1'}}"> |
| 361 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> | 361 | <button wx:if="{{detail.status !='4' && isShareItem}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" open-type="share">转发邀请函</button> |
| 362 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> | 362 | <button wx:if="{{options.isOrder == '1'}}" class="flex-cc font30r {{(reserveOpenid != openid && options.isOrder != '1' && isShowBtn)?'paymenBtn paymenBtn1':'shareItem shareItem1'}}" data-type="2" open-type="share">转发邀请函</button> |
| 363 | - <block wx:if="{{wxNickname && wxAvatar}}"> | ||
| 364 | - <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | ||
| 365 | - <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约</button> | 363 | + <block wx:if="{{wxNickname && wxAvatar && options.isMeeting == '1'}}"> |
| 364 | + <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && !purePhoneNumber}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约1</button> | ||
| 365 | + <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn && purePhoneNumber}}" bind:tap="getPhoneNumberFun" class="flex-cc font30r shareItem">确认赴约2</button> | ||
| 366 | </block> | 366 | </block> |
| 367 | - <block wx:if="{{!wxNickname || !wxAvatar}}"> | ||
| 368 | - <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约</button> | 367 | + <block wx:if="{{(!wxNickname || !wxAvatar) && options.isMeeting == '1'}}"> |
| 368 | + <button wx:if="{{reserveOpenid != openid && options.isOrder != '1' && isShowBtn}}" bind:tap="gotoLogin" class="flex-cc font30r shareItem">确认赴约3</button> | ||
| 369 | </block> | 369 | </block> |
| 370 | </block> | 370 | </block> |
| 371 | </view> | 371 | </view> |
| @@ -2,6 +2,7 @@ | @@ -2,6 +2,7 @@ | ||
| 2 | import App from '../../utils/api'; | 2 | import App from '../../utils/api'; |
| 3 | import TP from '../../utils/tpls'; | 3 | import TP from '../../utils/tpls'; |
| 4 | import RS from '../../utils/reserveStatus' | 4 | import RS from '../../utils/reserveStatus' |
| 5 | +import util from '../../utils/util'; | ||
| 5 | Page({ | 6 | Page({ |
| 6 | /** | 7 | /** |
| 7 | * 页面的初始数据 | 8 | * 页面的初始数据 |
| @@ -156,7 +157,7 @@ Page({ | @@ -156,7 +157,7 @@ Page({ | ||
| 156 | return isorder; | 157 | return isorder; |
| 157 | }, | 158 | }, |
| 158 | // 获取商家设置营销信息 | 159 | // 获取商家设置营销信息 |
| 159 | - getSellerTemplateConfFun(sid, isOrder, reserev, is_online_reserve, isDeposit) { | 160 | + getSellerTemplateConfFun(sid, isOrder, reserev, is_online_reserve, isDeposit,isMeeting) { |
| 160 | App.Seller.GetSellerTemplateConf({ | 161 | App.Seller.GetSellerTemplateConf({ |
| 161 | sid | 162 | sid |
| 162 | }).then(res => { | 163 | }).then(res => { |
| @@ -174,8 +175,10 @@ Page({ | @@ -174,8 +175,10 @@ Page({ | ||
| 174 | if(data.type == '18' || data.type == '21') url = '/pack-invitation/pages/detail_owner_invitation11'; | 175 | if(data.type == '18' || data.type == '21') url = '/pack-invitation/pages/detail_owner_invitation11'; |
| 175 | if(data.type == '19' || data.type == '22') url = '/pack-invitation/pages/detail_owner_invitation12'; | 176 | if(data.type == '19' || data.type == '22') url = '/pack-invitation/pages/detail_owner_invitation12'; |
| 176 | if(data.type == '20') url = '/pack-invitation/pages/detail_owner_invitation10'; | 177 | if(data.type == '20') url = '/pack-invitation/pages/detail_owner_invitation10'; |
| 177 | - // is_online_reserve 在线预订开关 hasSellerShare 商家app分享 hasInvitation 受邀人 isDeposit 订金功能 1 是 0 否 | ||
| 178 | - url += '?id=' + this.data.options.id + '&tplid=' + this.data.options.tplid + '&onlineReserve=' + is_online_reserve + '&hasInvitation=' + this.data.options.hasInvitation + '&hasSellerShare=' + this.data.options.hasSellerShare + '&isDeposit=' + isDeposit; | 178 | + let marketing = util.determine(data.marketing); |
| 179 | + let isMeeting = marketing.is_customer_confirm?marketing.is_customer_confirm:'0'; | ||
| 180 | + // is_online_reserve 在线预订开关 hasSellerShare 商家app分享 hasInvitation 受邀人 isDeposit 订金功能 1 是 0 否 isMeeting 赴约功能 1开启 0关闭 | ||
| 181 | + url += '?id=' + this.data.options.id + '&tplid=' + this.data.options.tplid + '&onlineReserve=' + is_online_reserve + '&hasInvitation=' + this.data.options.hasInvitation + '&hasSellerShare=' + this.data.options.hasSellerShare + '&isDeposit=' + isDeposit + '&isMeeting=' + isMeeting; | ||
| 179 | if(data.type == '18' || data.type == '19') url += '&bookType=1'; | 182 | if(data.type == '18' || data.type == '19') url += '&bookType=1'; |
| 180 | if(data.type == '21' || data.type == '22') url += '&bookType=2'; | 183 | if(data.type == '21' || data.type == '22') url += '&bookType=2'; |
| 181 | // console.log('宴会类型-------------',reserev.reserve_type); | 184 | // console.log('宴会类型-------------',reserev.reserve_type); |
-
Please register or login to post a comment