Commit 3fcb510669a06d9b482a97e15f214045a7d23801

Authored by pengye
1 parent 74cfc99b

邀请函新模板

... ... @@ -43,7 +43,7 @@ Page({
tableinfo: [],
StyleType: '',
showMoreTip: true,
themeColor: 'lanCaiHe',
themeColor: '',
screenHeight: '',
},
tablestr: '',
... ... @@ -367,6 +367,7 @@ Page({
signboard = util.determine(data.signboard);
store = util.determine(data.store);
home = util.determine(data.home);
themeColor = data.lite_class;
swich_phone = reserve && reserve.swich_phone ? reserve.swich_phone : '';
if (marketing) {
is_comments = marketing.is_comments ? marketing.is_comments : '';
... ... @@ -410,6 +411,7 @@ Page({
swich_phone,
is_comments,
StyleType: res.data.type,
themeColor,
}
console.log('获取数据', {
...obj
... ... @@ -439,24 +441,6 @@ Page({
between: true
})
}
// themeColor = 'crimson' // 深中国红
// themeSixteen = '#86201B'
themeColor = 'chinaRed' // 中国红
themeSixteen = '#AF231C'
// themeColor = 'lanCaiHe' // 蓝采和
// themeSixteen = '#06436F'
// themeColor = 'stoneGreen' // 石绿
// themeSixteen = '#206864'
// themeColor = 'turmeric' // 姜黄
// themeSixteen = '#B39437'
// themeColor = 'greenishYellow' // 苍黄
// themeSixteen = '#C85306'
// themeColor = 'golden' // 金黄
// themeSixteen = '#C67B3A'
// themeColor = 'ultramarine' // 群青
// themeSixteen = '#0143A3'
// themeColor = 'moroccanBlue' // 摩洛哥蓝
// themeSixteen = '#19516A'
this.setData({
chef,
marketing,
... ...
... ... @@ -14,30 +14,30 @@
</view>
<view class="reservationInfo">
<view class="flex-11" wx:if="{{seller.date}}">
<view class="label">【就餐日期】</view>
<view class="contentData">{{seller.date}}</view>
<view class="label font36r">【就餐日期】</view>
<view class="contentData font36r">{{seller.date}}</view>
</view>
<view class="flex-11" wx:if="{{seller.soltName}}">
<view class="label">【就餐时间】</view>
<view class="contentData">{{seller.soltName}}</view>
<view class="label font36r">【就餐时间】</view>
<view class="contentData font36r">{{seller.soltName}}</view>
</view>
<view class="flex-11" wx:if="{{detail.actual_pum || tableNum}}">
<view class="label">【就餐人数】</view>
<view class="contentData">{{detail.actual_pum?detail.actual_pum:tableNum}}位</view>
<view class="label font36r">【就餐人数】</view>
<view class="contentData font36r">{{detail.actual_pum?detail.actual_pum:tableNum}}位</view>
</view>
<view class="flex-11" wx:if="{{seller.tablesText}}">
<view class="label">【就餐位置】</view>
<view class="contentData bold">{{seller.tablesText}}</view>
<view class="label font36r">【就餐位置】</view>
<view class="contentData font34r">{{seller.tablesText}}</view>
</view>
<view class="flex-11" wx:if="{{reserve && reserve.swich_park=='1' && reserve.park_info}}">
<view class="label">【停车信息】</view>
<view class="contentData">{{reserve.park_info}}</view>
<view class="label font36r">【停车信息】</view>
<view class="contentData font34r">{{reserve.park_info}}</view>
</view>
<view class="flex-11" wx:if="{{ swich_phone!='0' && detail.seller.phone}}">
<view class="label">【联系餐厅】</view>
<view class="contentData">{{detail.seller.phone}}</view>
<view class="label font36r">【联系餐厅】</view>
<view class="contentData font36r">{{detail.seller.phone}}</view>
</view>
<view wx:if="{{roomimage && roomimage.length>0}}" class="page-section-spacing">
<view wx:if="{{roomimage && roomimage.length>0}}" class="{{roomimage.length=='1'?'pageSpacing':'pageSpacing1'}}">
<view wx:for="{{roomimage}}" class="imgs" wx:key="index" bindtap="lookroom" data-item="{{item}}">
<image class="imageStyle" mode="aspectFill" src="{{item.url}}"></image>
<text>{{item.name}}</text>
... ... @@ -108,6 +108,7 @@
<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="aspectFill" />
</block>
<view class="lines"></view>
</view>
</view>
<view class="introduce famousChefBox" wx:if="{{chef}}">
... ... @@ -120,6 +121,7 @@
</view>
</view>
<image src="{{chef.image}}" mode="aspectFill" />
<view class="lines"></view>
</view>
</view>
<!-- 菜品展示 swich为1展示 -->
... ... @@ -131,6 +133,7 @@
<block wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="aspectFill" />
</block>
<view class="lines"></view>
</view>
</view>
<view class="specialServices" wx:if="{{detail && detail.seller.is_open_order==1 && marketing && marketing.is_order=='1'}}">
... ...
... ... @@ -24,7 +24,7 @@
.reservationInfo .flex-11 {
margin-left: 30rpx;
margin: 0 30rpx;
display: flex;
line-height: 64rpx;
font-family: PingFang SC;
... ... @@ -34,18 +34,16 @@
.label {
flex-shrink: 0;
font-family: PingFang SC;
font-size: 32rpx;
}
.contentData {
flex: 1;
line-height: 60rpx;
font-family: PingFang SC;
font-size: 32rpx;
}
.handleInfo {
margin: 50rpx 40rpx 42rpx 40rpx;
margin: 50rpx 30rpx 42rpx 30rpx;
display: flex;
justify-content: space-between;
align-items: center;
... ... @@ -80,6 +78,9 @@
.handlePhone {
height: 100rpx;
color: #515151;
margin: 0 20rpx;
width: 45%;
overflow-y: scroll;
}
.brownFont {
... ... @@ -88,6 +89,7 @@
border: 2rpx solid #0143A3;
border-radius: 22rpx;
text-align: center;
width: 130rpx;
}
.brownFont:nth-of-type(1) {
... ... @@ -105,7 +107,6 @@
.positioningBox {
display: flex;
justify-content: center;
height: 232rpx;
}
.positioning {
... ... @@ -114,7 +115,7 @@
box-sizing: border-box;
flex-direction: column;
background: #fff;
padding: 30rpx 0 34rpx 30rpx;
padding: 30rpx 30rpx 34rpx 30rpx;
border-radius: 10rpx 10rpx 0 0;
flex: 1;
color: #000;
... ... @@ -127,15 +128,15 @@
}
.positioning .name {
width: 80%;
width: 95%;
display: flex;
align-items: center;
font-family: PingFang SC;
font-size: 28rpx;
margin-top: 10rpx;
}
.positioning .name text {
width: 100%;
line-height: 50rpx;
}
... ... @@ -148,23 +149,23 @@
}
.imgMask {
margin: 20rpx 40rpx;
padding-bottom: 18rpx;
border-bottom: 2rpx solid #DBDBDB;
margin: 0 20rpx;
}
.famousChefBox .labelBox {
border-bottom: none;
.lines {
height: 2rpx;
margin: 20rpx;
margin-bottom: 20rpx;
background-color: #DBDBDB;
}
.imgMask image {
margin: 0 15rpx;
.famousChefBox .labelBox {
border-bottom: none;
}
.labelBox {
width: 100%;
margin: 0 20rpx 0 20rpx;
display: flex;
margin-bottom: 20rpx;
position: relative;
padding-bottom: 20rpx;
border-bottom: 2rpx solid #DBDBDB;
... ... @@ -195,12 +196,18 @@
}
.imgMask image {
width: 95%;
width: 100%;
display: block;
}
.famousChefBox {
.famousChefBox,
.vegetableBox {
position: relative;
margin-top: 20rpx;
}
.vegetableBox .chefText {
margin-top: 0;
}
.Introducepublic {
... ... @@ -213,8 +220,8 @@
.chefText {
font-family: PingFang SC;
margin-bottom: 20rpx;
font-weight: 500;
margin: 20rpx;
}
.specialServices {
... ... @@ -241,7 +248,7 @@
.endStyle {
display: flex;
justify-content: flex-end;
height: 60rpx;
height: 54rpx;
margin: 20rpx 0;
}
... ... @@ -259,7 +266,7 @@
}
.preferential {
margin: 16rpx 40rpx 20rpx 40rpx;
margin: 0 40rpx 20rpx 40rpx;
}
.rubric1 {
... ... @@ -301,11 +308,13 @@
}
.itemTop text:nth-of-type(1) {
max-width: 65%;
font-weight: 600;
color: #515151;
}
.itemTop .discountText {
text-align: center;
padding: 0 6rpx;
color: #E34D59;
border: 2rpx solid #E34D59;
... ... @@ -426,7 +435,7 @@
}
.evaluateBox {
margin: 16rpx 84rpx 16rpx 40rpx;
margin: 0 84rpx 40rpx 40rpx;
display: flex;
align-items: center;
justify-content: space-between;
... ... @@ -464,10 +473,11 @@
height: 30rpx;
}
.page-section-spacing {
margin-top: 20rpx;
.pageSpacing {
position: relative;
display: flex;
justify-content: center;
align-items: center;
white-space: nowrap;
width: auto;
overflow-x: scroll;
... ... @@ -475,8 +485,15 @@
border-bottom-right-radius: 10rpx;
}
.imgs:nth-of-type(1) {
margin-left: 48rpx;
.pageSpacing1 {
position: relative;
display: flex;
white-space: nowrap;
width: auto;
overflow-x: scroll;
border-bottom-left-radius: 10rpx;
border-bottom-right-radius: 10rpx;
padding-left: 30rpx;
}
.scroll-view {
... ... @@ -527,6 +544,70 @@
color: #86201B;
}
/* 黑蓝过渡 */
.blackBlueGradient .reservationInfo,
.blackBlueGradient .positioningBox {
background: linear-gradient(104.24deg, #42a5ff -57.47%, #000000 55.72%, #42a5ff 182.69%);
}
.blackBlueGradient .chefText,
.blackBlueGradient .welcome,
.blackBlueGradient .rubric {
color: #0143A3;
}
/* 石绿过渡 */
.stoneGreenGradient .reservationInfo,
.stoneGreenGradient .positioningBox {
background: linear-gradient(121.52deg, #438e93 1.76%, #206864 42.99%, #206864 75.66%, #42a5ff 120.1%);
}
.stoneGreenGradient .chefText,
.stoneGreenGradient .welcome,
.stoneGreenGradient .rubric {
color: #206864;
}
/* 中国红过渡 */
.chinaRedGradient .reservationInfo,
.chinaRedGradient .positioningBox {
background: linear-gradient(309.04deg, #af231c -2.27%, #86201b 44.37%, #af231c 91.74%);
}
.chinaRedGradient .chefText,
.chinaRedGradient .welcome,
.chinaRedGradient .rubric {
color: #86201B;
}
/* 群青过渡 */
.ultramarineGradient .reservationInfo,
.ultramarineGradient .positioningBox {
background: linear-gradient(104.24deg, #4c8dad -57.47%, #0143a3 55.72%, #42a5ff 148.72%);
}
.ultramarineGradient .chefText,
.ultramarineGradient .welcome,
.ultramarineGradient .rubric {
color: #0143A3;
}
/* 深中国红 */
.crimson .reservationInfo,
.crimson .positioningBox {
background: #86201B;
}
.crimson .chefText,
.crimson .welcome,
.crimson .rubric {
color: #86201B;
}
/* 中国红 */
.chinaRed .reservationInfo,
.chinaRed .positioningBox {
... ...
... ... @@ -43,7 +43,7 @@ Page({
tableinfo: [],
StyleType: '',
showMoreTip: true,
themeColor: 'lanCaiHe',
themeColor: '',
screenHeight: '',
whiteBj: false,
},
... ... @@ -368,6 +368,7 @@ Page({
signboard = util.determine(data.signboard);
store = util.determine(data.store);
home = util.determine(data.home);
themeColor = data.lite_class;
swich_phone = reserve && reserve.swich_phone ? reserve.swich_phone : '';
if (marketing) {
is_comments = marketing.is_comments ? marketing.is_comments : '';
... ... @@ -411,6 +412,7 @@ Page({
swich_phone,
is_comments,
StyleType: res.data.type,
themeColor,
}
console.log('获取数据', {
...obj
... ... @@ -440,19 +442,6 @@ Page({
between: true
})
}
// themeColor = 'blackBlueGradient' // 黑蓝过渡
// themeColor = 'stoneGreenGradient' // 石绿过渡
// themeColor = 'chinaRedGradient' // 中国红过渡
// themeColor = 'ultramarineGradient' // 群青过渡
// themeColor = 'crimson' // 深中国红
// themeColor = 'chinaRed' // 中国红
// themeColor = 'lanCaiHe' // 蓝采和
// themeColor = 'stoneGreen' // 石绿
// themeColor = 'turmeric' // 姜黄
// themeColor = 'greenishYellow' // 苍黄
// themeColor = 'golden' // 金黄
themeColor = 'ultramarine' // 群青
// themeColor = 'moroccanBlue' // 摩洛哥蓝
if (themeColor == 'turmeric' || themeColor == 'golden') {
whiteBj = true
} else {
... ...
... ... @@ -10,39 +10,39 @@
{{home.slogan}}
</view>
</view>
<view wx:if="{{roomimage && roomimage.length>0}}" class="page-section-spacing {{roomimage.length=='1'?'centerBox':''}}">
<view wx:if="{{roomimage && roomimage.length>0}}" class="{{roomimage.length=='1'?'pageSpacing':'pageSpacing1'}}">
<view wx:for="{{roomimage}}" class="imgs" wx:key="index" bindtap="lookroom" data-item="{{item}}">
<image class="imageStyle" mode="aspectFill" src="{{item.url}}"></image>
<text>{{item.name}}</text>
</view>
</view>
<view class="begin font40r">
<view>尊敬的贵宾,您好!</view>
<view>非常感谢您选择【{{seller.name?seller.name:reserve.seller_name}}】!</view>
<view class="begin">
<view class="font40r">尊敬的贵宾,您好!</view>
<view class="font40r">非常感谢您选择【{{seller.name?seller.name:reserve.seller_name}}】!</view>
</view>
<view class="flex-11" wx:if="{{seller.date}}">
<view class="label">【日期】</view>
<view class="contentData">{{seller.date}}</view>
<view class="label font36r">【日期】</view>
<view class="contentData font36r">{{seller.date}}</view>
</view>
<view class="flex-11" wx:if="{{seller.soltName}}">
<view class="label">【餐段】</view>
<view class="contentData">{{seller.soltName}}</view>
<view class="label font36r">【餐段】</view>
<view class="contentData font36r">{{seller.soltName}}</view>
</view>
<view class="flex-11" wx:if="{{seller.tablesText}}">
<view class="label">【餐位】</view>
<view class="contentData bold">{{seller.tablesText}}</view>
<view class="label font36r">【餐位】</view>
<view class="contentData bold font36r">{{seller.tablesText}}</view>
</view>
<view class="flex-11" wx:if="{{detail.actual_pum || tableNum}}">
<view class="label">【人数】</view>
<view class="contentData">{{detail.actual_pum?detail.actual_pum:tableNum}}位</view>
<view class="label font36r">【人数】</view>
<view class="contentData font36r">{{detail.actual_pum?detail.actual_pum:tableNum}}位</view>
</view>
<view class="flex-11" wx:if="{{reserve && reserve.swich_park=='1' && reserve.park_info}}">
<view class="label">【停车】</view>
<view class="contentData">{{reserve.park_info}}</view>
<view class="label font36r">【停车】</view>
<view class="contentData font36r">{{reserve.park_info}}</view>
</view>
<view class="flex-11" wx:if="{{ swich_phone!='0' && detail.seller.phone}}">
<view class="label">【联系】</view>
<view class="contentData">{{detail.seller.phone}}</view>
<view class="label font36r">【联系】</view>
<view class="contentData font36r">{{detail.seller.phone}}</view>
</view>
<block wx:if="{{staffinfo && reserve.swich_manager=='1'}}">
<view class="handleInfo">
... ... @@ -115,6 +115,7 @@
<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="aspectFill" />
</block>
<view class="lines"></view>
</view>
</view>
<view class="introduce famousChefBox" wx:if="{{chef}}">
... ... @@ -127,6 +128,7 @@
</view>
</view>
<image src="{{chef.image}}" mode="aspectFill" />
<view class="lines"></view>
</view>
</view>
<!-- 菜品展示 swich为1展示 -->
... ... @@ -138,6 +140,7 @@
<block wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="aspectFill" />
</block>
<view class="lines"></view>
</view>
</view>
<view class="specialServices" wx:if="{{detail && detail.seller.is_open_order==1 && marketing && marketing.is_order=='1'}}">
... ...
... ... @@ -22,20 +22,34 @@
top: -68rpx;
color: #d8c46b;
font-family: FangSong;
margin: 18rpx 0 36rpx 0;
margin: 18rpx 20rpx 36rpx 20rpx;
overflow: hidden;
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.title {
text-align: center;
font-family: PingFang SC;
font-size: 72rpx;
font-size: 64rpx;
position: relative;
top: -70rpx;
color: #FFD200;
font-weight: 500;
overflow: hidden;
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
margin: 0 20rpx;
}
.begin {
margin: 20rpx 0 30rpx 30rpx;
margin: 20rpx 30rpx 30rpx 30rpx;
color: #FBF6F1;
font-family: PingFang SC;
}
... ... @@ -44,17 +58,6 @@
line-height: 64rpx;
}
.info {
text-align: center;
font-family: FangSong;
font-size: 40rpx;
background-image: -webkit-linear-gradient(bottom, #eeae74, #EEAE74);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
position: relative;
top: -68rpx;
}
.reservationInfo {
min-height: 200rpx;
padding: 20rpx 0;
... ... @@ -66,29 +69,25 @@
.reservationInfo .flex-11 {
margin-left: 30rpx;
width: 100%;
margin: 0 30rpx;
display: flex;
line-height: 60rpx;
font-family: PingFang SC;
font-size: 32rpx;
}
.label {
flex-shrink: 0;
font-family: PingFang SC;
font-size: 32rpx;
}
.contentData {
flex: 1;
line-height: 60rpx;
font-family: PingFang SC;
font-size: 32rpx;
}
.handleInfo {
margin: 50rpx 40rpx 42rpx 40rpx;
margin: 16rpx 40rpx 16rpx 40rpx;
display: flex;
justify-content: space-between;
align-items: center;
... ... @@ -96,7 +95,7 @@
.welcome {
text-align: center;
margin: 42rpx 40rpx 8rpx 40rpx;
margin: 30rpx 40rpx 16rpx 40rpx;
font-weight: 500;
letter-spacing: 2rpx;
color: #FBF6F1;
... ... @@ -121,6 +120,9 @@
.handlePhone {
height: 100rpx;
margin: 0 20rpx;
width: 45%;
overflow-y: scroll;
}
.brownFont {
... ... @@ -129,6 +131,7 @@
border: 2rpx solid #FBF6F1;
border-radius: 22rpx;
text-align: center;
width: 130rpx;
}
.brownFont:nth-of-type(1) {
... ... @@ -146,7 +149,7 @@
.positioning {
display: flex;
justify-content: center;
margin: 8rpx 30rpx 0 30rpx;
margin: 0 30rpx 0 30rpx;
display: flex;
box-sizing: border-box;
flex-direction: column;
... ... @@ -173,6 +176,7 @@
}
.positioning .name text {
width: 100%;
line-height: 50rpx;
}
... ... @@ -185,23 +189,23 @@
}
.imgMask {
margin: 20rpx 40rpx;
padding-bottom: 18rpx;
border-bottom: 2rpx solid #DBDBDB;
margin: 0 20rpx;
}
.famousChefBox .labelBox {
border-bottom: none;
.lines {
height: 2rpx;
margin: 20rpx;
margin-bottom: 20rpx;
background-color: #DBDBDB;
}
.imgMask image {
margin: 0 15rpx;
.famousChefBox .labelBox {
border-bottom: none;
}
.labelBox {
width: 100%;
display: flex;
margin-bottom: 20rpx;
margin: 0 20rpx 0 20rpx;
position: relative;
padding-bottom: 20rpx;
border-bottom: 2rpx solid #DBDBDB;
... ... @@ -232,12 +236,18 @@
}
.imgMask image {
width: 95%;
width: 100%;
display: block;
}
.famousChefBox {
.famousChefBox,
.vegetableBox {
position: relative;
margin-top: 20rpx;
}
.vegetableBox .chefText {
margin-top: 0;
}
.Introducepublic {
... ... @@ -250,7 +260,7 @@
.chefText {
font-family: PingFang SC;
margin-bottom: 20rpx;
margin: 20rpx;
font-weight: 500;
}
... ... @@ -338,6 +348,7 @@
}
.itemTop text:nth-of-type(1) {
max-width: 65%;
font-weight: 600;
color: #515151;
}
... ... @@ -509,20 +520,6 @@
height: 30rpx;
}
.page-section-spacing {
position: relative;
display: flex;
white-space: nowrap;
width: auto;
overflow-x: scroll;
border-bottom-left-radius: 10rpx;
border-bottom-right-radius: 10rpx;
}
.imgs:nth-of-type(1) {
margin-left: 100rpx;
}
.scroll-view {
white-space: nowrap;
width: 100%;
... ... @@ -559,8 +556,27 @@
border-radius: 16rpx;
}
.centerBox {
.pageSpacing {
position: relative;
display: flex;
justify-content: center;
align-items: center;
white-space: nowrap;
width: auto;
overflow-x: scroll;
border-bottom-left-radius: 10rpx;
border-bottom-right-radius: 10rpx;
}
.pageSpacing1 {
position: relative;
display: flex;
white-space: nowrap;
width: auto;
overflow-x: scroll;
border-bottom-left-radius: 10rpx;
border-bottom-right-radius: 10rpx;
padding-left: 126rpx;
}
/* 黑蓝过渡 */
... ...
... ... @@ -43,7 +43,7 @@ Page({
tableinfo: [],
StyleType: '',
showMoreTip: true,
themeColor: 'lanCaiHe',
themeColor: '',
screenHeight: '',
whiteBj: false,
},
... ... @@ -368,6 +368,7 @@ Page({
signboard = util.determine(data.signboard);
store = util.determine(data.store);
home = util.determine(data.home);
themeColor = data.lite_class;
swich_phone = reserve && reserve.swich_phone ? reserve.swich_phone : '';
if (marketing) {
is_comments = marketing.is_comments ? marketing.is_comments : '';
... ... @@ -411,6 +412,7 @@ Page({
swich_phone,
is_comments,
StyleType: res.data.type,
themeColor,
}
console.log('获取数据', {
...obj
... ... @@ -440,19 +442,6 @@ Page({
between: true
})
}
// themeColor = 'blackBlueGradient' // 黑蓝过渡
// themeColor = 'stoneGreenGradient' // 石绿过渡
// themeColor = 'chinaRedGradient' // 中国红过渡
// themeColor = 'ultramarineGradient' // 群青过渡
// themeColor = 'crimson' // 深中国红
// themeColor = 'chinaRed' // 中国红
// themeColor = 'lanCaiHe' // 蓝采和
// themeColor = 'stoneGreen' // 石绿
// themeColor = 'turmeric' // 姜黄
// themeColor = 'greenishYellow' // 苍黄
// themeColor = 'golden' // 金黄
// themeColor = 'ultramarine' // 群青
themeColor = 'moroccanBlue' // 摩洛哥蓝
if (themeColor == 'turmeric' || themeColor == 'golden') {
whiteBj = true
} else {
... ...
... ... @@ -10,7 +10,7 @@
<view class="leftLine"></view>
<view class="leftInfo font36r">{{seller.date}} {{seller.soltName}}</view>
<view class="leftInfo font36r">{{seller.time}}</view>
<view class="leftInfo font36r">{{seller.tablesText}}</view>
<view class="leftInfo font36r over">{{seller.tablesText}}</view>
<view class="leftInfo font36r tables" wx:if="{{detail.seller.phone}}">预订台 {{detail.seller.phone}}</view>
</view>
<view class="line"></view>
... ... @@ -18,7 +18,7 @@
<text>邀请函</text>
</view>
</view>
<view wx:if="{{roomimage && roomimage.length>0}}" class="page-section-spacing">
<view wx:if="{{roomimage && roomimage.length>0}}" class="{{roomimage.length=='1'?'pageSpacing':'pageSpacing1'}}">
<view wx:for="{{roomimage}}" class="imgs" wx:key="index" bindtap="lookroom" data-item="{{item}}">
<image class="imageStyle" mode="aspectFill" src="{{item.url}}"></image>
<text>{{item.name}}</text>
... ... @@ -85,7 +85,7 @@
<block wx:if="{{store}}">
<view class="imgMask">
<view class="IntroduceColor">
<view class="text font36r rubric">餐厅介绍</view>
<view class="text font36r rubric texts">餐厅介绍</view>
<view class="labelBox font24r">
{{store.introduce}}
</view>
... ... @@ -94,31 +94,34 @@
<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="aspectFill" />
</block>
<view class="lines"></view>
</view>
</block>
<block wx:if="{{chef}}">
<view class="imgMask">
<view class="IntroduceColor noneBor">
<view class="text font36r rubric">主厨介绍</view>
<view class="text font36r rubric texts">主厨介绍</view>
<view class="labelBox font24r">
{{chef.introduce}}
</view>
</view>
<image src="{{chef.image}}" mode="aspectFill" />
<view class="lines"></view>
</view>
</block>
<block wx:if="{{signboard && signboard.swich=='1'}}">
<view class="imgMask">
<view class="IntroduceColor noneBor">
<view class="text font36r rubric">特色菜品</view>
<view class="text font36r rubric texts">特色菜品</view>
</view>
<block wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="aspectFill" />
</block>
<view class="lines"></view>
</view>
</block>
<view class="specialServices" wx:if="{{detail && detail.seller.is_open_order==1 && marketing && marketing.is_order=='1'}}">
<view class="rubric">
<view class="rubric texts">
提前点餐
</view>
<view class="news">
... ... @@ -133,7 +136,7 @@
</view>
</view>
<view class="preferential" wx:if="{{marketing && (marketing.is_coupon=='1' || marketing.is_recharge=='1')}}">
<view class="rubric rubric1">
<view class="rubric rubric1 texts">
特别优惠
</view>
<!-- 当前日期要大于限制结束日期 -->
... ...
... ... @@ -5,13 +5,13 @@
top: 0;
left: 0;
width: 750rpx;
height: 770rpx;
position: relative;
padding-bottom: 20rpx;
}
.line {
width: 2rpx;
height: 364rpx;
height: 400rpx;
background: #FFD200;
margin: 0 20rpx 0 20rpx;
}
... ... @@ -86,14 +86,14 @@
.handleInfo {
margin: 0 50rpx 0 44rpx;
margin: 0 40rpx 0 40rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.chefText {
margin: 58rpx 40rpx 40rpx 40rpx;
margin: 44rpx;
text-align: right;
font-weight: 500;
padding-bottom: 24rpx;
... ... @@ -121,6 +121,9 @@
.handlePhone {
height: 100rpx;
color: #515151;
margin: 0 20rpx;
width: 45%;
overflow-y: scroll;
}
.brownFont {
... ... @@ -129,6 +132,7 @@
border: 2rpx solid #0143A3;
border-radius: 22rpx;
text-align: center;
width: 130rpx;
}
.brownFont:nth-of-type(1) {
... ... @@ -137,7 +141,7 @@
.positioning {
margin: 22rpx 40rpx 62rpx 40rpx;
margin: 22rpx 70rpx 40rpx 70rpx;
display: flex;
justify-content: space-between;
border-radius: 10rpx;
... ... @@ -157,17 +161,23 @@
.imgMask {
position: relative;
margin: 0 40rpx 20rpx 40rpx;
border-bottom: 2rpx solid #DBDBDB;
padding-bottom: 18rpx;
margin: 0 20rpx;
}
.lines {
height: 2rpx;
margin: 20rpx;
margin-bottom: 20rpx;
background-color: #DBDBDB;
}
.imgMask .IntroduceColor {
border-bottom: 2rpx solid #DBDBDB;
margin: 0 20rpx 20rpx 20rpx;
}
.IntroduceColor {
margin-bottom: 20rpx;
.texts {
margin: 0 20rpx 20rpx 0 !important;
}
.imgMask .text {
... ... @@ -181,7 +191,6 @@
.imgMask image {
display: block !important;
margin-bottom: 4rpx;
width: 100%;
display: block;
vertical-align: top;
... ... @@ -211,7 +220,7 @@
font-family: PingFang SC;
font-weight: 500;
font-size: 36rpx;
margin-bottom: 10rpx;
margin: 0 0 10rpx 20rpx;
}
.specialServices .news {
... ... @@ -228,9 +237,16 @@
justify-content: flex-end;
height: 54rpx;
margin: 20rpx 0;
padding: 16rpx 0;
}
.over {
overflow: hidden;
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.orderingFood {
padding: 0 26rpx;
... ... @@ -244,7 +260,7 @@
}
.preferential {
margin: 16rpx 40rpx 20rpx 40rpx;
margin: 0 40rpx 20rpx 40rpx;
}
.preferentialItems {
... ... @@ -287,6 +303,7 @@
}
.top text:nth-of-type(1) {
max-width: 65%;
font-weight: 600;
color: #515151;
}
... ... @@ -454,10 +471,6 @@
border-radius: 16rpx;
}
.imgs:nth-of-type(1) {
margin-left: 48rpx;
}
.scroll-view {
white-space: nowrap;
width: 100%;
... ... @@ -486,14 +499,27 @@
border-bottom-right-radius: 16rpx;
}
.page-section-spacing {
.pageSpacing {
position: relative;
display: flex;
justify-content: center;
align-items: center;
white-space: nowrap;
width: auto;
overflow-x: scroll;
border-bottom-left-radius: 10rpx;
border-bottom-right-radius: 10rpx;
}
.pageSpacing1 {
position: relative;
top: -13%;
display: flex;
white-space: nowrap;
width: auto;
overflow-x: scroll;
border-bottom-left-radius: 10rpx;
border-bottom-right-radius: 10rpx;
padding-left: 48rpx;
}
.itemsLeft {
... ...
... ... @@ -367,6 +367,7 @@ Page({
signboard = util.determine(data.signboard);
store = util.determine(data.store);
home = util.determine(data.home);
themeColor = data.lite_class;
swich_phone = reserve && reserve.swich_phone ? reserve.swich_phone : '';
if (marketing) {
is_comments = marketing.is_comments ? marketing.is_comments : '';
... ... @@ -410,6 +411,7 @@ Page({
swich_phone,
is_comments,
StyleType: res.data.type,
themeColor,
}
console.log('获取数据', {
...obj
... ... @@ -439,19 +441,6 @@ Page({
between: true
})
}
// themeColor = 'blackBlueGradient' // 黑蓝过渡
// themeColor = 'stoneGreenGradient' // 石绿过渡
// themeColor = 'chinaRedGradient' // 中国红过渡
// themeColor = 'ultramarineGradient' // 群青过渡
// themeColor = 'crimson' // 深中国红
// themeColor = 'chinaRed' // 中国红
// themeColor = 'lanCaiHe' // 蓝采和
// themeColor = 'stoneGreen' // 石绿
// themeColor = 'turmeric' // 姜黄
// themeColor = 'greenishYellow' // 苍黄
// themeColor = 'golden' // 金黄
// themeColor = 'ultramarine' // 群青
themeColor = 'moroccanBlue' // 摩洛哥蓝
if (themeColor == 'turmeric' || themeColor == 'golden') {
whiteBj = true
} else {
... ...
... ... @@ -11,7 +11,7 @@
<view class="leftLine"></view>
<view class="leftInfo font32r">{{seller.date}} {{seller.soltName}}</view>
<view class="leftInfo font32r">{{seller.time}}</view>
<view class="leftInfo font32r">{{seller.tablesText}}</view>
<view class="leftInfo font32r over">{{seller.tablesText}}</view>
<view class="leftInfo font32r" wx:if="{{detail.seller.phone}}">预订台 {{detail.seller.phone}}</view>
<view class="font32r addressInfo" bindtap="looklocation" wx:if="{{seller.addr|| reserev.seller.map_address}}">
<image src="https://qn.colorcun.com/whiteAddress.png" mode="" />
... ... @@ -19,7 +19,7 @@
</view>
</view>
</view>
<view wx:if="{{roomimage && roomimage.length>0}}" class="page-section-spacing">
<view wx:if="{{roomimage && roomimage.length>0}}" class="{{roomimage.length=='1'?'pageSpacing':'pageSpacing1'}}">
<view wx:for="{{roomimage}}" class="imgs" wx:key="index" bindtap="lookroom" data-item="{{item}}">
<image class="imageStyle" mode="aspectFill" src="{{item.url}}"></image>
<text>{{item.name}}</text>
... ... @@ -29,8 +29,8 @@
<view class="handleInfo">
<image wx:if="{{staffinfo && staffinfo.photo}}" src="{{staffinfo.photo}}" class="headerimg" mode="aspectFill"></image>
<view class="handle handlePhone">
<view class="font28r">专属服务:{{staffinfo.name}}</view>
<view class="font28r">服务电话:{{staffinfo.phone}}</view>
<view class="font28r">专属服务:{{staffinfo.name}}</view>
<view class="font28r">服务电话:{{staffinfo.phone}}</view>
</view>
<view class="handle">
<view wx:if="{{staffinfo.phone}}" class="font22r brownFont" bindtap="call">拨打电话</view>
... ... @@ -80,7 +80,7 @@
<block wx:if="{{store}}">
<view class="imgMask">
<view class="IntroduceColor">
<view class="text font36r rubric">餐厅介绍</view>
<view class="text font36r rubric texts">餐厅介绍</view>
<view class="labelBox font24r">
{{store.introduce}}
</view>
... ... @@ -89,31 +89,34 @@
<block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="aspectFill" />
</block>
<view class="lines"></view>
</view>
</block>
<block wx:if="{{chef}}">
<view class="imgMask">
<view class="IntroduceColor noneBor">
<view class="text font36r rubric">主厨介绍</view>
<view class="text font36r rubric texts">主厨介绍</view>
<view class="labelBox font24r">
{{chef.introduce}}
</view>
</view>
<image src="{{chef.image}}" mode="aspectFill" />
<view class="lines"></view>
</view>
</block>
<block wx:if="{{signboard && signboard.swich=='1'}}">
<view class="imgMask">
<view class="IntroduceColor noneBor">
<view class="text font36r rubric">特色菜品</view>
<view class="text font36r rubric texts">特色菜品</view>
</view>
<block wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<image src="{{item}}" mode="aspectFill" />
</block>
<view class="lines"></view>
</view>
</block>
<view class="specialServices" wx:if="{{detail && detail.seller.is_open_order==1 && marketing && marketing.is_order=='1'}}">
<view class="rubric">
<view class="rubric texts">
提前点餐
</view>
<view class="news">
... ...
... ... @@ -20,6 +20,13 @@
font-family: PingFang SC;
color: #FFD200;
font-weight: 500;
overflow: hidden;
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
margin-right: 20rpx;
}
.infoBox .boxLeft {
... ... @@ -33,7 +40,7 @@
width: 95%;
height: 2rpx;
background: #FFD200;
margin: 20rpx 0;
margin: 20rpx 20rpx 20rpx 0;
}
.leftInfo {
... ... @@ -43,6 +50,7 @@
flex-wrap: wrap;
word-break: break-all;
font-family: PingFang SC;
margin-right: 20rpx;
}
.infoBox {
... ... @@ -93,14 +101,14 @@
}
.handleInfo {
margin: 50rpx 50rpx 0 44rpx;
margin: 50rpx 40rpx 0 40rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.chefText {
margin: 34rpx 0 10rpx 0;
margin: 30rpx 20rpx 10rpx 20rpx;
text-align: center;
font-weight: 500;
padding-bottom: 20rpx;
... ... @@ -127,6 +135,10 @@
.handlePhone {
height: 100rpx;
color: #fff;
margin: 0 10rpx;
width: 45%;
overflow-y: scroll;
}
.brownFont {
... ... @@ -135,6 +147,7 @@
border: 2rpx solid #fff;
border-radius: 22rpx;
text-align: center;
width: 130rpx;
}
.brownFont:nth-of-type(1) {
... ... @@ -147,13 +160,24 @@
.imgMask {
position: relative;
margin: 0 40rpx 20rpx 40rpx;
border-bottom: 2rpx solid #DBDBDB;
padding-bottom: 18rpx;
margin: 0 20rpx;
}
.lines {
height: 2rpx;
margin: 20rpx;
margin-bottom: 20rpx;
background-color: #DBDBDB;
}
.imgMask .IntroduceColor {
border-bottom: 2rpx solid #DBDBDB;
margin: 0 20rpx 20rpx 20rpx;
}
.texts {
margin: 0 20rpx 20rpx 0 !important;
}
.IntroduceColor {
... ... @@ -171,7 +195,6 @@
.imgMask image {
display: block !important;
margin-bottom: 4rpx;
width: 100%;
display: block;
vertical-align: top;
... ... @@ -201,7 +224,7 @@
font-family: PingFang SC;
font-weight: 500;
font-size: 36rpx;
margin-bottom: 10rpx;
margin: 0 0 10rpx 20rpx;
}
.specialServices .news {
... ... @@ -269,7 +292,17 @@
text-align: left;
}
.over {
overflow: hidden;
word-break: break-all;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
}
.top text:nth-of-type(1) {
max-width: 65%;
font-weight: 600;
color: #515151;
}
... ... @@ -441,10 +474,6 @@
border-radius: 16rpx;
}
.imgs:nth-of-type(1) {
margin-left: 48rpx;
}
.scroll-view {
white-space: nowrap;
width: 100%;
... ... @@ -473,14 +502,31 @@
border-bottom-right-radius: 16rpx;
}
.page-section-spacing {
.pageSpacing {
position: relative;
display: flex;
justify-content: center;
align-items: center;
white-space: nowrap;
width: auto;
overflow-x: scroll;
border-bottom-left-radius: 10rpx;
border-bottom-right-radius: 10rpx;
}
.pageSpacing1 {
position: relative;
display: flex;
white-space: nowrap;
width: auto;
overflow-x: scroll;
border-bottom-left-radius: 10rpx;
border-bottom-right-radius: 10rpx;
padding-left: 48rpx;
}
.more {
height: 80rpx;
width: 100%;
... ...
... ... @@ -314,7 +314,7 @@ Page({
signboard = util.determine(data.signboard);
store = util.determine(data.store);
home = util.determine(data.home);
themeColor = data.lite_class
themeColor = data.lite_class;
swich_phone = reserve && reserve.swich_phone ? reserve.swich_phone : '';
if (marketing) {
is_comments = marketing.is_comments ? marketing.is_comments : '';
... ... @@ -358,6 +358,7 @@ Page({
swich_phone,
is_comments,
StyleType: res.data.type,
themeColor,
}
console.log('获取数据', {
...obj
... ...
... ... @@ -16,32 +16,32 @@
</view>
<view class="infoRight">
<view class="begin">
<view>尊敬的贵宾,您好!</view>
<view>非常感谢您选择【{{seller.name?seller.name:reserve.seller_name}}】!</view>
<view class="font40r">尊敬的贵宾,您好!</view>
<view class="font40r">非常感谢您选择【{{seller.name?seller.name:reserve.seller_name}}】!</view>
</view>
<view class="flex-11" wx:if="{{seller.date}}">
<view class="label">【日期】</view>
<view class="contentData">{{seller.date}}</view>
<view class="label font36r">【日期】</view>
<view class="contentData font36r">{{seller.date}}</view>
</view>
<view class="flex-11" wx:if="{{seller.soltName}}">
<view class="label">【餐段】</view>
<view class="contentData">{{seller.soltName}}</view>
<view class="label font36r">【餐段】</view>
<view class="contentData font36r">{{seller.soltName}}</view>
</view>
<view class="flex-11" wx:if="{{seller.tablesText}}">
<view class="label">【包间】</view>
<view class="contentData bold">{{seller.tablesText}}</view>
<view class="label font36r">【包间】</view>
<view class="contentData bold font36r">{{seller.tablesText}}</view>
</view>
<view class="flex-11" wx:if="{{detail.actual_pum || tableNum}}">
<view class="label">【人数】</view>
<view class="contentData">{{detail.actual_pum?detail.actual_pum:tableNum}}位</view>
<view class="label font36r">【人数】</view>
<view class="contentData font36r">{{detail.actual_pum?detail.actual_pum:tableNum}}位</view>
</view>
<view class="flex-11" wx:if="{{reserve && reserve.swich_park=='1' && reserve.park_info}}">
<view class="label">【停车】</view>
<view class="contentData">{{reserve.park_info}}</view>
<view class="label font36r">【停车】</view>
<view class="contentData font36r">{{reserve.park_info}}</view>
</view>
<view class="flex-11" wx:if="{{ swich_phone!='0' && detail.seller.phone}}">
<view class="label">【联系】</view>
<view class="contentData">{{detail.seller.phone}}</view>
<view class="label font36r">【联系】</view>
<view class="contentData font36r">{{detail.seller.phone}}</view>
</view>
<block wx:if="{{staffinfo && reserve.swich_manager=='1'}}">
<view class="handleInfo">
... ...
... ... @@ -29,7 +29,7 @@
font-size: 40rpx;
color: #D8C46B;
position: relative;
top: -68rpx;
top: -50rpx;
}
.homeImage {
... ... @@ -47,7 +47,8 @@
position: absolute;
width: 4rpx;
height: 98%;
margin: 0 16rpx 0 0;
margin: 0 20rpx 0 0;
margin-right: 20rpx;
background: linear-gradient(270deg, #eeae74 20%, #0c0f0e 124%);
}
... ... @@ -60,11 +61,10 @@
margin-top: 20rpx;
color: #000000;
font-family: PingFang SC;
font-size: 32rpx;
}
.begin view {
line-height: 50rpx;
line-height: 64rpx;
}
.flex-11 {
... ... @@ -72,14 +72,12 @@
line-height: 60rpx;
color: #000000;
font-family: PingFang SC;
font-size: 32rpx;
}
.label {
flex-shrink: 0;
color: #000000;
font-family: PingFang SC;
font-size: 32rpx;
}
.contentData {
... ... @@ -87,7 +85,6 @@
line-height: 60rpx;
color: #000000;
font-family: PingFang SC;
font-size: 32rpx;
}
.handleInfo {
... ... @@ -95,6 +92,7 @@
display: flex;
justify-content: space-between;
align-items: center;
margin: 8rpx 0;
}
.welcome {
... ... @@ -130,6 +128,9 @@
.handlePhone {
height: 100rpx;
color: #515151;
margin: 0 20rpx;
width: 45%;
overflow-y: scroll;
}
.brownFont {
... ... @@ -138,6 +139,7 @@
border: 2rpx solid #0143A3;
border-radius: 22rpx;
text-align: center;
width: 130rpx;
}
.handle text {
... ... @@ -213,11 +215,6 @@
position: relative;
}
.famousChefBox .imgMask,
.vegetableBox .imgMask {
margin: 0 0 18rpx 0;
}
.imgMask image {
height: calc(100vw * 0.82) !important;
}
... ... @@ -235,7 +232,7 @@
}
.shopName {
margin: 16rpx 0 20rpx 0;
margin: 22rpx 0;
color: #ffffff;
font-family: PingFang SC;
}
... ... @@ -361,7 +358,7 @@
.englishText {
font-family: PingFang SC;
margin: 30rpx 0 0 0;
margin: 20rpx 0 0 0;
color: #b39437;
}
... ... @@ -390,6 +387,10 @@
justify-content: flex-end;
}
.famousChefBox .labelBox .label {
margin-right: 0;
}
.specialServices {
margin: 16rpx 40rpx;
border-bottom: 2rpx solid #DBDBDB;
... ... @@ -477,6 +478,7 @@
}
.top text:nth-of-type(1) {
max-width: 65%;
font-weight: 600;
color: #515151;
}
... ... @@ -623,7 +625,7 @@
}
.evaluateBox {
margin: 16rpx 84rpx 16rpx 40rpx;
margin: 20rpx 84rpx 40rpx 40rpx;
display: flex;
align-items: center;
justify-content: space-between;
... ...
... ... @@ -43,7 +43,7 @@ Page({
tableinfo: [],
StyleType: '',
showMoreTip: true,
themeColor: 'lanCaiHe',
themeColor: '',
screenHeight: '',
},
tablestr: '',
... ... @@ -411,6 +411,7 @@ Page({
swich_phone,
is_comments,
StyleType: res.data.type,
themeColor,
}
console.log('获取数据', {
...obj
... ...
... ... @@ -29,12 +29,10 @@
.reservationInfo .flex-11 {
margin-left: 30rpx;
width: 100%;
margin: 0 30rpx;
display: flex;
line-height: 70rpx;
font-family: PingFang SC;
font-size: 32rpx;
align-items: center;
}
... ... @@ -83,6 +81,11 @@
.handlePhone {
height: 100rpx;
margin: 0 20rpx;
color: #515151;
margin: 0 20rpx;
width: 45%;
overflow-y: scroll;
}
.brownFont {
... ... @@ -91,6 +94,7 @@
border: 2rpx solid #FBF6F1;
border-radius: 22rpx;
text-align: center;
width: 130rpx;
}
.brownFont:nth-of-type(1) {
... ... @@ -126,7 +130,7 @@
}
.positioning .name {
width: 80%;
width: 95%;
display: flex;
align-items: center;
font-family: PingFang SC;
... ... @@ -136,6 +140,7 @@
.positioning .name text {
line-height: 50rpx;
width: 100%;
}
.positioning .name text:nth-of-type(2) {
... ... @@ -306,12 +311,13 @@
}
.itemTop text:nth-of-type(1) {
max-width: 65%;
font-weight: 600;
color: #515151;
}
.itemTop .discountText {
padding: 0 6rpx;
text-align: center;
color: #E34D59;
border: 2rpx solid #E34D59;
border-radius: 6rpx;
... ...
... ... @@ -149,7 +149,7 @@ Page({
}
} else {
if (opt.hasInvitation == 1 && configType) {
url = '/pages/customer/detail_owner_invitation_new' + configType;
url = '/pages/customer/detail_owner_invitation' + configType;
} else if (res.data.openid == opt.openid) {
url = '/pages/customer/detail_owner';
} else {
... ...
... ... @@ -600,7 +600,7 @@
{
"name": "邀请函-----2",
"pathName": "pages/customer/detail_owner_invitation2",
"query": "id=401339&hasInvitation=1&hasSellerShare=1&tplid=1",
"query": "id=400725&hasInvitation=1&hasSellerShare=1&tplid=1",
"launchMode": "default",
"scene": null
},
... ...