Commit 74cfc99b7d96b0d3db3bea8c2519fbaa94ad4f70

Authored by pengye
1 parent dc438b06

邀请函新模板6、模板7

@@ -64,7 +64,8 @@ @@ -64,7 +64,8 @@
64 "pages/customer/detail_owner_invitation3", 64 "pages/customer/detail_owner_invitation3",
65 "pages/customer/detail_owner_invitation4", 65 "pages/customer/detail_owner_invitation4",
66 "pages/customer/detail_owner_invitation5", 66 "pages/customer/detail_owner_invitation5",
67 - "pages/customer/detail_owner_invitation6" 67 + "pages/customer/detail_owner_invitation6",
  68 + "pages/customer/detail_owner_invitation7"
68 ], 69 ],
69 "requiredPrivateInfos": [ 70 "requiredPrivateInfos": [
70 "getLocation", 71 "getLocation",
@@ -314,6 +314,7 @@ Page({ @@ -314,6 +314,7 @@ Page({
314 signboard = util.determine(data.signboard); 314 signboard = util.determine(data.signboard);
315 store = util.determine(data.store); 315 store = util.determine(data.store);
316 home = util.determine(data.home); 316 home = util.determine(data.home);
  317 + themeColor = data.lite_class
317 swich_phone = reserve && reserve.swich_phone ? reserve.swich_phone : ''; 318 swich_phone = reserve && reserve.swich_phone ? reserve.swich_phone : '';
318 if (marketing) { 319 if (marketing) {
319 is_comments = marketing.is_comments ? marketing.is_comments : ''; 320 is_comments = marketing.is_comments ? marketing.is_comments : '';
@@ -386,19 +387,6 @@ Page({ @@ -386,19 +387,6 @@ Page({
386 between: true 387 between: true
387 }) 388 })
388 } 389 }
389 - themeColor = 'blackBlueGradient' // 黑蓝过渡  
390 - themeColor = 'stoneGreenGradient' // 石绿过渡  
391 - themeColor = 'chinaRedGradient' // 中国红过渡  
392 - themeColor = 'ultramarineGradient' // 群青过渡  
393 - themeColor = 'crimson' // 深中国红  
394 - themeColor = 'chinaRed' // 中国红  
395 - themeColor = 'lanCaiHe' // 蓝采和  
396 - themeColor = 'stoneGreen' // 石绿  
397 - themeColor = 'turmeric' // 姜黄  
398 - // themeColor = 'greenishYellow' // 苍黄  
399 - // themeColor = 'golden' // 金黄  
400 - // themeColor = 'ultramarine' // 群青  
401 - // themeColor = 'moroccanBlue' // 摩洛哥蓝  
402 if (themeColor == 'turmeric' || themeColor == 'golden') { 390 if (themeColor == 'turmeric' || themeColor == 'golden') {
403 whiteBj = true 391 whiteBj = true
404 } else { 392 } else {
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 </nav> 4 </nav>
5 <scroll-view scroll-y class="{{themeColor}}"> 5 <scroll-view scroll-y class="{{themeColor}}">
6 <view class="titleImg"> 6 <view class="titleImg">
7 - <image src="https://qn.colorcun.com/leaf.png" class="titleIcon"></image> 7 + <image src="{{whiteBj?'https://qn.colorcun.com/whiteBj1.png':'https://qn.colorcun.com/leaf.png'}}" class="titleIcon"></image>
8 <view class="title">{{home?home.title:seller.name}}</view> 8 <view class="title">{{home?home.title:seller.name}}</view>
9 <view class="info"> 9 <view class="info">
10 {{home.slogan}} 10 {{home.slogan}}
@@ -267,7 +267,7 @@ @@ -267,7 +267,7 @@
267 display: -webkit-box; 267 display: -webkit-box;
268 -webkit-box-orient: vertical; 268 -webkit-box-orient: vertical;
269 -webkit-line-clamp: 10; 269 -webkit-line-clamp: 10;
270 - padding-left: 20rpx; 270 + padding: 0 20rpx;
271 } 271 }
272 272
273 .labelBox2 .label { 273 .labelBox2 .label {
  1 +// pages/customer/detail_owner_invitation7.js
  2 +var mta = require('mta-wechat-analysis')
  3 +import util from '../../utils/util';
  4 +import App from '../../utils/api';
  5 +import TP from '../../utils/tpls';
  6 +import RS from '../../utils/reserveStatus'
  7 +Page({
  8 + /**
  9 + * 页面的初始数据
  10 + */
  11 + data: {
  12 + options: {
  13 + tplid: ''
  14 + },
  15 + tableNum: 0,
  16 + detail: {},
  17 + staffinfo: {},
  18 + between: false,
  19 + chef: {},
  20 + marketing: {},
  21 + home: {},
  22 + reserve: {},
  23 + signboard: {},
  24 + store: {},
  25 + recharge_data: {},
  26 + coupon_dataList: [],
  27 + stringifyUse: '',
  28 + current: 0,
  29 + seller: {
  30 + name: '',
  31 + tablesText: '',
  32 + date: '',
  33 + addr: ''
  34 + },
  35 + priceInfo: '',
  36 + scoreInfo: '',
  37 + discount: '',
  38 + certificate: '',
  39 + dataStr: Date.now() * 1 / 1000,
  40 + swich_phone: '0',
  41 + is_comments: '0',
  42 + is_user_comments: false,
  43 + tableinfo: [],
  44 + StyleType: '',
  45 + showMoreTip: true,
  46 + themeColor: 'lanCaiHe',
  47 + screenHeight: '',
  48 + },
  49 + tablestr: '',
  50 + urlsValue: [],
  51 + screenHeight: '',
  52 + /**
  53 + * 生命周期函数--监听页面加载
  54 + */
  55 + onLoad(options) {
  56 + this.id = options.id
  57 + let param = {
  58 + options: options,
  59 + hasOwner: options.hasSellerShare == 1, //是否为发起人
  60 + }
  61 + param.tpls = [TP.tpls(options.tplid)]
  62 + console.log(param);
  63 + console.log(options);
  64 + this.setData(param)
  65 + mta.Page.init({
  66 + "appID": "500667280",
  67 + "eventID": "500667287",
  68 + "statPullDownFresh": true,
  69 + "statShareApp": true,
  70 + "statReachBottom": true,
  71 + "lauchOpts": options, //渠道分析
  72 + });
  73 + const systemInfo = wx.getSystemInfoSync();
  74 + this.screenHeight = systemInfo.windowHeight; // 获取屏幕高度
  75 + },
  76 + // 页面滚动事件
  77 + onPageScroll: function (event) {
  78 + const scrollTop = event.scrollTop * 1 + this.screenHeight - 80; // 获取滚动的距离
  79 + if (scrollTop < this.screenHeight) {
  80 + this.setData({
  81 + showMoreTip: true
  82 + });
  83 + } else {
  84 + this.setData({
  85 + showMoreTip: false
  86 + });
  87 + }
  88 + },
  89 + // 点击了解更多会员优惠政策
  90 + gotoFavourableList() {
  91 + let url = util.http_build_query({
  92 + sellerName: this.data.seller.name,
  93 + sellerid: this.data.seller.sid,
  94 + oid: this.data.detail.id,
  95 + types: '1'
  96 + }, '/pack-cookbook/pages/favourableList')
  97 + wx.navigateTo({
  98 + url
  99 + })
  100 + },
  101 + // 去评价
  102 + evaluateFun() {
  103 + let url = util.http_build_query({
  104 + sellerName: this.data.seller.name,
  105 + sellerid: this.data.seller.sid,
  106 + oid: this.data.detail.id,
  107 + types: '1',
  108 + previousPage: '1',
  109 + }, '/pages/pinglun/createOpinion')
  110 + wx.navigateTo({
  111 + url
  112 + })
  113 + },
  114 + /**
  115 + * 用户点击右上角分享
  116 + */
  117 + onShareAppMessage: function () {
  118 + return this.sharesetting();
  119 + },
  120 + /**
  121 + * 监听用户点击分享到朋友圈按钮的操作
  122 + */
  123 + onShareTimeline() {
  124 + return this.sharesetting();
  125 + },
  126 + /**
  127 + * 生命周期函数--监听页面显示
  128 + */
  129 + onShow: function () {
  130 + this.getDetail()
  131 + },
  132 + // 复制微信号
  133 + copyWeChat() {
  134 + if (this.data.staffinfo.wechat) {
  135 + wx.setClipboardData({
  136 + data: this.data.staffinfo.wechat,
  137 + success(res) {
  138 + wx.getClipboardData({
  139 + success(res) {
  140 + console.log(res.data) // data
  141 + }
  142 + })
  143 + }
  144 + })
  145 + } else {
  146 + console.log('无微信号')
  147 + }
  148 + },
  149 + // 拨打电话
  150 + call() {
  151 + wx.reportMonitor('1012', 1)
  152 + wx.makePhoneCall({
  153 + phoneNumber: this.data.staffinfo.phone
  154 + })
  155 + },
  156 + // 导航
  157 + looklocation: function () {
  158 + wx.reportMonitor('1015', 1)
  159 + wx.openLocation({
  160 + latitude: Number(this.data.seller.lat),
  161 + longitude: Number(this.data.seller.long),
  162 + scale: 17,
  163 + address: this.data.seller.addr,
  164 + success: function (res) {
  165 + console.log(res)
  166 + }
  167 + })
  168 + },
  169 + // 获取包间图片列表
  170 + getroomimage(sellerid) {
  171 + App.Tables.GetTablesPhoto({
  172 + sellerid,
  173 + tableids: this.tablestr
  174 + }).then((json) => {
  175 + if (json.ret == 200) {
  176 + this.setData({
  177 + roomimage: json.data
  178 + })
  179 + var urlsArr = [];
  180 + json.data.forEach((v, i) => {
  181 + urlsArr.push(v.url);
  182 + })
  183 + this.urlsValue = urlsArr;
  184 + console.log('urlsArr', urlsArr)
  185 + console.log('roomimage', json.data)
  186 + }
  187 + })
  188 + },
  189 + // 预览包间图片
  190 + lookroom(e) {
  191 + const item = e.currentTarget.dataset['item'];
  192 + wx.previewImage({
  193 + current: item.url, // 当前显示图片的http链接
  194 + urls: this.urlsValue, // 需要预览的图片http链接列表
  195 + })
  196 + },
  197 + // 获取店铺详情
  198 + getDetail() {
  199 + App.Reserve.Detail({
  200 + openid: getApp().openid,
  201 + rid: this.data.options.id
  202 + }).then(res => {
  203 + let tablesText = '', //桌子信息
  204 + tableNum = 0;
  205 + let tableinfo = util.determine(res.data.tableinfo);
  206 + console.log('tableinfo', tableinfo);
  207 + res.data.tables.forEach((t, i) => {
  208 + tableNum += t.table_pnum * 1
  209 + tablesText += t.rname + t.name + (i == (res.data.tables.length - 1) ? '' : '、');
  210 + })
  211 + let tabaleids = [];
  212 + res.data.tables.forEach(t => {
  213 + tabaleids.push(t.id);
  214 + })
  215 + this.tablestr = tabaleids.toString();
  216 + let reserev = RS.reserve(res.data)
  217 + let dateSmart
  218 + if (res.data.type == 1) {
  219 + dateSmart = util.unixtoTime(reserev.ddate, 'YYYY年MM月DD日 星期WW')
  220 + if (res.data.is_set_ddate == 1) {
  221 + dateSmart += ' ' + util.unixtoTime(reserev.ddate, 'YYYY年MM月DD日 星期WW')
  222 + } else {
  223 + dateSmart += ' ' + reserev.soltName
  224 + }
  225 + } else {
  226 + dateSmart = util.unixtoTime(reserev.ddate, 'YYYY年MM月DD日 星期WW')
  227 + }
  228 + console.log('dateSmart', dateSmart);
  229 + this.setData({
  230 + detail: this.formatDatail(reserev, dateSmart),
  231 + tableNum,
  232 + tableinfo,
  233 + is_user_comments: res.data.is_user_comments,
  234 + seller: {
  235 + name: reserev.seller.sellername,
  236 + sid: reserev.sid,
  237 + date: dateSmart,
  238 + tablesText,
  239 + addr: reserev.seller.real_address || reserev.seller.map_address,
  240 + image: reserev.image_url,
  241 + hasOwner: true,
  242 + type: reserev.type,
  243 + is_set_ddate: reserev.is_set_ddate,
  244 + hasUpTime: reserev.type == 1 && reserev.hasRunning && reserev.status != 2,
  245 + tel: reserev.seller.seller_tel.split(',')[0],
  246 + soltName: reserev.soltName,
  247 + time: util.unixtoTime(reserev.ddate, '星期WW HH:II'),
  248 + lat: reserev.seller.lat,
  249 + long: reserev.seller.long,
  250 + }
  251 + })
  252 + console.log('reserev reserev', reserev);
  253 + console.log('seller seller', this.data.seller);
  254 + console.log('detail detail', this.data.detail);
  255 + setTimeout(() => {
  256 + this.getSellerTemplateConfFun(reserev.sid);
  257 + this.getstaffinfo(res.data.uid)
  258 + this.getroomimage(reserev.sid)
  259 + }, 0);
  260 + }).catch(res => {
  261 + console.log(res, '详情请求失败');
  262 + })
  263 + },
  264 + // 客户经理获取基本信息
  265 + getstaffinfo(uid) {
  266 + console.log('sellerid', this.data.detail.seller.id);
  267 + App.Activity.GetCustomerActivityBaseinfo({
  268 + sellerid: this.data.detail.seller.id,
  269 + uid
  270 + }).then((json) => {
  271 + if (json.ret == 200) {
  272 + console.log('staffinfostaffinfostaffinfo', json.data)
  273 + this.setData({
  274 + staffinfo: json.data
  275 + })
  276 + }
  277 + })
  278 + },
  279 + // 提前点餐
  280 + cookbook() {
  281 + if (this.data.detail.order && this.data.detail.order.cookbooklist.length > 0) {
  282 + let data = {
  283 + rid: this.id,
  284 + oid: this.data.detail.order.id,
  285 + sellerName: this.data.seller.name,
  286 + sid: this.data.seller.sid,
  287 + identity: '1',
  288 + hasSuccess: '1',
  289 + }
  290 + wx.navigateTo({
  291 + url: `/pack-cookbook/pages/success_new?hasSuccess=${data.hasSuccess}&identity=${data.identity}&oid=${data.oid}&rid=${data.rid}&sellerName=${data.sellerName}&sid=${data.sid}`,
  292 + })
  293 + } else {
  294 + App.Advance.CreateOrder({
  295 + rid: this.id,
  296 + openid: getApp().openid,
  297 + }).then(res => {
  298 + if (res.ret != 200) {
  299 + return util.toast(res.msg, 'none')
  300 + }
  301 + wx.navigateTo({
  302 + url: util.http_build_query({
  303 + rid: this.id,
  304 + oid: res.data.id,
  305 + sid: res.data.sellerid,
  306 + sellerName: this.data.seller.name,
  307 + identity: '1',
  308 + }, '/pack-cookbook/pages/index_new')
  309 + });
  310 + })
  311 + }
  312 + },
  313 + // 分享
  314 + sharesetting() {
  315 + wx.reportMonitor('1017', 1)
  316 + let parmdata = {
  317 + id: this.id,
  318 + fromid: getApp().openid,
  319 + hasInvitation: 1,
  320 + tplid: this.data.options.tplid
  321 + }
  322 + if (this.data.options.uid) {
  323 + parmdata.uid = this.data.options.uid;
  324 + }
  325 + console.log('seller_imageseller_imageseller_imageseller_imageseller_image', this.data.detail.seller.seller_image);
  326 + return {
  327 + title: '邀请您于' + this.data.seller.date + '一起共进' + this.data.seller.soltName + '。点击查看详情',
  328 + path: util.http_build_query(parmdata, '/pages/customer/index'),
  329 + imageUrl: this.data.detail.seller.seller_image,
  330 + }
  331 + },
  332 + // 修改detail数据
  333 + formatDatail(detail, dateSmart) {
  334 + detail.rdateStr = dateSmart;
  335 + detail.tableFirst = detail.tables[0].name;
  336 + if (detail.tables.length > 1) {
  337 + detail.tableSubInfo = '等' + (detail.tables.length) + '个' +
  338 + (detail.tables[0].tid == 2 ? '包间' : '');
  339 + }
  340 + if (detail.rname && detail.sex != 3) {
  341 + detail.rnameStr = detail.rname.substr(0, 1) + (detail.sex == 1 ? '先生' : '女士')
  342 + } else {
  343 + detail.rnameStr = detail.rname
  344 + }
  345 + detail.eatStr = '邀请您共进晚餐';
  346 + let hi = util.unixtoTime(detail.ddate, 'HHII');
  347 + if (hi < '10:00') {
  348 + detail.eatStr = '邀请您共进早餐';
  349 + } else if (hi < '15:00') {
  350 + detail.eatStr = '邀请您共进午餐';
  351 + }
  352 + return detail;
  353 + },
  354 + // 获取商家设置营销信息
  355 + getSellerTemplateConfFun(sid) {
  356 + console.log(sid, 'sidsidsidsid');
  357 + App.Seller.GetSellerTemplateConf({
  358 + sid
  359 + }).then(res => {
  360 + let data = res.data
  361 + console.log('data', data);
  362 + let coupon_dataList = []
  363 + let themeColor, home, chef, marketing, coupon, reserve, swich_phone, is_comments, signboard, store, priceInfo, certificate, scoreInfo, recharge_list, stringifyUse;
  364 + chef = util.determine(data.chef);
  365 + reserve = util.determine(data.reserve);
  366 + marketing = util.determine(data.marketing);
  367 + signboard = util.determine(data.signboard);
  368 + store = util.determine(data.store);
  369 + home = util.determine(data.home);
  370 + themeColor = data.lite_class
  371 + swich_phone = reserve && reserve.swich_phone ? reserve.swich_phone : '';
  372 + if (marketing) {
  373 + is_comments = marketing.is_comments ? marketing.is_comments : '';
  374 + coupon = marketing.coupon_data ? util.determine(marketing.coupon_data) : '';
  375 + }
  376 + // is_cash 代金券 is_discount折扣券 is_dish菜品券 只有代金券有几折显示
  377 + if (coupon && util.getType(coupon) == 'object') {
  378 + coupon.stringifyUse = JSON.stringify(coupon.use)
  379 + if (marketing.is_coupon == '1' && coupon && (!coupon.use.is_cash || coupon.use.is_cash == '1')) {
  380 + let cash = coupon.use.cash * 1;
  381 + let price = coupon.price * 1;
  382 + console.log('cash', cash + '---' + 'price', price + '---' + 'discount', ((price / cash) * 10).toFixed(1));
  383 + coupon.discount = cash != 0 ? ((price / cash) * 10).toFixed(1) : '';
  384 + }
  385 + coupon_dataList.push(coupon);
  386 + }
  387 + if (coupon && util.getType(coupon) == 'array') {
  388 + if (coupon.length > 0) {
  389 + coupon.forEach(item => {
  390 + item.stringifyUse = JSON.stringify(item.use)
  391 + if ((!item.use.is_cash || item.use.is_cash == '1')) {
  392 + let cash = item.use.cash * 1;
  393 + let price = item.price * 1;
  394 + console.log('cash', cash + '---' + 'price', price + '---' + 'discount', ((price / cash) * 10).toFixed(1));
  395 + item.discount = cash != 0 ? ((price / cash) * 10).toFixed(1) : '';
  396 + }
  397 + })
  398 + }
  399 + coupon_dataList = coupon;
  400 + }
  401 + let obj = {
  402 + chef,
  403 + reserve,
  404 + marketing,
  405 + signboard,
  406 + store,
  407 + home,
  408 + stringifyUse,
  409 + coupon,
  410 + coupon_dataList,
  411 + swich_phone,
  412 + is_comments,
  413 + StyleType: res.data.type,
  414 + }
  415 + console.log('获取数据', {
  416 + ...obj
  417 + });
  418 + if (marketing && marketing.is_recharge == '1' && marketing.recharge_data) {
  419 + let recharge_data = marketing.recharge_data
  420 + recharge_list = marketing.recharge_data.recharge_list
  421 + if (recharge_list.is_price == '1') priceInfo = '会员充值满' + recharge_data.recharge_money + '元赠送' + recharge_list.price + '元余额';
  422 + if (recharge_list.is_score == '1') scoreInfo = '会员充值满' + recharge_data.recharge_money + '元赠送' + recharge_list.score + '积分';
  423 + if (recharge_list.is_coupons == '1' && recharge_data.recharge_list.coupons_names.length > 0) certificate = recharge_data.recharge_list.coupons_names.join('、');
  424 + console.log('scoreInfo', scoreInfo);
  425 + console.log('priceInfo', priceInfo);
  426 + this.setData({
  427 + recharge_data: marketing.recharge_data,
  428 + certificate
  429 + })
  430 + console.log('recharge_data', recharge_data);
  431 + }
  432 + this.setData({
  433 + coupon_dataList,
  434 + stringifyUse
  435 + })
  436 + if (store && store.images.length > 0) store.images = util.determine(store.images);
  437 + if (signboard && signboard.images) signboard.images = util.determine(signboard.images);
  438 + if (marketing && marketing.is_online_book == '1' && marketing.is_transpond == '1') {
  439 + this.setData({
  440 + between: true
  441 + })
  442 + }
  443 + this.setData({
  444 + chef,
  445 + marketing,
  446 + home,
  447 + reserve,
  448 + signboard,
  449 + store,
  450 + priceInfo,
  451 + scoreInfo,
  452 + swich_phone,
  453 + is_comments,
  454 + StyleType: res.data.type,
  455 + themeColor,
  456 + })
  457 + }).catch(res => {
  458 + console.log('GetSellerTemplateConf请求失败');
  459 + })
  460 + },
  461 + // 再次预订
  462 + secondbook() {
  463 + wx.reportMonitor('1013', 1)
  464 + wx.redirectTo({
  465 + url: '../reserve/detail?id=' + this.data.detail.seller.id
  466 + })
  467 + },
  468 + /**
  469 + * 生命周期函数--监听页面隐藏
  470 + */
  471 + onHide() {
  472 +
  473 + },
  474 +
  475 + /**
  476 + * 生命周期函数--监听页面卸载
  477 + */
  478 + onUnload() {
  479 +
  480 + },
  481 +
  482 + /**
  483 + * 页面相关事件处理函数--监听用户下拉动作
  484 + */
  485 + onPullDownRefresh() {
  486 +
  487 + },
  488 +
  489 + /**
  490 + * 页面上拉触底事件的处理函数
  491 + */
  492 + onReachBottom() {
  493 +
  494 + },
  495 +})
  1 +{
  2 + "navigationBarBackgroundColor": "#ffffff",
  3 + "navigationBarTextStyle": "white",
  4 + "navigationBarTitleText": "",
  5 + "usingComponents": {
  6 + "nav": "/components/nav/nav"
  7 + }
  8 +}
  1 +<!--pages/customer/detail_owner_invitation7.wxml-->
  2 +<import src="../tpl/invitation"></import>
  3 +<nav hasHome class="navhome" place="{{true}}"></nav>
  4 +<scroll-view scroll-y class="{{themeColor}}">
  5 + <view class="reservationInfo">
  6 + <image wx:if="{{home.image}}" src="{{home.image}}" class="homeImage" mode="aspectFill"></image>
  7 + <view class="begin">
  8 + <view class="font40r">尊敬的贵宾,您好!非常感谢您选择</view>
  9 + <view class="centerBox font40r">【{{seller.name?seller.name:reserve.seller_name}}】</view>
  10 + </view>
  11 + <view class="flex-11" wx:if="{{seller.date}}">
  12 + <view class="label font36r">【日期】</view>
  13 + <view class="contentData font36r">{{seller.date}}</view>
  14 + </view>
  15 + <view class="flex-11" wx:if="{{seller.soltName}}">
  16 + <view class="label font36r">【餐段】</view>
  17 + <view class="contentData font36r">{{seller.soltName}}</view>
  18 + </view>
  19 + <view class="flex-11" wx:if="{{seller.tablesText}}">
  20 + <view class="label font36r">【餐位】</view>
  21 + <view class="contentData font36r">{{seller.tablesText}}</view>
  22 + </view>
  23 + <view class="flex-11" wx:if="{{detail.actual_pum || tableNum}}">
  24 + <view class="label font36r">【人数】</view>
  25 + <view class="contentData font36r">{{detail.actual_pum?detail.actual_pum:tableNum}}位</view>
  26 + </view>
  27 + <view class="flex-11" wx:if="{{reserve && reserve.swich_park=='1' && reserve.park_info}}">
  28 + <view class="label font36r">【停车】</view>
  29 + <view class="contentData font36r">{{reserve.park_info}}</view>
  30 + </view>
  31 + <view class="flex-11" wx:if="{{ swich_phone!='0' && detail.seller.phone}}">
  32 + <view class="label font36r">【联系】</view>
  33 + <view class="contentData font36r">{{detail.seller.phone}}</view>
  34 + </view>
  35 + <view wx:if="{{roomimage && roomimage.length>0}}" class="{{roomimage.length=='1'?'pageSpacing':'pageSpacing1'}}">
  36 + <view wx:for="{{roomimage}}" class="imgs" wx:key="index" bindtap="lookroom" data-item="{{item}}">
  37 + <image class="imageStyle" mode="aspectFill" src="{{item.url}}"></image>
  38 + <text>{{item.name}}</text>
  39 + </view>
  40 + </view>
  41 + <block wx:if="{{staffinfo && reserve.swich_manager=='1'}}">
  42 + <view class="handleInfo">
  43 + <image wx:if="{{staffinfo && staffinfo.photo}}" src="{{staffinfo.photo}}" class="headerimg" mode="aspectFill"></image>
  44 + <view class="handle handlePhone">
  45 + <view>专属服务:{{staffinfo.name}}</view>
  46 + <view>服务电话:{{staffinfo.phone}}</view>
  47 + </view>
  48 + <view class="handle">
  49 + <view wx:if="{{staffinfo.phone}}" class="font22r brownFont" bindtap="call">拨打电话</view>
  50 + <view wx:if="{{staffinfo.wechat}}" class="font22r brownFont" bindtap="copyWeChat">复制微信号</view>
  51 + </view>
  52 + </view>
  53 + </block>
  54 + <view class="welcome font32r">
  55 + {{home.slogan}}
  56 + </view>
  57 + <view class="positioning" bindtap="looklocation">
  58 + <view class="name">
  59 + <image src="https://qn.colorcun.com/address.png" mode="" />
  60 + <text class="font36r">{{seller.addr|| reserev.seller.map_address}}</text>
  61 + </view>
  62 + </view>
  63 + </view>
  64 + <view class="preferential" wx:if="{{marketing && marketing.is_coupon=='1' && coupon_dataList.length>0}}">
  65 + <block wx:for="{{coupon_dataList}}" wx:key="index" wx:for-index="index">
  66 + <view class="preferentialItems" wx:if="{{dataStr<(item.etime*1)}}">
  67 + <view class="itemLeft">
  68 + <view class="itemTop">
  69 + <text class="font28r">{{item.aname}}</text>
  70 + <view class="priceText font24r" wx:if="{{item.price}}">
  71 + <view class="icons font24r">¥</view>{{item.price}}
  72 + </view>
  73 + <!-- is_cash 代金券 is_discount折扣券 is_dish菜品券 只有代金券有几折显示 -->
  74 + <text wx:if="{{item.discount!='0.00' && (item.use.is_cash=='1' || item.use.is_cash) && item.discount}}" class="discountText font24r">{{item.discount}}折</text>
  75 + </view>
  76 + <view wx:if="{{item.exp_date.is_week=='1' || item.exp_date.is_week===true}}" class="bottom font24r">
  77 + {{item.exp_date.week_show?item.exp_date.week_show+'可用':''}}{{item.desc?','+item.desc+'。':'。'}}
  78 + </view>
  79 + <view wx:if="{{item.exp_date.is_none=='1' || item.exp_date.is_none===true}}" class="bottom font24r">
  80 + 无限制{{item.desc?','+item.desc+'。':'。'}}
  81 + </view>
  82 + <view wx:if="{{item.exp_date.is_birthday=='1' || item.exp_date.is_birthday===true}}" class="bottom font24r">
  83 + 会员生日当天可用{{item.desc?','+item.desc+'。':'。'}}
  84 + </view>
  85 + </view>
  86 + <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">
  87 + <view class="font24r orderingFood">
  88 + 抢购
  89 + </view>
  90 + </navigator>
  91 + </view>
  92 + </block>
  93 + </view>
  94 + <view wx:if="{{is_comments=='1' && !is_user_comments}}" class="evaluateBox" bindtap="evaluateFun">
  95 + <text wx:if="{{is_comments=='1' && marketing.is_comments_coupon!='1'}}">想吐槽?戳这里填写意见!--></text>
  96 + <text wx:if="{{marketing.is_comments_coupon=='1'}}">想吐槽?戳这里填写意见反馈赢好礼!</text>
  97 + <image src="https://qn.colorcun.com/evaluate.png" mode="" />
  98 + </view>
  99 + <view class="introduce" wx:if="{{store}}">
  100 + <view class="imgMask">
  101 + <view class="IntroduceColor">
  102 + <view class="chefText font36r">餐厅介绍</view>
  103 + <view class="labelBox">
  104 + <text class="texts">{{store.introduce}}
  105 + </text>
  106 + </view>
  107 + </view>
  108 + <view class="chefText texts1 font36r">餐厅环境</view>
  109 + <block wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
  110 + <image src="{{item}}" mode="aspectFill" />
  111 + </block>
  112 + <view class="lines"></view>
  113 + </view>
  114 + </view>
  115 + <view class="introduce famousChefBox" wx:if="{{chef}}">
  116 + <view class="imgMask">
  117 + <view class="IntroduceColor">
  118 + <view class="chefText font36r">主厨介绍</view>
  119 + <view class="labelBox">
  120 + <text class="texts">{{chef.introduce}}
  121 + </text>
  122 + </view>
  123 + </view>
  124 + <image src="{{chef.image}}" mode="aspectFill" />
  125 + <view class="lines"></view>
  126 + </view>
  127 + </view>
  128 + <!-- 菜品展示 swich为1展示 -->
  129 + <view class="introduce vegetableBox" wx:if="{{signboard && signboard.swich=='1'}}">
  130 + <view class="imgMask">
  131 + <view class="IntroduceColor Introducepublic">
  132 + <view class="chefText font36r">特色菜品</view>
  133 + </view>
  134 + <block wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex">
  135 + <image src="{{item}}" mode="aspectFill" />
  136 + </block>
  137 + <view class="lines"></view>
  138 + </view>
  139 + </view>
  140 + <view class="specialServices" wx:if="{{detail && detail.seller.is_open_order==1 && marketing && marketing.is_order=='1'}}">
  141 + <view class="rubric">
  142 + 提前点餐
  143 + </view>
  144 + <view class="news">
  145 + 本店特为贵宾提供提前点餐服务,您现在可以选菜下单,到店就餐时无需等待服务员点餐,可以直接享受就餐服务^_^
  146 + </view>
  147 + <view class="endStyle">
  148 + <view class="book-item-font second-book-button flex-cc font30r cook" style="position: relative;">
  149 + <view wx:if="{{detail && detail.seller.is_open_order==1 && marketing && marketing.is_order=='1'}}" class="menu-item menu-seller-item flex-ll" bindtap="cookbook">
  150 + 去点餐
  151 + </view>
  152 + </view>
  153 + </view>
  154 + </view>
  155 + <view class="preferential" wx:if="{{marketing && (marketing.is_coupon=='1' || marketing.is_recharge=='1')}}">
  156 + <view class="rubric rubric1">
  157 + 特别优惠
  158 + </view>
  159 + <!-- 当前日期要大于限制结束日期 -->
  160 + <view class="preferentialItems" wx:if="{{marketing && marketing.is_recharge=='1' && recharge_data && (is_fix!='1' || (is_fix=='1' && dataStr<(recharge_data.exp_date.fix_edate*1)))}}">
  161 + <view class="itemLeft">
  162 + <view class="itemTop font28r">
  163 + <text>{{recharge_data.rname}}</text>
  164 + </view>
  165 + <view class="itemBottom font24r" wx:if="{{priceInfo}}">
  166 + {{priceInfo}}{{(recharge_data.recharge_list.is_coupons=='0' && recharge_data.recharge_list.is_score=='0')?'。':';'}}
  167 + </view>
  168 + <view class="bottom font24r" wx:if="{{scoreInfo}}">
  169 + {{scoreInfo}}{{recharge_data.recharge_list.is_coupons=='0'?'。':';'}}
  170 + </view>
  171 + <view class="bottom font24r" wx:if="{{recharge_data.recharge_list.is_coupons=='1'}}">
  172 + {{recharge_data.recharge_list.is_coupons=='1'?'会员充值满'+marketing.recharge_data.recharge_money+'元赠送'+certificate:''}}。
  173 + </view>
  174 + </view>
  175 + <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">
  176 + <view class="font24r orderingFood">
  177 + 抢购
  178 + </view>
  179 + </navigator>
  180 + </view>
  181 + </view>
  182 + <view class="vips">
  183 + <view wx:if="{{marketing.is_link}}" class="font24r favouredPolicy" bindtap="gotoFavourableList">
  184 + 点击了解更多会员优惠政策
  185 + </view>
  186 + </view>
  187 + <view class="{{(!marketing || (marketing.is_transpond!='1' && marketing.is_online_book!='1'))?'more more1':'more'}}" wx:if="{{showMoreTip}}">
  188 + <view class="moreText">滑动查看更多</view>
  189 + <image src="https://qn.colorcun.com/jt1.png" mode="" />
  190 + </view>
  191 +</scroll-view>
  192 +<view wx:if="{{marketing.is_transpond=='1' || marketing.is_online_book=='1'}}" class="{{between?'all-button flex-lr between':'all-button flex-lr sharewidth'}}">
  193 + <view wx:if="{{marketing.is_online_book=='1'}}" class="book-item-font second-book-button flex-cc font30r" bindtap="secondbook" style="position: relative;">再次预订
  194 + </view>
  195 + <button wx:if="{{marketing.is_transpond=='1'}}" class="book-item-font flex-cc font30r shareItem" open-type="share">转发给客人
  196 + </button>
  197 +</view>
  1 +/* pages/customer/detail_owner_invitation7.wxss */
  2 +@import "../tpl/tpls.wxss";
  3 +
  4 +.homeImage {
  5 + width: 100%;
  6 +}
  7 +
  8 +.begin {
  9 + margin: 20rpx 30rpx 30rpx 30rpx;
  10 + color: #FBF6F1;
  11 + font-family: PingFang SC;
  12 +}
  13 +
  14 +.begin view {
  15 + line-height: 64rpx;
  16 +}
  17 +
  18 +.centerBox {
  19 + text-align: center;
  20 + margin-top: 20rpx;
  21 +}
  22 +
  23 +.reservationInfo {
  24 + min-height: 200rpx;
  25 + padding-bottom: 20rpx;
  26 + position: relative;
  27 + color: #FBF6F1;
  28 +}
  29 +
  30 +
  31 +.reservationInfo .flex-11 {
  32 + margin-left: 30rpx;
  33 + width: 100%;
  34 + display: flex;
  35 + line-height: 70rpx;
  36 + font-family: PingFang SC;
  37 + font-size: 32rpx;
  38 + align-items: center;
  39 +}
  40 +
  41 +.label {
  42 + flex-shrink: 0;
  43 + font-family: PingFang SC;
  44 +}
  45 +
  46 +.contentData {
  47 + flex: 1;
  48 + line-height: 60rpx;
  49 + font-family: PingFang SC;
  50 +}
  51 +
  52 +.handleInfo {
  53 + margin: 50rpx 40rpx 42rpx 40rpx;
  54 + display: flex;
  55 + justify-content: space-between;
  56 + align-items: center;
  57 +}
  58 +
  59 +.welcome {
  60 + text-align: center;
  61 + margin: 42rpx 40rpx 16rpx 40rpx;
  62 + font-weight: 500;
  63 + letter-spacing: 2rpx;
  64 + color: #FBF6F1;
  65 +}
  66 +
  67 +.headerimg {
  68 + width: 140rpx;
  69 + height: 140rpx;
  70 + border-radius: 71rpx;
  71 +}
  72 +
  73 +.handle {
  74 + display: flex;
  75 + flex-direction: column;
  76 + color: #FBF6F1;
  77 + font-family: PingFang SC;
  78 + font-weight: 500;
  79 + font-size: 26rpx;
  80 + height: 110rpx;
  81 + justify-content: space-between;
  82 +}
  83 +
  84 +.handlePhone {
  85 + height: 100rpx;
  86 +}
  87 +
  88 +.brownFont {
  89 + padding: 8rpx 16rpx;
  90 + color: #FBF6F1;
  91 + border: 2rpx solid #FBF6F1;
  92 + border-radius: 22rpx;
  93 + text-align: center;
  94 +}
  95 +
  96 +.brownFont:nth-of-type(1) {
  97 + margin-bottom: 10rpx;
  98 +}
  99 +
  100 +.handle text {
  101 + margin-bottom: 20rpx;
  102 +}
  103 +
  104 +.handle text:nth-of-type(2) {
  105 + margin-bottom: 0;
  106 +}
  107 +
  108 +.positioning {
  109 + display: flex;
  110 + justify-content: center;
  111 + margin: 8rpx 30rpx 0 30rpx;
  112 + display: flex;
  113 + box-sizing: border-box;
  114 + flex-direction: column;
  115 + background: #FBF6F1;
  116 + padding: 20rpx;
  117 + border-radius: 16rpx;
  118 + flex: 1;
  119 + color: #000;
  120 +}
  121 +
  122 +.positioning image {
  123 + width: 32rpx;
  124 + height: 38rpx;
  125 + margin-right: 20rpx;
  126 +}
  127 +
  128 +.positioning .name {
  129 + width: 80%;
  130 + display: flex;
  131 + align-items: center;
  132 + font-family: PingFang SC;
  133 + font-size: 28rpx;
  134 + margin-top: 10rpx;
  135 +}
  136 +
  137 +.positioning .name text {
  138 + line-height: 50rpx;
  139 +}
  140 +
  141 +.positioning .name text:nth-of-type(2) {
  142 + text-indent: 8rpx;
  143 +}
  144 +
  145 +.introduce {
  146 + box-sizing: border-box;
  147 +}
  148 +
  149 +.imgMask {
  150 + margin: 0 20rpx;
  151 +}
  152 +
  153 +.lines {
  154 + height: 2rpx;
  155 + margin: 20rpx 20rpx 0 20rpx;
  156 + background-color: #DBDBDB;
  157 +}
  158 +
  159 +.IntroduceColor {
  160 + margin: 0 20rpx;
  161 +}
  162 +
  163 +.famousChefBox .labelBox {
  164 + border-bottom: none;
  165 +}
  166 +
  167 +.labelBox {
  168 + width: 100%;
  169 + display: flex;
  170 + position: relative;
  171 + border-bottom: 2rpx solid #DBDBDB;
  172 +}
  173 +
  174 +.labelBox .texts {
  175 + width: 90%;
  176 + line-height: 40rpx;
  177 + margin: 0 0 20rpx 20rpx;
  178 + color: #515151;
  179 + font-family: PingFang SC;
  180 + font-size: 20rpx;
  181 + max-height: 400rpx;
  182 + overflow: hidden;
  183 + white-space: pre-line;
  184 + word-wrap: break-word;
  185 + overflow: hidden;
  186 + word-break: break-all;
  187 + text-overflow: ellipsis;
  188 + display: -webkit-box;
  189 + -webkit-box-orient: vertical;
  190 + -webkit-line-clamp: 10;
  191 + font-weight: 500;
  192 +}
  193 +
  194 +.labelBox .line1 {
  195 + margin: 0 0 0 16rpx;
  196 +}
  197 +
  198 +.imgMask image {
  199 + width: 100%;
  200 + display: block;
  201 +}
  202 +
  203 +.famousChefBox {
  204 + position: relative;
  205 +}
  206 +
  207 +.Introducepublic {
  208 + display: flex;
  209 + flex-direction: column;
  210 + font-size: 28rpx;
  211 + line-height: 50rpx;
  212 + box-sizing: border-box;
  213 +}
  214 +
  215 +.chefText {
  216 + font-family: PingFang SC;
  217 + font-weight: 500;
  218 + margin: 20rpx 0;
  219 +}
  220 +
  221 +.texts1 {
  222 + margin: 20rpx 0 20rpx 20rpx;
  223 +}
  224 +
  225 +.specialServices {
  226 + margin: 16rpx 40rpx;
  227 + border-bottom: 2rpx solid #DBDBDB;
  228 +}
  229 +
  230 +.rubric {
  231 + font-family: PingFang SC;
  232 + font-weight: 500;
  233 + font-size: 36rpx;
  234 + margin-bottom: 10rpx;
  235 +}
  236 +
  237 +.specialServices .news {
  238 + color: #515151;
  239 + font-family: PingFang SC;
  240 + font-weight: 500;
  241 + font-size: 24rpx;
  242 + line-height: 40rpx;
  243 + margin-left: 20rpx;
  244 +}
  245 +
  246 +.endStyle {
  247 + display: flex;
  248 + justify-content: flex-end;
  249 + height: 54rpx;
  250 + margin: 20rpx 0;
  251 +}
  252 +
  253 +
  254 +.orderingFood {
  255 + padding: 0 26rpx;
  256 + border-radius: 22rpx;
  257 + text-align: center;
  258 + color: #fff;
  259 + border-radius: 32rpx;
  260 + margin: 20rpx 0;
  261 + line-height: 44rpx;
  262 + height: 44rpx;
  263 + background: linear-gradient(104.24deg, #4c8dad -57.47%, #0143a3 55.72%, #42a5ff 148.72%);
  264 +}
  265 +
  266 +.preferential {
  267 + margin: 20rpx 40rpx;
  268 +}
  269 +
  270 +.rubric1 {
  271 + margin-bottom: 20rpx;
  272 +}
  273 +
  274 +.preferentialItems {
  275 + padding: 20rpx 30rpx 20rpx 20rpx;
  276 + display: flex;
  277 + justify-content: space-between;
  278 + align-items: center;
  279 + margin-bottom: 20rpx;
  280 + background: url('https://qn.colorcun.com/certificateBj.png') no-repeat;
  281 + background-size: 100% 100%;
  282 +}
  283 +
  284 +.itemLeft {
  285 + width: 75%;
  286 +}
  287 +
  288 +.itemTop {
  289 + display: flex;
  290 + width: 100%;
  291 + align-items: center;
  292 + margin-bottom: 20rpx;
  293 +}
  294 +
  295 +.itemBottom {
  296 + margin-top: 20rpx;
  297 + color: #515151;
  298 + font-family: PingFang SC;
  299 + font-weight: 500;
  300 + font-size: 20rpx;
  301 + display: -webkit-box;
  302 + word-break: break-all;
  303 + word-wrap: break-word;
  304 + overflow: hidden;
  305 + text-align: left;
  306 +}
  307 +
  308 +.itemTop text:nth-of-type(1) {
  309 + font-weight: 600;
  310 + color: #515151;
  311 +}
  312 +
  313 +.itemTop .discountText {
  314 + padding: 0 6rpx;
  315 + color: #E34D59;
  316 + border: 2rpx solid #E34D59;
  317 + border-radius: 6rpx;
  318 + margin: 0 10rpx 0 20rpx;
  319 + font-family: PingFang SC;
  320 +}
  321 +
  322 +.itemTop .priceText {
  323 + color: #E34D59;
  324 + font-weight: 500;
  325 +}
  326 +
  327 +.priceText {
  328 + display: flex;
  329 + align-items: center;
  330 + justify-content: center;
  331 +}
  332 +
  333 +.priceText .icons {
  334 + margin-left: 18rpx;
  335 + color: #E34D59;
  336 + font-size: 20rpx;
  337 +}
  338 +
  339 +.vips image {
  340 + height: 300rpx;
  341 +}
  342 +
  343 +.vips {
  344 + display: flex;
  345 + flex-direction: column;
  346 + justify-content: center;
  347 + align-items: center;
  348 + padding-bottom: 180rpx;
  349 +}
  350 +
  351 +.favouredPolicy {
  352 + width: 45%;
  353 + color: #5C95D7;
  354 + font-family: PingFang SC;
  355 + font-weight: 500;
  356 + border: 2rpx solid #5C95D7;
  357 + border-radius: 22rpx;
  358 + text-align: center;
  359 + padding: 10rpx;
  360 +}
  361 +
  362 +
  363 +.all-button {
  364 + background: #FAFAFA;
  365 + height: 160rpx;
  366 + padding: 0 40rpx;
  367 + box-sizing: border-box;
  368 + z-index: 100;
  369 + justify-content: flex-end;
  370 +}
  371 +
  372 +.between {
  373 + justify-content: space-between;
  374 +}
  375 +
  376 +.centerBtn {
  377 + margin: 0 20rpx;
  378 +}
  379 +
  380 +.second-book-button {
  381 + margin-right: 20rpx;
  382 +}
  383 +
  384 +.book-item-font {
  385 + width: 25%;
  386 + border: 2rpx solid #0143A3;
  387 + color: #0143A3;
  388 + height: 46%;
  389 + border-radius: 42rpx;
  390 + font-weight: 600;
  391 +}
  392 +
  393 +.shareItem {
  394 + width: 100%;
  395 + margin: 0;
  396 + background: #fafafa;
  397 + color: #0143A3;
  398 + border: 2rpx solid #0143A3;
  399 +}
  400 +
  401 +.between .shareItem {
  402 + width: 100%;
  403 + margin: 0;
  404 + background: linear-gradient(104.24deg, #4c8dad -57.47%, #0143a3 55.72%, #42a5ff 148.72%);
  405 + color: #fff;
  406 +}
  407 +
  408 +.sharewidth .shareItem {
  409 + width: 100% !important;
  410 +}
  411 +
  412 +.between .shareItem {
  413 + width: 65% !important;
  414 +}
  415 +
  416 +.book-item-font {
  417 + width: 40% !important;
  418 +}
  419 +
  420 +.menu-item {
  421 + width: 100%;
  422 + height: 100%;
  423 + display: flex;
  424 + justify-content: center;
  425 + align-items: center;
  426 +}
  427 +
  428 +.cook {
  429 + height: 94% !important;
  430 + background: #fff;
  431 + border: 2rpx solid #0143A3;
  432 + border-radius: 32rpx;
  433 + font-weight: normal;
  434 + width: 23% !important;
  435 +}
  436 +
  437 +.bold {
  438 + font-weight: 500;
  439 +}
  440 +
  441 +.evaluateBox {
  442 + margin: 20rpx 84rpx 20rpx 40rpx;
  443 + display: flex;
  444 + align-items: center;
  445 + justify-content: space-between;
  446 + color: #000;
  447 +}
  448 +
  449 +.evaluateBox image {
  450 + width: 60rpx;
  451 + height: 70rpx;
  452 +}
  453 +
  454 +.evaluateBox text {
  455 + color: #000;
  456 + font-size: 28rpx;
  457 +}
  458 +
  459 +.more {
  460 + height: 80rpx;
  461 + width: 100%;
  462 + position: fixed;
  463 + bottom: 160rpx;
  464 + display: flex;
  465 + align-items: center;
  466 + justify-content: center;
  467 + flex-direction: column;
  468 + background: rgba(0, 0, 0, .4);
  469 +}
  470 +
  471 +.more1 {
  472 + bottom: 40rpx;
  473 +}
  474 +
  475 +.moreText {
  476 + color: #fff;
  477 +}
  478 +
  479 +.more image {
  480 + width: 30rpx;
  481 + height: 30rpx;
  482 +}
  483 +
  484 +.pageSpacing {
  485 + position: relative;
  486 + display: flex;
  487 + justify-content: center;
  488 + align-items: center;
  489 + white-space: nowrap;
  490 + width: auto;
  491 + overflow-x: scroll;
  492 + border-bottom-left-radius: 10rpx;
  493 + border-bottom-right-radius: 10rpx;
  494 +}
  495 +
  496 +
  497 +.pageSpacing1 {
  498 + position: relative;
  499 + display: flex;
  500 + white-space: nowrap;
  501 + width: auto;
  502 + overflow-x: scroll;
  503 + border-bottom-left-radius: 10rpx;
  504 + border-bottom-right-radius: 10rpx;
  505 + padding-left: 170rpx;
  506 +}
  507 +
  508 +.scroll-view {
  509 + white-space: nowrap;
  510 + width: 100%;
  511 + height: 100%;
  512 +}
  513 +
  514 +.imgs {
  515 + position: relative;
  516 + display: flex;
  517 + white-space: nowrap;
  518 + width: 470rpx;
  519 + height: 348rpx;
  520 + margin-right: 30rpx;
  521 +}
  522 +
  523 +.imgs text {
  524 + background: #515151;
  525 + color: #fff;
  526 + position: absolute;
  527 + left: 0;
  528 + bottom: 0;
  529 + height: 64rpx;
  530 + line-height: 64rpx;
  531 + width: 470rpx;
  532 + text-align: center;
  533 + border-bottom-left-radius: 16rpx;
  534 + border-bottom-right-radius: 16rpx;
  535 +}
  536 +
  537 +.imageStyle {
  538 + display: inline-block;
  539 + width: 500rpx;
  540 + height: 348rpx;
  541 + border-radius: 16rpx;
  542 +}
  543 +
  544 +.centerBox {
  545 + justify-content: center;
  546 +}
  547 +
  548 +/* 黑蓝过渡 */
  549 +.blackBlueGradient .reservationInfo {
  550 + background: linear-gradient(104.24deg, #42a5ff -57.47%, #000000 55.72%, #42a5ff 182.69%);
  551 +}
  552 +
  553 +.blackBlueGradient .chefText,
  554 +.blackBlueGradient .rubric {
  555 + color: #0143A3;
  556 +}
  557 +
  558 +/* 石绿过渡 */
  559 +.stoneGreenGradient .reservationInfo {
  560 + background: linear-gradient(121.52deg, #438e93 1.76%, #206864 42.99%, #206864 75.66%, #42a5ff 120.1%);
  561 +}
  562 +
  563 +.stoneGreenGradient .chefText,
  564 +.stoneGreenGradient .rubric {
  565 + color: #206864;
  566 +}
  567 +
  568 +/* 中国红过渡 */
  569 +.chinaRedGradient .reservationInfo {
  570 + background: linear-gradient(309.04deg, #af231c -2.27%, #86201b 44.37%, #af231c 91.74%);
  571 +}
  572 +
  573 +.chinaRedGradient .chefText,
  574 +.chinaRedGradient .rubric {
  575 + color: #86201B;
  576 +}
  577 +
  578 +/* 群青过渡 */
  579 +.ultramarineGradient .reservationInfo {
  580 + background: linear-gradient(104.24deg, #4c8dad -57.47%, #0143a3 55.72%, #42a5ff 148.72%);
  581 +}
  582 +
  583 +.ultramarineGradient .chefText,
  584 +.ultramarineGradient .rubric {
  585 + color: #0143A3;
  586 +}
  587 +
  588 +/* 深中国红 */
  589 +.crimson .reservationInfo {
  590 + background: #86201B;
  591 +}
  592 +
  593 +.crimson .chefText,
  594 +.crimson .rubric {
  595 + color: #86201B;
  596 +}
  597 +
  598 +/* 中国红 */
  599 +.chinaRed .reservationInfo {
  600 + background: #AF231C;
  601 +}
  602 +
  603 +.chinaRed .chefText,
  604 +.chinaRed .rubric {
  605 + color: #AF231C;
  606 +}
  607 +
  608 +/* 蓝采和 */
  609 +.lanCaiHe .reservationInfo {
  610 + background: #06436F;
  611 +}
  612 +
  613 +.lanCaiHe .chefText,
  614 +.lanCaiHe .rubric {
  615 + color: #06436F;
  616 +}
  617 +
  618 +/* 石绿 */
  619 +.stoneGreen .reservationInfo {
  620 + background: #206864;
  621 +}
  622 +
  623 +.stoneGreen .chefText,
  624 +.stoneGreen .rubric {
  625 + color: #206864;
  626 +}
  627 +
  628 +/* 姜黄 */
  629 +.turmeric .reservationInfo {
  630 + background: #B39437;
  631 +}
  632 +
  633 +.turmeric .chefText,
  634 +.turmeric .rubric {
  635 + color: #B39437;
  636 +}
  637 +
  638 +/* 苍黄 */
  639 +.greenishYellow .reservationInfo {
  640 + background: #C85306;
  641 +}
  642 +
  643 +.greenishYellow .chefText,
  644 +.greenishYellow .rubric {
  645 + color: #C85306;
  646 +}
  647 +
  648 +/* 金黄 */
  649 +.golden .reservationInfo {
  650 + background: #C67B3A;
  651 +}
  652 +
  653 +.golden .chefText,
  654 +.golden .rubric {
  655 + color: #C67B3A;
  656 +}
  657 +
  658 +
  659 +/* 群青 */
  660 +.ultramarine .reservationInfo {
  661 + background: #0143A3;
  662 +}
  663 +
  664 +.ultramarine .chefText,
  665 +.ultramarine .rubric {
  666 + color: #0143A3;
  667 +}
  668 +
  669 +/* 摩洛哥蓝 */
  670 +.moroccanBlue .reservationInfo {
  671 + background: #19516A;
  672 +}
  673 +
  674 +.moroccanBlue .chefText,
  675 +.moroccanBlue .rubric {
  676 + color: #19516A;
  677 +}
@@ -633,6 +633,13 @@ @@ -633,6 +633,13 @@
633 "scene": null 633 "scene": null
634 }, 634 },
635 { 635 {
  636 + "name": "邀请函-----7",
  637 + "pathName": "pages/customer/detail_owner_invitation7",
  638 + "query": "id=400725&hasInvitation=1&hasSellerShare=1&tplid=1",
  639 + "launchMode": "default",
  640 + "scene": null
  641 + },
  642 + {
636 "name": "新提前点餐", 643 "name": "新提前点餐",
637 "pathName": "pack-cookbook/pages/index_new", 644 "pathName": "pack-cookbook/pages/index_new",
638 "query": "rid=366360&oid=2690&identity=1&sid=4352&hasSuccess=1", 645 "query": "rid=366360&oid=2690&identity=1&sid=4352&hasSuccess=1",