Commit cbea68b9ce8f9f6aa79513ece2a39608c0be96ef

Authored by pengye
1 parent 268bd51a

邀请函模板3修改

... ... @@ -76,161 +76,159 @@
</button>
</view>
</view>
<view class="settingColor">
<view class="preferentialCoupon" wx:if="{{hasValueCertificate && marketing && marketing.is_coupon=='1' && coupon_dataList.length>0}}">
<block wx:for="{{coupon_dataList}}" wx:key="index" wx:for-index="index">
<view class="preferentialItems" wx:if="{{dataStr<(item.etime*1) && item.status == '1'}}">
<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="priceText" wx:if="{{item.price}}">
<view class="icons font40r">¥</view>{{item.price}}
</view>
</view>
<view class="itemRight">
<view class="btns">
<text class="font40r">{{item.aname}}</text>
<navigator url="/pack-activity/pack/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="font24r orderingFood">
抢购
</view>
</navigator>
</view>
<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>
<view class="preferentialCoupon" wx:if="{{hasValueCertificate && marketing && marketing.is_coupon=='1' && coupon_dataList.length>0}}">
<block wx:for="{{coupon_dataList}}" wx:key="index" wx:for-index="index">
<view class="preferentialItems" wx:if="{{dataStr<(item.etime*1) && item.status == '1'}}">
<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="priceText" wx:if="{{item.price}}">
<view class="icons font40r">¥</view>{{item.price}}
</view>
</view>
</block>
</view>
<view wx:if="{{is_comments=='1' && !is_user_comments}}" class="evaluateBox" bindtap="evaluateFun">
<text wx:if="{{is_comments=='1' && marketing.is_comments_coupon!='1'}}">想<text>吐槽</text>?戳这里填写意见!--></text>
<text wx:if="{{marketing.is_comments_coupon=='1'}}">想<text>吐槽</text>?戳这里填写意见反馈赢好礼!</text>
<image wx:if="{{themeColor == 'pearlWhite'}}" src="https://nosqn.colorcun.com/evaluateWhite.png" mode="" />
<image wx:elif="{{themeColor == 'turmeric' || themeColor == 'greenishYellow' || themeColor == 'golden'}}" src="https://nosqn.colorcun.com/evaluateYellow.png" mode="" />
<image wx:else src="https://nosqn.colorcun.com/evaluate2.png" mode="" />
</view>
<view class="reserveBox" wx:if="{{reserveData && (reserveData.title || reserveData.content)}}">
<view class="title font40r" wx:if="{{reserveData.title}}">{{reserveData.title}}</view>
<block wx:for="{{reserveData.content}}" wx:key="index">
<image class="items" wx:if="{{item.type =='1'}}" src="{{item.content}}" mode="widthFix" />
<text class="items font32r" wx:if="{{item.type == '2'}}">{{item.content}}</text>
</block>
</view>
<!-- 餐厅介绍 用餐环境 -->
<view class="introduceBox">
<block wx:if="{{(marketing && marketing.logo && (!marketing.is_logo || marketing.is_logo!='0')) || (store.introduce && (!store.is_introduce || store.is_introduce!='0')) || (home.image && (!home.id_first_image || home.id_first_image!='0'))}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="餐厅介绍"></titleStyle>
</view>
<image wx:if="{{marketing && marketing.logo && (!marketing.is_logo || marketing.is_logo!='0')}}" src="{{marketing.logo?marketing.logo:''}}" mode="widthFix" />
<view class="labelBox" wx:if="{{store.introduce && (!store.is_introduce || store.is_introduce!='0')}}">
<text class="texts">{{store.introduce}}
</text>
</view>
<image wx:if="{{home.image && (!home.id_first_image || home.id_first_image!='0')}}" src="{{home.image}}" class="homeImage" mode="widthFix"></image>
</block>
<block wx:if="{{store.images.length>0 && (!store.is_images || store.is_images!='0')}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="用餐环境"></titleStyle>
<view class="itemRight">
<view class="btns">
<text class="font40r">{{item.aname}}</text>
<navigator url="/pack-activity/pack/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="font24r orderingFood">
抢购
</view>
</navigator>
</view>
<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>
</view>
<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="widthFix" />
</block>
</block>
</view>
<!-- 主厨介绍 -->
<view class="introduceBox famousChefBox" wx:if="{{chef && (!chef.is_introduce || chef.is_introduce!='0') || (!chef.is_images || chef.is_images!='0')}}">
<view wx:if="{{titleType && (chef.is_introduce || chef.is_images)}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="主厨介绍"></titleStyle>
</view>
<view class="labelBox" wx:if="{{!chef.is_introduce || chef.is_introduce!='0'}}">
<text class="texts">{{chef.introduce}}
</block>
</view>
<view wx:if="{{is_comments=='1' && !is_user_comments}}" class="evaluateBox" bindtap="evaluateFun">
<text wx:if="{{is_comments=='1' && marketing.is_comments_coupon!='1'}}">想<text>吐槽</text>?戳这里填写意见!--></text>
<text wx:if="{{marketing.is_comments_coupon=='1'}}">想<text>吐槽</text>?戳这里填写意见反馈赢好礼!</text>
<image wx:if="{{themeColor == 'pearlWhite'}}" src="https://nosqn.colorcun.com/evaluateWhite.png" mode="" />
<image wx:elif="{{themeColor == 'turmeric' || themeColor == 'greenishYellow' || themeColor == 'golden'}}" src="https://nosqn.colorcun.com/evaluateYellow.png" mode="" />
<image wx:else src="https://nosqn.colorcun.com/evaluate2.png" mode="" />
</view>
<view class="reserveBox" wx:if="{{reserveData && (reserveData.title || reserveData.content)}}">
<view class="title font40r" wx:if="{{reserveData.title}}">{{reserveData.title}}</view>
<block wx:for="{{reserveData.content}}" wx:key="index">
<image class="items" wx:if="{{item.type =='1'}}" src="{{item.content}}" mode="widthFix" />
<text class="items font32r" wx:if="{{item.type == '2'}}">{{item.content}}</text>
</block>
</view>
<!-- 餐厅介绍 用餐环境 -->
<view class="introduceBox">
<block wx:if="{{(marketing && marketing.logo && (!marketing.is_logo || marketing.is_logo!='0')) || (store.introduce && (!store.is_introduce || store.is_introduce!='0')) || (home.image && (!home.id_first_image || home.id_first_image!='0'))}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="餐厅介绍"></titleStyle>
</view>
<image wx:if="{{marketing && marketing.logo && (!marketing.is_logo || marketing.is_logo!='0')}}" src="{{marketing.logo?marketing.logo:''}}" mode="widthFix" />
<view class="labelBox" wx:if="{{store.introduce && (!store.is_introduce || store.is_introduce!='0')}}">
<text class="texts">{{store.introduce}}
</text>
</view>
<block wx:if="{{(!chef.is_images || chef.is_images!='0') && chef.image}}">
<image src="{{chef.image}}" mode="widthFix" />
</block>
</view>
<!-- 特色菜品 swich为1展示 -->
<view class="introduceBox vegetableBox" wx:if="{{signboard && signboard.swich=='1'}}">
<image wx:if="{{home.image && (!home.id_first_image || home.id_first_image!='0')}}" src="{{home.image}}" class="homeImage" mode="widthFix"></image>
</block>
<block wx:if="{{store.images.length>0 && (!store.is_images || store.is_images!='0')}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="特色菜品"></titleStyle>
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="用餐环境"></titleStyle>
</view>
<block wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="widthFix" />
</block>
</block>
</view>
<!-- 主厨介绍 -->
<view class="introduceBox famousChefBox" wx:if="{{chef && (!chef.is_introduce || chef.is_introduce!='0') || (!chef.is_images || chef.is_images!='0')}}">
<view wx:if="{{titleType && (chef.is_introduce || chef.is_images)}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="主厨介绍"></titleStyle>
</view>
<!-- 停车指引 swich为1展示 -->
<view class="introduceBox stopBox" wx:if="{{reserve && reserve.swich_park=='1' && (reserve.park_info || reserve.park_info_images)}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="停车指引"></titleStyle>
<view class="labelBox" wx:if="{{!chef.is_introduce || chef.is_introduce!='0'}}">
<text class="texts">{{chef.introduce}}
</text>
</view>
<block wx:if="{{(!chef.is_images || chef.is_images!='0') && chef.image}}">
<image src="{{chef.image}}" mode="widthFix" />
</block>
</view>
<!-- 特色菜品 swich为1展示 -->
<view class="introduceBox vegetableBox" wx:if="{{signboard && signboard.swich=='1'}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="特色菜品"></titleStyle>
</view>
<block wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="widthFix" />
</block>
</view>
<!-- 停车指引 swich为1展示 -->
<view class="introduceBox stopBox" wx:if="{{reserve && reserve.swich_park=='1' && (reserve.park_info || reserve.park_info_images)}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="停车指引"></titleStyle>
</view>
<view class="labelBox" wx:if="{{reserve.park_info}}">
<text class="texts">{{reserve.park_info}}
</text>
</view>
<block wx:for="{{reserve.park_info_images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="widthFix" />
</block>
</view>
<view class="specialServices" wx:if="{{hasValueOrder && detail && detail.seller.is_open_order==1 && marketing && marketing.is_order=='1'}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="提前点餐"></titleStyle>
</view>
<view class="endStyle">
<view class="news font32r">
现在提前点菜下单,到店时无需等待服务员点餐,直接享受就餐服务^_^
</view>
<view class="labelBox" wx:if="{{reserve.park_info}}">
<text class="texts">{{reserve.park_info}}
</text>
<view wx:if="{{detail && detail.seller.is_open_order==1 && marketing && marketing.is_order=='1'}}" bindtap="cookbook" class="book-item-font flex-cc font30r cook" style="position: relative;">
去点餐
</view>
<block wx:for="{{reserve.park_info_images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="widthFix" />
</block>
</view>
<view class="specialServices" wx:if="{{hasValueOrder && detail && detail.seller.is_open_order==1 && marketing && marketing.is_order=='1'}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="提前点餐"></titleStyle>
</view>
<view class="endStyle">
<view class="news font32r">
现在提前点菜下单,到店时无需等待服务员点餐,直接享受就餐服务^_^
</view>
<block wx:if="{{hasValueRecharge && marketing && marketing.is_recharge=='1' && recharge_data && (is_fix!='1' || (is_fix=='1' && dataStr<(recharge_data.exp_date.fix_edate*1)))}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="会员招募"></titleStyle>
</view>
<view class="preferentialItems rechargeItems">
<view class="itemLeft">
<view class="itemTop font36r">
{{recharge_data.rname}}
</view>
<view wx:if="{{detail && detail.seller.is_open_order==1 && marketing && marketing.is_order=='1'}}" bindtap="cookbook" class="book-item-font flex-cc font30r cook" style="position: relative;">
去点餐
<view class="itemBottom font24r" wx:if="{{priceInfo}}">
{{priceInfo}}{{(recharge_data.recharge_list.is_coupons=='0' && recharge_data.recharge_list.is_score=='0')?'。':';'}}
</view>
</view>
</view>
<block wx:if="{{hasValueRecharge && marketing && marketing.is_recharge=='1' && recharge_data && (is_fix!='1' || (is_fix=='1' && dataStr<(recharge_data.exp_date.fix_edate*1)))}}">
<view wx:if="{{titleType}}" class="chefText font36r">
<titleStyle isWhite="{{themeColor}}" titleStyleType="{{titleType}}" titleText="会员招募"></titleStyle>
</view>
<view class="preferentialItems rechargeItems">
<view class="itemLeft">
<view class="itemTop font36r">
{{recharge_data.rname}}
</view>
<view class="itemBottom font24r" wx:if="{{priceInfo}}">
{{priceInfo}}{{(recharge_data.recharge_list.is_coupons=='0' && recharge_data.recharge_list.is_score=='0')?'。':';'}}
</view>
<view class="bottom font24r" wx:if="{{scoreInfo}}">
{{scoreInfo}}{{recharge_data.recharge_list.is_coupons=='0'?'。':';'}}
</view>
<view class="bottom font24r" wx:if="{{recharge_data.recharge_list.is_coupons=='1'}}">
{{recharge_data.recharge_list.is_coupons=='1'?'会员充值满'+recharge_data.recharge_money+'元赠送'+certificate:''}}。
</view>
<view class="bottom font24r" wx:if="{{scoreInfo}}">
{{scoreInfo}}{{recharge_data.recharge_list.is_coupons=='0'?'。':';'}}
</view>
<view class="bottom font24r" wx:if="{{recharge_data.recharge_list.is_coupons=='1'}}">
{{recharge_data.recharge_list.is_coupons=='1'?'会员充值满'+recharge_data.recharge_money+'元赠送'+certificate:''}}。
</view>
<navigator 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="font24r orderingFood">
抢购
</view>
</navigator>
</view>
</block>
<view class="vips">
<view wx:if="{{hasValueRecharge && marketing.is_link=='1'}}" class="font24r favouredPolicy" bindtap="gotoFavourableList">
点击了解更多会员优惠政策
</view>
<text class="businessBox">
周到安排提供技术支持<text bindtap="call" data-phone="4000009690">4000009690</text>,餐厅入驻请点击<text bindtap="gotoJoinSeller" style="text-decoration: underline;">这里</text>
</text>
</view>
<view class="more" wx:if="{{showMoreTip}}">
<view class="moreText">滑动查看更多</view>
<image src="https://qn.colorcun.com/jt1.png" mode="" />
<navigator 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="font24r orderingFood">
抢购
</view>
</navigator>
</view>
<view class="toastBox" wx:if="{{toastBool}}">
{{toastText}}
</block>
<view class="vips">
<view wx:if="{{hasValueRecharge && marketing.is_link=='1'}}" class="font24r favouredPolicy" bindtap="gotoFavourableList">
点击了解更多会员优惠政策
</view>
<text class="businessBox">
周到安排提供技术支持<text bindtap="call" data-phone="4000009690">4000009690</text>,餐厅入驻请点击<text bindtap="gotoJoinSeller" style="text-decoration: underline;">这里</text>
</text>
</view>
<view class="more" wx:if="{{showMoreTip}}">
<view class="moreText">滑动查看更多</view>
<image src="https://qn.colorcun.com/jt1.png" mode="" />
</view>
<view class="toastBox" wx:if="{{toastBool}}">
{{toastText}}
</view>
</scroll-view>
<view wx:if="{{marketing.is_transpond=='1' || marketing.is_online_book=='1' || (paymentId && paymentStatus == '0')}}" class="flex-lr sharewidth {{themeColor}}">
... ...
... ... @@ -587,9 +587,7 @@
}
/* 深中国红 */
.crimson .reservationInfo,
.crimson .settingColor,
.crimson+.sharewidth,
.crimson,
.crimson .positioningBox {
background: #86201B;
}
... ... @@ -622,7 +620,6 @@
/* 黑蓝过渡 */
.blackBlueGradient,
.blackBlueGradient+.sharewidth,
.blackBlueGradient .positioningBox {
background: linear-gradient(104.24deg, #42a5ff -57.47%, #000000 55.72%, #42a5ff 182.69%);
}
... ... @@ -634,7 +631,6 @@
/* 石绿过渡 */
.stoneGreenGradient,
.stoneGreenGradient+.sharewidth,
.stoneGreenGradient .positioningBox {
background: linear-gradient(121.52deg, #438e93 1.76%, #206864 42.99%, #206864 75.66%, #42a5ff 120.1%);
}
... ... @@ -646,7 +642,6 @@
/* 中国红过渡 */
.chinaRedGradient,
.chinaRedGradient+.sharewidth,
.chinaRedGradient .positioningBox {
background: linear-gradient(309.04deg, #af231c -2.27%, #86201b 44.37%, #af231c 91.74%);
}
... ... @@ -658,7 +653,6 @@
/* 群青过渡 */
.ultramarineGradient,
.ultramarineGradient+.sharewidth,
.ultramarineGradient .positioningBox {
background: linear-gradient(104.24deg, #4c8dad -57.47%, #0143a3 55.72%, #42a5ff 148.72%);
}
... ... @@ -668,9 +662,7 @@
}
/* 深中国红 */
.crimson .reservationInfo,
.crimson .settingColor,
.crimson+.sharewidth,
.crimson,
.crimson .positioningBox {
background: #86201B;
}
... ... @@ -680,9 +672,7 @@
}
/* 中国红 */
.chinaRed .reservationInfo,
.chinaRed .settingColor,
.chinaRed+.sharewidth,
.chinaRed,
.chinaRed .positioningBox {
background: #AF231C;
}
... ... @@ -692,9 +682,7 @@
}
/* 蓝采和 */
.lanCaiHe .reservationInfo,
.lanCaiHe .settingColor,
.lanCaiHe+.sharewidth,
.lanCaiHe,
.lanCaiHe .positioningBox {
background: #06436F;
}
... ... @@ -704,9 +692,7 @@
}
/* 石绿 */
.stoneGreen .reservationInfo,
.stoneGreen .settingColor,
.stoneGreen+.sharewidth,
.stoneGreen,
.stoneGreen .positioningBox {
background: #206864;
}
... ... @@ -716,9 +702,7 @@
}
/* 姜黄 */
.turmeric .reservationInfo,
.turmeric .settingColor,
.turmeric+.sharewidth,
.turmeric,
.turmeric .positioningBox {
background: #B39437;
}
... ... @@ -757,9 +741,7 @@
}
/* 苍黄 */
.greenishYellow .reservationInfo,
.greenishYellow .settingColor,
.greenishYellow+.sharewidth,
.greenishYellow,
.greenishYellow .positioningBox {
background: #C85306;
}
... ... @@ -796,9 +778,7 @@
}
/* 金黄 */
.golden .reservationInfo,
.golden .settingColor,
.golden+.sharewidth,
.golden,
.golden .positioningBox {
background: #C67B3A;
}
... ... @@ -837,9 +817,7 @@
}
/* 群青 */
.ultramarine .reservationInfo,
.ultramarine .settingColor,
.ultramarine+.sharewidth,
.ultramarine,
.ultramarine .positioningBox {
background: #0143A3;
}
... ... @@ -849,9 +827,7 @@
}
/* 摩洛哥蓝 */
.moroccanBlue .reservationInfo,
.moroccanBlue .settingColor,
.moroccanBlue+.sharewidth,
.moroccanBlue,
.moroccanBlue .positioningBox {
background: #19516A;
}
... ... @@ -861,9 +837,7 @@
}
/* 珍珠白 */
.pearlWhite .reservationInfo,
.pearlWhite .settingColor,
.pearlWhite+.sharewidth,
.pearlWhite,
.pearlWhite .positioningBox {
background: #fbf6f1;
}
... ... @@ -937,6 +911,7 @@
.pearlWhite .shareItem {
background: #578C69;
color: #fff;
border: none;
}
.pearlWhite .discountText {
... ...