Commit c051ee0111043eadb3eaa7689b36d4886cb88c8a

Authored by pengye
1 parent dddb3ce4

邀请函2-22模板标题加预订安排、邀请函

... ... @@ -6,7 +6,7 @@
<image class="giftImg" bindtap="gotoSellerGift" data-form="1" wx:if="{{(hasValueCertificate && coupon_dataList.length>0) || (!is_user_comments && isComments =='1' && couponData.showCoupon =='1') || (hasValueRecharge && marketing.is_recharge=='1' && recharge_data)}}" src="https://nosqn.colorcun.com/sellerGift.png" mode="" />
<image wx:if="{{detail.status =='4'}}" class="cannotImg" src="https://qn.colorcun.com/cancelImg.png" />
<image wx:if="{{options.isOrder == '1' && detail.status !='4'}}" class="cannotImg" src="https://qn.colorcun.com/overImg.png" />
<view class="reservationInfo {{options.bookType ? 'birthdaySty' : 'noBirthday'}}">
<view class="reservationInfo {{options.bookType ? 'birthdaySty' : 'noBirthday'}} {{options.hasSellerShare == '1' ? 'noBirthday1' : '' }}">
<view class="infoTop">
<text space="nbsp" class="font48r">{{seller.name||reserve.seller_name}}</text>
<text space="nbsp" wx:if="{{reserve.swich_slogan == '1' && home.slogan}}" class="font28r">{{home.slogan}}</text>
... ...
... ... @@ -31,6 +31,11 @@
background-size: cover;
}
.noBirthday1 {
background: url('https://nosqn.colorcun.com/invitation10Bj_2.png') no-repeat;
background-size: cover;
}
.infoTop {
color: #000000;
font-weight: 600;
... ...
... ... @@ -6,13 +6,13 @@
<image class="giftImg" bindtap="gotoSellerGift" data-form="1" wx:if="{{(hasValueCertificate && coupon_dataList.length>0) || (!is_user_comments && isComments =='1' && couponData.showCoupon =='1') || (hasValueRecharge && marketing.is_recharge=='1' && recharge_data)}}" src="https://nosqn.colorcun.com/sellerGift.png" mode="" />
<image wx:if="{{detail.status =='4'}}" class="cannotImg" src="https://qn.colorcun.com/cancelImg.png" />
<image wx:if="{{options.isOrder == '1' && detail.status !='4'}}" class="cannotImg" src="https://qn.colorcun.com/overImg.png" />
<view class="reservationInfoBox">
<view class="reservationInfoBox" wx:if="{{detail && detail.ddate}}">
<view class="reservationInfo reservationInfo{{make}}">
<view class="infoTop">
<image wx:if="{{bookType == '2'}}" class="infoTopImg1" src="https://nosqn.colorcun.com/invitation11Title2.png" mode=""/>
<image wx:if="{{bookType == '2'}}" class="infoTopImg1 {{options.hasSellerShare == '1' ? 'infoTopImg2' :''}}" src="https://nosqn.colorcun.com/{{options.hasSellerShare == '1' ? 'invitation11Title2_1.png' : 'invitation11Title2.png'}}" mode=""/>
<text class="infoTopText2 font44r" space="nbsp">{{seller.name||reserve.seller_name}}</text>
<text class="infoTopText3 font28r" space="nbsp" wx:if="{{reserve.swich_slogan == '1' && home.slogan}}">{{home.slogan}}</text>
<image wx:if="{{bookType == '1' && (!make || make=='2')}}" class="infoTopText4" src="https://nosqn.colorcun.com/invitation11Title.png" mode=""/>
<image wx:if="{{bookType == '1' && (!make || make=='2')}}" class="infoTopText4 {{options.hasSellerShare == '1' ? 'infoTopText5' :''}}" src="https://nosqn.colorcun.com/{{options.hasSellerShare == '1' ? 'invitation11Title1.png' : 'invitation11Title.png'}}" mode=""/>
<image wx:if="{{bookType == '1' && make == '1'}}" class="infoTopBj2" src="https://qn.colorcun.com/invitation11Bg2.png" mode="" />
</view>
<view class="informationBox">
... ...
... ... @@ -40,6 +40,11 @@
height: 188rpx;
}
.infoTopBj3 {
width: 478rpx;
height: 164rpx;
}
.informationBox {
border-radius: 10rpx;
background: #FFEFD6;
... ... @@ -1070,6 +1075,12 @@
margin-bottom: 40rpx;
}
.viewBox2 .infoTopImg2 {
width: 478rpx;
height: 164rpx;
margin-bottom: 40rpx;
}
.viewBox2 .infoTopText3 {
margin-bottom: 0;
}
... ... @@ -1080,6 +1091,11 @@
margin-bottom: 32rpx;
}
.infoTopText5 {
width: 408rpx;
height: 112rpx;
}
.viewBox2 .informationBox {
background: transparent;
padding: 40rpx 0;
... ...
... ... @@ -6,9 +6,9 @@
<image class="giftImg" bindtap="gotoSellerGift" data-form="1" wx:if="{{(hasValueCertificate && coupon_dataList.length>0) || (!is_user_comments && isComments =='1' && couponData.showCoupon =='1') || (hasValueRecharge && marketing.is_recharge=='1' && recharge_data)}}" src="https://nosqn.colorcun.com/sellerGift.png" mode="" />
<image wx:if="{{detail.status =='4'}}" class="cannotImg" src="https://qn.colorcun.com/cancelImg.png" />
<image wx:if="{{options.isOrder == '1' && detail.status !='4'}}" class="cannotImg" src="https://qn.colorcun.com/overImg.png" />
<view class="reservationInfo reservationInfo{{make}}">
<view class="reservationInfo reservationInfo{{make}} {{options.hasSellerShare == '1' ? 'reservationInfo3' : '' }}">
<view wx:if="{{bookType == '2'}}" class="infoTop">
<image class="infoTopImg" src="https://nosqn.colorcun.com/invitation11Title3.png" mode=""/>
<image class="infoTopImg {{options.hasSellerShare == '1' ? 'infoTopImg1' :''}}" src="https://nosqn.colorcun.com/{{options.hasSellerShare == '1' ? 'invitation11Title3_1.png' : '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>
... ...
... ... @@ -18,6 +18,11 @@
background-size: cover;
}
.viewBox1 .reservationInfo3 {
background: url('https://qn.colorcun.com/invitation13Bj1_2.png') no-repeat;
background-size: cover;
}
.viewBox1 .reservationInfo1 {
background: url('https://qn.colorcun.com/invitation13Bj1.png') no-repeat;
background-size: cover;
... ... @@ -1205,6 +1210,10 @@
width: 670rpx;
height: 96rpx;
}
.viewBox2 .infoTopImg1 {
width: 433rpx;
height: 80rpx;
}
.viewBox2 .infoTopText2 {
margin: 38rpx 0 20rpx 0;
... ...
... ... @@ -15,7 +15,7 @@
src="https://nosqn.colorcun.com/sellerGift.png" mode=""/>
<image wx:if="{{detail && detail.status =='4'}}" class="cannotImg" src="https://qn.colorcun.com/cancelImg.png" />
<image wx:if="{{options && options.isOrder == '1' && detail.status !='4'}}" class="cannotImg" src="https://qn.colorcun.com/overImg.png" />
<view class="reservationInfo">
<view class="reservationInfo" wx:if="{{themeColor}}">
<image wx:if="{{themeColor == 'turmeric' || themeColor == 'golden'}}" src="https://qn.colorcun.com/whiteBj1.png" class="titleIcon" />
<image wx:elif="{{themeColor == 'pearlWhite'}}" src="https://nosqn.colorcun.com/whiteBj3.png" class="titleIcon" />
<image wx:else src="https://qn.colorcun.com/leaf.png" class="titleIcon" />
... ... @@ -40,7 +40,7 @@
<view class="leftInfo font36r tables" wx:if="{{swich_phone!='0' && seller && seller.tel && seller.tel.length>0}}">预订台<block wx:for="{{seller.tel}}" wx:key="index"><text data-phone="{{item}}" bindtap="call">{{item}}</text>{{index==(seller.tel.length-1)?'':','}}</block></view>
</view>
<view class="infoBoxRight">
邀请函
{{options.hasSellerShare=='1'?'预订安排':'邀请函'}}
</view>
</view>
<view wx:if="{{roomimage && roomimage.length>0}}" class="pageSpacing">
... ...
... ... @@ -20,7 +20,7 @@
<image wx:elif="{{themeColor == 'pearlWhite'}}" src="https://nosqn.colorcun.com/whiteBj3.png" class="titleIcon" />
<image wx:else src="https://qn.colorcun.com/leaf.png" class="titleIcon" />
<view class="infoBox">
<view class="infoBoxRight">邀请函</view>
<view class="infoBoxRight">{{options.hasSellerShare=='1'?'预订安排':'邀请函'}}</view>
<view class="boxLeft">
<text space="nbsp" class="sellerTitle font48r">{{seller.name}}</text>
<text space="nbsp" class="info font40r" wx:if="{{reserve && reserve.swich_slogan == '1' && home && home.slogan}}">{{home.slogan}}</text>
... ...
... ... @@ -657,11 +657,18 @@ Page({
home = util.determine(data.home);
themeColor = data.lite_class || 'ultramarine';
StyleType = data.type;
if (StyleType == '9' || StyleType == '10' || StyleType == '11' || StyleType == '12') {
inviteImgUrl = 'https://nosqn.colorcun.com/inviteText.png';
} else {
inviteImgUrl = 'https://nosqn.colorcun.com/inviteText1.png';
let isSeller = this.data.options.hasSellerShare;
let imgUrl = '';
if (StyleType == '9' || StyleType == '10' || StyleType == '12' || StyleType == '13') {
imgUrl = isSeller == '1' ? 'inviteText2' : 'inviteText';
}
if (StyleType == '11' || StyleType == '14' || StyleType == '15' || StyleType == '16') {
imgUrl = isSeller == '1' ? 'inviteText5' : 'inviteText1';
}
if (StyleType == '17') {
imgUrl = isSeller == '1' ? 'inviteText3' : 'inviteText4';
}
inviteImgUrl = 'https://nosqn.colorcun.com/' + imgUrl + '.png';
settingUrl = StyleType == '12' ? 'https://nosqn.colorcun.com/template12.jpg' : 'https://nosqn.colorcun.com/template' + StyleType + '.png';
if (StyleType == '9') colors = "#0B0805";
if (StyleType == '10' || StyleType == '17') colors = "#750100";
... ...