Commit 93c34361e3cb0540494dc136535f2cab5caf1ae3

Authored by pengye
1 parent 6e65c0c9

邀请函新增模板23

... ... @@ -60,7 +60,7 @@ Page({
isVoice: '', //播报按钮
openOrder: '', //点餐
isComments: '', //券和充值
bookType: '', //模板18为1,模板21为2
bookType: '', //模板18为1,模板21为2 模板23为3
make:'',//用餐类型 1婚宴模板1 2商务宴模板1
urlsArr: [], //包间预览图片、餐厅logo、餐厅首图列表
roomimage: [], //包间信息列表
... ... @@ -308,6 +308,9 @@ Page({
* 生命周期函数--监听页面显示
*/
onShow: function () {
this.setData({
titleList: []
})
this.getDetail()
this.getText()
this.getPaymentStatus()
... ... @@ -821,8 +824,15 @@ Page({
couponList = this.addCoupons(coupon_data_free,couponList);
// 根据券ID获取券详情
this.getActivityByIdFun(couponList)
// 获取所有充值活动
this.getRechargeDetail()
// 根据充值ID获取充值详情
if (this.data.bookType == '3') {
if (marketing && marketing.is_recharge && marketing.is_recharge == '1' && marketing.recharge_data) {
this.getRechargeDetailInfo(marketing.recharge_data.id)
}
} else {
// 获取所有充值活动
this.getRechargeDetail()
}
if (store && store.images && store.images.length > 0) store.images = util.determine(store.images);
if (reserve && reserve.park_info_images && reserve.park_info_images.length > 0) reserve.park_info_images = util.determine(reserve.park_info_images);
if (signboard && signboard.images && signboard.images.length > 0) signboard.images = util.determine(signboard.images);
... ... @@ -834,8 +844,8 @@ Page({
let bookType = this.data.bookType;
let urlsArr = this.data.urlsArr
marketing.wecomle = (reserve && reserve.swich_welcome == '1' && marketing && marketing.wecomle) ? marketing.wecomle : ''
if (bookType == '1' && home && home.image) urlsArr.push(home.image)
if (bookType == '1' && marketing && marketing.logo) urlsArr.push(marketing.logo)
if ((bookType == '1' || bookType == '3') && home && home.image) urlsArr.push(home.image)
if ((bookType == '1' || bookType == '3') && marketing && marketing.logo) urlsArr.push(marketing.logo)
let obj = {
chef,
marketing,
... ... @@ -851,7 +861,7 @@ Page({
isMoreBtn: marketing && marketing.is_online_book == '1' && this.data.options.onlineReserve == '1',
isShareItem: this.data.options.isOrder != '1' && marketing && marketing.is_transpond == '1',
isComments: is_comments == '1' && marketing && marketing.is_comments_coupon == '1',
colors: bookType == '1' ? '#7c191e' : bookType == '2' ? '#000' : '',
colors: bookType == '1' ? '#7c191e' : bookType == '2' ? '#000' : bookType == '3' ? '#0A3D41' : '',
urlsArr
}
console.log('获取数据GetSellerTemplateConf--------------------', {
... ... @@ -1119,6 +1129,36 @@ Page({
}
})
},
// 模板23根据充值ID获取充值详情
getRechargeDetailInfo(id) {
App.Activity.GetNewRecharge({
id
}).then(res => {
if (res.data) {
let detail = res.data
let exp_date = res.data.exp_date ? JSON.parse(res.data.exp_date) : ''
let recharge_list = res.data.recharge_list ? JSON.parse(res.data.recharge_list) : ''
let priceInfo, scoreInfo, certificate;
detail.recharge_list = recharge_list;
detail.exp_date = exp_date;
if (recharge_list.is_price == '1') priceInfo = '会员充值满' + detail.recharge_money + '元赠送' + recharge_list.price + '元余额';
if (recharge_list.is_score == '1') scoreInfo = '会员充值满' + detail.recharge_money + '元赠送' + recharge_list.score + '积分';
if (recharge_list.is_coupons == '1' && recharge_list.coupons_names.length > 0) certificate = recharge_list.coupons_names.join('、');
let recharge_data = (this.data.dataStr < detail.etime * 1 && detail.is_open == '1') ? detail : ''
console.log('邀请函23--------------充值', recharge_data);
this.setData({
recharge_data,
scoreInfo,
priceInfo,
certificate
})
} else {
this.setData({
recharge_data: {},
})
}
})
},
// 选择充值活动
checkRechargeData(e) {
let id = e.currentTarget.dataset['id'];
... ... @@ -1679,7 +1719,7 @@ Page({
duration: 800,
timingFunction: 'ease',
});
if(this.data.bookType == '1'){
if(this.data.bookType == '1' || this.data.bookType == '3'){
animation.translateY('-60%')
.translateX('34%')
.scale(0)
... ...
... ... @@ -12,7 +12,7 @@
<view class="fullscreenMask" animation="{{animationData}}" wx:if="{{isShow=='1'}}">
<image src="https://qn.colorcun.com/getCouponIcon2.png" mode=""/>
</view>
<view class="targetPoint" style="{{bookType =='1'?'right: 4%;top: 35%;':'left: 2%;top: 27%;'}}"></view>
<view class="targetPoint" style="{{(bookType =='1' || bookType =='3')?'right: 4%;top: 35%;':'left: 2%;top: 27%;'}}"></view>
<image wx:if="{{detail.status =='4'}}" class="cannotImg" src="https://qn.colorcun.com/cancelImg.png" />
<image wx:if="{{options.isOrder == '1' && detail.status !='4'}}" class="cannotImg" src="https://qn.colorcun.com/overImg.png" />
<view class="reservationInfoBox" wx:if="{{detail && detail.ddate}}">
... ... @@ -21,7 +21,7 @@
<image wx:if="{{bookType == '2'}}" class="infoTopImg1 {{options.hasSellerShare == '1' ? 'infoTopImg2' :''}}" src="https://nosqn.colorcun.com/{{options.hasSellerShare == '1' ? 'invitation11Title2_1.png' : 'invitation11Title2.png'}}" mode=""/>
<text class="infoTopText2 font44r" space="nbsp">{{seller.name||reserve.seller_name}}</text>
<text class="infoTopText3 font28r" space="nbsp" wx:if="{{reserve.swich_slogan == '1' && home.slogan}}">{{home.slogan}}</text>
<image wx:if="{{bookType == '1' && (!make || make=='2')}}" class="infoTopText4 {{options.hasSellerShare == '1' ? 'infoTopText5' :''}}" src="https://nosqn.colorcun.com/{{options.hasSellerShare == '1' ? 'invitation11Title1.png' : 'invitation11Title.png'}}" mode=""/>
<image wx:if="{{(bookType == '1' && (!make || make=='2')) || bookType == '3'}}" class="infoTopText4 {{options.hasSellerShare == '1' ? 'infoTopText5' :''}}" src="https://nosqn.colorcun.com/{{options.hasSellerShare == '1' ? 'invitation11Title1.png' : 'invitation11Title.png'}}" mode=""/>
<image wx:if="{{bookType == '1' && make == '1'}}" class="infoTopBj2" src="https://qn.colorcun.com/invitation11Bg2.png" mode="" />
</view>
<view class="informationBox">
... ... @@ -46,7 +46,7 @@
<view class="contentData font32r contentFlex">{{seller.soltName}}<text class="marLeft font28r">{{temp_ddate}}</text></view>
<picker wx:if="{{options.isOrder != '1' && (detail.status =='1' || detail.status =='2') && options.hasSellerShare == '1'}}" bindchange="bindPickerChange" value="{{index}}" range="{{timeList}}">
<view class="picker">
<image class="arrivalImg" src="https://nosqn.colorcun.com/editDdateTime{{bookType == '1' ? '1' : '4'}}.png" mode=""/>
<image class="arrivalImg" src="https://nosqn.colorcun.com/editDdateTime{{bookType == '1' ? '1' : bookType == '2' ? '4' :'5'}}.png" mode=""/>
</view>
</picker>
</view>
... ... @@ -89,13 +89,13 @@
</view>
</view>
</view>
<swiper wx:if="{{bookType == '1' && urlsArr.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper wx:if="{{(bookType == '1' || bookType == '3') && urlsArr.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{urlsArr}}" wx:key="index">
<image mode="aspectFill" class="detailBannerImg" src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{urlsArr}}"></image>
</swiper-item>
</swiper>
<text space="nbsp" wx:if="{{bookType == '1' && marketing.wecomle}}" class="welcomeInfo font32r">{{marketing.wecomle}}</text>
<view class="appointment" wx:if="{{bookType == '1' && customersList.length>0}}">
<text space="nbsp" wx:if="{{(bookType == '1' || bookType == '3') && marketing.wecomle}}" class="welcomeInfo font32r">{{marketing.wecomle}}</text>
<view class="appointment" wx:if="{{(bookType == '1' || bookType == '3') && customersList.length>0}}">
<view class="notifyTitle">
<text></text>
<view class="font36r">已确认赴约</view><text></text>
... ... @@ -111,7 +111,7 @@
</view>
</view>
</view>
<view class="receptionBox" wx:if="{{staffinfo && reserve.swich_manager=='1'}}">
<view class="receptionBox" wx:if="{{bookType == '2' && staffinfo && reserve.swich_manager=='1'}}">
<view class="peopleInfo">
<image bindtap="lookImgs" wx:if="{{staffinfo.photo}}" data-url="{{staffinfo.photo}}" src="{{staffinfo.photo}}" class="headerimg" mode="aspectFill"></image>
<view class="noHeaderimg" wx:else></view>
... ... @@ -132,6 +132,82 @@
</view>
</view>
</view>
<view class="receptionBox" wx:if="{{bookType != '2' && staffinfo && reserve.swich_manager=='1'}}">
<view class="peopleInfo">
<image bindtap="lookImgs" wx:if="{{staffinfo.photo}}" data-url="{{staffinfo.photo}}" src="{{staffinfo.photo}}" class="headerimg" mode="aspectFill"></image>
<view class="noHeaderimg" wx:else></view>
<view class="font28r">{{staffinfo.name}}</view>
<view class="font28r">{{staffinfo.position}}</view>
</view>
<view class="handleInfo">
<view class="font40r title1">尊敬的贵宾您好!</view>
<view class="font28r texts">很荣幸能为您提供专属接待和服务</view>
<view class="contactBtns">
<view wx:if="{{staffinfo.phone}}" class="font24r brownFont" data-phone="{{staffinfo.phone}}" bindtap="call">
<image src="https://qn.colorcun.com/{{bookType == '1'?'invitation11Phone':bookType == '2'?'invitation10Phone':'invitation23Phone'}}.png" mode="" /><text>联系我</text>
</view>
<view wx:if="{{staffinfo.wechat}}" class="font24r brownFont" bindtap="copyWeChat">
<image src="https://qn.colorcun.com/{{bookType == '1'?'invitation11Wx':bookType == '2'?'invitation10Wx':'invitation23Wx'}}.png" mode="" /><text>加微信</text>
</view>
</view>
</view>
</view>
<view class="preferentialCoupon" wx:if="{{bookType == '3' && hasValueCertificate && marketing && coupon_dataList.length>0}}">
<block wx:for="{{coupon_dataList}}" wx:key="index" wx:for-index="index">
<navigator wx:if="{{item.resultCoupon || !item.resultCoupon || item.is_type != '3'}}" url="/pack-activity/pack/receiveCoupon?id={{item.id}}&sid={{seller.sid}}&oid={{detail.id}}&types=1&StyleType={{StyleType}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
<view class="preferentialItems">
<view class="itemLeft">
<text wx:if="{{item.discount!='0.00' && (item.use.is_cash=='1' || item.use.is_cash) && item.discount}}" class="discountText font24r">{{item.discount}}折</text>
<view class="discountText1 font20r {{item.arule.is_accumulation == '1'?'discountText2':'discountText3'}}" wx:if="{{item.is_type == '3'}}">{{item.arule.is_accumulation == '1' ? '可' : '不可'}}叠加</view>
<view class="priceText" wx:if="{{item.price}}">
<view class="icons font24r">¥</view><text class="font48r">{{item.price}}</text>
</view>
<view class="icons font20r" wx:if="{{item.is_type == '3' && item.desc!='0'}}">消费满{{item.desc}}元可用</view>
</view>
<view class="couponLine"></view>
<view class="itemRight">
<view class="btns">
<text class="font32r anameText">{{item.aname}}</text>
<block wx:if="{{item.is_type == '1' || item.is_type == '2'}}">
<text wx:if="{{item.exp_date.is_week=='1' || item.exp_date.is_week===true}}" class="bottom font24r">{{item.exp_date.week_show?item.exp_date.week_show+'可用':''}}{{item.desc?','+item.desc+'。':'。'}}</text>
<view wx:if="{{item.exp_date.is_none=='1' || item.exp_date.is_none===true}}" class="bottom font24r">
无限制{{item.desc?','+item.desc+'。':'。'}}
</view>
<view wx:if="{{item.exp_date.is_birthday=='1' || item.exp_date.is_birthday===true}}" class="bottom font24r">
会员生日当天可用{{item.desc?','+item.desc+'。':'。'}}
</view>
</block>
<block wx:if="{{item.is_type == '3' || item.is_type == '4'}}">
<view wx:if="{{(item.useStime && item.useEtime) || item.foreverText}}" class="bottom font24r">有效期:{{item.foreverText?item.foreverText : ''}}</view>
<view wx:if="{{item.useStime && item.useEtime}}" class="bottom font24r nodate">{{item.useStime}} 至 {{item.useEtime}}</view>
<view wx:if="{{item.morText || item.noonText || item.noonText}}" class="bottom font24r">不可用日期:</view>
<view wx:if="{{item.morText}}" class="bottom font24r nodate">{{item.morText}}</view>
<view wx:if="{{item.noonText}}" class="bottom font24r nodate">{{item.noonText}}</view>
<view wx:if="{{item.nigText}}" class="bottom font24r nodate">{{item.nigText}}</view>
<view wx:if="{{item.exp_date.week_show=='无'}}" class="bottom font24r">无使用时间限制</view>
<view wx:if="{{item.is_type == '4' && item.desc!='0'}}" class="bottom font24r">消费满{{item.desc}}元可用</view>
</block>
</view>
<view class="btnBox" wx:if="{{item.is_type == '3'}}" >
<view class="font24r orderingFood {{item.resultCoupon == '1'?'orderingFood1':'orderingFood2'}}">{{item.resultCoupon == '1'?'已领取':'领取'}}</view>
<view class="grantNum" wx:if="{{item.receiveNumText}}">
<view class="font24r">已被领取</view>
<view class="font24r"><text>{{item.receiveNumText}}</text>张</view>
</view>
</view>
<view wx:if="{{item.is_type != '3'}}" class="font24r orderingFood">
立即抢购
</view>
</view>
</view>
</navigator>
</block>
</view>
<view wx:if="{{bookType == '3' && is_comments=='1' && !is_user_comments}}" class="evaluateBox" bindtap="evaluateFun">
<text wx:if="{{is_comments=='1' && (marketing.is_comments_coupon!='1' || couponData.showCoupon!='1')}}">想<text class="font36r">吐槽</text>?戳这里填写意见!--></text>
<text wx:if="{{marketing.is_comments_coupon=='1' && couponData && couponData.showCoupon =='1'}}">想<text class="font36r">吐槽</text>?戳这里填写意见反馈赢好礼!</text>
<image src="https://nosqn.colorcun.com/evaluate2.png" mode="" />
</view>
<view class="appointment" wx:if="{{bookType == '2' && customersList.length>0}}">
<view class="notifyTitle">
<text></text>
... ... @@ -146,7 +222,7 @@
</view>
</view>
</view>
<view class="publicModule {{customersList.length>0?'preferentialCouponBox2':'preferentialCouponBox'}} preferentialCouponBox {{(titleList.length==0 && (roomimage && roomimage.length>0))?'preferentialCouponBox1':''}}" wx:if="{{titleList.length>0 || (roomimage && roomimage.length>0)}}">
<view class="publicModule {{customersList.length>0?'preferentialCouponBox2':'preferentialCouponBox'}} preferentialCouponBox {{(titleList.length==0 && (roomimage && roomimage.length>0))?'preferentialCouponBox1':''}}" wx:if="{{bookType != '3' && (titleList.length>0 || (roomimage && roomimage.length>0))}}">
<view class="tileBox" wx:if="{{titleList.length>0}}">
<view wx:for="{{titleList}}" wx:key="index" wx:for-index="index" bindtap="checkTitleFun" data-type="{{item.id}}" class="titleItem font28r {{activeTitle==item.id?'activeTitleItem':''}}">{{item.title}}</view>
</view>
... ... @@ -481,6 +557,128 @@
</view>
</view>
</block>
<block wx:if="{{bookType == '3'}}">
<!-- 餐厅介绍 -->
<view class="publicModules" wx:if="{{store && (store.textInfo || store.imgsInfo.length>0 || store.videosInfo.length>0)}}">
<view class="chefText font36r">
<view class="line"></view>
<view class="font36r chefTextInfo">餐厅介绍</view>
<view class="line"></view>
</view>
<view class="labelBox" wx:if="{{store.textInfo}}">
<text class="texts font28r" space="nbsp">{{store.textInfo}}</text>
</view>
<swiper wx:if="{{store.imgsInfo.length>1}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{store.imgsInfo}}" wx:key="index">
<image mode="aspectFill" class="detailBannerImg" src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.imgsInfo}}"></image>
</swiper-item>
</swiper>
<image wx:if="{{store.imgsInfo.length == '1'}}" mode="widthFix" class="detailBannerImg1" src="{{store.imgsInfo[0]}}" bindtap="lookImgs" data-url="{{store.imgsInfo[0]}}" data-imgs="{{store.imgsInfo}}"></image>
<block wx:for="{{store.videosInfo}}" wx:key="index">
<video class="boxBlock" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
</block>
</view>
<!-- 招牌菜品 -->
<view class="publicModules" wx:if="{{signboard && (signboard.textInfo || signboard.imgsInfo.length>0 || signboard.videosInfo.length>0 || (hasValueOrder && openOrder == '1' && marketing.is_order=='1'))}}">
<view class="chefText font36r">
<view class="line"></view>
<view class="font36r chefTextInfo">招牌菜品</view>
<view class="line"></view>
</view>
<view class="labelBox" wx:if="{{signboard.textInfo}}">
<text class="texts font28r" space="nbsp">{{signboard.textInfo}}</text>
</view>
<swiper wx:if="{{signboard.imgsInfo.length>1}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{signboard.imgsInfo}}" wx:key="index">
<image mode="aspectFill" class="detailBannerImg" src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{signboard.imgsInfo}}"></image>
</swiper-item>
</swiper>
<image wx:if="{{signboard.imgsInfo.length == '1'}}" mode="widthFix" class="detailBannerImg1" src="{{signboard.imgsInfo[0]}}" bindtap="lookImgs" data-url="{{signboard.imgsInfo[0]}}" data-imgs="{{signboard.imgsInfo}}"></image>
<block wx:for="{{signboard.videosInfo}}">
<video class="boxBlock" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
</block>
<view class="orderBox" wx:if="{{hasValueOrder && openOrder == '1' && marketing.is_order=='1'}}">
<view class="font32r">提前点餐 到店不用等</view>
<view wx:if="{{openOrder == '1' && marketing.is_order == '1'}}" bindtap="cookbook" class="font28r cook" style="position: relative;">
去点餐
</view>
</view>
</view>
<!-- 主厨介绍 -->
<view class="publicModules" wx:if="{{chef && (chef.textInfo || chef.imgsInfo.length>0 || chef.videosInfo.length>0)}}">
<view class="chefText font36r">
<view class="line"></view>
<view class="font36r chefTextInfo">主厨介绍</view>
<view class="line"></view>
</view>
<view class="labelBox" wx:if="{{chef.textInfo}}">
<text class="texts font28r" space="nbsp">{{chef.textInfo}}</text>
</view>
<swiper wx:if="{{chef.imgsInfo.length>1}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{chef.imgsInfo}}" wx:key="index">
<image mode="aspectFill" class="detailBannerImg" src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{chef.imgsInfo}}"></image>
</swiper-item>
</swiper>
<image wx:if="{{chef.imgsInfo.length == '1'}}" mode="widthFix" class="detailBannerImg1" src="{{chef.imgsInfo[0]}}" bindtap="lookImgs" data-url="{{chef.imgsInfo[0]}}" data-imgs="{{chef.imgsInfo}}"></image>
<block wx:for="{{chef.videosInfo}}" wx:key="index">
<video class="boxBlock" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
</block>
</view>
<!-- 停车指引 -->
<view class="publicModules" wx:if="{{reserve && (reserve.textInfo || reserve.imgsInfo.length>0 || reserve.videosInfo.length>0)}}">
<view class="chefText font36r">
<view class="line"></view>
<view class="font36r chefTextInfo">停车指引</view>
<view class="line"></view>
</view>
<view class="labelBox" wx:if="{{reserve.textInfo}}">
<text class="texts font28r" space="nbsp">{{reserve.textInfo}}</text>
</view>
<swiper wx:if="{{reserve.imgsInfo.length>1}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{reserve.imgsInfo}}" wx:key="index">
<image mode="aspectFill" class="detailBannerImg" src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{reserve.imgsInfo}}"></image>
</swiper-item>
</swiper>
<image wx:if="{{reserve.imgsInfo.length == '1'}}" mode="widthFix" class="detailBannerImg1" src="{{reserve.imgsInfo[0]}}" bindtap="lookImgs" data-url="{{reserve.imgsInfo[0]}}" data-imgs="{{reserve.imgsInfo}}"></image>
<block wx:for="{{reserve.videosInfo}}" wx:key="index">
<video class="boxBlock" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
</block>
</view>
<!-- 会员招募 -->
<view wx:if="{{(hasValueRecharge && marketing && marketing.is_recharge=='1' && recharge_data) || (hasValueRecharge && marketing.is_link=='1')}}" class="publicModules introduceBox {{(marketing.is_online_book=='1' && options.onlineReserve == '1') || (detail.status !='4' && options.isOrder != '1' && paymentId && paymentStatus == '0') || (detail.status !='4' && options.isOrder != '1' && marketing.is_transpond=='1' && imgSrc)?'introduceBottom':''}}">
<block wx:if="{{hasValueRecharge && marketing && marketing.is_recharge=='1' && recharge_data}}">
<view class="chefText font36r">
<view class="line"></view>
<view class="font36r chefTextInfo">会员招募</view>
<view class="line"></view>
</view>
<navigator wx:if="{{recharge_data.id}}" url="/pack-activity/pack/vipRecharge?id={{recharge_data.id}}&name={{seller.name}}&sid={{seller.sid}}&oid={{detail.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
<view class="preferentialCoupon preferentialItems1 rechargeItems1">
<view class="itemLeft1">
<view class="itemTop font36r">
{{recharge_data.rname}}
</view>
<view class="itemBottom font24r" wx:if="{{priceInfo}}">
{{priceInfo}}{{(recharge_data.recharge_list.is_coupons=='0' && recharge_data.recharge_list.is_score=='0')?'。':';'}}
</view>
<view class="bottom font24r" wx:if="{{scoreInfo}}">
{{scoreInfo}}{{recharge_data.recharge_list.is_coupons=='0'?'。':';'}}
</view>
<view class="bottom font24r" wx:if="{{recharge_data.recharge_list.is_coupons=='1'}}">
{{recharge_data.recharge_list.is_coupons=='1'?'会员充值满'+recharge_data.recharge_money+'元赠送'+certificate:''}}。
</view>
</view>
<view class="font24r ordering">
抢购
</view>
</view>
</navigator>
</block>
<view wx:if="{{hasValueRecharge && marketing.is_link=='1'}}" class="font24r favouredPolicy" bindtap="gotoFavourableList">
点击了解更多会员优惠政策
</view>
</view>
</block>
<view class="businessBox font24r">
周到安排提供技术支持<text bindtap="call" data-phone="4000009690">4000009690</text>,
<view bindtap="gotoJoinSeller" style="text-decoration: underline;">我是商家,我要试用</view>
... ...
... ... @@ -1587,4 +1587,234 @@
.viewBox2 .giftImg {
left: 2%;
top: 27%;
}
/* 模板23 */
.viewBox3 {
background: #0A3D41;
}
.viewBox3 .reservationInfoBox {
background: url('https://qn.colorcun.com/invitation23Bj1.png') no-repeat;
background-size: cover;
}
.viewBox3 .reservationInfo {
padding: 220rpx 20rpx 24rpx;
box-sizing: border-box;
position: relative;
color: #000;
}
.viewBox3 .reservationInfo1 {
background: url('https://qn.colorcun.com/invitation11Bg1.png') no-repeat;
background-size: cover;
}
.viewBox3 .informationBox {
background: rgba(44, 102, 103, 0.7);
}
.viewBox3 .contentData,
.viewBox3 .record,
.viewBox3 .contentData,
.viewBox3 .welcomeInfo,
.viewBox3 .notifyText,
.viewBox3 .notifyTitle view,
.viewBox3 .brownFont,
.viewBox3 .chefTextInfo,
.viewBox3 .cook,
.viewBox3 .businessBox {
color: #FFEFC5;
}
.viewBox3 .contentDataPhone,
.viewBox3 .divider {
color: #E6DDB7;
}
.viewBox3 .positioning {
color: #0B3133;
background: #FFEFC5;
}
.viewBox3 .notifyTitle text,
.viewBox3 .chefText .line,
.viewBox3 .orderBox {
background: #FFEFC5;
}
.viewBox3 .receptionBox {
color: #0D4547;
}
.viewBox3 .brownFont,
.viewBox3 .cook {
background: #0D4547;
}
.viewBox3 .orderBox {
color: #0A3D41;
}
.viewBox3 .preferentialItems1 .bottom {
color: #0B0805;
}
.viewBox3 .publicModules {
background: rgba(44, 102, 103, 0.5);
}
.viewBox3 .labelBox .texts {
color: #fff;
}
.evaluateBox {
margin: 20rpx 40rpx 48rpx 40rpx;
display: flex;
align-items: center;
justify-content: space-between;
color: #FFEFC5;
}
.evaluateBox image {
width: 64rpx;
height: 64rpx;
}
.evaluateBox text {
color: #FFEFC5;
font-size: 24rpx;
}
.evaluateBox text text {
font-size: 36rpx;
}
.preferentialItems1 {
display: flex;
background: linear-gradient(180deg, #ffefd0 0%, #ffdc9b 100%);
margin-bottom: 20rpx;
min-height: 160rpx;
padding-bottom: 10rpx;
border-radius: 20rpx;
border: 2rpx solid #ff7e06;
}
.rechargeItems1 {
background: url('https://qn.colorcun.com/certificateBj2.png') no-repeat;
background-size: 100% 100%;
min-height: 160rpx;
display: flex;
justify-content: space-between;
align-items: center;
height: auto;
padding: 12rpx 0;
margin: 0 20rpx 40rpx 0;
border: none;
}
.rechargeItems1 .orderingFood {
margin-right: 20rpx;
}
.itemTop {
display: flex;
width: 100%;
align-items: center;
font-family: 'Abel';
color: #FD4D59;
margin-bottom: 10rpx;
}
.itemBottom {
color: #0B0805;
font-family: PingFang SC;
font-weight: 500;
display: -webkit-box;
word-break: break-all;
word-wrap: break-word;
overflow: hidden;
text-align: left;
}
.itemLeft1 {
width: 64%;
display: flex;
flex-direction: column;
justify-content: center;
position: relative;
margin-left: 38rpx;
}
.ordering {
padding: 0 44rpx;
color: #0B0805;
border: 2rpx solid #0B0805;
text-align: center;
border-radius: 198rpx;
line-height: 44rpx;
height: 44rpx;
width: max-content;
flex-shrink: 0;
background: transparent;
margin-right: 20rpx;
}
.viewBox3 .preferentialCoupon .orderingFood {
background: linear-gradient(94.4deg, #f41919 2.72%, #ff7426 122.17%);
color: #fff !important;
border: none !important;
}
.viewBox3 .preferentialCoupon .orderingFood1 {
border: 2rpx solid #fa4b20 !important;
background: transparent !important;
color: #fa4b20 !important;
font-weight: 600;
}
.viewBox3 .preferentialItems {
border: 2rpx solid #ff7e06;
background: linear-gradient(180deg, #ffefd0 0%, #ffdc9b 100%);
}
.viewBox3 .preferentialCoupon navigator:nth-last-of-type(1) .preferentialItems{
margin-bottom: 0;
}
.viewBox3 .favouredPolicy {
width: 45%;
color: #FFEFC5;
font-family: PingFang SC;
font-weight: 500;
border: 2rpx solid #FFEFC5;
border-radius: 22rpx;
text-align: center;
padding: 10rpx;
margin: 0 auto;
}
.viewBox3 .introduceBox {
background: transparent;
padding: 40rpx 20rpx 0rpx 20rpx;
}
.viewBox3 .shareItem,
.viewBox3 .moreBtn,
.viewBox3 .paymenBtn {
color: #FFEFC5;
border: 2rpx solid #FFEFC5;
background: transparent;
}
.viewBox3 .shareItem {
background: #FFEFC5;
color: #0A3D41;
border: none;
}
.viewBox3 .sharewidth {
background: #2C6667;
}
\ No newline at end of file
... ...
... ... @@ -172,7 +172,7 @@ Page({
}
if(data.type == '0') url = '/pack-invitation/pages/detail_owner_invitation1';
if(data.type == '300') url = '/pack-invitation/pages/detail_owner_invitation13';
if(data.type == '18' || data.type == '21') url = '/pack-invitation/pages/detail_owner_invitation11';
if(data.type == '18' || data.type == '21' || data.type == '23') url = '/pack-invitation/pages/detail_owner_invitation11';
if(data.type == '19' || data.type == '22') url = '/pack-invitation/pages/detail_owner_invitation12';
if(data.type == '20') url = '/pack-invitation/pages/detail_owner_invitation10';
let marketing = util.determine(data.marketing);
... ... @@ -181,6 +181,7 @@ Page({
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;
if(data.type == '18' || data.type == '19') url += '&bookType=1';
if(data.type == '21' || data.type == '22') url += '&bookType=2';
if(data.type == '23') url += '&bookType=3';
// console.log('宴会类型-------------',reserev.reserve_type);
// if(reserev.reserve_type == '生日宴') url += '&bookType=1'
// if(reserev.reserve_type == '婚宴' && (data.type == '18' || data.type == '19')) url += '&make=1'
... ...