Commit ee53d991c01e5e5dd639d4f4c179634522c85042

Authored by yiren
1 parent 7cc86d75

”新邀请函”

# Windows
[Dd]esktop.ini
Thumbs.db
$RECYCLE.BIN/
# macOS
.DS_Store
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
# Node.js
node_modules/
... ...
... ... @@ -54,7 +54,8 @@
"pages/pinglun/mylist",
"pages/reserve/reserve",
"pages/tcads/cmyy",
"pages/pinglun/video"
"pages/pinglun/video",
"pages/customer/detail_owner_invitation_new"
],
"requiredPrivateInfos":[
"getLocation",
... ...
... ... @@ -38,11 +38,21 @@
class="split">
<view class="min-but flex align-center justify-center txt-30-h solid">取消预订</view>
</navigator>
<navigator url="/pages/customer/detail_owner_invitation?id={{detail.id}}&hasInvitation=1&hasSellerShare=1&tplid=1"
wx:if="{{detail.hasRunning}}"
class="split">
<view class="min-but flex align-center justify-center txt-30-h solid line-blue">通知好友</view>
</navigator>
<block wx:if="{{detail.sid=='677'}}">
<navigator url="/pages/customer/detail_owner_invitation_new?id={{detail.id}}&hasInvitation=1&hasSellerShare=1&tplid=1"
wx:if="{{detail.hasRunning}}"
class="split">
<view class="min-but flex align-center justify-center txt-30-h solid line-blue">通知好友</view>
</navigator>
</block>
<block wx:else>
<navigator url="/pages/customer/detail_owner_invitation?id={{detail.id}}&hasInvitation=1&hasSellerShare=1&tplid=1"
wx:if="{{detail.hasRunning}}"
class="split">
<view class="min-but flex align-center justify-center txt-30-h solid line-blue">通知好友</view>
</navigator>
</block>
<navigator url="/pages/pinglun/create?sid={{detail.seller.id}}&oid={{detail.id}}&sellername={{detail.seller.sellername}}"
wx:if="{{detail.hasFinished && hasComment}}"
class="split">
... ...
// pages/customer/detail_owner_invitation_new.js
var mta = require('mta-wechat-analysis')
import util from '../../utils/util';
import App from '../../utils/api';
import TP from '../../utils/tpls';
import RS from '../../utils/reserveStatus'
Page({
/**
* 页面的初始数据
*/
data: {
options: {
tplid: ''
},
between: false,
id: null,
msgTpl: '',
chef: {},
marketing: {},
home: {},
reserve: {},
signboard: {},
store: {},
homeColor: '',
current: 0,
theme: 'blackGold', //blue green blackGold
seller: {
name: '',
room: '',
date: '',
addr: ''
},
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
this.id = options.id
let param = {
options: options,
hasOwner: options.hasSellerShare == 1, //是否为发起人
}
param.tpls = [TP.tpls(options.tplid)]
console.log(param);
console.log(options);
this.setData(param)
mta.Page.init({
"appID": "500667280",
"eventID": "500667287",
"statPullDownFresh": true,
"statShareApp": true,
"statReachBottom": true,
"lauchOpts": options, //渠道分析
});
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {
return this.sharesetting();
},
onShareTimeline() {
return this.sharesetting();
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
this.getSellerTemplateConf();
this.getDetail();
},
cli() {
wx.setClipboardData({
data: this.data.reserve.manager_wechat,
success(res) {
wx.getClipboardData({
success(res) {
console.log(res.data) // data
}
})
}
})
},
call() {
wx.reportMonitor('1012', 1)
wx.makePhoneCall({
phoneNumber: this.data.reserve.manager_phone
})
},
looklocation: function () {
wx.reportMonitor('1015', 1)
wx.openLocation({
latitude: Number(this.data.reserve.lat),
longitude: Number(this.data.reserve.long),
scale: 17,
address: this.data.reserve.address,
success: function (res) {
console.log(res)
}
})
},
getDetail() {
App.Reserve.Detail({
openid: getApp().openid,
rid: this.data.options.id
}).then(res => {
let tables = [], //桌子信息
regions = []; //区域名称
res.data.tables.forEach(t => {
tables.push(t.name);
if (regions.indexOf('t.rname') == -1) {
regions.push(t.rname);
}
})
let reserev = RS.reserve(res.data)
let dateSmart
if (res.data.type == 1) {
dateSmart = util.unixtoTime(reserev.ddate, this.data.tpls[this.data.current].timeStrSmart[0])
if (res.data.is_set_ddate == 1) {
dateSmart += ' ' + util.unixtoTime(reserev.ddate, this.data.tpls[this.data.current].timeStrSmart[1])
} else {
dateSmart += ' ' + reserev.soltName
}
} else {
dateSmart = util.unixtoTime(reserev.ddate, this.data.tpls[this.data.current].timeStr)
}
this.setData({
detail: this.formatDatail(reserev, dateSmart),
seller: {
name: reserev.seller.sellername,
room: tables.join('、'),
date: dateSmart,
region: regions.join('、'),
addr: reserev.seller.real_address || reserev.seller.map_address,
image: reserev.image_url,
hasOwner: true,
type: reserev.type,
is_set_ddate: reserev.is_set_ddate,
hasUpTime: reserev.type == 1 && reserev.hasRunning && reserev.status != 2,
tel: reserev.seller.seller_tel.split(',')[0],
soltName: reserev.soltName
}
})
console.log(this.data.detail);
})
},
cookbook() {
if (this.data.detail.order && this.data.detail.order.cookbooklist.length > 0) {
wx.navigateTo({
url: util.http_build_query({
rid: this.id,
oid: this.data.detail.order.id,
identity: 1
}, '/pack-cookbook/pages/success')
});
} else {
App.Advance.CreateOrder({
rid: this.id,
openid: getApp().openid,
}).then(res => {
if (res.ret != 200) {
return util.toast(res.msg, 'none')
}
wx.navigateTo({
url: util.http_build_query({
rid: this.id,
oid: res.data.id,
identity: 1,
sid: res.data.sellerid
}, '/pack-cookbook/pages/index')
});
})
}
},
noopen(e) {
let mark = e.currentTarget.dataset.mark;
wx.showToast({
title: '该商家未开通' + (mark == 'buy' ? '提前点餐' : '在线买单'),
duration: 2000,
mask: true
})
},
sharesetting() {
wx.reportMonitor('1017', 1)
let parmdata = {
id: this.id,
fromid: getApp().openid,
hasInvitation: 1,
tplid: this.data.options.tplid,
}
if (this.data.options.uid) {
parmdata.uid = this.data.options.uid;
}
return {
title: this.data.tpls[0].shareTitle,
path: util.http_build_query(parmdata, '/pages/customer/index'),
imageUrl: this.data.tpls[0].shareImage,
}
},
formatDatail(detail, dateSmart) {
detail.rdateStr = dateSmart;
detail.tableFirst = detail.tables[0].name;
if (detail.tables.length > 1) {
detail.tableSubInfo = '等' + (detail.tables.length) + '个' +
(detail.tables[0].tid == 2 ? '包间' : '');
}
if (detail.rname && detail.sex != 3) {
detail.rnameStr = detail.rname.substr(0, 1) + (detail.sex == 1 ? '先生' : '女士')
} else {
detail.rnameStr = detail.rname
}
detail.eatStr = '邀请您共进晚餐';
let hi = util.unixtoTime(detail.ddate, 'HHII');
if (hi < '10:00') {
detail.eatStr = '邀请您共进早餐';
} else if (hi < '15:00') {
detail.eatStr = '邀请您共进午餐';
}
return detail;
},
getSellerTemplateConf() {
App.Seller.GetSellerTemplateConf({
sid: '4352'
}).then(res => {
let home = JSON.parse(res.data.home)
let chef = JSON.parse(res.data.chef)
let marketing = JSON.parse(res.data.marketing)
let reserve = JSON.parse(res.data.reserve)
let signboard = JSON.parse(res.data.signboard)
let store = JSON.parse(res.data.store)
store.images = eval(store.images)
signboard.images = eval(signboard.images)
if (marketing.is_online && marketing.is_arrival && marketing.is_transpond) {
this.setData({
between: true
})
}
this.setData({
chef,
marketing,
home,
reserve,
signboard,
store,
homeColor: home.red + ',' + home.green + ',' + home.blue + ',' + home.alpha, //home主题颜色
})
if (home.red == '1' && home.green == '67' && home.blue == '163') {
this.setData({
theme: 'blue'
})
}
if (home.red == '67' && home.green == '142' && home.blue == '147') {
this.setData({
theme: 'green'
})
}
if (home.red == '12' && home.green == '15' && home.blue == '14') {
this.setData({
theme: 'blackGold'
})
}
console.log('chef', JSON.parse(res.data.chef));
console.log('home', JSON.parse(res.data.home));
console.log('marketing', JSON.parse(res.data.marketing));
console.log('reserve', JSON.parse(res.data.reserve));
console.log('signboard', JSON.parse(res.data.signboard));
console.log('store', store);
})
},
secondbook() {
wx.reportMonitor('1013', 1)
if (this.data.list) {
wx.navigateTo({
url: './discount?sid=' + this.data.detail.seller.id + '&id=' + this.data.options.id
})
} else {
wx.redirectTo({
url: '../reserve/detail?id=' + this.data.detail.seller.id
})
}
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})
\ No newline at end of file
... ...
{
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "white",
"navigationBarTitleText": "",
"usingComponents": {
"nav": "/components/nav/nav"
}
}
\ No newline at end of file
... ...
<!--pages/customer/detail_owner_invitation_new.wxml-->
<wxs src="../../utils/util.wxs" module="util" />
<import src="../tpl/invitation"></import>
<nav hasHome class="navhome" place="{{true}}">
</nav>
<scroll-view class="last-book-bg" style="line-height: 1.4;height:{{height}}px;" scroll-y>
<view class="titleImg" style="background: rgba({{homeColor}});">
<image src="{{theme=='green'?'https://qn.colorcun.com/1571679628800_.pic.jpg':theme=='blue'?'https://qn.colorcun.com/1561679628784_.pic.jpg':theme=='blackGold'?'https://qn.colorcun.com/1551679628682_.pic.jpg':''}}" class="titleIcon"></image>
<view class="title {{theme+'Title'}}">{{home.title}}</view>
<view class="info {{theme+'Info'}}">
{{home.slogan}}
</view>
</view>
<image src="{{home.image}}" class="homeImage" mode="widthFix"></image>
<view class="reservationInfo flex-ll">
<view class="line">
</view>
<view class="infoRight">
<view class="begin">
<view>尊敬的贵宾,您好!</view>
<view>非常感谢您选择{{reserve.seller_name}}!</view>
</view>
<view class="flex-11">
<view class="label">【日期】</view>
<view class="contentData">{{seller.date}}</view>
</view>
<view class="flex-11">
<view class="label">【市别】</view>
<view class="contentData">{{seller.soltName}}</view>
</view>
<view class="flex-11">
<view class="label">【包间】</view>
<view class="contentData">{{seller.region}}{{seller.room}}</view>
</view>
<view class="flex-11">
<view class="label">【人数】</view>
<!-- <view class="contentData">{{reserve.numderPeople}}位</view> -->
</view>
<view class="flex-11">
<view class="label">【地址】</view>
<view class="contentData">{{reserve.address}}</view>
</view>
<view class="flex-11">
<view class="label">【停车】</view>
<view class="contentData">{{reserve.park_info}}</view>
</view>
<view class="flex-11">
<view class="label">【联系】</view>
<view class="contentData">{{reserve.seller_phone}}</view>
</view>
<view class="welcome">
欢迎垂询,恭候光临!
</view>
<block wx:if="{{detail.sid!='677'}}">
<view class="handleInfo">
<image src="{{reserve.manager_image}}" class="headerimg" mode="aspectFill"></image>
<view class="handle">
<text>专属服务:{{reserve.manager_phone}}</text>
<text>服务电话:{{reserve.manager_wechat}}</text>
</view>
<view class="handle">
<view class="font22r brownFont" bindtap="call">拨打电话</view>
<view class="font22r brownFont" bindtap="cli">复制微信号</view>
</view>
</view>
</block>
</view>
</view>
<view class="positioning" bindtap="looklocation">
<image src="https://qn.colorcun.com/1541679628682_.pic.jpg" mode="" />
<view class="name">
<text>{{reserve.seller_name}}</text>
<text>{{reserve.address}}</text>
</view>
</view>
<!-- <view class="visitor">
确认赴约客人:{{keepAppointment.length}}位
</view>
<view class="keepWrap">
<view class="keepItems" wx:for="{{keepAppointment}}" wx:key="keepAppointment.key">
<image src="{{item.photo}}" mode="" />
<view>
{{item.name}}
</view>
</view>
</view> -->
<!-- 品牌介绍类型store.style 0无介绍 1图文合并 2图文分开 -->
<view class="introduce" wx:if="{{store.style=='1'}}">
<view class="IntroductionItems" wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<view class="imgMask">
<image src="{{item}}" mode="" />
<view class="IntroduceColor chief Introducepublic {{theme+'chief'}}" wx:if="{{arryIndex=='0'}}">
<view class="englishText">Introduce</view>
<view class="chefText">品牌介绍</view>
<view class="shopName">
{{store .seller_name}}
</view>
<view class="labelBox">
<view class="line">
</view>
<view class="label">{{store.introduce}}
</view>
</view>
</view>
</view>
</view>
</view>
<view class="introduce" wx:if="{{store.style=='2'}}">
<view class="IntroductionItems" wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<view class="imgMask">
<view class="IntroduceColor styleSeparate" wx:if="{{arryIndex=='0'}}">
<view class="englishText">Introduce</view>
<view class="chefText">品牌介绍</view>
<view class="shopName styleShopName">
{{store .seller_name}}
</view>
<view class="labelBox">
<view class="line">
</view>
<view class="label styleLabel">{{store.introduce}}
</view>
</view>
</view>
<image src="{{item}}" mode="" />
</view>
</view>
</view>
<!-- 知名主厨类型chef.style 0无介绍 1图文合并 2图文分开 -->
<view class="introduce famousChefBox" wx:if="{{chef.style=='1'}}">
<view class="IntroductionItems">
<view class="imgMask">
<image src="{{chef.image}}" mode="widthFix" />
<view class="IntroduceColor Introducepublic {{theme+'chief'}}">
<view class="englishText">Chief Cook</view>
<view class="chefText">知名主厨</view>
<view class="shopName">
{{chef.chef_name}}
</view>
<view class="labelBox labelBox1">
<view class="label">{{chef.introduce}}
</view>
<view class="line">
</view>
</view>
</view>
</view>
</view>
</view>
<view class="introduce famousChefBox" wx:if="{{chef.style=='2'}}">
<view class="IntroductionItems">
<view class="imgMask">
<view class="IntroduceColor styleSeparate2">
<view class="englishText">Chief Cook</view>
<view class="chefText">知名主厨</view>
<view class="shopName styleShopName">
{{chef .chef_name}}
</view>
<view class="labelBox labelBox1">
<view class="line">
</view>
<view class="label styleLabel">{{chef .introduce}}
</view>
</view>
</view>
<image src="{{chef.image}}" mode="" />
</view>
</view>
</view>
<view class="introduce vegetableBox" wx:if="{{signboard.swich=='1'}}">
<view class="IntroductionItems" wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
<view class="imgMask">
<image src="{{item}}" mode="widthFix" />
<view class="IntroduceColor Introducepublic {{theme+'chief'}}" wx:if="{{arryIndex=='0'}}">
<view class="englishText">Favorites</view>
<view class="chefText">菜品展示</view>
</view>
</view>
</view>
</view>
<view class="specialServices" wx:if="{{detail.seller.is_open_order==1 && !detail.hasOvered && !detail.hasCancel}}">
<view class="rubric">
特供服务
</view>
<view class="news">
本店特为贵宾提供提前点餐服务,您现在可以选菜下单,到店就餐时无需等待服务员点餐,可以直接享受就餐服务^_^
</view>
<view class="endStyle">
<block wx:if="{{detail.seller.is_open_order==1 && !detail.hasOvered && !detail.hasCancel}}">
<block wx:if="{{detail && detail.seller.is_open_order==1}}">
<view class="last-book-food flex-cc orderingFood" bindtap="cookbook">
<view class="white-font font30r smooth">去点餐</view>
</view>
</block>
<block wx:else>
<view class="last-book-food flex-ll orderingFood" bindtap="noopen" data-mark="buy">
<view class="white-font font30r smooth">去点餐</view>
</view>
</block>
</block>
</view>
</view>
<view class="preferential" wx:if="{{marketing.is_coupon=='1' || marketing.is_recharge=='1'}}">
<view class="rubric rubric1">
特别优惠
</view>
<view class="preferentialItems" wx:if="{{marketing.is_coupon=='1'}}">
<view class="left">
<view class="top">
<text>200元代金券</text>
<text class="price">¥100</text>
<text class="discount">5折</text>
</view>
<view class="bottom">
周一到周五可用,消费满600元可用一张。
</view>
</view>
<view class="font24r orderingFood">
去抢购
</view>
</view>
<view class="preferentialItems" wx:if="{{marketing.is_recharge=='1'}}">
<view class="left">
<view class="top">
<text>充1000赠300</text>
</view>
<view class="bottom">
会员充值满1000元赠余额200元;会员充值满1000元赠送50元代金券;会员充值满1000元赠50元菜品。
</view>
</view>
<view class="font24r orderingFood">
去充值
</view>
</view>
</view>
<view class="vips">
<image src="{{marketing.logo}}" mode="widthFix" />
<view class="news">
{{marketing.wecomle}}
</view>
<!-- <view wx:if="{{marketing.is_link}}" class="font24r favouredPolicy">
点击了解更多会员优惠政策
</view> -->
<view class="text">
{{reserve.seller_name}}
</view>
</view>
</scroll-view>
<view class="{{between?'all-button flex-lr between':'all-button flex-lr'}}">
<!-- <view wx:if="{{marketing.is_online}}" class="book-item-font second-book-button flex-cc font30r" bindtap="secondbook" style="position: relative;">再次预订
</view> -->
<!-- <view wx:if="{{marketing.is_arrival}}" class="book-item-font second-book-button flex-cc font30r centerBtn" bindtap="secondbook" style="position: relative;">确认赴约
</view> -->
<block>
<button wx:if="{{marketing.is_transpond}}" class="book-item-font flex-cc font30r shareItem" open-type="share">转发给客人
</button>
</block>
</view>
\ No newline at end of file
... ...
/* pages/customer/detail_owner_invitation_new.wxss */
@import "../tpl/tpls.wxss";
.titleImg {
top: 160rpx;
left: 1rpx;
width: 750rpx;
height: 330rpx;
}
.blueTitleImg {
background: #0143A3;
}
.greenTitleImg {
background: #438E93;
}
.blackGoldTitleImg {
background: #0C0F0E;
}
.titleIcon {
width: 250rpx;
height: 132rpx;
}
.title {
text-align: center;
font-family: FangSong;
font-size: 72rpx;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
position: relative;
top: -16rpx;
background-image: -webkit-linear-gradient(bottom, #697d6e, #cfb53b);
}
.blueTitle {
background-image: -webkit-linear-gradient(bottom, #697d6e, #cfb53b);
}
.greenTitle {
background-image: -webkit-linear-gradient(bottom, #83a06b, #cfb53b);
}
.blackGoldTitle {
background-image: -webkit-linear-gradient(bottom, #663712, #c76216);
}
.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: -16rpx;
}
.blueInfo {
background-image: -webkit-linear-gradient(bottom, #817d8a, #eeae74);
}
.greenInfo {
background-image: -webkit-linear-gradient(bottom, #999e84, #edae74);
}
.blackGoldInfo {
background-image: -webkit-linear-gradient(bottom, #866545, #eeae74);
}
.homeImage {
width: 100%;
}
.reservationInfo {
display: flex;
min-height: 200rpx;
padding: 0 26rpx;
position: relative;
}
.reservationInfo .line {
position: absolute;
width: 4rpx;
height: 95%;
margin: 0 16rpx 0 0;
background: linear-gradient(270deg, #eeae74 20%, #0c0f0e 124%);
}
.infoRight {
flex: 1;
margin-left: 30rpx;
}
.begin {
margin: 20rpx 0 30rpx 0;
color: #000000;
font-family: PingFang SC;
font-size: 28rpx;
}
.flex-11 {
display: flex;
line-height: 40rpx;
color: #000000;
font-family: PingFang SC;
font-size: 28rpx;
}
.label {
flex-shrink: 0;
color: #000000;
font-family: PingFang SC;
font-size: 28rpx;
}
.contentData {
flex: 1;
line-height: 40rpx;
color: #000000;
font-family: PingFang SC;
font-size: 28rpx;
}
.handleInfo {
width: 100%;
margin-top: 20rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.welcome {
margin: 20rpx 0;
}
.visitor {
margin: 30rpx 40rpx;
color: #515151;
font-family: PingFang SC;
font-weight: 500;
font-size: 36rpx;
}
.headerimg {
width: 140rpx;
height: 140rpx;
border-radius: 71rpx;
}
.handle {
display: flex;
flex-direction: column;
color: #999999;
font-family: PingFang SC;
font-weight: 500;
font-size: 24rpx;
}
.brownFont {
padding: 4rpx 16rpx;
color: #0143A3;
border: 2rpx solid #0143A3;
border-radius: 22rpx;
text-align: center;
}
.brownFont:nth-of-type(1) {
margin-bottom: 30rpx;
}
.handle text {
margin-bottom: 20rpx;
}
.positioning {
margin: 16rpx 26rpx;
display: flex;
box-sizing: border-box;
justify-content: center;
background: #D9D9D9;
padding: 16rpx 20rpx 16rpx 30rpx;
border-radius: 10rpx;
align-items: center;
}
.positioning image {
width: 52rpx;
height: 61rpx;
margin-right: 38rpx;
}
.positioning .name {
width: 80%;
display: flex;
flex-direction: column;
color: #000000;
font-family: PingFang SC;
font-size: 28rpx;
}
.keepWrap {
margin: 20rpx 70rpx;
display: flex;
flex-wrap: wrap;
border-bottom: 2rpx solid #DBDBDB;
}
.keepItems {
width: 50%;
display: flex;
margin-bottom: 28rpx;
align-items: center;
color: #999999;
font-family: PingFang SC;
font-weight: 500;
font-size: 24rpx;
}
.keepItems image {
width: 60rpx;
height: 60rpx;
margin-right: 20rpx;
}
.introduce {
box-sizing: border-box;
}
.imgMask {
position: relative;
}
.introduce .chief {
top: 0;
left: 0;
width: 60%;
height: 100%;
padding-left: 20rpx;
}
.shopName {
margin-bottom: 30rpx;
color: #ffffff;
font-family: FangSong;
font-size: 30rpx;
}
.styleShopName {
color: #515151;
}
.labelBox {
width: 100%;
display: flex;
margin-bottom: 30rpx;
position: relative;
}
.labelBox .label {
width: 90%;
line-height: 40rpx;
margin: 0 20rpx;
color: #ffffff;
font-family: FangSong;
font-size: 20rpx;
}
.labelBox .styleLabel {
color: #999999;
}
.labelBox .line {
position: absolute;
width: 4rpx;
height: 100%;
margin: 0 16rpx 0 0;
background: linear-gradient(270deg, rgba(238, 174, 116, 1) 20%, rgba(12, 15, 14, 1) 124%);
}
.labelBox1 .line {
margin: 0 0 0 16rpx;
}
.IntroductionItems image {
width: 100%;
display: block;
}
.IntroductionItems {
margin-bottom: 18rpx;
}
.famousChefBox {
position: relative;
}
.Introducepublic {
position: absolute;
z-index: 5;
display: flex;
flex-direction: column;
font-size: 28rpx;
line-height: 50rpx;
box-sizing: border-box;
}
.famousChefBox .IntroduceColor {
top: 0;
right: 0;
color: #B39437;
padding: 0 20rpx 0 0;
width: 50%;
height: 100%;
box-sizing: border-box;
}
.famousChefBox .styleSeparate2 {
width: 100%;
text-align: right;
box-sizing: border-box;
}
.vegetableBox .IntroduceColor {
top: 0;
right: 0;
padding-left: 20rpx;
width: 100%;
height: 128rpx;
}
.styleSeparate {
padding-left: 26rpx;
}
.vegetableBox .englishText {
margin: 10rpx 0 0 0;
color: #b39437;
}
.englishText {
font-family: FangSong;
font-size: 28rpx;
margin: 30rpx 0 0 0;
color: #b39437;
}
.chefText {
font-family: FangSong;
font-size: 28rpx;
color: #b39437;
}
.famousChefBox .englishText {
text-align: right;
}
.famousChefBox .chefText {
text-align: right;
}
.greenchief {
background: linear-gradient(180deg, #438e93 0%, #438e934d 100%);
}
.bluechief {
background: linear-gradient(180deg, #0143a3 0%, #0143a34d 100%);
}
.blackGoldchief {
background: linear-gradient(180deg, #0c0f0e 0%, #0c0f0e4d 100%);
}
.famousChefBox text {
text-align: right;
}
.famousChefBox .shopName {
text-align: right;
}
.famousChefBox .labelBox {
justify-content: flex-end;
}
.specialServices {
margin: 16rpx 40rpx;
border-bottom: 2rpx solid #DBDBDB;
}
.rubric {
color: #515151;
font-family: PingFang SC;
font-weight: 500;
font-size: 36rpx;
margin-bottom: 10rpx;
}
.specialServices .news {
color: #515151;
font-family: PingFang SC;
font-weight: 500;
font-size: 24rpx;
line-height: 40rpx;
margin-left: 20rpx;
}
.endStyle {
display: flex;
}
.endStyle view:nth-of-type(1) {
flex: 1;
}
.orderingFood {
padding: 4rpx 20rpx;
color: #fff;
border-radius: 22rpx;
text-align: center;
background: linear-gradient(104.24deg, #4c8dad -57.47%, #0143a3 55.72%, #42a5ff 148.72%);
margin: 20rpx 0;
line-height: 50rpx;
height: 50rpx;
}
.preferential {
margin: 16rpx 40rpx;
}
.preferentialItems {
border: 2rpx solid #DBDBDB;
border-radius: 16rpx;
padding: 16rpx 16rpx 16rpx 24rpx;
margin-bottom: 20rpx;
display: flex;
justify-content: space-between;
}
.rubric1 {
margin: 30rpx 0;
}
.left {
flex: 1;
margin-right: 20rpx;
}
.top {
display: flex;
width: 100%;
align-items: center;
}
.bottom {
margin-top: 20rpx;
color: #515151;
font-family: PingFang SC;
font-weight: 500;
font-size: 20rpx;
display: -webkit-box;
word-break: break-all;
word-wrap: break-word;
overflow: hidden;
text-align: left;
}
.top text:nth-of-type(1) {
font-size: 30rpx;
font-weight: 600;
}
.top .discount {
padding: 0 10rpx;
color: #E34D59;
border: 2rpx solid #E34D59;
border-radius: 6rpx;
margin: 0 10rpx 0 20rpx;
font-family: PingFang SC;
font-size: 14rpx;
}
.top .price {
color: #E34D59;
}
.vips image {
width: 80%;
margin-top: 36rpx;
}
.vips {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding-bottom: 180rpx;
}
.vips .news {
text-align: center;
color: #000000;
font-family: FangSong;
font-size: 40rpx;
margin: 40rpx 0 92rpx 0;
}
.vips .text {
text-align: center;
color: #515151;
font-family: FangSong;
font-size: 28rpx;
margin: 20rpx 0;
}
.favouredPolicy {
width: 60%;
color: #999999;
font-family: PingFang SC;
font-weight: 500;
border: 2rpx solid #0244a4;
border-radius: 22rpx;
text-align: center;
padding: 10rpx;
}
.last-book-bg {
background: transparent;
}
.all-button {
background: #FAFAFA;
height: 160rpx;
padding: 0 40rpx;
box-sizing: border-box;
z-index: 100;
justify-content: flex-end;
}
.between {
justify-content: space-between;
}
.centerBtn {
margin: 0 20rpx;
}
.second-book-button {
margin-right: 20rpx;
}
.book-item-font {
width: 25%;
border: 2rpx solid #0143A3;
color: #0143A3;
height: 46%;
border-radius: 42rpx;
}
.shareItem {
width: 100%;
margin: 0;
background: #fff;
color: #0244a4;
}
\ No newline at end of file
... ...
... ... @@ -361,6 +361,10 @@ export default {
hasDisabledRMT:true,
},
//获取商家设置预订安排模板页面
'App.Seller.GetSellerTemplateConf':{
hasDisabledRMT:true,
},
//置满包间分类
'App.Seller.SetTableClassFull':{
... ...