Commit 269458ccdea0eb600d0ab9e0da4469d3f97b8a2e

Authored by pengye
1 parent acf47e30

邀请函18到22模板调整

... ... @@ -24,11 +24,9 @@ Page({
signboard: {},
store: {},
recharge_data: {},
activeData: {},
coupon_dataList: [],
seller: {},
priceInfo: '',
scoreInfo: '',
certificate: '',
dataStr: Date.now() * 1 / 1000,
swich_phone: '0', //是否显示前台电话
is_comments: '0',
... ... @@ -673,10 +671,8 @@ Page({
couponList = this.addCoupons(coupon_data_free,couponList);
// 根据券ID获取券详情
this.getActivityByIdFun(couponList)
// 根据充值ID获取充值详情
if (marketing && marketing.is_recharge && marketing.is_recharge == '1' && marketing.recharge_data) {
this.getRechargeDetail(marketing.recharge_data.id)
}
// 获取所有充值活动
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);
... ... @@ -864,35 +860,58 @@ Page({
}
},
// 根据充值ID获取充值详情
getRechargeDetail(id) {
App.Activity.GetNewRecharge({
id
getRechargeDetail() {
App.Activity.GetNewRechargeList({
sellerid: this.data.detail.seller.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 : ''
let arr = []
res.data.forEach(i => {
if (i.status != '1') {
arr.push(i)
}
})
let recharge_data = arr;
recharge_data.forEach(item => {
item.recharge_list = item.recharge_list ? JSON.parse(item.recharge_list) : '';
let recharge_list = item.recharge_list;
item.priceInfo = '';
item.scoreInfo = '';
item.certificate = '';
if (recharge_list.is_price == '1') item.priceInfo = '会员充值满' + item.recharge_money + '元赠送' + item.recharge_list.price + '元余额';
if (recharge_list.is_score == '1') item.scoreInfo = '会员充值满' + item.recharge_money + '元赠送' + item.recharge_list.score + '积分';
if (recharge_list.is_coupons == '1' && recharge_list.coupons_names.length > 0) item.certificate = recharge_list.coupons_names.join('、');
item.timeStr = util.unixtoTime(item.stime, 'YYYY-MM-DD') + ' - ' + util.unixtoTime(item.etime, 'YYYY-MM-DD')
})
// 筛选出 未过期的 && 开启状态的充值活动
recharge_data = recharge_data.filter(item => {
return this.data.dataStr < (item.etime * 1) && item.is_open == '1'
})
console.log('邀请函--------------充值', recharge_data);
this.setData({
recharge_data,
scoreInfo,
priceInfo,
certificate
activeData: recharge_data.length > 0 ? recharge_data[0] : {},
})
} else {
this.setData({
recharge_data: {},
recharge_data: [],
activeData: {},
})
}
})
},
// 选择充值活动
checkRechargeData(e) {
let id = e.currentTarget.dataset['id'];
let obj = this.data.recharge_data.filter(item => {
return item.id == id
})
if (obj && obj.length > 0) {
this.setData({
activeData: obj[0]
})
}
},
// 获取评价赠送的券最新详情
getEvaluateFun(id) {
App.Activity.GetActivityById({
... ... @@ -1221,7 +1240,6 @@ Page({
},
// 计算免费券有效期的起始、结束日期
setTimeRange(cdate, startOffset, endOffset) {
console.log(cdate, startOffset, endOffset);
const startDate = new Date((cdate + startOffset * 86400) * 1000);
startDate.setHours(0, 0, 0, 0);
const useStime = util.unixtoTime(startDate.getTime() / 1000, 'YYYY-MM-DD');
... ... @@ -1408,14 +1426,10 @@ Page({
intel.textInfo = (intel.introduce && (!intel.is_introduce || intel.is_introduce != '0')) ? intel.introduce : '';
}
intel.imgsInfo = imgs;
intel.videoImgsInfo = imgs.map(url => ({
type: "1",
content: url,
}));
if (intel.content && intel.content.length > 0 && intel.is_introduce_all == '1') {
intel.textInfo = intel.content.filter(item => item.type === "2").map(item => item.content).join('\n');
intel.imgsInfo = intel.content.filter(item => item.type === "1" && item.content).map(item => item.content);
intel.videoImgsInfo = intel.content.filter(item => ((item.type === "1" || item.type === "3") && item.content));
intel.videosInfo = intel.content.filter(item => (item.type === "3" && item.content));
}
return intel
},
... ...
... ... @@ -16,209 +16,187 @@
</view>
<view class="infoItem" wx:if="{{detail.rnameStr && reserve.swich_customer == '1'}}">
<view class="record font28r">预订贵宾:</view>
<view class="contentData font28r">{{detail.rnameStr}}</view>
<view class="contentData font32r">{{detail.rnameStr}}</view>
</view>
<view class="infoItem" wx:if="{{seller.date}}">
<view class="record font28r">用餐日期:</view>
<view class="contentData font28r">{{seller.date}}</view>
<view class="contentData font32r">{{seller.date}}</view>
</view>
<view class="infoItem" wx:if="{{seller.tablesText}}">
<view class="record font28r">用餐位置:</view>
<view class="contentData font28r">{{seller.tablesText}}</view>
<view class="contentData font32r">{{seller.tablesText}}</view>
</view>
<view class="infoItem" wx:if="{{seller.soltName}}">
<view class="record font28r">用餐时间:</view>
<view class="arrivalBox">
<view class="contentData font28r">{{seller.soltName}}<text class="marLeft font28r">{{temp_ddate}}</text></view>
<view class="contentData font32r contentFlex">{{seller.soltName}}<text class="marLeft font32r">{{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">
<button>修改到店时间</button>
<image class="arrivalImg" src="https://nosqn.colorcun.com/editDdateTime3.png" mode=""/>
</view>
</picker>
</view>
</view>
<view class="infoItem" wx:if="{{swich_phone!='0' && seller.tel && seller.tel.length>0}}">
<view class="record font28r">前台电话:</view>
<view class="contentData font28r">
<view class="contentData font32r">
<block wx:for="{{seller.tel}}" wx:key="index"><text data-phone="{{item}}" class="contentDataPhone" bindtap="call">{{item}}</text><text class="divider">{{index==(seller.tel.length-1)?'':','}}</text></block>
</view>
</view>
</view>
<view class="addressBox">
<map style="width:100%; height:240rpx;" longitude="{{seller.long}}" latitude="{{seller.lat}}" scale="15" markers="{{markers}}" bindmarkertap="navRoad" data-marker="{{markers[0]}}" show-location />
<view class="positioning" bindtap="looklocation">
<image src="https://qn.colorcun.com/invitation10Dw.png" mode="aspectFill" />
<text space="nbsp" class="font32r positioningText">{{seller.addr || reserve.seller.map_address}}</text>
</view>
<map style="width:100%; height:300rpx;" longitude="{{seller.long}}" latitude="{{seller.lat}}" scale="15" markers="{{markers}}" bindmarkertap="navRoad" data-marker="{{markers[0]}}" show-location />
</view>
<view class="receptionBox" wx:if="{{staffinfo && reserve.swich_manager=='1'}}">
<view class="peopleInfo">
<image bindtap="lookImgs" data-url="{{staffinfo.photo}}" src="{{staffinfo.photo}}" class="headerimg" mode="aspectFill"></image>
<view class="font26r">{{staffinfo.name}}</view>
<view class="font26r">{{staffinfo.position}}</view>
<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">尊敬的贵宾您好!</view>
<view class="font26r texts">很荣幸能为您提供专属接待和服务</view>
<view class="contactBtns">
<view wx:if="{{staffinfo.phone}}" class="font22r brownFont" data-phone="{{staffinfo.phone}}" bindtap="call">
<view wx:if="{{staffinfo.phone}}" class="font24r brownFont" data-phone="{{staffinfo.phone}}" bindtap="call">
<image src="https://qn.colorcun.com/invitation10Phone1.png" mode="" /><text>联系我</text>
</view>
<view wx:if="{{staffinfo.wechat}}" class="font22r brownFont" bindtap="copyWeChat">
<view wx:if="{{staffinfo.wechat}}" class="font24r brownFont" bindtap="copyWeChat">
<image src="https://qn.colorcun.com/invitation10Wx2.png" mode="" /><text>加微信</text>
</view>
</view>
</view>
</view>
<text space="nbsp" wx:if="{{marketing.wecomle}}" class="welcomeInfo font32r">{{marketing.wecomle}}</text>
<!-- 优惠券 -->
<view class="publicModule couponBoxWrap" wx:if="{{hasValueCertificate && coupon_dataList.length>0}}">
<view class="publicModule preferentialCoupon" wx:if="{{hasValueCertificate && coupon_dataList.length>0}}">
<image class="titleImg5" src="https://qn.colorcun.com/invitation10Title1.png" mode="" />
<block wx:for="{{coupon_dataList}}" wx:key="index" wx:for-index="index">
<navigator wx:if="{{item.resultCoupon == '1' || item.is_type != '3'}}" url="/pack-activity/pack/{{item.is_type == '3'?'receiveCoupon':'buyCoupon'}}?id={{item.id}}&name={{seller.name}}&use={{item.stringifyUse}}&sid={{seller.sid}}&oid={{detail.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
<view class="preferentialItems">
<view class="purchase">
<view class="itemLeft">
<text wx:if="{{item.discount!='0.00' && (item.use.is_cash=='1' || item.use.is_cash) && item.discount}}" class="discountText font20r">{{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">¥<text class="priceText">{{item.price}}</text></view>
<view class="icons font24r">¥</view><text class="font48r">{{item.price}}</text>
</view>
<image class="certificateImg" src="{{(item.discount!='0.00' && (item.use.is_cash=='1' || item.use.is_cash) && item.discount)?'https://qn.colorcun.com/invitation10certificate1.png':'https://qn.colorcun.com/invitation10certificate.png'}}" mode="" />
<text wx:if="{{item.discount!='0.00' && (item.use.is_cash=='1' || item.use.is_cash) && item.discount}}" class="discountInfo">{{item.discount}}折</text>
<view class="icons font20r" wx:if="{{item.is_type == '3' && item.desc!='0'}}">消费满{{item.desc}}元可用</view>
</view>
<view class="certificateInfo">
<view class="preferentialDetails">
<view class="information">
<text class="discountText font20r">{{item.use.is_cash=='1'?'代金券':item.use.is_discount=='1'?'超值折扣':item.use.is_dish=='1'?'特惠菜品':'代金券'}}</text>
<text class="ticketName font24r">{{item.aname}}</text>
</view>
<text wx:if="{{item.exp_date.is_week=='1' || item.exp_date.is_week===true}}" class="limitation font24r">{{item.exp_date.week_show?item.exp_date.week_show+'可用':''}}</text>
<view wx:if="{{item.exp_date.is_none=='1' || item.exp_date.is_none===true}}" class="limitation font24r">
无限制
</view>
<view wx:if="{{item.exp_date.is_birthday=='1' || item.exp_date.is_birthday===true}}" class="limitation font24r">
会员生日当天可用
</view>
<view wx:if="{{item.is_type == '4' && item.desc}}" class="limitation showDesc">
<text class="font24r">消费要求</text>
</view>
<view wx:if="{{(item.useStime && item.useEtime) || item.foreverText}}" class="limitation showDesc font24r">有效期:{{item.foreverText?item.foreverText : ''}}</view>
<view wx:if="{{item.useStime && item.useEtime}}" class="font24r nodate showDesc">{{item.useStime}} 至 {{item.useEtime}}</view>
<view wx:if="{{item.is_type == '3' && (item.morText || item.noonText || item.nigText)}}" class="limitation showDesc">
<text class="font24r">不可用日期</text>
</view>
</view>
<view class="limitationBtn" wx:if="{{item.is_type != '3'}}">
<view class="font24r couponBtn">立即抢购</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">已领取</view>
<view class="font24r orderingFood orderingFood1">已领取</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>
<view wx:if="{{item.is_type == '4' && item.desc!='0'}}" class="bottomLimitation limitation font24r">
<text></text>
<view>消费满{{item.desc}}元可用</view>
</view>
<view wx:if="{{item.is_type == '3' && item.morText}}" class="bottomLimitation limitation font24r">
<text></text>{{item.morText}}
</view>
<view wx:if="{{item.is_type == '3' && item.noonText}}" class="bottomLimitation limitation font24r">
<text></text>{{item.noonText}}
</view>
<view wx:if="{{item.is_type == '3' && item.nigText}}" class="bottomLimitation limitation font24r">
<text></text>{{item.nigText}}
</view>
</navigator>
</block>
</view>
<!-- 充值 -->
<view class="publicModule preferentialCoupon" wx:if="{{(hasValueRecharge && marketing.is_recharge=='1' && recharge_data) || (hasValueRecharge && marketing.is_link=='1')}}">
<view class="publicModule preferentialCoupon" wx:if="{{(hasValueRecharge && marketing.is_recharge=='1' && recharge_data.length>0) || (hasValueRecharge && marketing.is_link=='1')}}">
<image class="titleImg6" src="https://qn.colorcun.com/invitation10Title2.png" mode="" />
<navigator wx:if="{{hasValueRecharge && marketing.is_recharge=='1' && recharge_data && 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="rechargeItems">
<image class="checkImg" src="https://qn.colorcun.com/invitation10vector1.png" mode="" />
<view class="rechargeTitle font36r">{{recharge_data.rname}}</view>
<view class="limitation font24r" wx:if="{{priceInfo}}">
{{priceInfo}}{{(recharge_data.recharge_list.is_coupons=='0' && recharge_data.recharge_list.is_score=='0')?'。':';'}}
<block wx:for="{{recharge_data}}" wx:key="index">
<view class="rechargeItems {{item.id == activeData.id ? 'rechargeActive' : ''}}" bindtap="checkRechargeData" data-id="{{item.id}}">
<image class="checkImg" wx:if="{{item.id == activeData.id}}" src="https://qn.colorcun.com/invitation10vector2.png" mode="" />
<view class="rechargeTitle font36r">{{item.rname}}</view>
<view class="limitation font24r" wx:if="{{item.priceInfo}}">
{{item.priceInfo}}{{(item.recharge_list.is_coupons=='0' && item.recharge_list.is_score=='0')?'。':';'}}
</view>
<view class="limitation font24r" wx:if="{{scoreInfo}}">
{{scoreInfo}}{{recharge_data.recharge_list.is_coupons=='0'?'。':';'}}
<view class="limitation font24r" wx:if="{{item.scoreInfo}}">
{{item.scoreInfo}}{{item.recharge_list.is_coupons=='0'?'。':';'}}
</view>
<view class="limitation font24r" wx:if="{{recharge_data.recharge_list.is_coupons=='1'}}">
{{recharge_data.recharge_list.is_coupons=='1'?'会员充值满'+recharge_data.recharge_money+'元赠送'+certificate:''}}。
<view class="limitation font24r" wx:if="{{item.recharge_list.is_coupons=='1'}}">
{{item.recharge_list.is_coupons=='1'?'会员充值满'+item.recharge_money+'元赠送'+item.certificate:''}}。
</view>
</view>
<view class="rechargeBtn">
<view class="font28r">立即充值</view>
</view>
</navigator>
</block>
<view class="rechargeBtn">
<navigator wx:if="{{activeData.id}}" url="/pack-activity/pack/vipRecharge?id={{activeData.id}}&name={{seller.name}}&sid={{seller.sid}}&oid={{detail.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
立即充值
</navigator>
</view>
<view wx:if="{{hasValueRecharge && marketing.is_link=='1'}}" class="font24r favouredPolicy" bindtap="gotoFavourableList">
了解更多会员优惠政策
</view>
</view>
<!-- 评价券 -->
<view class="publicModule couponBoxWrap" wx:if="{{!is_user_comments && isComments =='1' && couponData.showCoupon =='1'}}">
<view class="publicModule preferentialCoupon" wx:if="{{!is_user_comments && isComments =='1' && couponData.showCoupon =='1'}}">
<image class="titleImg4" src="https://qn.colorcun.com/invitation10Title3.png" mode="" />
<view class="font28r evaluateTitleText">期待您的声音,帮助我们持续改进</view>
<view class="couponInfo" bindtap="evaluateFun">
<view class="preferentialItems">
<view class="purchase">
<view class="priceText" wx:if="{{couponData.price}}">
<view class="icons">¥<text class="priceText">{{couponData.price}}</text></view>
</view>
<image class="certificateImg" src="{{(couponData.discount!='0.00' && (couponData.use.is_cash=='1' || couponData.use.is_cash) && couponData.discount)?'https://qn.colorcun.com/invitation10certificate1.png':'https://qn.colorcun.com/invitation10certificate.png'}}" mode="" />
<text wx:if="{{couponData.discount!='0.00' && (couponData.use.is_cash=='1' || couponData.use.is_cash) && couponData.discount}}" class="discountInfo">{{couponData.discount}}折</text>
<view class="preferentialItems" bindtap="evaluateFun">
<view class="itemLeft">
<text wx:if="{{couponData.discount!='0.00' && (couponData.use.is_cash=='1' || couponData.use.is_cash) && couponData.discount}}" class="discountText font24r">{{couponData.discount}}折</text>
<view class="discountText1 font20r {{couponData.arule.is_accumulation == '1'?'discountText2':'discountText3'}}" wx:if="{{couponData.is_type == '3'}}">{{couponData.arule.is_accumulation == '1' ? '可' : '不可'}}叠加</view>
<view class="priceText" wx:if="{{couponData.price}}">
<view class="icons font24r">¥</view><text class="font48r">{{couponData.price}}</text>
</view>
<view class="certificateInfo">
<view class="preferentialDetails">
<view class="information">
<text class="discountText font20r">{{couponData.use.is_cash=='1'?'代金券':couponData.use.is_discount=='1'?'超值折扣':couponData.use.is_dish=='1'?'特惠菜品':'代金券'}}</text>
<text class="ticketName font24r">{{couponData.aname}}</text>
</view>
<text wx:if="{{couponData.exp_date.is_week=='1' || couponData.exp_date.is_week===true}}" class="limitation font24r">{{couponData.exp_date.week_show?couponData.exp_date.week_show+'可用':''}}</text>
<view wx:if="{{couponData.exp_date.is_none=='1' || couponData.exp_date.is_none===true}}" class="limitation font24r">
无限制
</view>
<view wx:if="{{couponData.exp_date.is_birthday=='1' || couponData.exp_date.is_birthday===true}}" class="limitation font24r">
会员生日当天可用
</view>
<view wx:if="{{couponData.is_type == '4' && couponData.desc}}" class="limitation showDesc">
<text class="font24r">消费要求</text>
</view>
<view wx:if="{{(couponData.useStime && couponData.useEtime) || couponData.foreverText}}" class="limitation showDesc font24r">有效期:{{couponData.foreverText?couponData.foreverText : ''}}</view>
<view wx:if="{{couponData.useStime && couponData.useEtime}}" class="font24r nodate showDesc">{{couponData.useStime}} 至 {{couponData.useEtime}}</view>
<view wx:if="{{couponData.is_type == '3' && (couponData.morText || couponData.noonText || couponData.nigText)}}" class="limitation showDesc">
<text class="font24r">不可用日期</text>
<view class="icons font20r" wx:if="{{couponData.is_type == '3' && couponData.desc!='0'}}">消费满{{couponData.desc}}元可用</view>
</view>
<view class="couponLine"></view>
<view class="itemRight">
<view class="btns">
<text class="font32r anameText">{{couponData.aname}}</text>
<block wx:if="{{couponData.is_type == '1' || couponData.is_type == '2'}}">
<view wx:if="{{couponData.exp_date.is_week=='1' || couponData.exp_date.is_week===true}}" class="bottom font24r">{{couponData.exp_date.week_show?couponData.exp_date.week_show+'可用':''}}{{couponData.desc?','+couponData.desc+'。':'。'}}</view>
<view wx:if="{{couponData.exp_date.is_none=='1' || couponData.exp_date.is_none===true}}" class="bottom font24r">
无限制{{couponData.desc?','+couponData.desc+'。':'。'}}
</view>
</view>
<view class="limitationBtn" wx:if="{{couponData.is_type != '3'}}">
<view class="font24r couponBtn">立即抢购</view>
</view>
<view class="btnBox" wx:if="{{couponData.is_type == '3'}}" >
<view class="font24r orderingFood">{{couponData.resultCoupon == '1'?'已领取':'立即领取'}}</view>
<view class="grantNum" wx:if="{{couponData.receiveNumText}}">
<view class="font24r">已被领取</view>
<view class="font24r"><text>{{couponData.receiveNumText}}</text>张</view>
<view wx:if="{{couponData.exp_date.is_birthday=='1' || couponData.exp_date.is_birthday===true}}" class="bottom font24r">
会员生日当天可用{{couponData.desc?','+couponData.desc+'。':'。'}}
</view>
</block>
<block wx:if="{{couponData.is_type == '3' || couponData.is_type == '4'}}">
<view wx:if="{{(couponData.useStime && couponData.useEtime) ||couponDataitem.foreverText}}" class="bottom font24r">有效期:{{couponData.foreverText?couponData.foreverText : ''}}</view>
<view wx:if="{{couponData.useStime && couponData.useEtime}}" class="bottom font24r nodate">{{couponData.useStime}} 至 {{couponData.useEtime}}</view>
<view wx:if="{{couponData.morText || couponData.noonText || couponData.noonText}}" class="bottom font24r">不可用日期:</view>
<view wx:if="{{couponData.morText}}" class="bottom font24r nodate">{{couponData.morText}}</view>
<view wx:if="{{couponData.noonText}}" class="bottom font24r nodate">{{couponData.noonText}}</view>
<view wx:if="{{couponData.nigText}}" class="bottom font24r nodate">{{couponData.nigText}}</view>
<view wx:if="{{couponData.exp_date.week_show=='无'}}" class="bottom font24r">无使用时间限制</view>
<view wx:if="{{couponData.is_type == '4' && couponData.desc!='0'}}" class="bottom font24r">消费满{{couponData.desc}}元可用</view>
</block>
</view>
<view class="btnBox" wx:if="{{couponData.is_type == '3'}}" >
<view class="font24r orderingFood orderingFood2">免费领取</view>
<view class="grantNum" wx:if="{{couponData.receiveNumText}}">
<view class="font24r">已被领取</view>
<view class="font24r"><text>{{couponData.receiveNumText}}</text>张</view>
</view>
</view>
</view>
<view wx:if="{{couponData.is_type == '4' && couponData.desc!='0'}}" class="bottomLimitation limitation font24r">
<text></text>
<view>消费满{{couponData.desc}}元可用</view>
</view>
<view wx:if="{{couponData.is_type == '3' && couponData.morText}}" class="bottomLimitation limitation font24r">
<text></text>{{couponData.morText}}
</view>
<view wx:if="{{couponData.is_type == '3' && couponData.noonText}}" class="bottomLimitation limitation font24r">
<text></text>{{couponData.noonText}}
</view>
<view wx:if="{{couponData.is_type == '3' && couponData.nigText}}" class="bottomLimitation limitation font24r">
<text></text>{{couponData.nigText}}
</view>
</view>
</view>
<!-- 评价没有券 -->
... ... @@ -234,43 +212,49 @@
</view>
</view>
<!-- 停车指引 -->
<view class="publicModule" wx:if="{{reserve && (reserve.textInfo || reserve.videoImgsInfo.length>0)}}">
<view class="publicModule" wx:if="{{reserve && (reserve.textInfo || reserve.textInfo || reserve.imgsInfo.length>0 || reserve.videosInfo.length>0)}}">
<image class="titleImg4" src="https://qn.colorcun.com/invitation10Title4.png" mode="" />
<view class="labelBox" wx:if="{{reserve.textInfo}}">
<text class="texts font28r" space="nbsp">{{reserve.textInfo}}</text>
</view>
<swiper wx:if="{{reserve.videoImgsInfo.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{reserve.videoImgsInfo}}" wx:key="index">
<video wx:if="{{item.type=='3'}}" class='boxBlock' id="video" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
<image wx:if="{{item.type=='1'}}" mode="aspectFill" class="detailBannerImg" src="{{item.content}}" bindtap="previewImage" data-url="{{item.content}}" data-imgs="{{reserve.imgsInfo}}"></image>
<swiper wx:if="{{reserve.imgsInfo.length>0}}" 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="previewImage" data-url="{{item}}" data-imgs="{{reserve.imgsInfo}}"></image>
</swiper-item>
</swiper>
<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 class="publicModule" wx:if="{{store && (store.textInfo || store.videoImgsInfo.length>0)}}">
<view class="publicModule" wx:if="{{store && (store.textInfo || store.imgsInfo.length>0 || store.videosInfo.length>0)}}">
<image class="titleImg4" src="https://qn.colorcun.com/invitation10Title5.png" mode="" />
<view class="labelBox" wx:if="{{store.textInfo}}">
<text class="texts font28r" space="nbsp">{{store.textInfo}}</text>
</view>
<swiper wx:if="{{store.videoImgsInfo.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{store.videoImgsInfo}}" wx:key="index">
<video wx:if="{{item.type=='3'}}" class='boxBlock' id="video" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
<image wx:if="{{item.type=='1'}}" mode="aspectFill" class="detailBannerImg" src="{{item.content}}" bindtap="previewImage" data-url="{{item.content}}" data-imgs="{{store.imgsInfo}}"></image>
<swiper wx:if="{{store.imgsInfo.length>0}}" 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="previewImage" data-url="{{item}}" data-imgs="{{store.imgsInfo}}"></image>
</swiper-item>
</swiper>
<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="publicModule" wx:if="{{(signboard && signboard.textInfo || signboard.videoImgsInfo.length>0) || (hasValueOrder && openOrder == '1' && marketing.is_order=='1')}}">
<view class="publicModule" wx:if="{{(signboard && signboard.textInfo || signboard.imgsInfo.length>0 || signboard.videosInfo.length>0) || (hasValueOrder && openOrder == '1' && marketing.is_order=='1')}}">
<image class="titleImg4" src="https://qn.colorcun.com/invitation10Title6.png" mode="" />
<view class="labelBox" wx:if="{{signboard.textInfo}}">
<text class="texts font28r" space="nbsp">{{signboard.textInfo}}</text>
</view>
<swiper wx:if="{{signboard.videoImgsInfo.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{signboard.videoImgsInfo}}" wx:key="index">
<video wx:if="{{item.type=='3'}}" class='boxBlock' id="video" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
<image wx:if="{{item.type=='1'}}" mode="aspectFill" class="detailBannerImg" src="{{item.content}}" bindtap="previewImage" data-url="{{item.content}}" data-imgs="{{signboard.imgsInfo}}"></image>
<swiper wx:if="{{signboard.imgsInfo.length>0}}" 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="previewImage" data-url="{{item}}" data-imgs="{{signboard.imgsInfo}}"></image>
</swiper-item>
</swiper>
<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 bindtap="cookbook" class="font28r cook" style="position: relative;">
... ... @@ -279,17 +263,19 @@
</view>
</view>
<!-- 主厨介绍 -->
<view class="publicModule" wx:if="{{chef && (chef.textInfo || chef.videoImgsInfo.length>0)}}">
<view class="publicModule" wx:if="{{chef && (chef.textInfo || chef.imgsInfo.length>0 || chef.videosInfo.length>0)}}">
<image class="titleImg4" src="https://qn.colorcun.com/invitation10Title7.png" mode="" />
<view class="labelBox" wx:if="{{chef.textInfo}}">
<text class="texts font28r" space="nbsp">{{chef.textInfo}}</text>
</view>
<swiper wx:if="{{chef.videoImgsInfo.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{chef.videoImgsInfo}}" wx:key="index">
<video wx:if="{{item.type=='3'}}" class='boxBlock' id="video" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
<image wx:if="{{item.type=='1'}}" mode="aspectFill" class="detailBannerImg" src="{{item.content}}" bindtap="previewImage" data-url="{{item.content}}" data-imgs="{{chef.imgsInfo}}"></image>
<swiper wx:if="{{chef.imgsInfo.length>0}}" 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="previewImage" data-url="{{item}}" data-imgs="{{chef.imgsInfo}}"></image>
</swiper-item>
</swiper>
<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="businessBox font24r">
周到安排提供技术支持<text bindtap="call" data-phone="4000009690">4000009690</text>,餐厅入驻请点击
... ...
... ... @@ -53,6 +53,7 @@
}
.infoItem .record {
font-weight: 500;
flex-shrink: 0;
font-family: PingFang SC;
color: #CC9B6A;
... ... @@ -85,7 +86,7 @@
}
.addressBox {
margin: 0 40rpx 32rpx 40rpx;
margin: 0 40rpx;
}
.positioning {
... ... @@ -96,7 +97,15 @@
color: #111;
padding: 20rpx;
box-sizing: border-box;
margin-bottom: 20rpx;
margin: 20rpx 0 32rpx 0;
}
.welcomeInfo {
text-align: center;
color: #000;
margin: 32rpx 0;
display: block;
font-weight: 600;
}
.positioning image {
... ... @@ -105,6 +114,16 @@
margin-right: 20rpx;
}
.contentFlex {
flex: inherit;
}
.picker {
display: flex;
align-items: center;
justify-content: center;
}
.positioningText {
line-height: 50rpx;
font-family: PingFang SC;
... ... @@ -133,6 +152,13 @@
border-radius: 50%;
}
.noHeaderimg{
width: 108rpx;
height: 108rpx;
background: #BFBFBF;
border-radius: 50%;
}
.peopleInfo {
display: flex;
flex-direction: column;
... ... @@ -162,7 +188,8 @@
.handleInfo .texts {
margin: 22rpx 0;
letter-spacing: 3rpx;
line-height: 36rpx
line-height: 36rpx;
font-weight: 500;
}
.contactBtns {
... ... @@ -179,6 +206,7 @@
display: flex;
align-items: center;
justify-content: center;
font-weight: 600 !important;
}
.brownFont image {
... ... @@ -212,127 +240,6 @@
height: 100rpx;
}
.preferentialItems {
width: 100%;
display: flex;
min-height: 160rpx;
}
.purchase {
position: relative;
width: 30%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: #CC9B6A;
border-radius: 10rpx;
}
.discountText {
text-align: center;
color: #FFEFC5;
border-radius: 6rpx;
font-family: PingFang SC;
background: #FD4D59;
width: max-content;
padding: 6rpx;
margin-right: 8rpx;
}
.priceText {
font-family: PingFang SC;
color: #fff;
font-weight: 500;
margin-top: 6rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 52rpx;
flex-direction: column;
}
.icons {
font-family: PingFang SC;
color: #fff;
font-size: 20rpx;
display: flex;
align-items: baseline;
}
.certificateInfo {
width: 70%;
padding: 20rpx;
position: relative;
border-radius: 10rpx;
display: flex;
background: #fff;
align-items: center;
}
.certificateInfo .nodate{
padding-left: 20rpx;
}
.certificateInfo .limitation {
line-height: 40rpx;
}
.ticketName {
display: flex;
justify-content: space-between;
align-items: baseline;
font-weight: 700;
overflow: hidden;
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
color: #000;
}
.orderingFood {
padding: 0 20rpx;
border-radius: 22rpx;
text-align: center;
border-radius: 20rpx;
line-height: 44rpx;
height: 44rpx;
width: max-content;
margin-top: 24rpx;
flex-shrink: 0;
border: 2rpx solid #CC9B6A;
background: transparent;
color: #CC9B6A;
}
.grantNum {
display: flex;
flex-direction: column;
align-items: center;
color: #999;
margin-top: 10rpx;
}
.grantNum text {
color: #CC9B6A;
margin-right: 10rpx;
}
.limitation {
margin-top: 10rpx;
color: #666;
font-family: PingFang SC;
font-weight: 500;
display: -webkit-box;
word-break: break-all;
word-wrap: break-word;
overflow: hidden;
text-align: left;
line-height: 30rpx;
}
.rechargeItems {
display: flex;
min-height: 160rpx;
... ... @@ -341,6 +248,13 @@
position: relative;
padding: 20rpx 40rpx;
flex-direction: column;
background: #fff8f2;
width: 100%;
box-sizing: border-box;
margin-bottom: 24rpx;
}
.rechargeActive {
background: #fff1e7;
}
... ... @@ -385,6 +299,7 @@
align-items: center;
justify-content: center;
margin: 24rpx 0;
width: 100%;
}
.rechargeBtn view {
... ... @@ -396,24 +311,6 @@
text-align: center;
}
.couponBoxWrap navigator,
.couponBoxWrap .couponInfo {
width: 100%;
margin-bottom: 20rpx;
border-radius: 10rpx;
background: #fff;
}
.couponBoxWrap .preferentialItems {
box-shadow: 0rpx 4rpx 8rpx #0000000d;
}
.couponBoxWrap .showDesc {
display: flex;
align-items: center;
color: #666;
}
.bottomLimitation {
padding: 0 20rpx;
display: flex;
... ... @@ -433,80 +330,205 @@
border-radius: 50%;
}
.couponBoxWrap .certificateInfo {
flex-direction: row;
background: #fff;
align-items: center;
.evaluateTitleText {
font-weight: 600;
font-size: 28rpx;
font-family: PingFang SC;
margin: 40rpx 0;
}
.preferentialCoupon {
padding: 20rpx;
}
.couponBoxWrap .couponBtn {
.preferentialCoupon navigator{
width: 100%;
height: fit-content;
background: #CC9B6A;
color: #fff;
}
.couponBoxWrap .certificateInfo .preferentialDetails {
.preferentialCoupon .nodate{
padding-left: 20rpx;
}
.preferentialItems {
width: 100%;
display: flex;
display: flex;
background: #FFF1E6;
margin-bottom: 20rpx;
min-height: 180rpx;
padding-bottom: 10rpx;
border-radius: 20rpx;
}
.itemLeft {
width: 30%;
display: flex;
flex-direction: column;
justify-content: center;
position: relative;
}
.discountText1{
text-align: center;
border-radius: 6rpx;
font-family: PingFang SC;
background: transparent;
width: max-content;
padding: 2rpx 8rpx;
position: absolute;
left: 16rpx;
top: 12rpx;
}
.discountText2{
background: #FD4D59;
color: #fff;
}
.discountText3{
color: #FD4D59;
border: 2rpx solid #FD4D59;
}
.priceText {
font-family: 'Abel';
color: #E34D59;
font-weight: 500;
font-size: 64rpx;
margin-top: 6rpx;
}
.itemRight {
width: 70%;
padding-right: 10rpx;
margin-left: 18rpx;
}
.btns {
margin: 24rpx 20rpx 0 0;
display: flex;
justify-content: space-evenly;
align-items: baseline;
flex-direction: column;
height: 90%;
}
.couponBoxWrap .information {
.preferentialCoupon .itemRight {
width: 74%;
display: flex;
align-items: center;
}
.couponBoxWrap .certificateInfo .limitation {
margin-right: 20rpx;
flex: 1;
width: auto;
.preferentialCoupon .itemLeft {
width: 26%;
}
.couponBoxWrap .discountInfo {
font-family: PingFang SC;
background: #FD4D59;
position: absolute;
top: 0;
left: 100rpx;
font-size: 16rpx;
border-radius: 0 0 10rpx 0;
padding: 0 6rpx;
height: 28rp;
line-height: 28rpx;
.preferentialCoupon .couponLine{
margin: 24rpx 0 4rpx 0;
border-right: 2rpx dashed #FD4D59;
}
.preferentialCoupon .orderingFood {
padding: 0 20rpx;
color: #fff;
border: none;
text-align: center;
color: #FFEFC5;
border-radius: 20rpx;
line-height: 44rpx;
height: 44rpx;
width: max-content;
flex-shrink: 0;
background: #CC9B6A;
}
.couponBoxWrap .certificateImg {
position: absolute;
top: 0;
left: 0;
width: 100rpx;
height: 28rpx;
.preferentialCoupon .icons {
color: #FD4D59;
text-align: center;
}
.couponBoxWrap .limitationBtn {
width: 40%;
.preferentialCoupon .priceText {
display: flex;
align-items: baseline;
justify-content: center;
font-family: PingFang SC;
color: #FD4D59;
font-weight: 600;
font-size: 48rpx;
margin-top: 6rpx;
}
.preferentialCoupon .priceText text {
font-size: 48rpx;
}
.preferentialCoupon .btns {
flex: 1;
}
.preferentialCoupon .btnBox {
display: flex;
flex-direction: column;
}
.preferentialCoupon .grantNum {
display: flex;
flex-direction: column;
align-items: center;
color: #C36607;
margin-top: 10rpx;
}
.evaluateTitleText {
.preferentialCoupon .grantNum text {
color: #F6231B;
margin-right: 10rpx;
}
.preferentialCoupon .btns .anameText {
font-weight: 600;
font-size: 28rpx;
font-family: PingFang SC;
margin: 40rpx 0;
}
.preferentialCoupon navigator {
width: 100%;
.preferentialCoupon .orderingFood1 {
border: 2rpx solid #CC9B6A;
background: transparent;
color: #CC9B6A;
font-weight: 600;
}
.preferentialCoupon .limitation {
color: #000;
.discountText {
text-align: center;
color: #FFEFC5;
border-radius: 6rpx;
font-family: PingFang SC;
background: #FD4D59;
width: max-content;
padding: 6rpx;
position: absolute;
left: 16rpx;
top: 12rpx;
}
.bottom {
margin-top: 4rpx;
width: 100%;
color: #C36607;
font-family: PingFang SC;
font-weight: 500;
display: -webkit-box;
word-break: break-all;
word-wrap: break-word;
overflow: hidden;
text-align: left;
}
.regionItem {
padding: 40rpx;
}
.rechargeBtn navigator {
width: 84%;
padding: 12rpx 0;
background: #CC9B6A;
border-radius: 42rpx;
color: #fff;
text-align: center;
}
.labelBox {
... ... @@ -516,7 +538,7 @@
.labelBox .texts {
line-height: 40rpx;
color: #222;
color: #000;
font-family: PingFang SC;
font-weight: 500;
display: block;
... ... @@ -548,11 +570,6 @@
height: 60rpx;
}
.evaluateCoupon .couponBtn {
color: #cc9b6a;
background: #fff;
}
.evaluateCoupon .preferentialItems {
background: #CC9B6A;
align-items: center;
... ... @@ -562,10 +579,13 @@
}
.evaluateCoupon .couponBtn {
color: #cc9b6a;
background: #fff;
width: max-content;
height: max-content;
padding: 4rpx 20rpx;
margin-top: 0;
font-weight: 600;
}
.evaluateCoupon .evaluateText {
... ... @@ -580,6 +600,7 @@
width: 100%;
height: 500rpx;
background: transparent;
margin-top: 20rpx;
}
.detailBannerImg {
... ... @@ -590,7 +611,8 @@
.boxBlock {
width: 100%;
height: 500rpx;
border-radius: 10rpx;
margin-top: 20rpx;
}
.businessBox {
... ... @@ -623,22 +645,13 @@
.arrivalBox {
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
}
.arrivalBox button {
display: flex;
font-size: 24rpx;
flex-direction: column;
height: 50rpx;
padding: 0 18rpx;
line-height: 48rpx;
font-family: PingFang SC;
border-radius: 40rpx;
background: transparent;
color: #000;
border: 2rpx solid #000;
.arrivalBox .arrivalImg {
width: 40rpx;
height: 40rpx;
margin-left: 20rpx;
}
.shareItem,
... ...
... ... @@ -25,11 +25,9 @@ Page({
signboard: {},
store: {},
recharge_data: {},
activeData: {},
coupon_dataList: [],
seller: {},
priceInfo: '',
scoreInfo: '',
certificate: '',
dataStr: Date.now() * 1 / 1000,
swich_phone: '0', //是否显示前台电话
is_comments: '0',
... ... @@ -116,14 +114,20 @@ Page({
// 锚点定位
gotoModule(e) {
const type = e.currentTarget.dataset['type'];
const query = wx.createSelectorQuery()
query.select('#module' + type).boundingClientRect()
query.selectViewport().scrollOffset()
query.exec(function (res) {
if (type == '0') {
wx.pageScrollTo({
scrollTop: res[0].top - 150
scrollTop: 0
});
});
} else {
const query = wx.createSelectorQuery()
query.select('#module' + type).boundingClientRect()
query.selectViewport().scrollOffset()
query.exec(function (res) {
wx.pageScrollTo({
scrollTop: res[0].top + res[1].scrollTop - 150
});
});
}
},
// 打开截屏弹框
showModal() {
... ... @@ -686,10 +690,8 @@ Page({
couponList = this.addCoupons(coupon_data_free,couponList);
// 根据券ID获取券详情
this.getActivityByIdFun(couponList)
// 根据充值ID获取充值详情
if (marketing && marketing.is_recharge && marketing.is_recharge == '1' && marketing.recharge_data) {
this.getRechargeDetail(marketing.recharge_data.id)
}
// 获取所有充值活动
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);
... ... @@ -884,21 +886,33 @@ Page({
}
},
// 根据充值ID获取充值详情
getRechargeDetail(id) {
App.Activity.GetNewRecharge({
id
getRechargeDetail() {
App.Activity.GetNewRechargeList({
sellerid: this.data.detail.seller.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 = '赠送' + recharge_list.price + '元余额';
if (recharge_list.is_score == '1') scoreInfo = '赠送' + 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 : ''
let arr = []
res.data.forEach(i => {
if (i.status != '1') {
arr.push(i)
}
})
let recharge_data = arr;
recharge_data.forEach(item => {
item.recharge_list = item.recharge_list ? JSON.parse(item.recharge_list) : '';
let recharge_list = item.recharge_list;
item.priceInfo = '';
item.scoreInfo = '';
item.certificate = '';
if (recharge_list.is_price == '1') item.priceInfo = '会员充值满' + item.recharge_money + '元赠送' + item.recharge_list.price + '元余额';
if (recharge_list.is_score == '1') item.scoreInfo = '会员充值满' + item.recharge_money + '元赠送' + item.recharge_list.score + '积分';
if (recharge_list.is_coupons == '1' && recharge_list.coupons_names.length > 0) item.certificate = recharge_list.coupons_names.join('、');
item.timeStr = util.unixtoTime(item.stime, 'YYYY-MM-DD') + ' - ' + util.unixtoTime(item.etime, 'YYYY-MM-DD')
})
// 筛选出 未过期的 && 开启状态的充值活动
recharge_data = recharge_data.filter(item => {
return this.data.dataStr < (item.etime * 1) && item.is_open == '1'
})
console.log('邀请函--------------充值', recharge_data);
let entry = this.data.titleList
if (this.data.hasValueRecharge && this.data.marketing.is_recharge == '1' && recharge_data) {
... ... @@ -909,23 +923,33 @@ Page({
if (entry.length > 0) {
entry.sort((a, b) => a.id - b.id);
}
recharge_data.timeStr = util.unixtoTime(recharge_data.stime, 'YYYY-MM-DD') + ' - ' + util.unixtoTime(recharge_data.etime, 'YYYY-MM-DD')
}
this.setData({
titleList: entry,
activeTitle: entry.length > 0 ? entry[0].id : '',
recharge_data,
scoreInfo,
priceInfo,
certificate
activeData: recharge_data.length > 0 ? recharge_data[0] : {},
})
} else {
this.setData({
recharge_data: {},
recharge_data: [],
activeData: {},
})
}
})
},
// 选择充值活动
checkRechargeData(e) {
let id = e.currentTarget.dataset['id'];
let obj = this.data.recharge_data.filter(item => {
return item.id == id
})
if (obj && obj.length > 0) {
this.setData({
activeData: obj[0]
})
}
},
// 选择标题
checkTitleFun(e) {
console.log('e.currentTargete.currentTarget', e.currentTarget);
... ... @@ -1290,7 +1314,6 @@ Page({
},
// 计算免费券有效期的起始、结束日期
setTimeRange(cdate, startOffset, endOffset) {
console.log(cdate, startOffset, endOffset);
const startDate = new Date((cdate + startOffset * 86400) * 1000);
startDate.setHours(0, 0, 0, 0);
const useStime = util.unixtoTime(startDate.getTime() / 1000, 'YYYY-MM-DD');
... ... @@ -1477,14 +1500,10 @@ Page({
intel.textInfo = (intel.introduce && (!intel.is_introduce || intel.is_introduce != '0')) ? intel.introduce : '';
}
intel.imgsInfo = imgs;
intel.videoImgsInfo = imgs.map(url => ({
type: "1",
content: url,
}));
if (intel.content && intel.content.length > 0 && intel.is_introduce_all == '1') {
intel.textInfo = intel.content.filter(item => item.type === "2").map(item => item.content).join('\n');
intel.imgsInfo = intel.content.filter(item => item.type === "1" && item.content).map(item => item.content);
intel.videoImgsInfo = intel.content.filter(item => ((item.type === "1" || item.type === "3") && item.content));
intel.videosInfo = intel.content.filter(item => (item.type === "3" && item.content));
}
return intel
},
... ...
... ... @@ -9,10 +9,10 @@
<view class="reservationInfoBox">
<view class="reservationInfo reservationInfo{{make}}">
<view class="infoTop">
<text wx:if="{{bookType == '2'}}" class="infoTopText1" space="nbsp">INVITATION</text>
<image wx:if="{{bookType == '2'}}" class="infoTopImg1" src="https://nosqn.colorcun.com/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>
<text wx:if="{{!make || make=='2'}}" class="infoTopText4 font44r" space="nbsp">邀请函</text>
<image wx:if="{{bookType == '1' && (!make || make=='2')}}" class="infoTopText4" src="https://nosqn.colorcun.com/invitation11Title.png" mode=""/>
<image wx:if="{{bookType == '1' && make == '1'}}" class="infoTopBj2" src="https://qn.colorcun.com/invitation11Bg2.png" mode="" />
</view>
<view class="informationBox">
... ... @@ -21,37 +21,37 @@
</view>
<view class="infoItem" wx:if="{{detail.rnameStr && reserve.swich_customer == '1'}}">
<view class="record font28r">预订贵宾:</view>
<view class="contentData font28r">{{detail.rnameStr}}</view>
<view class="contentData font32r">{{detail.rnameStr}}</view>
</view>
<view class="infoItem" wx:if="{{seller.date}}">
<view class="record font28r">用餐日期:</view>
<view class="contentData font28r">{{seller.date}}</view>
<view class="contentData font32r">{{seller.date}}</view>
</view>
<view class="infoItem" wx:if="{{seller.tablesText}}">
<view class="record font28r">用餐位置:</view>
<view class="contentData font28r">{{seller.tablesText}}</view>
<view class="contentData font32r">{{seller.tablesText}}</view>
</view>
<view class="infoItem" wx:if="{{seller.soltName}}">
<view class="record font28r">用餐时间:</view>
<view class="arrivalBox">
<view class="contentData font28r">{{seller.soltName}}<text class="marLeft font28r">{{temp_ddate}}</text></view>
<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">
<button>修改到店时间</button>
<image class="arrivalImg" src="https://nosqn.colorcun.com/editDdateTime{{bookType == '1' ? '1' : '4'}}.png" mode=""/>
</view>
</picker>
</view>
</view>
<view wx:if="{{bookType == '2'}}" class="entrance {{((reserve.swich_booking!='1' || !reserve.book_info) && (!reserve.swich_phone=='0' || !seller.tel || seller.tel.length==0))?'entrance1':''}}">
<view bindtap="gotoModule" data-type="1" wx:if="{{marketing.logo || home.image || (store.textInfo || store.videoImgsInfo.length>0)}}" class="entranceItem">
<view bindtap="gotoModule" data-type="1" wx:if="{{marketing.logo || home.image || (store.textInfo || store.imgsInfo.length>0 || store.videosInfo.length>0)}}" class="entranceItem">
<image src="https://qn.colorcun.com/invitation12Icon1.png" mode="" />
<view class="font24r">餐厅介绍</view>
</view>
<view bindtap="gotoModule" data-type="2" wx:if="{{signboard && (signboard.textInfo || signboard.videoImgsInfo.length>0)}}" class="entranceItem">
<view bindtap="gotoModule" data-type="2" wx:if="{{signboard && (signboard.textInfo || signboard.imgsInfo.length>0 || signboard.videosInfo.length>0)}}" class="entranceItem">
<image src="https://qn.colorcun.com/invitation12Icon2.png" mode="" />
<view class="font24r">招牌菜品</view>
</view>
<view bindtap="gotoModule" data-type="3" wx:if="{{reserve && (reserve.textInfo || reserve.videoImgsInfo.length>0)}}" class="entranceItem">
<view bindtap="gotoModule" data-type="3" wx:if="{{reserve && (reserve.textInfo || reserve.imgsInfo.length>0 || reserve.videosInfo.length>0)}}" class="entranceItem">
<image src="https://qn.colorcun.com/invitation12Icon3.png" mode="" />
<view class="font24r">停车指引</view>
</view>
... ... @@ -59,17 +59,21 @@
<image src="https://qn.colorcun.com/invitation12Icon4.png" mode="" />
<view class="font24r">提前点餐</view>
</view>
<view bindtap="gotoModule" data-type="0" class="entranceItem">
<image src="https://qn.colorcun.com/invitation12Icon5.png" mode="" />
<view class="font24r">回到顶部</view>
</view>
</view>
<view class="infoItem infoRight" wx:if="{{swich_phone!='0' && seller.tel && seller.tel.length>0}}">
<view class="record font28r">前台电话:</view>
<view class="contentData font28r">
<view class="contentData font32r">
<block wx:for="{{seller.tel}}" wx:key="index"><text data-phone="{{item}}" class="contentDataPhone" bindtap="call">{{item}}</text><text class="divider">{{index==(seller.tel.length-1)?'':','}}</text></block>
</view>
</view>
<view class="infoItem addressInfo">
<view class="record font28r">餐厅地址:</view>
<view class="arrivalBox">
<view class="contentData font28r">{{seller.addr || reserve.seller.map_address}}</view>
<view class="contentData font32r">{{seller.addr || reserve.seller.map_address}}</view>
<view class="positioning" bindtap="looklocation">
<image class="addressImg" src="{{bookType == '1'?'https://qn.colorcun.com/invitation11Dw.png':'https://qn.colorcun.com/invitation12Dw.png'}}" mode="aspectFill" />
{{bookType == '1' ? '导航' : '导航到店'}}
... ... @@ -86,182 +90,159 @@
</view>
<view class="receptionBox" wx:if="{{staffinfo && reserve.swich_manager=='1'}}">
<view class="peopleInfo">
<image bindtap="lookImgs" data-url="{{staffinfo.photo}}" src="{{staffinfo.photo}}" class="headerimg" mode="aspectFill"></image>
<view class="font26r">{{staffinfo.name}}</view>
<view class="font26r">{{staffinfo.position}}</view>
<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">尊敬的贵宾您好!</view>
<view class="font26r texts">很荣幸能为您提供专属接待和服务</view>
<view class="font28r texts">很荣幸能为您提供专属接待和服务</view>
<view class="contactBtns">
<view wx:if="{{staffinfo.phone}}" class="font22r brownFont" data-phone="{{staffinfo.phone}}" bindtap="call">
<view wx:if="{{staffinfo.phone}}" class="font24r brownFont" data-phone="{{staffinfo.phone}}" bindtap="call">
<image src="{{bookType == '1'?'https://qn.colorcun.com/invitation11Phone.png':'https://qn.colorcun.com/invitation10Phone.png'}}" mode="" /><text>联系我</text>
</view>
<view wx:if="{{staffinfo.wechat}}" class="font22r brownFont" bindtap="copyWeChat">
<view wx:if="{{staffinfo.wechat}}" class="font24r brownFont" bindtap="copyWeChat">
<image src="{{bookType == '1'?'https://qn.colorcun.com/invitation11Wx.png':'https://qn.colorcun.com/invitation10Wx.png'}}" mode="" /><text>加微信</text>
</view>
</view>
</view>
</view>
</view>
<view class="publicModule preferentialCoupon" wx:if="{{titleList.length>0}}">
<view class="publicModule preferentialCouponBox" wx:if="{{titleList.length>0}}">
<view class="tileBox">
<view wx:for="{{titleList}}" wx:key="index" wx:for-index="index" bindtap="checkTitleFun" data-type="{{item.id}}" class="titleItem {{activeTitle==item.id?'activeTitleItem':''}}">{{item.title}}</view>
<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>
<!-- 优惠券 -->
<view class="regionItem couponBoxWrap" wx:if="{{activeTitle == '1'}}">
<view class="preferentialCoupon" wx:if="{{activeTitle == '1'}}">
<block wx:for="{{coupon_dataList}}" wx:key="index" wx:for-index="index">
<navigator wx:if="{{item.resultCoupon == '1' || item.is_type != '3'}}" url="/pack-activity/pack/{{item.is_type == '3'?'receiveCoupon':'buyCoupon'}}?id={{item.id}}&name={{seller.name}}&use={{item.stringifyUse}}&sid={{seller.sid}}&oid={{detail.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
<view class="preferentialItems">
<view class="purchase">
<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">¥<text class="priceText">{{item.price}}</text></view>
<view class="icons font24r">¥</view><text class="font48r">{{item.price}}</text>
</view>
<image class="certificateImg" src="{{(item.discount!='0.00' && (item.use.is_cash=='1' || item.use.is_cash) && item.discount)?'https://qn.colorcun.com/invitation10certificate1.png':'https://qn.colorcun.com/invitation10certificate.png'}}" mode="" />
<text wx:if="{{item.discount!='0.00' && (item.use.is_cash=='1' || item.use.is_cash) && item.discount}}" class="discountInfo">{{item.discount}}折</text>
<view class="icons font20r" wx:if="{{item.is_type == '3' && item.desc!='0'}}">消费满{{item.desc}}元可用</view>
</view>
<view class="certificateInfo">
<view class="preferentialDetails">
<view class="information">
<text class="discountText font20r">{{item.use.is_cash=='1'?'代金券':item.use.is_discount=='1'?'超值折扣':item.use.is_dish=='1'?'特惠菜品':'代金券'}}</text>
<text class="ticketName font24r">{{item.aname}}</text>
</view>
<text wx:if="{{item.exp_date.is_week=='1' || item.exp_date.is_week===true}}" class="limitation font24r">{{item.exp_date.week_show?item.exp_date.week_show+'可用':''}}</text>
<view wx:if="{{item.exp_date.is_none=='1' || item.exp_date.is_none===true}}" class="limitation font24r">
无限制
</view>
<view wx:if="{{item.exp_date.is_birthday=='1' || item.exp_date.is_birthday===true}}" class="limitation font24r">
会员生日当天可用
</view>
<view wx:if="{{item.is_type == '4' && item.desc}}" class="limitation showDesc">
<text class="font24r">消费要求</text>
</view>
<view wx:if="{{(item.useStime && item.useEtime) || item.foreverText}}" class="limitation showDesc font24r">有效期:{{item.foreverText?item.foreverText : ''}}</view>
<view wx:if="{{item.useStime && item.useEtime}}" class="font24r nodate showDesc">{{item.useStime}} 至 {{item.useEtime}}</view>
<view wx:if="{{item.is_type == '3' && (item.morText || item.noonText || item.nigText)}}" class="limitation showDesc">
<text class="font24r">不可用日期</text>
</view>
</view>
<view class="limitationBtn" wx:if="{{item.is_type != '3'}}">
<view class="font24r couponBtn">立即抢购</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">已领取</view>
<view class="font24r orderingFood orderingFood1">已领取</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>
<view wx:if="{{item.is_type == '4' && item.desc!='0'}}" class="bottomLimitation limitation font24r bottomLimitationTop">
<text></text>
<view>消费满{{item.desc}}元可用</view>
</view>
<view wx:if="{{item.is_type == '3' && item.morText}}" class="bottomLimitation limitation font24r bottomLimitationTop">
<text></text>{{item.morText}}
</view>
<view wx:if="{{item.is_type == '3' && item.noonText}}" class="bottomLimitation limitation font24r">
<text></text>{{item.noonText}}
</view>
<view wx:if="{{item.is_type == '3' && item.nigText}}" class="bottomLimitation limitation font24r">
<text></text>{{item.nigText}}
</view>
</navigator>
</block>
</view>
<!-- 充值 -->
<view class="regionItem" wx:if="{{activeTitle == '2'}}">
<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="rechargeItems">
<image class="checkImg" src="https://qn.colorcun.com/invitation10vector.png" mode="" />
<view class="rechargeTitle">{{recharge_data.recharge_money}}<text class="font24r">元</text></view>
</view>
</navigator>
<view class="limitation" wx:if="{{priceInfo || scoreInfo || recharge_data.recharge_list.is_coupons=='1'}}">
<view class="limitationTitle font28r">充值优惠详情</view>
<view class="font24r">
<text>会员充值满{{recharge_data.recharge_money}}元,</text>
<text wx:if="{{priceInfo}}">{{priceInfo}}{{(recharge_data.recharge_list.is_coupons=='0' && recharge_data.recharge_list.is_score=='0')?'。':','}}</text>
<text wx:if="{{scoreInfo}}">{{scoreInfo}}{{recharge_data.recharge_list.is_coupons=='0'?'。':','}}</text>
<text wx:if="{{recharge_data.recharge_list.is_coupons=='1'}}">{{recharge_data.recharge_list.is_coupons=='1'?'赠送'+certificate:''}}。</text>
<view class="rechargeBox">
<block wx:for="{{recharge_data}}" wx:key="index">
<view class="rechargeItems {{item.id == activeData.id ? 'rechargeActive' : ''}}" bindtap="checkRechargeData" data-id="{{item.id}}">
<image class="checkImg" wx:if="{{item.id == activeData.id}}" src="https://qn.colorcun.com/invitation10vector.png" mode="" />
<view class="rechargeTitle">{{item.recharge_money}}<text class="font24r">元</text></view>
</view>
</block>
</view>
<view class="limitation" wx:if="{{activeData.priceInfo || activeData.scoreInfo || activeData.recharge_list.is_coupons=='1'}}">
<view class="limitationTitle font32r limitationTitle1">充值优惠详情</view>
<view class="font28r">
<text>会员充值满{{activeData.recharge_money}}元,</text>
<text wx:if="{{activeData.priceInfo}}">{{activeData.priceInfo}}{{(activeData.recharge_list.is_coupons=='0' && activeData.recharge_list.is_score=='0')?'。':','}}</text>
<text wx:if="{{activeData.scoreInfo}}">{{activeData.scoreInfo}}{{activeData.recharge_list.is_coupons=='0'?'。':','}}</text>
<text wx:if="{{activeData.recharge_list.is_coupons=='1'}}">{{activeData.recharge_list.is_coupons=='1'?'赠送'+activeData.certificate:''}}。</text>
</view>
</view>
<view class="limitation">
<view class="limitationTitle font28r">有效期</view>
<view class="font24r">{{recharge_data.timeStr}}</view>
<view class="limitationTitle font32r">有效期</view>
<view class="font28r">{{activeData.timeStr}}</view>
</view>
<view class="limitation">
<view class="limitationTitle font28r">备注</view>
<view class="font24r">{{recharge_data.explain}}</view>
<view class="limitationTitle font32r">备注</view>
<view class="font28r">{{activeData.explain}}</view>
</view>
<view class="rechargeBtn">
<view wx:if="{{hasValueRecharge && marketing.is_link=='1'}}" class="favouredPolicy">更多优惠</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 wx:if="{{hasValueRecharge && marketing.is_link=='1'}}" bindtap="gotoFavourableList" class="font32r favouredPolicy">更多优惠</view>
<navigator wx:if="{{activeData.id}}" url="/pack-activity/pack/vipRecharge?id={{activeData.id}}&name={{seller.name}}&sid={{seller.sid}}&oid={{detail.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
立即充值
</navigator>
</view>
</view>
<!-- 评价券 -->
<view class="regionItem certificateBox couponBoxWrap" wx:if="{{activeTitle == '3' && !is_user_comments && isComments =='1' && couponData.showCoupon =='1'}}">
<view class="preferentialCoupon" wx:if="{{activeTitle == '3' && !is_user_comments && isComments =='1' && couponData.showCoupon =='1'}}">
<view class="font28r evaluateTitleText">期待您的声音,帮助我们持续改进</view>
<view class="couponInfo" bindtap="evaluateFun">
<view class="preferentialItems">
<view class="purchase">
<view class="priceText" wx:if="{{couponData.price}}">
<view class="icons">¥<text class="priceText">{{couponData.price}}</text></view>
</view>
<image class="certificateImg" src="{{(couponData.discount!='0.00' && (couponData.use.is_cash=='1' || couponData.use.is_cash) && couponData.discount)?'https://qn.colorcun.com/invitation10certificate1.png':'https://qn.colorcun.com/invitation10certificate.png'}}" mode="" />
<text wx:if="{{couponData.discount!='0.00' && (couponData.use.is_cash=='1' || couponData.use.is_cash) && couponData.discount}}" class="discountInfo">{{couponData.discount}}折</text>
<view class="preferentialItems" bindtap="evaluateFun">
<view class="itemLeft">
<text wx:if="{{couponData.discount!='0.00' && (couponData.use.is_cash=='1' || couponData.use.is_cash) && couponData.discount}}" class="discountText font24r">{{couponData.discount}}折</text>
<view class="discountText1 font20r {{couponData.arule.is_accumulation == '1'?'discountText2':'discountText3'}}" wx:if="{{couponData.is_type == '3'}}">{{couponData.arule.is_accumulation == '1' ? '可' : '不可'}}叠加</view>
<view class="priceText" wx:if="{{couponData.price}}">
<view class="icons font24r">¥</view><text class="font48r">{{couponData.price}}</text>
</view>
<view class="certificateInfo">
<view class="preferentialDetails">
<view class="information">
<text class="discountText font20r">{{couponData.use.is_cash=='1'?'代金券':couponData.use.is_discount=='1'?'超值折扣':couponData.use.is_dish=='1'?'特惠菜品':'代金券'}}</text>
<text class="ticketName font24r">{{couponData.aname}}</text>
</view>
<text wx:if="{{couponData.exp_date.is_week=='1' || couponData.exp_date.is_week===true}}" class="limitation font24r">{{couponData.exp_date.week_show?couponData.exp_date.week_show+'可用':''}}</text>
<view wx:if="{{couponData.exp_date.is_none=='1' || couponData.exp_date.is_none===true}}" class="limitation font24r">
无限制
</view>
<view wx:if="{{couponData.exp_date.is_birthday=='1' || couponData.exp_date.is_birthday===true}}" class="limitation font24r">
会员生日当天可用
</view>
<view wx:if="{{couponData.is_type == '4' && couponData.desc}}" class="limitation showDesc">
<text class="font24r">消费要求</text>
</view>
<view wx:if="{{(couponData.useStime && couponData.useEtime) || couponData.foreverText}}" class="limitation showDesc font24r">有效期:{{couponData.foreverText?couponData.foreverText : ''}}</view>
<view wx:if="{{couponData.useStime && couponData.useEtime}}" class="font24r nodate showDesc">{{couponData.useStime}} 至 {{couponData.useEtime}}</view>
<view wx:if="{{couponData.is_type == '3' && (couponData.morText || couponData.noonText || couponData.nigText)}}" class="limitation showDesc">
<text class="font24r">不可用日期</text>
<view class="icons font20r" wx:if="{{couponData.is_type == '3' && couponData.desc!='0'}}">消费满{{couponData.desc}}元可用</view>
</view>
<view class="couponLine"></view>
<view class="itemRight">
<view class="btns">
<text class="font32r anameText">{{couponData.aname}}</text>
<block wx:if="{{couponData.is_type == '1' || couponData.is_type == '2'}}">
<view wx:if="{{couponData.exp_date.is_week=='1' || couponData.exp_date.is_week===true}}" class="bottom font24r">{{couponData.exp_date.week_show?couponData.exp_date.week_show+'可用':''}}{{couponData.desc?','+couponData.desc+'。':'。'}}</view>
<view wx:if="{{couponData.exp_date.is_none=='1' || couponData.exp_date.is_none===true}}" class="bottom font24r">
无限制{{couponData.desc?','+couponData.desc+'。':'。'}}
</view>
</view>
<view class="limitationBtn" wx:if="{{couponData.is_type != '3'}}">
<view class="font24r couponBtn">立即抢购</view>
</view>
<view class="btnBox" wx:if="{{couponData.is_type == '3'}}" >
<view class="font24r orderingFood">{{couponData.resultCoupon == '1'?'已领取':'立即领取'}}</view>
<view class="grantNum" wx:if="{{couponData.receiveNumText}}">
<view class="font24r">已被领取</view>
<view class="font24r"><text>{{couponData.receiveNumText}}</text>张</view>
<view wx:if="{{couponData.exp_date.is_birthday=='1' || couponData.exp_date.is_birthday===true}}" class="bottom font24r">
会员生日当天可用{{couponData.desc?','+couponData.desc+'。':'。'}}
</view>
</block>
<block wx:if="{{couponData.is_type == '3' || couponData.is_type == '4'}}">
<view wx:if="{{(couponData.useStime && couponData.useEtime) ||couponDataitem.foreverText}}" class="bottom font24r">有效期:{{couponData.foreverText?couponData.foreverText : ''}}</view>
<view wx:if="{{couponData.useStime && couponData.useEtime}}" class="bottom font24r nodate">{{couponData.useStime}} 至 {{couponData.useEtime}}</view>
<view wx:if="{{couponData.morText || couponData.noonText || couponData.noonText}}" class="bottom font24r">不可用日期:</view>
<view wx:if="{{couponData.morText}}" class="bottom font24r nodate">{{couponData.morText}}</view>
<view wx:if="{{couponData.noonText}}" class="bottom font24r nodate">{{couponData.noonText}}</view>
<view wx:if="{{couponData.nigText}}" class="bottom font24r nodate">{{couponData.nigText}}</view>
<view wx:if="{{couponData.exp_date.week_show=='无'}}" class="bottom font24r">无使用时间限制</view>
<view wx:if="{{couponData.is_type == '4' && couponData.desc!='0'}}" class="bottom font24r">消费满{{couponData.desc}}元可用</view>
</block>
</view>
<view class="btnBox" wx:if="{{couponData.is_type == '3'}}" >
<view class="font24r orderingFood orderingFood2">免费领取</view>
<view class="grantNum" wx:if="{{couponData.receiveNumText}}">
<view class="font24r">已被领取</view>
<view class="font24r"><text>{{couponData.receiveNumText}}</text>张</view>
</view>
</view>
</view>
<view wx:if="{{couponData.is_type == '4' && couponData.desc!='0'}}" class="bottomLimitation limitation font24r bottomLimitationTop">
<text></text>
<view>消费满{{couponData.desc}}元可用</view>
</view>
<view wx:if="{{couponData.is_type == '3' && couponData.morText}}" class="bottomLimitation limitation font24r bottomLimitationTop">
<text></text>{{couponData.morText}}
</view>
<view wx:if="{{couponData.is_type == '3' && couponData.noonText}}" class="bottomLimitation limitation font24r">
<text></text>{{couponData.noonText}}
</view>
<view wx:if="{{couponData.is_type == '3' && couponData.nigText}}" class="bottomLimitation limitation font24r">
<text></text>{{couponData.nigText}}
</view>
</view>
</view>
<view class="regionItem evaluateCoupon" wx:if="{{activeTitle == '3' && is_comments=='1' && (marketing.is_comments_coupon!='1' || couponData.showCoupon!='1')}}">
... ... @@ -283,7 +264,7 @@
</view>
<block wx:if="{{bookType == '1'}}">
<!-- 停车指引 -->
<view class="publicModules" wx:if="{{reserve && (reserve.textInfo || reserve.videoImgsInfo.length>0)}}">
<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>
... ... @@ -292,15 +273,17 @@
<view class="labelBox" wx:if="{{reserve.textInfo}}">
<text class="texts font28r" space="nbsp">{{reserve.textInfo}}</text>
</view>
<swiper wx:if="{{reserve.videoImgsInfo.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{reserve.videoImgsInfo}}" wx:key="index">
<video wx:if="{{item.type=='3'}}" class='boxBlock' id="video" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
<image wx:if="{{item.type=='1'}}" mode="aspectFill" class="detailBannerImg" src="{{item.content}}" bindtap="lookImgs" data-url="{{item.content}}" data-imgs="{{reserve.imgsInfo}}"></image>
<swiper wx:if="{{reserve.imgsInfo.length>0}}" 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>
<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 class="publicModules" wx:if="{{signboard && (signboard.textInfo || signboard.videoImgsInfo.length>0 || (hasValueOrder && openOrder == '1' && marketing.is_order=='1'))}}">
<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>
... ... @@ -309,12 +292,14 @@
<view class="labelBox" wx:if="{{signboard.textInfo}}">
<text class="texts font28r" space="nbsp">{{signboard.textInfo}}</text>
</view>
<swiper wx:if="{{signboard.videoImgsInfo.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{signboard.videoImgsInfo}}" wx:key="index">
<video wx:if="{{item.type=='3'}}" class='boxBlock' id="video" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
<image wx:if="{{item.type=='1'}}" mode="aspectFill" class="detailBannerImg" src="{{item.content}}" bindtap="lookImgs" data-url="{{item.content}}" data-imgs="{{signboard.imgsInfo}}"></image>
<swiper wx:if="{{signboard.imgsInfo.length>0}}" 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>
<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;">
... ... @@ -323,7 +308,7 @@
</view>
</view>
<!-- 餐厅介绍 -->
<view class="publicModules" wx:if="{{store && (store.textInfo || store.videoImgsInfo.length>0)}}">
<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>
... ... @@ -332,15 +317,17 @@
<view class="labelBox" wx:if="{{store.textInfo}}">
<text class="texts font28r" space="nbsp">{{store.textInfo}}</text>
</view>
<swiper wx:if="{{store.videoImgsInfo.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{store.videoImgsInfo}}" wx:key="index">
<video wx:if="{{item.type=='3'}}" class='boxBlock' id="video" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
<image wx:if="{{item.type=='1'}}" mode="aspectFill" class="detailBannerImg" src="{{item.content}}" bindtap="lookImgs" data-url="{{item.content}}" data-imgs="{{store.imgsInfo}}"></image>
<swiper wx:if="{{store.imgsInfo.length>0}}" 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>
<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="{{chef && (chef.textInfo || chef.videoImgsInfo.length>0)}}">
<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>
... ... @@ -349,20 +336,22 @@
<view class="labelBox" wx:if="{{chef.textInfo}}">
<text class="texts font28r" space="nbsp">{{chef.textInfo}}</text>
</view>
<swiper wx:if="{{chef.videoImgsInfo.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{chef.videoImgsInfo}}" wx:key="index">
<video wx:if="{{item.type=='3'}}" class='boxBlock' id="video" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
<image wx:if="{{item.type=='1'}}" mode="aspectFill" class="detailBannerImg" src="{{item.content}}" bindtap="lookImgs" data-url="{{item.content}}" data-imgs="{{chef.imgsInfo}}"></image>
<swiper wx:if="{{chef.imgsInfo.length>0}}" 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>
<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>
</block>
<block wx:if="{{bookType == '2'}}">
<!-- 餐厅介绍 -->
<view class="publicModules" id="module1" wx:if="{{marketing.logo || home.image || (store.textInfo || store.videoImgsInfo.length>0)}}">
<view class="publicModules" id="module1" wx:if="{{marketing.logo || home.image || (store.textInfo || store.imgsInfo.length>0 || store.videosInfo.length>0)}}">
<view class="titleBox">
<view class="titleLine"></view>
<view class="font32">餐厅介绍</view>
<view class="font36r">餐厅介绍</view>
</view>
<image wx:if="{{marketing.logo}}" src="{{marketing.logo}}" bindtap="lookImgs" data-url="{{marketing.logo}}" mode="widthFix" />
<image wx:if="{{home.image}}" src="{{home.image}}" bindtap="lookImgs" data-url="{{home.image}}" class="homeImage" mode="widthFix"></image>
... ... @@ -385,10 +374,10 @@
</view>
</view>
<!-- 招牌菜品 -->
<view class="publicModules publicModules1" id="module2" wx:if="{{(signboard && signboard.textInfo || signboard.videoImgsInfo.length>0) || (hasValueOrder && openOrder == '1' && marketing.is_order=='1')}}">
<view class="publicModules publicModules1" id="module2" wx:if="{{(signboard && signboard.textInfo || signboard.imgsInfo.length>0 || signboard.videosInfo.length>0) || (hasValueOrder && openOrder == '1' && marketing.is_order=='1')}}">
<view class="titleBox">
<view class="titleLine"></view>
<view class="font32">招牌菜品</view>
<view class="font36r">招牌菜品</view>
</view>
<block wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{signboard.imgsInfo}}" mode="widthFix" />
... ... @@ -410,10 +399,10 @@
</view>
</view>
<!-- 停车指引 -->
<view class="publicModules" id="module3" wx:if="{{reserve && (reserve.textInfo || reserve.videoImgsInfo.length>0)}}">
<view class="publicModules" id="module3" wx:if="{{reserve && (reserve.textInfo || reserve.imgsInfo.length>0 || reserve.videosInfo.length>0)}}">
<view class="titleBox">
<view class="titleLine"></view>
<view class="font32">停车指引</view>
<view class="font36r">停车指引</view>
</view>
<view class="labelBox" wx:if="{{reserve.park_info}}">
<text class="texts" space="nbsp">{{reserve.park_info}}</text>
... ... @@ -432,10 +421,10 @@
</view>
</view>
<!-- 主厨介绍 -->
<view class="publicModules" wx:if="{{chef && (chef.textInfo || chef.videoImgsInfo.length>0)}}">
<view class="publicModules" wx:if="{{chef && (chef.textInfo || chef.imgsInfo.length>0 || chef.videosInfo.length>0)}}">
<view class="titleBox">
<view class="titleLine"></view>
<view class="font32">主厨介绍</view>
<view class="font36r">主厨介绍</view>
</view>
<view class="labelBox" wx:if="{{(chef.introduce && (!chef.is_introduce || chef.is_introduce!='0'))}}">
<text class="texts" space="nbsp">{{chef.introduce}}</text>
... ...
... ... @@ -26,14 +26,12 @@
color: #FFEFC5;
font-weight: 600;
font-family: PingFang SC;
margin-bottom: 32rpx;
display: flex;
flex-direction: column;
align-items: center;
}
.infoTop .infoTopText3 {
margin-top: 14rpx;
margin: 16rpx 0 32rpx 0;
}
... ... @@ -62,7 +60,7 @@
}
.infoItem .record {
font-weight: 400;
font-weight: 500;
flex-shrink: 0;
font-family: PingFang SC;
color: #AE2D2D;
... ... @@ -72,7 +70,7 @@
display: block;
font-size: 24rpx;
height: 50rpx;
padding: 0 34rpx;
padding: 0 20rpx;
line-height: 48rpx;
font-family: PingFang SC;
border-radius: 40rpx;
... ... @@ -91,6 +89,7 @@
color: #AE2D2D;
margin-top: 24rpx;
display: block;
font-weight: 600;
}
.contentData {
... ... @@ -100,6 +99,21 @@
margin-left: 24rpx;
font-weight: 600;
color: #AE2D2D;
display: -webkit-box;
word-break: break-all;
word-wrap: break-word;
overflow: hidden;
text-align: left;
}
.contentFlex {
flex: inherit;
}
.picker {
display: flex;
align-items: center;
justify-content: center;
}
.contentDataPhone {
... ... @@ -138,6 +152,13 @@
border-radius: 50%;
}
.noHeaderimg {
width: 108rpx;
height: 108rpx;
background: #BFBFBF;
border-radius: 50%;
}
.peopleInfo {
display: flex;
flex-direction: column;
... ... @@ -150,7 +171,7 @@
.peopleInfo view {
font-family: "PingFang SC";
font-weight: 400;
font-weight: 600;
}
.handleInfo {
... ... @@ -171,7 +192,8 @@
.handleInfo .texts {
margin: 22rpx 0;
letter-spacing: 3rpx;
line-height: 36rpx
line-height: 36rpx;
font-weight: 500;
}
.contactBtns {
... ... @@ -189,6 +211,7 @@
align-items: center;
justify-content: center;
box-shadow: 0rpx 4rpx 8rpx #00000040;
font-weight: 600 !important;
}
.brownFont image {
... ... @@ -204,14 +227,15 @@
width: 100%;
padding: 40rpx 0 32rpx 0;
background: #fff;
border-radius: 20rpx 20rpx 0 0;
border-radius: 10rpx 10rpx 0 0;
}
.titleItem {
font-weight: 400;
font-weight: 600;
background: #FFEFD6;
color: #000;
padding: 10rpx 16rpx;
border-radius: 6rpx;
}
.activeTitleItem::after {
... ... @@ -237,14 +261,15 @@
margin: 20rpx;
padding: 0;
background: #fff;
border-radius: 20rpx;
border-top-left-radius: 20rpx;
border-top-right-radius: 20rpx;
}
.publicModules {
padding: 40rpx 20rpx;
margin: 20rpx;
background: #fff;
border-radius: 20rpx;
border-radius: 10rpx;
display: flex;
flex-direction: column;
}
... ... @@ -265,161 +290,26 @@
.chefTextInfo {
font-family: PingFang SC;
font-weight: 400;
font-weight: 600;
letter-spacing: 8rpx;
color: #AE2D2D;
}
.preferentialCoupon {
.preferentialCouponBox {
background: #efefef;
}
.preferentialCoupon .nodate{
padding-left: 20rpx;
}
.preferentialCoupon .limitation {
display: flex;
flex-direction: column;
}
.preferentialCoupon .regionItem {
padding: 40rpx;
}
.regionItem {
width: 100%;
padding: 40rpx 20rpx;
box-sizing: border-box;
background: #EFEFEF;
border-radius: 20rpx;
}
.preferentialItems {
width: 100%;
display: flex;
min-height: 160rpx;
}
.purchase {
position: relative;
width: 30%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: #FFEFD6;
border-radius: 10rpx;
}
.discountText {
text-align: center;
color: #FFEFC5;
border-radius: 6rpx;
font-family: PingFang SC;
background: #FD4D59;
width: max-content;
padding: 6rpx;
margin-right: 8rpx;
}
.priceText {
font-family: PingFang SC;
color: #F6231B;
font-weight: 500;
margin-top: 6rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 52rpx;
flex-direction: column;
}
.icons {
font-family: PingFang SC;
color: #F6231B;
font-size: 20rpx;
display: flex;
align-items: baseline;
}
.certificateInfo {
width: 70%;
padding: 20rpx;
position: relative;
background: #fff;
border-radius: 10rpx;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.certificateInfo .limitation {
line-height: 40rpx;
}
.ticketName {
display: flex;
justify-content: space-between;
align-items: baseline;
font-weight: 700;
overflow: hidden;
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
color: #000;
}
.orderingFood {
padding: 0 20rpx;
border-radius: 22rpx;
text-align: center;
border-radius: 20rpx;
line-height: 44rpx;
height: 44rpx;
width: max-content;
margin-top: 24rpx;
flex-shrink: 0;
border: 2rpx solid #AE2D2D;
background: transparent;
color: #AE2D2D;
}
.grantNum {
display: flex;
flex-direction: column;
align-items: center;
color: #999;
margin-top: 10rpx;
}
.grantNum text {
color: #F6231B;
margin-right: 10rpx;
}
.limitation {
margin-top: 10rpx;
color: #666;
font-family: PingFang SC;
font-weight: 500;
display: -webkit-box;
word-break: break-all;
word-wrap: break-word;
overflow: hidden;
text-align: left;
line-height: 30rpx;
}
.limitationTitle {
font-weight: 600;
line-height: 28rpx;
color: #000;
line-height: 40rpx;
margin: 40rpx 0 20rpx 0;
margin: 40rpx 0 10rpx 0;
}
.limitationTitle1 {
margin-top: 20rpx;
}
.certificateBox .limitationTitle {
... ... @@ -433,11 +323,16 @@
border-radius: 20rpx;
border: 2rpx solid #000000;
position: relative;
padding: 20rpx 40rpx;
padding: 20rpx 0;
flex-direction: column;
justify-content: center;
background: transparent;
width: 47%;
margin-bottom: 20rpx;
}
.rechargeActive {
background: #fff;
width: 35%;
}
.checkImg {
... ... @@ -451,9 +346,12 @@
.rechargeTitle {
font-family: PingFang SC;
font-weight: 700;
letter-spacing: 4rpx;
letter-spacing: 2rpx;
font-size: 68rpx;
text-align: center;
display: flex;
align-items: baseline;
justify-content: center;
}
.couponBtn {
... ... @@ -472,124 +370,222 @@
.rechargeBtn .favouredPolicy {
width: 30%;
padding: 12rpx 0;
padding: 10rpx 0;
border: 2rpx solid #AE2D2D;
border-radius: 42rpx;
color: #AE2D2D;
text-align: center;
font-weight: 600;
}
.rechargeBtn navigator {
width: 63%;
padding: 12rpx 0;
background: #AE2D2D;
border-radius: 42rpx;
.preferentialCoupon {
padding: 40rpx 20rpx 20rpx 20rpx;
border-radius: 0 0 10rpx 10rpx;
}
.preferentialCoupon .nodate{
padding-left: 20rpx;
}
.preferentialItems {
display: flex;
background: #FFEFD6;
margin-bottom: 20rpx;
min-height: 180rpx;
padding-bottom: 10rpx;
border-radius: 20rpx;
}
.itemLeft {
width: 30%;
display: flex;
flex-direction: column;
justify-content: center;
position: relative;
}
.discountText1 {
text-align: center;
border-radius: 6rpx;
font-family: PingFang SC;
background: transparent;
width: max-content;
padding: 2rpx 8rpx;
position: absolute;
left: 16rpx;
top: 12rpx;
}
.discountText2 {
background: #FD4D59;
color: #fff;
text-align: center;
}
.couponBoxWrap navigator,
.couponBoxWrap .couponInfo {
width: 100%;
margin-bottom: 20rpx;
border-radius: 10rpx;
background: #fff;
.discountText3 {
color: #FD4D59;
border: 2rpx solid #FD4D59;
}
.bottomLimitationTop{
margin-top: 20rpx !important;
.priceText {
font-family: 'Abel';
color: #E34D59;
font-weight: 500;
font-size: 64rpx;
margin-top: 6rpx;
}
.couponBoxWrap .preferentialItems {
box-shadow: 0rpx 4rpx 8rpx #0000000d;
.itemRight {
width: 70%;
padding-right: 10rpx;
margin-left: 18rpx;
}
.couponBoxWrap .showDesc {
color: #666;
.btns {
margin: 24rpx 20rpx 0 0;
display: flex;
justify-content: space-evenly;
align-items: baseline;
flex-direction: column;
height: 90%;
}
.couponBoxWrap .bottomLimitation {
padding: 0 20rpx;
.preferentialCoupon .itemRight {
width: 74%;
display: flex;
flex-direction: row !important;
align-items: center;
margin-top: 10rpx;
color: #666;
font-family: PingFang SC;
font-weight: 500;
}
.bottomLimitation:nth-last-of-type(1){
padding-bottom: 20rpx;
.preferentialCoupon .itemLeft {
width: 26%;
}
.couponBoxWrap .bottomLimitation text {
display: block;
width: 8rpx;
height: 8rpx;
background: #999999;
margin-right: 12rpx;
border-radius: 50%;
.preferentialCoupon .couponLine{
margin: 24rpx 0 4rpx 0;
border-right: 2rpx dashed #FD4D59;
}
.couponBoxWrap .certificateInfo {
flex-direction: row;
align-items: center;
.preferentialCoupon .orderingFood {
padding: 0 44rpx;
color: #fff;
border: none;
text-align: center;
border-radius: 20rpx;
line-height: 44rpx;
height: 44rpx;
width: max-content;
flex-shrink: 0;
background: #ae2d2d;
}
.couponBoxWrap .couponBtn {
width: 100%;
height: fit-content;
background: #AE2D2D;
color: #fff;
.preferentialCoupon .icons {
color: #FD4D59;
text-align: center;
}
.couponBoxWrap .certificateInfo .preferentialDetails {
width: 100%;
.preferentialCoupon .priceText {
display: flex;
align-items: baseline;
justify-content: center;
font-family: PingFang SC;
color: #FD4D59;
font-weight: 600;
font-size: 48rpx;
margin-top: 6rpx;
}
.preferentialCoupon .priceText text {
font-size: 48rpx;
}
.preferentialCoupon .btns {
flex: 1;
}
.preferentialCoupon .btnBox {
display: flex;
flex-direction: column;
}
.couponBoxWrap .information {
.preferentialCoupon .grantNum {
display: flex;
flex-direction: column;
align-items: center;
color: #C36607;
margin-top: 10rpx;
}
.couponBoxWrap .certificateInfo .limitation {
margin-right: 20rpx;
flex: 1;
width: auto;
.preferentialCoupon .grantNum text {
color: #F6231B;
margin-right: 10rpx;
}
.couponBoxWrap .discountInfo {
font-family: PingFang SC;
background: #FD4D59;
position: absolute;
top: 0;
left: 100rpx;
font-size: 16rpx;
border-radius: 0 0 10rpx 0;
padding: 0 6rpx;
height: 28rp;
line-height: 28rpx;
text-align: center;
color: #FFEFC5;
width: max-content;
.preferentialCoupon .btns .anameText {
font-weight: 600;
}
.couponBoxWrap .certificateImg {
position: absolute;
top: 0;
left: 0;
width: 100rpx;
height: 28rpx;
.preferentialCoupon .orderingFood1 {
border: 2rpx solid #AE2D2D;
background: transparent;
color: #AE2D2D;
font-weight: 600;
padding: 0 30rpx;
}
.preferentialCoupon .orderingFood2 {
padding: 0 20rpx;
}
.discountText {
text-align: center;
color: #FFEFC5;
border-radius: 6rpx;
font-family: PingFang SC;
background: #FD4D59;
width: max-content;
padding: 6rpx;
position: absolute;
left: 16rpx;
top: 12rpx;
}
.bottom {
margin-top: 4rpx;
width: 100%;
color: #C36607;
font-family: PingFang SC;
font-weight: 500;
display: -webkit-box;
word-break: break-all;
word-wrap: break-word;
overflow: hidden;
text-align: left;
}
.couponBoxWrap .limitationBtn {
width: 40%;
.regionItem {
padding: 40rpx;
}
.rechargeBox {
display: flex;
flex-direction: column;
align-items: center;
flex-wrap: wrap;
width: 100%;
justify-content: space-between;
}
.rechargeBtn navigator {
width: 63%;
padding: 12rpx 0;
background: #AE2D2D;
border-radius: 42rpx;
color: #fff;
text-align: center;
font-size: 32rpx;
font-weight: 600;
}
.bottomLimitationTop{
margin-top: 20rpx !important;
}
.evaluateTitleText {
... ... @@ -619,10 +615,11 @@
.evaluateCoupon .couponBtn {
width: max-content;
height: max-content;
padding: 4rpx 26rpx;
padding: 4rpx 28rpx 6rpx 28rpx;
margin-top: 0;
background: #fff;
color: #ae2d2d;
font-weight: 600;
}
.evaluateCoupon .evaluateText {
... ... @@ -640,7 +637,7 @@
.labelBox .texts {
line-height: 40rpx;
color: #222;
color: #000;
font-family: PingFang SC;
font-weight: 500;
display: block;
... ... @@ -673,6 +670,7 @@
width: 100%;
height: 500rpx;
background: transparent;
margin-top: 20rpx;
}
.detailBannerImg {
... ... @@ -683,7 +681,8 @@
.boxBlock {
width: 100%;
height: 500rpx;
border-radius: 10rpx;
margin-top: 20rpx;
}
.businessBox {
... ... @@ -716,22 +715,13 @@
.arrivalBox {
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
}
.arrivalBox button {
display: flex;
font-size: 24rpx;
flex-direction: column;
height: 50rpx;
padding: 0 18rpx;
line-height: 48rpx;
font-family: PingFang SC;
border-radius: 40rpx;
background: transparent;
color: #AE2D2D;
border: 2rpx solid #AE2D2D;
.arrivalBox .arrivalImg {
width: 40rpx;
height: 40rpx;
margin-left: 20rpx;
}
.shareItem,
... ... @@ -1063,19 +1053,23 @@
background-size: cover;
}
.viewBox2 .infoTopText1 {
font-size: 60rpx;
font-family: Sinter;
line-height: 60rpx;
letter-spacing: 14rpx;
font-weight: 500;
.viewBox2 .infoTop {
color: #FFF7DA;
}
.viewBox2 .infoTopImg1 {
width: 100%;
height: 204rpx;
margin-bottom: 40rpx;
}
.viewBox2 .infoTopText3 {
margin-bottom: 0;
}
.infoTopText4 {
font-size: 120rpx;
line-height: 120rpx;
letter-spacing: 20rpx;
width: 408rpx;
height: 134rpx;
margin-bottom: 32rpx;
}
... ... @@ -1090,7 +1084,8 @@
color: #fff;
}
.viewBox2 .contentDataPhone {
.viewBox2 .contentDataPhone,
.viewBox2 .divider {
color: #35E084;
}
... ... @@ -1100,8 +1095,13 @@
}
.viewBox2 .orderingFood {
background: #000;
}
.viewBox2 .orderingFood1 {
color: #000;
border: 2rpx solid #000;
background: transparent;
border: 2rpx solid #000 !important;
}
.viewBox2 .positioning {
... ... @@ -1126,8 +1126,8 @@
position: relative;
}
.viewBox2 .preferentialCoupon {
margin: 140rpx 0 0 0;
.viewBox2 .preferentialCouponBox {
margin: 140rpx 0 30rpx 0;
padding-top: 40rpx;
}
... ... @@ -1177,10 +1177,6 @@
background: #FFF8EC;
}
.viewBox2 .purchase {
background: #E8CEA8;
}
.viewBox2 .evaluateCoupon .couponBtn {
background: #E8CEA8;
color: #000;
... ... @@ -1213,13 +1209,8 @@
overflow-x: scroll;
border-bottom-left-radius: 10rpx;
border-bottom-right-radius: 10rpx;
padding-top: 30rpx;
}
.viewBox2 .regionItem {
padding: 40rpx;
width: auto;
background: #efefef;
padding-bottom: 40rpx;
margin-bottom: 20rpx;
}
.viewBox2 .publicModules {
... ... @@ -1302,7 +1293,8 @@
.viewBox2 .publicModules image,
.viewBox2 .publicModules .labelBox .texts {
margin-bottom: 40rpx;
margin-bottom: 20rpx;
border-radius: 10rpx;
width: 100%;
}
... ... @@ -1325,6 +1317,7 @@
.viewBox2 .videoBox video {
width: 100%;
box-sizing: border-box;
border-radius: 10rpx;
}
.viewBox2 .businessBox {
... ... @@ -1334,10 +1327,13 @@
.viewBox2 .entrance {
display: flex;
flex-direction: column;
position: absolute;
position: fixed;
right: 3%;
top: -17%;
top: 19%;
z-index: 200;
background: rgba(0, 0, 0, .7);
border-radius: 198rpx;
padding: 30rpx 8rpx;
}
.viewBox2 .entrance1 {
... ...
... ... @@ -25,11 +25,9 @@ Page({
signboard: {},
store: {},
recharge_data: {},
activeData: {},
coupon_dataList: [],
seller: {},
priceInfo: '',
scoreInfo: '',
certificate: '',
dataStr: Date.now() * 1 / 1000,
swich_phone: '0', //是否显示前台电话
is_comments: '0',
... ... @@ -701,10 +699,8 @@ Page({
couponList = this.addCoupons(coupon_data_free,couponList);
// 根据券ID获取券详情
this.getActivityByIdFun(couponList)
// 根据充值ID获取充值详情
if (marketing && marketing.is_recharge && marketing.is_recharge == '1' && marketing.recharge_data) {
this.getRechargeDetail(marketing.recharge_data.id)
}
// 获取所有充值活动
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);
... ... @@ -899,21 +895,34 @@ Page({
}
},
// 根据充值ID获取充值详情
getRechargeDetail(id) {
App.Activity.GetNewRecharge({
id
getRechargeDetail() {
App.Activity.GetNewRechargeList({
sellerid: this.data.detail.seller.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 = '赠送' + recharge_list.price + '元余额';
if (recharge_list.is_score == '1') scoreInfo = '赠送' + 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 : ''
let arr = []
res.data.forEach(i => {
if (i.status != '1') {
arr.push(i)
}
})
let recharge_data = arr;
recharge_data.forEach(item => {
item.recharge_list = item.recharge_list ? JSON.parse(item.recharge_list) : '';
let recharge_list = item.recharge_list;
item.priceInfo = '';
item.scoreInfo = '';
item.certificate = '';
if (recharge_list.is_price == '1') item.priceInfo = '会员充值满' + item.recharge_money + '元赠送' + item.recharge_list.price + '元余额';
if (recharge_list.is_score == '1') item.scoreInfo = '会员充值满' + item.recharge_money + '元赠送' + item.recharge_list.score + '积分';
if (recharge_list.is_coupons == '1' && recharge_list.coupons_names.length > 0) item.certificate = recharge_list.coupons_names.join('、');
item.timeStr = util.unixtoTime(item.stime, 'YYYY-MM-DD') + ' - ' + util.unixtoTime(item.etime, 'YYYY-MM-DD')
})
// 筛选出 未过期的 && 开启状态的充值活动
recharge_data = recharge_data.filter(item => {
return this.data.dataStr < (item.etime * 1) && item.is_open == '1'
})
console.log('邀请函--------------充值', recharge_data);
let entry = this.data.titleList
if (this.data.hasValueRecharge && this.data.marketing.is_recharge == '1' && recharge_data) {
... ... @@ -924,23 +933,33 @@ Page({
if (entry.length > 0) {
entry.sort((a, b) => a.id - b.id);
}
recharge_data.timeStr = util.unixtoTime(recharge_data.stime, 'YYYY-MM-DD') + ' - ' + util.unixtoTime(recharge_data.etime, 'YYYY-MM-DD')
}
this.setData({
titleList: entry,
activeTitle: entry.length > 0 ? entry[0].id : '',
recharge_data,
scoreInfo,
priceInfo,
certificate
activeData: recharge_data.length > 0 ? recharge_data[0] : {},
})
} else {
this.setData({
recharge_data: {},
recharge_data: [],
activeData: {},
})
}
})
},
// 选择充值活动
checkRechargeData(e) {
let id = e.currentTarget.dataset['id'];
let obj = this.data.recharge_data.filter(item => {
return item.id == id
})
if (obj && obj.length > 0) {
this.setData({
activeData: obj[0]
})
}
},
// 选择标题
checkTitleFun(e) {
console.log('e.currentTargete.currentTarget', e.currentTarget);
... ... @@ -1305,7 +1324,6 @@ Page({
},
// 计算免费券有效期的起始、结束日期
setTimeRange(cdate, startOffset, endOffset) {
console.log(cdate, startOffset, endOffset);
const startDate = new Date((cdate + startOffset * 86400) * 1000);
startDate.setHours(0, 0, 0, 0);
const useStime = util.unixtoTime(startDate.getTime() / 1000, 'YYYY-MM-DD');
... ... @@ -1492,14 +1510,10 @@ Page({
intel.textInfo = (intel.introduce && (!intel.is_introduce || intel.is_introduce != '0')) ? intel.introduce : '';
}
intel.imgsInfo = imgs;
intel.videoImgsInfo = imgs.map(url => ({
type: "1",
content: url,
}));
if (intel.content && intel.content.length > 0 && intel.is_introduce_all == '1') {
intel.textInfo = intel.content.filter(item => item.type === "2").map(item => item.content).join('\n');
intel.imgsInfo = intel.content.filter(item => item.type === "1" && item.content).map(item => item.content);
intel.videoImgsInfo = intel.content.filter(item => ((item.type === "1" || item.type === "3") && item.content));
intel.videosInfo = intel.content.filter(item => (item.type === "3" && item.content));
}
return intel
},
... ...
... ... @@ -8,8 +8,7 @@
<image wx:if="{{options.isOrder == '1' && detail.status !='4'}}" class="cannotImg" src="https://qn.colorcun.com/overImg.png" />
<view class="reservationInfo reservationInfo{{make}}">
<view wx:if="{{bookType == '2'}}" class="infoTop">
<text class="infoTopText4 font44r" space="nbsp">邀请函</text>
<text class="infoTopText1" space="nbsp">INVITATION</text>
<image class="infoTopImg" src="https://nosqn.colorcun.com/invitation11Title3.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>
</view>
... ... @@ -29,40 +28,61 @@
</view>
<view class="infoItem" wx:if="{{detail.rnameStr && reserve.swich_customer == '1'}}">
<view class="record font28r">预订贵宾:</view>
<view class="contentData font28r">{{detail.rnameStr}}</view>
<view class="contentData font32r">{{detail.rnameStr}}</view>
</view>
<view class="infoItem" wx:if="{{seller.date}}">
<view class="record font28r">用餐日期:</view>
<view class="contentData font28r">{{seller.date}}</view>
<view class="contentData font32r">{{seller.date}}</view>
</view>
<view class="infoItem" wx:if="{{seller.tablesText}}">
<view class="record font28r">用餐位置:</view>
<view class="contentData font28r">{{seller.tablesText}}</view>
<view class="contentData font32r">{{seller.tablesText}}</view>
</view>
<view class="infoItem" wx:if="{{seller.soltName}}">
<view class="record font28r">用餐时间:</view>
<view class="arrivalBox">
<view class="contentData font28r">{{seller.soltName}}<text class="marLeft font28r">{{temp_ddate}}</text></view>
<view class="contentData font32r contentFlex">{{seller.soltName}}<text class="marLeft font32r">{{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">
<button>修改到店时间</button>
<image class="arrivalImg" src="https://nosqn.colorcun.com/editDdateTime{{bookType == '1' ? '2' : '3'}}.png" mode=""/>
</view>
</picker>
</view>
</view>
<view class="infoItem infoRight" wx:if="{{swich_phone!='0' && seller.tel && seller.tel.length>0}}">
<view class="record font28r">前台电话:</view>
<view class="contentData font28r">
<view class="contentData font32r">
<block wx:for="{{seller.tel}}" wx:key="index"><text data-phone="{{item}}" class="contentDataPhone" bindtap="call">{{item}}</text><text class="divider">{{index==(seller.tel.length-1)?'':','}}</text></block>
</view>
</view>
<view class="infoItem addressInfo">
<view class="record font28r">餐厅地址:</view>
<view class="arrivalBox">
<view class="contentData font28r">{{seller.addr || reserve.seller.map_address}}</view>
<view class="contentData font32r">{{seller.addr || reserve.seller.map_address}}</view>
<view class="positioning" bindtap="looklocation">
<image class="addressImg" src="{{bookType == '2'?'https://qn.colorcun.com/invitation11Dw.png':'https://qn.colorcun.com/invitation12Dw.png'}}" mode="aspectFill" />
导航到店
导航
</view>
</view>
</view>
<text space="nbsp" wx:if="{{marketing.wecomle}}" class="welcomeInfo font32r">{{marketing.wecomle}}</text>
</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">尊敬的贵宾您好!</view>
<view class="font26r texts">很荣幸能为您提供专属接待和服务</view>
<view class="contactBtns">
<view wx:if="{{staffinfo.phone}}" class="font24r brownFont" data-phone="{{staffinfo.phone}}" bindtap="call">
<image src="{{bookType == '2'?'https://qn.colorcun.com/invitation11Phone.png':'https://qn.colorcun.com/invitation10Phone.png'}}" mode="" /><text>联系我</text>
</view>
<view wx:if="{{staffinfo.wechat}}" class="font24r brownFont" bindtap="copyWeChat">
<image src="{{bookType == '2'?'https://qn.colorcun.com/invitation11Wx.png':'https://qn.colorcun.com/invitation10Wx.png'}}" mode="" /><text>加微信</text>
</view>
</view>
</view>
... ... @@ -73,20 +93,21 @@
<image mode="aspectFill" class="detailBannerImg" src="{{item}}" bindtap="previewImage" data-url="{{item}}" data-imgs="{{urlsArr}}"></image>
</swiper-item>
</swiper>
<view class="receptionBox" wx:if="{{staffinfo && reserve.swich_manager=='1'}}">
<view class="receptionBox" wx:if="{{bookType == '1' && staffinfo && reserve.swich_manager=='1'}}">
<view class="peopleInfo">
<image bindtap="lookImgs" data-url="{{staffinfo.photo}}" src="{{staffinfo.photo}}" class="headerimg" mode="aspectFill"></image>
<view class="font26r">{{staffinfo.name}}</view>
<view class="font26r">{{staffinfo.position}}</view>
<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">尊敬的贵宾您好!</view>
<view class="font26r texts">很荣幸能为您提供专属接待和服务</view>
<view class="contactBtns">
<view wx:if="{{staffinfo.phone}}" class="font22r brownFont" data-phone="{{staffinfo.phone}}" bindtap="call">
<view wx:if="{{staffinfo.phone}}" class="font24r brownFont" data-phone="{{staffinfo.phone}}" bindtap="call">
<image src="{{bookType == '2'?'https://qn.colorcun.com/invitation11Phone.png':'https://qn.colorcun.com/invitation10Phone.png'}}" mode="" /><text>联系我</text>
</view>
<view wx:if="{{staffinfo.wechat}}" class="font22r brownFont" bindtap="copyWeChat">
<view wx:if="{{staffinfo.wechat}}" class="font24r brownFont" bindtap="copyWeChat">
<image src="{{bookType == '2'?'https://qn.colorcun.com/invitation11Wx.png':'https://qn.colorcun.com/invitation10Wx.png'}}" mode="" /><text>加微信</text>
</view>
</view>
... ... @@ -109,19 +130,19 @@
<image src="https://qn.colorcun.com/invitation1{{bookType == '1'?'3':'4'}}Icon4.png" mode="" />
<view class="font24r">提前点餐</view>
</view>
<view bindtap="publicShowModal" data-type="5" data-title="餐厅介绍" wx:if="{{store && (store.textInfo || store.videoImgsInfo.length>0)}}" class="entranceItem">
<view bindtap="publicShowModal" data-type="5" data-title="餐厅介绍" wx:if="{{store && (store.textInfo || store.imgsInfo.length>0 || store.videosInfo.length>0)}}" class="entranceItem">
<image src="https://qn.colorcun.com/invitation1{{bookType == '1'?'3':'4'}}Icon5.png" mode="" />
<view class="font24r">餐厅介绍</view>
</view>
<view bindtap="publicShowModal" data-type="6" data-title="招牌菜品" wx:if="{{(signboard && (signboard.textInfo || signboard.videoImgsInfo.length>0) || (hasValueOrder && openOrder == '1' && marketing.is_order=='1'))}}" class="entranceItem">
<view bindtap="publicShowModal" data-type="6" data-title="招牌菜品" wx:if="{{(signboard && (signboard.textInfo || signboard.imgsInfo.length>0 || signboard.videosInfo.length>0) || (hasValueOrder && openOrder == '1' && marketing.is_order=='1'))}}" class="entranceItem">
<image src="https://qn.colorcun.com/invitation1{{bookType == '1'?'3':'4'}}Icon6.png" mode="" />
<view class="font24r">招牌菜品</view>
</view>
<view bindtap="publicShowModal" data-type="7" data-title="停车指引" wx:if="{{reserve && (reserve.textInfo || reserve.videoImgsInfo.length>0)}}" class="entranceItem">
<view bindtap="publicShowModal" data-type="7" data-title="停车指引" wx:if="{{reserve && (reserve.textInfo || reserve.imgsInfo.length>0 || reserve.videosInfo.length>0)}}" class="entranceItem">
<image src="https://qn.colorcun.com/invitation1{{bookType == '1'?'3':'4'}}Icon7.png" mode="" />
<view class="font24r">停车指引</view>
</view>
<view bindtap="publicShowModal" data-type="8" data-title="主厨介绍" wx:if="{{chef && (chef.textInfo || chef.videoImgsInfo.length>0)}}" class="entranceItem">
<view bindtap="publicShowModal" data-type="8" data-title="主厨介绍" wx:if="{{chef && (chef.textInfo || chef.imgsInfo.length>0 || chef.videosInfo.length>0)}}" class="entranceItem">
<image src="https://qn.colorcun.com/invitation1{{bookType == '1'?'3':'4'}}Icon8.png" mode="" />
<view class="font24r">主厨介绍</view>
</view>
... ... @@ -153,155 +174,131 @@
<image bindtap="closepublicModal" src="https://qn.colorcun.com/invitation13Icons.png" mode="" />
</view>
<block wx:if="{{modalType == '1'}}">
<view class="regionItem couponBoxWrap" slot="modalContent">
<view class="regionItem preferentialCoupon" slot="modalContent">
<block wx:for="{{coupon_dataList}}" wx:key="index" wx:for-index="index">
<navigator wx:if="{{item.resultCoupon == '1' || item.is_type != '3'}}" url="/pack-activity/pack/{{item.is_type == '3'?'receiveCoupon':'buyCoupon'}}?id={{item.id}}&name={{seller.name}}&use={{item.stringifyUse}}&sid={{seller.sid}}&oid={{detail.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
<view class="preferentialItems">
<view class="purchase">
<view class="itemLeft">
<text wx:if="{{item.discount!='0.00' && (item.use.is_cash=='1' || item.use.is_cash) && item.discount}}" class="discountText font20r">{{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">¥<text class="priceText">{{item.price}}</text></view>
<view class="icons font24r">¥</view><text class="font48r">{{item.price}}</text>
</view>
<image class="certificateImg" src="{{(item.discount!='0.00' && (item.use.is_cash=='1' || item.use.is_cash) && item.discount)?'https://qn.colorcun.com/invitation10certificate1.png':'https://qn.colorcun.com/invitation10certificate.png'}}" mode="" />
<text wx:if="{{item.discount!='0.00' && (item.use.is_cash=='1' || item.use.is_cash) && item.discount}}" class="discountInfo">{{item.discount}}折</text>
<view class="icons font20r" wx:if="{{item.is_type == '3' && item.desc!='0'}}">消费满{{item.desc}}元可用</view>
</view>
<view class="certificateInfo">
<view class="preferentialDetails">
<view class="information">
<text class="discountText font20r">{{item.use.is_cash=='1'?'代金券':item.use.is_discount=='1'?'超值折扣':item.use.is_dish=='1'?'特惠菜品':'代金券'}}</text>
<text class="ticketName font24r">{{item.aname}}</text>
</view>
<text wx:if="{{item.exp_date.is_week=='1' || item.exp_date.is_week===true}}" class="limitation font24r">{{item.exp_date.week_show?item.exp_date.week_show+'可用':''}}</text>
<view wx:if="{{item.exp_date.is_none=='1' || item.exp_date.is_none===true}}" class="limitation font24r">
无限制
</view>
<view wx:if="{{item.exp_date.is_birthday=='1' || item.exp_date.is_birthday===true}}" class="limitation font24r">
会员生日当天可用
</view>
<view wx:if="{{item.is_type == '4' && item.desc}}" class="limitation showDesc">
<text class="font24r">消费要求</text>
</view>
<view wx:if="{{(item.useStime && item.useEtime) || item.foreverText}}" class="limitation showDesc font24r">有效期:{{item.foreverText?item.foreverText : ''}}</view>
<view wx:if="{{item.useStime && item.useEtime}}" class="font24r nodate showDesc">{{item.useStime}} 至 {{item.useEtime}}</view>
<view wx:if="{{item.is_type == '3' && (item.morText || item.noonText || item.nigText)}}" class="limitation showDesc">
<text class="font24r">不可用日期</text>
</view>
</view>
<view class="limitationBtn" wx:if="{{item.is_type != '3'}}">
<view class="font24r couponBtn">立即抢购</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">已领取</view>
<view class="font24r orderingFood orderingFood1">已领取</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>
<view wx:if="{{item.is_type == '4' && item.desc!='0'}}" class="bottomLimitation limitation font24r bottomLimitationTop">
<text></text>
<view>消费满{{item.desc}}元可用</view>
</view>
<view wx:if="{{item.is_type == '3' && item.morText}}" class="bottomLimitation limitation font24r bottomLimitationTop">
<text></text>{{item.morText}}
</view>
<view wx:if="{{item.is_type == '3' && item.noonText}}" class="bottomLimitation limitation font24r">
<text></text>{{item.noonText}}
</view>
<view wx:if="{{item.is_type == '3' && item.nigText}}" class="bottomLimitation limitation font24r">
<text></text>{{item.nigText}}
</view>
</navigator>
</block>
</view>
</block>
<block wx:if="{{modalType == '2'}}">
<view class="publicModule preferentialCoupon" slot="modalContent">
<navigator wx:if="{{hasValueRecharge && marketing.is_recharge=='1' && recharge_data && 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="rechargeItems">
<image class="checkImg" src="https://qn.colorcun.com/{{bookType == '1' ?'invitation10vector1':'invitation10vector'}}.png" mode="" />
<view class="rechargeTitle font36r">{{recharge_data.rname}}</view>
<view class="limitation font24r" wx:if="{{priceInfo}}">
{{priceInfo}}{{(recharge_data.recharge_list.is_coupons=='0' && recharge_data.recharge_list.is_score=='0')?'。':';'}}
<view class="publicModule preferentialCouponBox" slot="modalContent">
<block wx:for="{{recharge_data}}" wx:key="index">
<view class="rechargeItems {{item.id == activeData.id ? 'rechargeActive' : ''}}" bindtap="checkRechargeData" data-id="{{item.id}}">
<image class="checkImg" wx:if="{{item.id == activeData.id}}" src="https://qn.colorcun.com/invitation10vector{{bookType == '1' ? '1' : ''}}.png" mode="" />
<view class="rechargeTitle font36r">{{item.rname}}</view>
<view class="limitation font24r" wx:if="{{item.priceInfo}}">
{{item.priceInfo}}{{(item.recharge_list.is_coupons=='0' && item.recharge_list.is_score=='0')?'。':';'}}
</view>
<view class="limitation font24r" wx:if="{{scoreInfo}}">
{{scoreInfo}}{{recharge_data.recharge_list.is_coupons=='0'?'。':';'}}
<view class="limitation font24r" wx:if="{{item.scoreInfo}}">
{{item.scoreInfo}}{{item.recharge_list.is_coupons=='0'?'。':';'}}
</view>
<view class="limitation font24r" wx:if="{{recharge_data.recharge_list.is_coupons=='1'}}">
{{recharge_data.recharge_list.is_coupons=='1'?'会员充值满'+recharge_data.recharge_money+'元赠送'+certificate:''}}。
<view class="limitation font24r" wx:if="{{item.recharge_list.is_coupons=='1'}}">
{{item.recharge_list.is_coupons=='1'?'会员充值满'+item.recharge_money+'元赠送'+item.certificate:''}}。
</view>
</view>
<view class="rechargeBtn">
<view class="font28r">立即充值</view>
</view>
</navigator>
</block>
<view class="rechargeBtn">
<navigator wx:if="{{activeData.id}}" url="/pack-activity/pack/vipRecharge?id={{activeData.id}}&name={{seller.name}}&sid={{seller.sid}}&oid={{detail.id}}&types=1&StyleType={{StyleType}}" hover-class="navigator-hover">
立即充值
</navigator>
</view>
<view wx:if="{{hasValueRecharge && marketing.is_link=='1'}}" class="font24r favouredPolicy" bindtap="gotoFavourableList">
点击了解更多会员优惠政策
</view>
</view>
</block>
<block wx:if="{{modalType == '3'}}">
<view class="publicModule couponBoxWrap" slot="modalContent" wx:if="{{!is_user_comments && isComments =='1' && couponData.showCoupon =='1'}}">
<view class="publicModule preferentialCoupon" slot="modalContent" wx:if="{{!is_user_comments && isComments =='1' && couponData.showCoupon =='1'}}">
<view class="font28r evaluateTitleText">期待您的声音,帮助我们持续改进</view>
<view class="couponInfo" bindtap="evaluateFun">
<view class="preferentialItems">
<view class="purchase">
<view class="priceText" wx:if="{{couponData.price}}">
<view class="icons">¥<text class="priceText">{{couponData.price}}</text></view>
</view>
<image class="certificateImg" src="{{(couponData.discount!='0.00' && (couponData.use.is_cash=='1' || couponData.use.is_cash) && couponData.discount)?'https://qn.colorcun.com/invitation10certificate1.png':'https://qn.colorcun.com/invitation10certificate.png'}}" mode="" />
<text wx:if="{{couponData.discount!='0.00' && (couponData.use.is_cash=='1' || couponData.use.is_cash) && couponData.discount}}" class="discountInfo">{{couponData.discount}}折</text>
</view>
<view class="certificateInfo">
<view class="preferentialDetails">
<view class="information">
<text class="discountText font20r">{{couponData.use.is_cash=='1'?'代金券':couponData.use.is_discount=='1'?'超值折扣':couponData.use.is_dish=='1'?'特惠菜品':'代金券'}}</text>
<text class="ticketName font24r">{{couponData.aname}}</text>
</view>
<text wx:if="{{couponData.exp_date.is_week=='1' || couponData.exp_date.is_week===true}}" class="limitation font24r">{{couponData.exp_date.week_show?couponData.exp_date.week_show+'可用':''}}</text>
<view wx:if="{{couponData.exp_date.is_none=='1' || couponData.exp_date.is_none===true}}" class="limitation font24r">
无限制
</view>
<view wx:if="{{couponData.exp_date.is_birthday=='1' || couponData.exp_date.is_birthday===true}}" class="limitation font24r">
会员生日当天可用
</view>
<view wx:if="{{couponData.is_type == '4' && couponData.desc}}" class="limitation showDesc">
<text class="font24r">消费要求</text>
</view>
<view wx:if="{{(couponData.useStime && couponData.useEtime) || couponData.foreverText}}" class="limitation showDesc font24r">有效期:{{couponData.foreverText?couponData.foreverText : ''}}</view>
<view wx:if="{{couponData.useStime && couponData.useEtime}}" class="font24r nodate showDesc">{{couponData.useStime}} 至 {{couponData.useEtime}}</view>
<view wx:if="{{couponData.is_type == '3' && (couponData.morText || couponData.noonText || couponData.nigText)}}" class="limitation showDesc">
<text class="font24r">不可用日期</text>
</view>
<view class="preferentialItems" bindtap="evaluateFun">
<view class="itemLeft">
<text wx:if="{{couponData.discount!='0.00' && (couponData.use.is_cash=='1' || couponData.use.is_cash) && couponData.discount}}" class="discountText font24r">{{couponData.discount}}折</text>
<view class="discountText1 font20r {{couponData.arule.is_accumulation == '1'?'discountText2':'discountText3'}}" wx:if="{{couponData.is_type == '3'}}">{{couponData.arule.is_accumulation == '1' ? '可' : '不可'}}叠加</view>
<view class="priceText" wx:if="{{couponData.price}}">
<view class="icons font24r">¥</view><text class="font48r">{{couponData.price}}</text>
</view>
<view class="icons font20r" wx:if="{{couponData.is_type == '3' && couponData.desc!='0'}}">消费满{{couponData.desc}}元可用</view>
</view>
<view class="couponLine"></view>
<view class="itemRight">
<view class="btns">
<text class="font32r anameText">{{couponData.aname}}</text>
<block wx:if="{{couponData.is_type == '1' || couponData.is_type == '2'}}">
<view wx:if="{{couponData.exp_date.is_week=='1' || couponData.exp_date.is_week===true}}" class="bottom font24r">{{couponData.exp_date.week_show?couponData.exp_date.week_show+'可用':''}}{{couponData.desc?','+couponData.desc+'。':'。'}}</view>
<view wx:if="{{couponData.exp_date.is_none=='1' || couponData.exp_date.is_none===true}}" class="bottom font24r">
无限制{{couponData.desc?','+couponData.desc+'。':'。'}}
</view>
<view class="limitationBtn" wx:if="{{couponData.is_type != '3'}}">
<view class="font24r couponBtn">立即抢购</view>
<view wx:if="{{couponData.exp_date.is_birthday=='1' || couponData.exp_date.is_birthday===true}}" class="bottom font24r">
会员生日当天可用{{couponData.desc?','+couponData.desc+'。':'。'}}
</view>
<view class="btnBox" wx:if="{{couponData.is_type == '3'}}" >
<view class="font24r orderingFood">{{couponData.resultCoupon == '1'?'已领取':'立即领取'}}</view>
<view class="grantNum" wx:if="{{couponData.receiveNumText}}">
<view class="font24r">已被领取</view>
<view class="font24r"><text>{{couponData.receiveNumText}}</text>张</view>
</view>
</view>
</view>
</view>
<view wx:if="{{couponData.is_type == '4' && couponData.desc!='0'}}" class="bottomLimitation limitation font24r bottomLimitationTop">
<text></text>
<view>消费满{{couponData.desc}}元可用</view>
</view>
<view wx:if="{{couponData.is_type == '3' && couponData.morText}}" class="bottomLimitation limitation font24r bottomLimitationTop">
<text></text>{{couponData.morText}}
</view>
<view wx:if="{{couponData.is_type == '3' && couponData.noonText}}" class="bottomLimitation limitation font24r">
<text></text>{{couponData.noonText}}
</block>
<block wx:if="{{couponData.is_type == '3' || couponData.is_type == '4'}}">
<view wx:if="{{(couponData.useStime && couponData.useEtime) ||couponDataitem.foreverText}}" class="bottom font24r">有效期:{{couponData.foreverText?couponData.foreverText : ''}}</view>
<view wx:if="{{couponData.useStime && couponData.useEtime}}" class="bottom font24r nodate">{{couponData.useStime}} 至 {{couponData.useEtime}}</view>
<view wx:if="{{couponData.morText || couponData.noonText || couponData.noonText}}" class="bottom font24r">不可用日期:</view>
<view wx:if="{{couponData.morText}}" class="bottom font24r nodate">{{couponData.morText}}</view>
<view wx:if="{{couponData.noonText}}" class="bottom font24r nodate">{{couponData.noonText}}</view>
<view wx:if="{{couponData.nigText}}" class="bottom font24r nodate">{{couponData.nigText}}</view>
<view wx:if="{{couponData.exp_date.week_show=='无'}}" class="bottom font24r">无使用时间限制</view>
<view wx:if="{{couponData.is_type == '4' && couponData.desc!='0'}}" class="bottom font24r">消费满{{couponData.desc}}元可用</view>
</block>
</view>
<view wx:if="{{couponData.is_type == '3' && couponData.nigText}}" class="bottomLimitation limitation font24r">
<text></text>{{couponData.nigText}}
<view class="btnBox" wx:if="{{couponData.is_type == '3'}}" >
<view class="font24r orderingFood orderingFood2">免费领取</view>
<view class="grantNum" wx:if="{{couponData.receiveNumText}}">
<view class="font24r">已被领取</view>
<view class="font24r"><text>{{couponData.receiveNumText}}</text>张</view>
</view>
</view>
</view>
</view>
</view>
<!-- 评价没有券 -->
<view class="publicModule evaluateCoupon" slot="modalContent" wx:if="{{is_comments=='1' && (marketing.is_comments_coupon!='1' || couponData.showCoupon!='1')}}">
<view class="preferentialItems" bindtap="evaluateFun">
... ... @@ -315,66 +312,40 @@
</view>
</block>
<block wx:if="{{modalType == '5'}}">
<view class="publicModule" slot="modalContent" wx:if="{{store.textInfo || store.videoImgsInfo.length>0}}">
<block wx:if="{{bookType == '1'}}">
<view class="labelBox" wx:if="{{!store.content && store.introduce && store.is_introduce == '1'}}">
<text space="nbsp" class="texts font28r">{{store.introduce}}</text>
</view>
<block wx:if="{{store.images.length>0 && (!store.is_images || store.is_images!='0')}}">
<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.images}}" mode="widthFix" />
</block>
<view class="publicModule" slot="modalContent" wx:if="{{store.textInfo || store.imgsInfo.length>0 || store.videosInfo.length>0}}">
<view class="labelBox" wx:if="{{!store.content && store.introduce && store.is_introduce == '1'}}">
<text space="nbsp" class="texts font28r">{{store.introduce}}</text>
</view>
<block wx:if="{{store.images.length>0 && (!store.is_images || store.is_images!='0')}}">
<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{store.images}}" mode="widthFix" />
</block>
<view class="labelBox" wx:if="{{store.content && store.content.length>0}}">
<block wx:for="{{store.content}}">
<image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
<text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font28r">{{item.content}}</text>
<view wx:if="{{item.type == '3'}}" class="videoBox">
<video object-fit="contain" autoplay="{{true}}" loop="{{true}}" muted="{{true}}" show-mute-btn="{{true}}" vslide-gesture-in-fullscreen="{{true}}" src="{{item.content}}"></video>
</view>
</block>
</view>
</block>
<block wx:if="{{bookType == '2'}}">
<view class="labelBox" wx:if="{{store.textInfo}}">
<text class="texts font28r" space="nbsp">{{store.textInfo}}</text>
</view>
<swiper wx:if="{{store.videoImgsInfo.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{store.videoImgsInfo}}" wx:key="index">
<video wx:if="{{item.type=='3'}}" class='boxBlock' id="video" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
<image wx:if="{{item.type=='1'}}" mode="" class="detailBannerImg" src="{{item.content}}" bindtap="previewImage" data-url="{{item.content}}" data-imgs="{{store.imgsInfo}}"></image>
</swiper-item>
</swiper>
</block>
<view class="labelBox" wx:if="{{store.content && store.content.length>0}}">
<block wx:for="{{store.content}}">
<image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
<text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font28r">{{item.content}}</text>
<view wx:if="{{item.type == '3'}}" class="videoBox">
<video object-fit="contain" autoplay="{{true}}" loop="{{true}}" muted="{{true}}" show-mute-btn="{{true}}" vslide-gesture-in-fullscreen="{{true}}" src="{{item.content}}"></video>
</view>
</block>
</view>
</view>
</block>
<block wx:if="{{modalType == '6'}}">
<view class="publicModule" slot="modalContent" wx:if="{{signboard && (signboard.textInfo || signboard.videoImgsInfo.length>0)}}">
<block wx:if="{{bookType == '1'}}">
<block wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{signboard.images}}" mode="widthFix" />
</block>
<view class="labelBox" wx:if="{{signboard.content && signboard.content.length>0}}">
<block wx:for="{{signboard.content}}">
<image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
<text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font28r">{{item.content}}</text>
<view wx:if="{{item.type == '3'}}" class="videoBox">
<video object-fit="contain" autoplay="{{true}}" loop="{{true}}" muted="{{true}}" show-mute-btn="{{true}}" vslide-gesture-in-fullscreen="{{true}}" src="{{item.content}}"></video>
</view>
</block>
</view>
</block>
<block wx:if="{{bookType == '2'}}">
<view class="labelBox" wx:if="{{signboard.textInfo}}">
<text class="texts font28r" space="nbsp">{{signboard.textInfo}}</text>
</view>
<swiper wx:if="{{signboard.videoImgsInfo.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{signboard.videoImgsInfo}}" wx:key="index">
<video wx:if="{{item.type=='3'}}" class='boxBlock' id="video" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
<image wx:if="{{item.type=='1'}}" mode="" class="detailBannerImg" src="{{item.content}}" bindtap="previewImage" data-url="{{item.content}}" data-imgs="{{signboard.imgsInfo}}"></image>
</swiper-item>
</swiper>
<view class="publicModule" slot="modalContent" wx:if="{{signboard && (signboard.textInfo || signboard.imgsInfo.length>0 || signboard.videosInfo.length>0)}}">
<block wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{signboard.images}}" mode="widthFix" />
</block>
<view class="labelBox" wx:if="{{signboard.content && signboard.content.length>0}}">
<block wx:for="{{signboard.content}}">
<image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
<text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font28r">{{item.content}}</text>
<view wx:if="{{item.type == '3'}}" class="videoBox">
<video object-fit="contain" autoplay="{{true}}" loop="{{true}}" muted="{{true}}" show-mute-btn="{{true}}" vslide-gesture-in-fullscreen="{{true}}" src="{{item.content}}"></video>
</view>
</block>
</view>
<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;">
... ... @@ -384,65 +355,39 @@
</view>
</block>
<block wx:if="{{modalType == '7'}}">
<view class="publicModule" slot="modalContent" wx:if="{{reserve && (reserve.textInfo || reserve.videoImgsInfo.length>0)}}">
<block wx:if="{{bookType == '1'}}">
<view class="labelBox" wx:if="{{reserve.park_info}}">
<text class="texts" space="nbsp">{{reserve.park_info}}</text>
</view>
<block wx:for="{{reserve.park_info_images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{reserve.park_info_images}}" mode="widthFix" />
</block>
<view class="labelBox" wx:if="{{reserve.content && reserve.content.length>0}}">
<block wx:for="{{reserve.content}}">
<image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
<text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font28r">{{item.content}}</text>
<view wx:if="{{item.type == '3'}}" class="videoBox">
<video object-fit="contain" autoplay="{{true}}" loop="{{true}}" muted="{{true}}" show-mute-btn="{{true}}" vslide-gesture-in-fullscreen="{{true}}" src="{{item.content}}"></video>
</view>
</block>
</view>
</block>
<block wx:if="{{bookType == '2'}}">
<view class="labelBox" wx:if="{{reserve.textInfo}}">
<text class="texts font28r" space="nbsp">{{reserve.textInfo}}</text>
</view>
<swiper wx:if="{{reserve.videoImgsInfo.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{reserve.videoImgsInfo}}" wx:key="index">
<video wx:if="{{item.type=='3'}}" class='boxBlock' id="video" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
<image wx:if="{{item.type=='1'}}" mode="" class="detailBannerImg" src="{{item.content}}" bindtap="previewImage" data-url="{{item.content}}" data-imgs="{{store.imgsInfo}}"></image>
</swiper-item>
</swiper>
<view class="publicModule" slot="modalContent" wx:if="{{reserve && (reserve.textInfo || reserve.imgsInfo.length>0 || reserve.videosInfo.length>0)}}">
<view class="labelBox" wx:if="{{reserve.park_info}}">
<text class="texts font28r" space="nbsp">{{reserve.park_info}}</text>
</view>
<block wx:for="{{reserve.park_info_images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" bindtap="lookImgs" data-url="{{item}}" data-imgs="{{reserve.park_info_images}}" mode="widthFix" />
</block>
<view class="labelBox" wx:if="{{reserve.content && reserve.content.length>0}}">
<block wx:for="{{reserve.content}}">
<image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
<text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font28r">{{item.content}}</text>
<view wx:if="{{item.type == '3'}}" class="videoBox">
<video object-fit="contain" autoplay="{{true}}" loop="{{true}}" muted="{{true}}" show-mute-btn="{{true}}" vslide-gesture-in-fullscreen="{{true}}" src="{{item.content}}"></video>
</view>
</block>
</view>
</view>
</block>
<block wx:if="{{modalType == '8'}}">
<view class="publicModule" slot="modalContent" wx:if="{{chef && (chef.textInfo || chef.videoImgsInfo.length>0)}}">
<block wx:if="{{bookType == '1'}}">
<view class="labelBox" wx:if="{{(chef.introduce && (!chef.is_introduce || chef.is_introduce!='0'))}}">
<text class="texts" space="nbsp">{{chef.introduce}}</text>
</view>
<image wx:if="{{(!chef.is_images || chef.is_images!='0') && chef.image}}" src="{{chef.image}}" bindtap="lookImgs" data-url="{{chef.image}}" mode="widthFix" />
<view class="labelBox" wx:if="{{chef.content && chef.content.length>0}}">
<block wx:for="{{chef.content}}">
<image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
<text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font28r">{{item.content}}</text>
<view wx:if="{{item.type == '3'}}" class="videoBox">
<video object-fit="contain" autoplay="{{true}}" loop="{{true}}" muted="{{true}}" show-mute-btn="{{true}}" vslide-gesture-in-fullscreen="{{true}}" src="{{item.content}}"></video>
</view>
</block>
</view>
</block>
<block wx:if="{{bookType == '2'}}">
<view class="labelBox" wx:if="{{chef.textInfo}}">
<text class="texts font28r" space="nbsp">{{chef.textInfo}}</text>
</view>
<swiper wx:if="{{chef.videoImgsInfo.length>0}}" class="detailBanner" indicator-dots="{{true}}" autoplay="{{true}}" interval="{{2000}}" circular="{{true}}" indicator-color="lightgray" indicator-active-color="#fff">
<swiper-item wx:for="{{chef.videoImgsInfo}}" wx:key="index">
<video wx:if="{{item.type=='3'}}" class='boxBlock' id="video" src="{{item.content}}" show-center-play-btn="{{true}}" autoplay='{{false}}' object-fit="cover" controls="{{true}}"></video>
<image wx:if="{{item.type=='1'}}" mode="" class="detailBannerImg" src="{{item.content}}" bindtap="previewImage" data-url="{{item.content}}" data-imgs="{{chef.imgsInfo}}"></image>
</swiper-item>
</swiper>
</block>
<view class="publicModule" slot="modalContent" wx:if="{{chef && (chef.textInfo || chef.imgsInfo.length>0 || chef.videosInfo.length>0)}}">
<view class="labelBox" wx:if="{{(chef.introduce && (!chef.is_introduce || chef.is_introduce!='0'))}}">
<text class="texts font28r" space="nbsp">{{chef.introduce}}</text>
</view>
<image wx:if="{{(!chef.is_images || chef.is_images!='0') && chef.image}}" src="{{chef.image}}" bindtap="lookImgs" data-url="{{chef.image}}" mode="widthFix" />
<view class="labelBox" wx:if="{{chef.content && chef.content.length>0}}">
<block wx:for="{{chef.content}}">
<image wx:if="{{item.type == '1'}}" bindtap="lookImgs" src="{{item.content}}" data-url="{{item.content}}" mode="widthFix" />
<text wx:if="{{item.type == '2'}}" space="nbsp" class="texts font28r">{{item.content}}</text>
<view wx:if="{{item.type == '3'}}" class="videoBox">
<video object-fit="contain" autoplay="{{true}}" loop="{{true}}" muted="{{true}}" show-mute-btn="{{true}}" vslide-gesture-in-fullscreen="{{true}}" src="{{item.content}}"></video>
</view>
</block>
</view>
</view>
</block>
</my-modal>
... ...
... ... @@ -33,9 +33,13 @@
align-items: center;
}
.infoTop .infoTopText2 {
font-weight: 600;
}
.infoTop .infoTopText3 {
margin-top: 14rpx;
margin: 16rpx 0 32rpx 0;
font-weight: 500;
margin-top: 16rpx;
}
.infoTopBj2 {
... ... @@ -63,7 +67,7 @@
}
.infoItem .record {
font-weight: 400;
font-weight: 600;
flex-shrink: 0;
font-family: PingFang SC;
color: #000;
... ... @@ -73,7 +77,7 @@
display: block;
font-size: 24rpx;
height: 50rpx;
padding: 0 34rpx;
padding: 0 20rpx;
line-height: 48rpx;
font-family: PingFang SC;
border-radius: 40rpx;
... ... @@ -87,6 +91,14 @@
height: 16rpx;
}
.welcomeInfo {
text-align: center;
color: #D2541C;
margin-top: 24rpx;
display: block;
font-weight: 600;
}
.contentData {
flex: 1;
line-height: 60rpx;
... ... @@ -94,6 +106,21 @@
margin-left: 24rpx;
font-weight: 600;
color: #D2541C;
display: -webkit-box;
word-break: break-all;
word-wrap: break-word;
overflow: hidden;
text-align: left;
}
.contentFlex {
flex: inherit;
}
.picker {
display: flex;
align-items: center;
justify-content: center;
}
.contentDataPhone {
... ... @@ -103,12 +130,12 @@
.divider {
color: #D2541C;
margin: 0 10rpx;
margin: 0 4rpx;
}
.bookData {
margin-left: 0;
font-weight: 400;
font-weight: 600;
}
.marLeft {
... ... @@ -116,7 +143,6 @@
}
.receptionBox {
margin: 0 20rpx;
display: flex;
align-items: center;
border-radius: 10rpx;
... ... @@ -124,6 +150,7 @@
box-shadow: 0rpx 4rpx 8rpx #00000040;
color: #000;
padding: 56rpx 58rpx 60rpx 72rpx;
margin-top: 24rpx;
}
.headerimg {
... ... @@ -132,6 +159,13 @@
border-radius: 50%;
}
.noHeaderimg {
width: 108rpx;
height: 108rpx;
background: #BFBFBF;
border-radius: 50%;
}
.peopleInfo {
display: flex;
flex-direction: column;
... ... @@ -144,7 +178,7 @@
.peopleInfo view {
font-family: "PingFang SC";
font-weight: 400;
font-weight: 600;
}
.handleInfo {
... ... @@ -165,7 +199,8 @@
.handleInfo .texts {
margin: 22rpx 0;
letter-spacing: 3rpx;
line-height: 36rpx
line-height: 36rpx;
font-weight: 500;
}
.contactBtns {
... ... @@ -183,6 +218,7 @@
align-items: center;
justify-content: center;
box-shadow: 0rpx 4rpx 8rpx #00000040;
font-weight: 600 !important;
}
.brownFont image {
... ... @@ -244,10 +280,11 @@
}
.titleItem {
font-weight: 400;
font-weight: 600;
background: #FFEFD6;
color: #000;
padding: 10rpx 16rpx;
border-radius: 6rpx;
}
.activeTitleItem::after {
... ... @@ -299,37 +336,32 @@
.chefTextInfo {
font-family: PingFang SC;
font-weight: 400;
font-weight: 600;
letter-spacing: 8rpx;
color: #AE2D2D;
}
.preferentialCoupon {
padding: 0;
}
.preferentialCoupon navigator {
.rechargeBox {
display: flex;
align-items: center;
flex-wrap: wrap;
width: 100%;
justify-content: space-between;
}
.preferentialCoupon .nodate{
padding-left: 20rpx;
}
.preferentialCoupon .limitation {
color: #000;
}
.regionItem {
width: 100%;
padding: 0;
box-sizing: border-box;
.rechargeBtn navigator {
width: 84%;
padding: 12rpx 0;
background: #D2541C;
border-radius: 42rpx;
color: #fff;
text-align: center;
font-size: 32rpx;
font-weight: 600;
}
.preferentialItems {
width: 100%;
display: flex;
min-height: 160rpx;
.bottomLimitationTop{
margin-top: 20rpx !important;
}
.evaluateTitleText {
... ... @@ -339,117 +371,6 @@
text-align: center;
}
.purchase {
position: relative;
width: 30%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background: #D2541C;
border-radius: 10rpx;
}
.discountText {
text-align: center;
color: #FFEFC5;
border-radius: 6rpx;
font-family: PingFang SC;
background: #FD4D59;
width: max-content;
padding: 6rpx;
margin-right: 8rpx;
}
.priceText {
font-family: PingFang SC;
color: #fff;
font-weight: 500;
margin-top: 6rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 52rpx;
flex-direction: column;
}
.icons {
font-family: PingFang SC;
color: #fff;
font-size: 20rpx;
display: flex;
align-items: baseline;
}
.certificateInfo {
width: 70%;
padding: 20rpx;
position: relative;
border-radius: 10rpx;
display: flex;
background: #fff;
align-items: center;
}
.certificateInfo .limitation {
line-height: 40rpx;
}
.ticketName {
display: flex;
justify-content: space-between;
align-items: baseline;
font-weight: 700;
overflow: hidden;
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
color: #000;
}
.orderingFood {
padding: 0 20rpx;
border-radius: 22rpx;
text-align: center;
border-radius: 20rpx;
line-height: 44rpx;
height: 44rpx;
width: max-content;
margin-top: 24rpx;
flex-shrink: 0;
border: 2rpx solid #D2541C;
background: transparent;
color: #D2541C;
}
.grantNum {
display: flex;
flex-direction: column;
align-items: center;
color: #999;
margin-top: 10rpx;
}
.grantNum text {
color: #D2541C;
margin-right: 10rpx;
}
.limitation {
margin-top: 10rpx;
color: #666;
font-family: PingFang SC;
font-weight: 500;
display: -webkit-box;
word-break: break-all;
word-wrap: break-word;
overflow: hidden;
text-align: left;
line-height: 30rpx;
}
.regionItem .limitation {
display: flex;
flex-direction: column;
... ... @@ -460,7 +381,11 @@
line-height: 28rpx;
color: #000;
line-height: 40rpx;
margin: 40rpx 0 20rpx 0;
margin: 40rpx 0 10rpx 0;
}
.limitationTitle1 {
margin-top: 20rpx;
}
.certificateBox .limitationTitle {
... ... @@ -477,7 +402,14 @@
padding: 20rpx 40rpx;
flex-direction: column;
justify-content: center;
background: #fff1e6;
background: #fff;
width: 100%;
box-sizing: border-box;
margin-bottom: 24rpx;
}
.rechargeActive {
background: #FFF1E6;
}
.checkImg {
... ... @@ -489,7 +421,7 @@
}
.rechargeTitle {
font-family: PingFang SC;
font-family: "Noto Sans";
font-weight: 700;
letter-spacing: 4rpx;
}
... ... @@ -514,6 +446,7 @@
text-align: center;
text-decoration-line: underline;
padding: 10rpx;
font-weight: 600;
}
.rechargeBtn {
... ... @@ -521,6 +454,7 @@
align-items: center;
justify-content: center;
margin: 24rpx 0;
width: 100%;
}
.rechargeBtn view {
... ... @@ -532,121 +466,188 @@
text-align: center;
}
.preferentialCoupon {
padding-bottom: 20rpx;
border-radius: 0 0 10rpx 10rpx;
}
.couponBoxWrap navigator,
.couponBoxWrap .couponInfo {
.preferentialCoupon .nodate{
padding-left: 20rpx;
}
.preferentialItems {
display: flex;
background: #FFEFD6;
margin-bottom: 20rpx;
min-height: 180rpx;
padding-bottom: 10rpx;
border-radius: 20rpx;
width: 100%;
margin-bottom: 20rpx;
border-radius: 10rpx;
background: #FFF1E6;
}
.bottomLimitationTop{
margin-top: 20rpx !important;
.itemLeft {
width: 30%;
display: flex;
flex-direction: column;
justify-content: center;
position: relative;
}
.couponBoxWrap .preferentialItems {
box-shadow: 0rpx 4rpx 8rpx #0000000d;
.discountText1 {
text-align: center;
border-radius: 6rpx;
font-family: PingFang SC;
background: transparent;
width: max-content;
padding: 2rpx 8rpx;
position: absolute;
left: 16rpx;
top: 12rpx;
}
.couponBoxWrap .showDesc {
color: #666;
.discountText2 {
background: #FD4D59;
color: #fff;
}
.bottomLimitation {
padding: 0 20rpx;
display: flex;
flex-direction: row !important;
align-items: center;
margin-top: 10rpx;
color: #666;
font-family: PingFang SC;
font-weight: 500;
.discountText3 {
color: #FD4D59;
border: 2rpx solid #FD4D59;
}
.bottomLimitation:nth-last-of-type(1){
padding-bottom: 20rpx;
.priceText {
font-family: 'Abel';
color: #E34D59;
font-weight: 500;
font-size: 64rpx;
margin-top: 6rpx;
}
.bottomLimitation text {
display: block;
width: 8rpx;
height: 8rpx;
background: #999999;
margin-right: 12rpx;
border-radius: 50%;
.itemRight {
width: 70%;
padding-right: 10rpx;
margin-left: 18rpx;
}
.couponBoxWrap .certificateInfo {
flex-direction: row;
background: #FFF1E6;
.btns {
margin: 24rpx 20rpx 0 0;
display: flex;
justify-content: space-evenly;
align-items: baseline;
flex-direction: column;
height: 90%;
}
.preferentialCoupon .itemRight {
width: 74%;
display: flex;
align-items: center;
}
.couponBoxWrap .couponBtn {
width: 100%;
height: fit-content;
background: #D2541C;
color: #fff;
.preferentialCoupon .itemLeft {
width: 26%;
}
.couponBoxWrap .certificateInfo .preferentialDetails {
width: 100%;
display: flex;
flex-direction: column;
.preferentialCoupon .couponLine{
margin: 24rpx 0 4rpx 0;
border-right: 2rpx dashed #FD4D59;
}
.preferentialCoupon .orderingFood {
padding: 0 44rpx;
color: #fff;
border: none;
text-align: center;
border-radius: 20rpx;
line-height: 44rpx;
height: 44rpx;
width: max-content;
flex-shrink: 0;
background: #D2541C;
}
.preferentialCoupon .icons {
color: #FD4D59;
text-align: center;
}
.couponBoxWrap .information {
.preferentialCoupon .priceText {
display: flex;
align-items: center;
align-items: baseline;
justify-content: center;
font-family: PingFang SC;
color: #FD4D59;
font-weight: 600;
font-size: 48rpx;
margin-top: 6rpx;
}
.couponBoxWrap .certificateInfo .limitation {
margin-right: 20rpx;
flex: 1;
width: auto;
.preferentialCoupon .priceText text {
font-size: 48rpx;
}
.couponBoxWrap .discountInfo {
font-family: PingFang SC;
background: #FD4D59;
position: absolute;
top: 0;
left: 100rpx;
font-size: 16rpx;
border-radius: 0 0 10rpx 0;
padding: 0 6rpx;
height: 28rp;
line-height: 28rpx;
text-align: center;
color: #FFEFC5;
width: max-content;
.preferentialCoupon .btns {
flex: 1;
}
.couponBoxWrap .certificateImg {
position: absolute;
top: 0;
left: 0;
width: 100rpx;
height: 28rpx;
.preferentialCoupon .btnBox {
display: flex;
flex-direction: column;
}
.couponBoxWrap .limitationBtn {
width: 40%;
.preferentialCoupon .grantNum {
display: flex;
flex-direction: column;
align-items: center;
color: #C36607;
margin-top: 10rpx;
}
.rechargeBtn navigator {
width: 63%;
padding: 12rpx 0;
background: #AE2D2D;
border-radius: 42rpx;
color: #fff;
text-align: center;
.preferentialCoupon .grantNum text {
color: #F6231B;
margin-right: 10rpx;
}
.preferentialCoupon .btns .anameText {
font-weight: 600;
}
.preferentialCoupon .orderingFood1 {
border: 2rpx solid #D2541C;
background: transparent;
color: #D2541C;
font-weight: 600;
padding: 0 30rpx;
}
.preferentialCoupon .orderingFood2 {
padding: 0 20rpx;
}
.discountText {
text-align: center;
color: #FFEFC5;
border-radius: 6rpx;
font-family: PingFang SC;
background: #FD4D59;
width: max-content;
padding: 6rpx;
position: absolute;
left: 16rpx;
top: 12rpx;
}
.bottom {
margin-top: 4rpx;
width: 100%;
color: #C36607;
font-family: PingFang SC;
font-weight: 500;
display: -webkit-box;
word-break: break-all;
word-wrap: break-word;
overflow: hidden;
text-align: left;
}
.labelBox {
... ... @@ -655,7 +656,7 @@
.labelBox .texts {
line-height: 40rpx;
color: #222;
color: #000;
font-family: PingFang SC;
font-weight: 500;
display: block;
... ... @@ -698,13 +699,8 @@
border-radius: 10rpx;
}
.boxBlock {
width: 100%;
height: 500rpx;
}
.businessBox {
color: #D2541C;
color: #000;
font-family: PingFang SC;
display: flex;
justify-content: center;
... ... @@ -733,10 +729,15 @@
.arrivalBox {
display: flex;
width: 100%;
justify-content: space-between;
align-items: center;
}
.arrivalBox .arrivalImg {
width: 40rpx;
height: 40rpx;
margin-left: 20rpx;
}
.arrivalBox button {
display: flex;
font-size: 24rpx;
... ... @@ -911,7 +912,7 @@
#publicModal .mymodal .mymodal-content {
height: 87% !important;
padding: 20rpx 50rpx 0 44rpx !important;
padding: 20rpx 20rpx 0 20rpx !important;
}
#publicModal .mask {
... ... @@ -1109,7 +1110,7 @@
.viewBox2 .reservationInfo {
background: url('https://qn.colorcun.com/invitation14Bj.png') no-repeat;
padding: 220rpx 20rpx 120rpx;
padding: 220rpx 20rpx 40rpx;
box-sizing: border-box;
position: relative;
color: #000;
... ... @@ -1126,7 +1127,7 @@
overflow-x: scroll;
border-bottom-left-radius: 10rpx;
border-bottom-right-radius: 10rpx;
padding-top: 30rpx;
padding-top: 50rpx;
}
.viewBox2 .pageSpacing1 {
... ... @@ -1144,15 +1145,15 @@
position: relative;
display: flex;
white-space: nowrap;
width: 640rpx;
height: 480rpx;
width: 320rpx;
height: 240rpx;
margin-right: 30rpx;
}
.viewBox2 .imageStyle {
display: inline-block;
width: 640rpx;
height: 480rpx;
width: 320rpx;
height: 240rpx;
border-radius: 16rpx;
}
... ... @@ -1161,18 +1162,7 @@
background: transparent;
}
.viewBox2 .receptionBox,
.viewBox2 .entrance,
.viewBox2 .businessBox {
position: relative;
top: -200rpx;
}
.viewBox2 .businessBox {
margin-bottom: 20rpx;
}
.businessBox {
color: #854F1E;
}
... ... @@ -1195,7 +1185,8 @@
color: #fff;
}
.viewBox2 .contentData {
.viewBox2 .contentData,
.viewBox2 .welcomeInfo {
color: #000;
}
... ... @@ -1208,38 +1199,24 @@
color: #854F1E;
border: 2rpx solid #854F1E;
}
.viewBox2 .infoTopText4 {
color: #854f1e;
font-family: PingFang SC;
font-weight: 600;
font-size: 100rpx;
line-height: 140rpx;
letter-spacing: 20rpx;
.viewBox2 .infoTopImg {
width: 670rpx;
height: 96rpx;
}
.viewBox2 .infoTopText1 {
color: #854f1e;
font-family: PingFang SC;
font-weight: 500;
font-size: 40rpx;
line-height: 40rpx;
letter-spacing: 20rpx;
.viewBox2 .infoTopText2 {
margin: 38rpx 0 20rpx 0;
}
.viewBox2 .infoTopText2 {
margin: 60rpx 0 20rpx 0;
.viewBox2 .receptionBox {
margin-top: 0;
}
.viewBox2 .infoTop {
color: #000;
align-items: flex-start;
align-items: center;
margin-left: 40rpx;
}
.publicModalBox2 .detailBanner {
margin: 0;
width: 100%;
margin-bottom: 0;
}
.publicModalBox2 .purchase {
... ... @@ -1265,7 +1242,14 @@
color: #854F1E;
}
.publicModalBox2 .orderingFood {
.publicModalBox2 .orderingFood,
.publicModalBox2 .rechargeBtn navigator {
background: #854F1E;
color: #fff;
}
.publicModalBox2 .orderingFood1 {
background: transparent;
color: #854F1E;
border: 2rpx solid #854F1E;
}
\ No newline at end of file
... ...