Showing
8 changed files
with
1189 additions
and
6 deletions
miniprogram/.gitignore
0 → 100644
| @@ -54,7 +54,8 @@ | @@ -54,7 +54,8 @@ | ||
| 54 | "pages/pinglun/mylist", | 54 | "pages/pinglun/mylist", |
| 55 | "pages/reserve/reserve", | 55 | "pages/reserve/reserve", |
| 56 | "pages/tcads/cmyy", | 56 | "pages/tcads/cmyy", |
| 57 | - "pages/pinglun/video" | 57 | + "pages/pinglun/video", |
| 58 | + "pages/customer/detail_owner_invitation_new" | ||
| 58 | ], | 59 | ], |
| 59 | "requiredPrivateInfos":[ | 60 | "requiredPrivateInfos":[ |
| 60 | "getLocation", | 61 | "getLocation", |
| @@ -38,11 +38,21 @@ | @@ -38,11 +38,21 @@ | ||
| 38 | class="split"> | 38 | class="split"> |
| 39 | <view class="min-but flex align-center justify-center txt-30-h solid">取消预订</view> | 39 | <view class="min-but flex align-center justify-center txt-30-h solid">取消预订</view> |
| 40 | </navigator> | 40 | </navigator> |
| 41 | - <navigator url="/pages/customer/detail_owner_invitation?id={{detail.id}}&hasInvitation=1&hasSellerShare=1&tplid=1" | ||
| 42 | - wx:if="{{detail.hasRunning}}" | ||
| 43 | - class="split"> | ||
| 44 | - <view class="min-but flex align-center justify-center txt-30-h solid line-blue">通知好友</view> | ||
| 45 | - </navigator> | 41 | + <block wx:if="{{detail.sid=='677'}}"> |
| 42 | + <navigator url="/pages/customer/detail_owner_invitation_new?id={{detail.id}}&hasInvitation=1&hasSellerShare=1&tplid=1" | ||
| 43 | + wx:if="{{detail.hasRunning}}" | ||
| 44 | + class="split"> | ||
| 45 | + <view class="min-but flex align-center justify-center txt-30-h solid line-blue">通知好友</view> | ||
| 46 | + </navigator> | ||
| 47 | + </block> | ||
| 48 | + <block wx:else> | ||
| 49 | + <navigator url="/pages/customer/detail_owner_invitation?id={{detail.id}}&hasInvitation=1&hasSellerShare=1&tplid=1" | ||
| 50 | + wx:if="{{detail.hasRunning}}" | ||
| 51 | + class="split"> | ||
| 52 | + <view class="min-but flex align-center justify-center txt-30-h solid line-blue">通知好友</view> | ||
| 53 | + </navigator> | ||
| 54 | + </block> | ||
| 55 | + | ||
| 46 | <navigator url="/pages/pinglun/create?sid={{detail.seller.id}}&oid={{detail.id}}&sellername={{detail.seller.sellername}}" | 56 | <navigator url="/pages/pinglun/create?sid={{detail.seller.id}}&oid={{detail.id}}&sellername={{detail.seller.sellername}}" |
| 47 | wx:if="{{detail.hasFinished && hasComment}}" | 57 | wx:if="{{detail.hasFinished && hasComment}}" |
| 48 | class="split"> | 58 | class="split"> |
| 1 | +// pages/customer/detail_owner_invitation_new.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 | + between: false, | ||
| 16 | + id: null, | ||
| 17 | + msgTpl: '', | ||
| 18 | + chef: {}, | ||
| 19 | + marketing: {}, | ||
| 20 | + home: {}, | ||
| 21 | + reserve: {}, | ||
| 22 | + signboard: {}, | ||
| 23 | + store: {}, | ||
| 24 | + homeColor: '', | ||
| 25 | + current: 0, | ||
| 26 | + theme: 'blackGold', //blue green blackGold | ||
| 27 | + seller: { | ||
| 28 | + name: '', | ||
| 29 | + room: '', | ||
| 30 | + date: '', | ||
| 31 | + addr: '' | ||
| 32 | + }, | ||
| 33 | + }, | ||
| 34 | + /** | ||
| 35 | + * 生命周期函数--监听页面加载 | ||
| 36 | + */ | ||
| 37 | + onLoad(options) { | ||
| 38 | + this.id = options.id | ||
| 39 | + let param = { | ||
| 40 | + options: options, | ||
| 41 | + hasOwner: options.hasSellerShare == 1, //是否为发起人 | ||
| 42 | + } | ||
| 43 | + param.tpls = [TP.tpls(options.tplid)] | ||
| 44 | + console.log(param); | ||
| 45 | + console.log(options); | ||
| 46 | + this.setData(param) | ||
| 47 | + mta.Page.init({ | ||
| 48 | + "appID": "500667280", | ||
| 49 | + "eventID": "500667287", | ||
| 50 | + "statPullDownFresh": true, | ||
| 51 | + "statShareApp": true, | ||
| 52 | + "statReachBottom": true, | ||
| 53 | + "lauchOpts": options, //渠道分析 | ||
| 54 | + }); | ||
| 55 | + }, | ||
| 56 | + /** | ||
| 57 | + * 生命周期函数--监听页面初次渲染完成 | ||
| 58 | + */ | ||
| 59 | + onReady() {}, | ||
| 60 | + /** | ||
| 61 | + * 用户点击右上角分享 | ||
| 62 | + */ | ||
| 63 | + onShareAppMessage: function () { | ||
| 64 | + return this.sharesetting(); | ||
| 65 | + }, | ||
| 66 | + onShareTimeline() { | ||
| 67 | + return this.sharesetting(); | ||
| 68 | + }, | ||
| 69 | + /** | ||
| 70 | + * 生命周期函数--监听页面显示 | ||
| 71 | + */ | ||
| 72 | + onShow: function () { | ||
| 73 | + this.getSellerTemplateConf(); | ||
| 74 | + this.getDetail(); | ||
| 75 | + }, | ||
| 76 | + cli() { | ||
| 77 | + wx.setClipboardData({ | ||
| 78 | + data: this.data.reserve.manager_wechat, | ||
| 79 | + success(res) { | ||
| 80 | + wx.getClipboardData({ | ||
| 81 | + success(res) { | ||
| 82 | + console.log(res.data) // data | ||
| 83 | + } | ||
| 84 | + }) | ||
| 85 | + } | ||
| 86 | + }) | ||
| 87 | + }, | ||
| 88 | + call() { | ||
| 89 | + wx.reportMonitor('1012', 1) | ||
| 90 | + wx.makePhoneCall({ | ||
| 91 | + phoneNumber: this.data.reserve.manager_phone | ||
| 92 | + }) | ||
| 93 | + }, | ||
| 94 | + looklocation: function () { | ||
| 95 | + wx.reportMonitor('1015', 1) | ||
| 96 | + wx.openLocation({ | ||
| 97 | + latitude: Number(this.data.reserve.lat), | ||
| 98 | + longitude: Number(this.data.reserve.long), | ||
| 99 | + scale: 17, | ||
| 100 | + address: this.data.reserve.address, | ||
| 101 | + success: function (res) { | ||
| 102 | + console.log(res) | ||
| 103 | + } | ||
| 104 | + }) | ||
| 105 | + }, | ||
| 106 | + getDetail() { | ||
| 107 | + App.Reserve.Detail({ | ||
| 108 | + openid: getApp().openid, | ||
| 109 | + rid: this.data.options.id | ||
| 110 | + }).then(res => { | ||
| 111 | + let tables = [], //桌子信息 | ||
| 112 | + regions = []; //区域名称 | ||
| 113 | + res.data.tables.forEach(t => { | ||
| 114 | + tables.push(t.name); | ||
| 115 | + if (regions.indexOf('t.rname') == -1) { | ||
| 116 | + regions.push(t.rname); | ||
| 117 | + } | ||
| 118 | + | ||
| 119 | + }) | ||
| 120 | + let reserev = RS.reserve(res.data) | ||
| 121 | + let dateSmart | ||
| 122 | + if (res.data.type == 1) { | ||
| 123 | + dateSmart = util.unixtoTime(reserev.ddate, this.data.tpls[this.data.current].timeStrSmart[0]) | ||
| 124 | + if (res.data.is_set_ddate == 1) { | ||
| 125 | + dateSmart += ' ' + util.unixtoTime(reserev.ddate, this.data.tpls[this.data.current].timeStrSmart[1]) | ||
| 126 | + } else { | ||
| 127 | + dateSmart += ' ' + reserev.soltName | ||
| 128 | + } | ||
| 129 | + } else { | ||
| 130 | + dateSmart = util.unixtoTime(reserev.ddate, this.data.tpls[this.data.current].timeStr) | ||
| 131 | + } | ||
| 132 | + this.setData({ | ||
| 133 | + detail: this.formatDatail(reserev, dateSmart), | ||
| 134 | + seller: { | ||
| 135 | + name: reserev.seller.sellername, | ||
| 136 | + room: tables.join('、'), | ||
| 137 | + date: dateSmart, | ||
| 138 | + region: regions.join('、'), | ||
| 139 | + addr: reserev.seller.real_address || reserev.seller.map_address, | ||
| 140 | + image: reserev.image_url, | ||
| 141 | + hasOwner: true, | ||
| 142 | + type: reserev.type, | ||
| 143 | + is_set_ddate: reserev.is_set_ddate, | ||
| 144 | + hasUpTime: reserev.type == 1 && reserev.hasRunning && reserev.status != 2, | ||
| 145 | + tel: reserev.seller.seller_tel.split(',')[0], | ||
| 146 | + soltName: reserev.soltName | ||
| 147 | + } | ||
| 148 | + }) | ||
| 149 | + console.log(this.data.detail); | ||
| 150 | + }) | ||
| 151 | + }, | ||
| 152 | + cookbook() { | ||
| 153 | + if (this.data.detail.order && this.data.detail.order.cookbooklist.length > 0) { | ||
| 154 | + wx.navigateTo({ | ||
| 155 | + url: util.http_build_query({ | ||
| 156 | + rid: this.id, | ||
| 157 | + oid: this.data.detail.order.id, | ||
| 158 | + identity: 1 | ||
| 159 | + }, '/pack-cookbook/pages/success') | ||
| 160 | + }); | ||
| 161 | + } else { | ||
| 162 | + App.Advance.CreateOrder({ | ||
| 163 | + rid: this.id, | ||
| 164 | + openid: getApp().openid, | ||
| 165 | + }).then(res => { | ||
| 166 | + if (res.ret != 200) { | ||
| 167 | + return util.toast(res.msg, 'none') | ||
| 168 | + } | ||
| 169 | + wx.navigateTo({ | ||
| 170 | + url: util.http_build_query({ | ||
| 171 | + rid: this.id, | ||
| 172 | + oid: res.data.id, | ||
| 173 | + identity: 1, | ||
| 174 | + sid: res.data.sellerid | ||
| 175 | + }, '/pack-cookbook/pages/index') | ||
| 176 | + }); | ||
| 177 | + }) | ||
| 178 | + } | ||
| 179 | + }, | ||
| 180 | + noopen(e) { | ||
| 181 | + let mark = e.currentTarget.dataset.mark; | ||
| 182 | + wx.showToast({ | ||
| 183 | + title: '该商家未开通' + (mark == 'buy' ? '提前点餐' : '在线买单'), | ||
| 184 | + duration: 2000, | ||
| 185 | + mask: true | ||
| 186 | + }) | ||
| 187 | + }, | ||
| 188 | + sharesetting() { | ||
| 189 | + wx.reportMonitor('1017', 1) | ||
| 190 | + let parmdata = { | ||
| 191 | + id: this.id, | ||
| 192 | + fromid: getApp().openid, | ||
| 193 | + hasInvitation: 1, | ||
| 194 | + tplid: this.data.options.tplid, | ||
| 195 | + } | ||
| 196 | + if (this.data.options.uid) { | ||
| 197 | + parmdata.uid = this.data.options.uid; | ||
| 198 | + } | ||
| 199 | + return { | ||
| 200 | + title: this.data.tpls[0].shareTitle, | ||
| 201 | + path: util.http_build_query(parmdata, '/pages/customer/index'), | ||
| 202 | + imageUrl: this.data.tpls[0].shareImage, | ||
| 203 | + } | ||
| 204 | + }, | ||
| 205 | + formatDatail(detail, dateSmart) { | ||
| 206 | + detail.rdateStr = dateSmart; | ||
| 207 | + detail.tableFirst = detail.tables[0].name; | ||
| 208 | + if (detail.tables.length > 1) { | ||
| 209 | + detail.tableSubInfo = '等' + (detail.tables.length) + '个' + | ||
| 210 | + (detail.tables[0].tid == 2 ? '包间' : ''); | ||
| 211 | + } | ||
| 212 | + if (detail.rname && detail.sex != 3) { | ||
| 213 | + detail.rnameStr = detail.rname.substr(0, 1) + (detail.sex == 1 ? '先生' : '女士') | ||
| 214 | + } else { | ||
| 215 | + detail.rnameStr = detail.rname | ||
| 216 | + } | ||
| 217 | + detail.eatStr = '邀请您共进晚餐'; | ||
| 218 | + let hi = util.unixtoTime(detail.ddate, 'HHII'); | ||
| 219 | + if (hi < '10:00') { | ||
| 220 | + detail.eatStr = '邀请您共进早餐'; | ||
| 221 | + } else if (hi < '15:00') { | ||
| 222 | + detail.eatStr = '邀请您共进午餐'; | ||
| 223 | + } | ||
| 224 | + return detail; | ||
| 225 | + }, | ||
| 226 | + getSellerTemplateConf() { | ||
| 227 | + App.Seller.GetSellerTemplateConf({ | ||
| 228 | + sid: '4352' | ||
| 229 | + }).then(res => { | ||
| 230 | + let home = JSON.parse(res.data.home) | ||
| 231 | + let chef = JSON.parse(res.data.chef) | ||
| 232 | + let marketing = JSON.parse(res.data.marketing) | ||
| 233 | + let reserve = JSON.parse(res.data.reserve) | ||
| 234 | + let signboard = JSON.parse(res.data.signboard) | ||
| 235 | + let store = JSON.parse(res.data.store) | ||
| 236 | + store.images = eval(store.images) | ||
| 237 | + signboard.images = eval(signboard.images) | ||
| 238 | + if (marketing.is_online && marketing.is_arrival && marketing.is_transpond) { | ||
| 239 | + this.setData({ | ||
| 240 | + between: true | ||
| 241 | + }) | ||
| 242 | + } | ||
| 243 | + this.setData({ | ||
| 244 | + chef, | ||
| 245 | + marketing, | ||
| 246 | + home, | ||
| 247 | + reserve, | ||
| 248 | + signboard, | ||
| 249 | + store, | ||
| 250 | + homeColor: home.red + ',' + home.green + ',' + home.blue + ',' + home.alpha, //home主题颜色 | ||
| 251 | + }) | ||
| 252 | + if (home.red == '1' && home.green == '67' && home.blue == '163') { | ||
| 253 | + this.setData({ | ||
| 254 | + theme: 'blue' | ||
| 255 | + }) | ||
| 256 | + } | ||
| 257 | + if (home.red == '67' && home.green == '142' && home.blue == '147') { | ||
| 258 | + this.setData({ | ||
| 259 | + theme: 'green' | ||
| 260 | + }) | ||
| 261 | + } | ||
| 262 | + if (home.red == '12' && home.green == '15' && home.blue == '14') { | ||
| 263 | + this.setData({ | ||
| 264 | + theme: 'blackGold' | ||
| 265 | + }) | ||
| 266 | + } | ||
| 267 | + console.log('chef', JSON.parse(res.data.chef)); | ||
| 268 | + console.log('home', JSON.parse(res.data.home)); | ||
| 269 | + console.log('marketing', JSON.parse(res.data.marketing)); | ||
| 270 | + console.log('reserve', JSON.parse(res.data.reserve)); | ||
| 271 | + console.log('signboard', JSON.parse(res.data.signboard)); | ||
| 272 | + console.log('store', store); | ||
| 273 | + }) | ||
| 274 | + }, | ||
| 275 | + secondbook() { | ||
| 276 | + wx.reportMonitor('1013', 1) | ||
| 277 | + if (this.data.list) { | ||
| 278 | + wx.navigateTo({ | ||
| 279 | + url: './discount?sid=' + this.data.detail.seller.id + '&id=' + this.data.options.id | ||
| 280 | + }) | ||
| 281 | + } else { | ||
| 282 | + wx.redirectTo({ | ||
| 283 | + url: '../reserve/detail?id=' + this.data.detail.seller.id | ||
| 284 | + }) | ||
| 285 | + } | ||
| 286 | + }, | ||
| 287 | + /** | ||
| 288 | + * 生命周期函数--监听页面隐藏 | ||
| 289 | + */ | ||
| 290 | + onHide() { | ||
| 291 | + | ||
| 292 | + }, | ||
| 293 | + | ||
| 294 | + /** | ||
| 295 | + * 生命周期函数--监听页面卸载 | ||
| 296 | + */ | ||
| 297 | + onUnload() { | ||
| 298 | + | ||
| 299 | + }, | ||
| 300 | + | ||
| 301 | + /** | ||
| 302 | + * 页面相关事件处理函数--监听用户下拉动作 | ||
| 303 | + */ | ||
| 304 | + onPullDownRefresh() { | ||
| 305 | + | ||
| 306 | + }, | ||
| 307 | + | ||
| 308 | + /** | ||
| 309 | + * 页面上拉触底事件的处理函数 | ||
| 310 | + */ | ||
| 311 | + onReachBottom() { | ||
| 312 | + | ||
| 313 | + }, | ||
| 314 | + | ||
| 315 | + /** | ||
| 316 | + * 用户点击右上角分享 | ||
| 317 | + */ | ||
| 318 | + onShareAppMessage() { | ||
| 319 | + | ||
| 320 | + } | ||
| 321 | +}) |
| 1 | +<!--pages/customer/detail_owner_invitation_new.wxml--> | ||
| 2 | +<wxs src="../../utils/util.wxs" module="util" /> | ||
| 3 | +<import src="../tpl/invitation"></import> | ||
| 4 | +<nav hasHome class="navhome" place="{{true}}"> | ||
| 5 | +</nav> | ||
| 6 | +<scroll-view class="last-book-bg" style="line-height: 1.4;height:{{height}}px;" scroll-y> | ||
| 7 | + <view class="titleImg" style="background: rgba({{homeColor}});"> | ||
| 8 | + <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> | ||
| 9 | + <view class="title {{theme+'Title'}}">{{home.title}}</view> | ||
| 10 | + <view class="info {{theme+'Info'}}"> | ||
| 11 | + {{home.slogan}} | ||
| 12 | + </view> | ||
| 13 | + </view> | ||
| 14 | + <image src="{{home.image}}" class="homeImage" mode="widthFix"></image> | ||
| 15 | + <view class="reservationInfo flex-ll"> | ||
| 16 | + <view class="line"> | ||
| 17 | + </view> | ||
| 18 | + <view class="infoRight"> | ||
| 19 | + <view class="begin"> | ||
| 20 | + <view>尊敬的贵宾,您好!</view> | ||
| 21 | + <view>非常感谢您选择{{reserve.seller_name}}!</view> | ||
| 22 | + </view> | ||
| 23 | + <view class="flex-11"> | ||
| 24 | + <view class="label">【日期】</view> | ||
| 25 | + <view class="contentData">{{seller.date}}</view> | ||
| 26 | + </view> | ||
| 27 | + <view class="flex-11"> | ||
| 28 | + <view class="label">【市别】</view> | ||
| 29 | + <view class="contentData">{{seller.soltName}}</view> | ||
| 30 | + </view> | ||
| 31 | + <view class="flex-11"> | ||
| 32 | + <view class="label">【包间】</view> | ||
| 33 | + <view class="contentData">{{seller.region}}{{seller.room}}</view> | ||
| 34 | + </view> | ||
| 35 | + <view class="flex-11"> | ||
| 36 | + <view class="label">【人数】</view> | ||
| 37 | + <!-- <view class="contentData">{{reserve.numderPeople}}位</view> --> | ||
| 38 | + </view> | ||
| 39 | + <view class="flex-11"> | ||
| 40 | + <view class="label">【地址】</view> | ||
| 41 | + <view class="contentData">{{reserve.address}}</view> | ||
| 42 | + </view> | ||
| 43 | + <view class="flex-11"> | ||
| 44 | + <view class="label">【停车】</view> | ||
| 45 | + <view class="contentData">{{reserve.park_info}}</view> | ||
| 46 | + </view> | ||
| 47 | + <view class="flex-11"> | ||
| 48 | + <view class="label">【联系】</view> | ||
| 49 | + <view class="contentData">{{reserve.seller_phone}}</view> | ||
| 50 | + </view> | ||
| 51 | + <view class="welcome"> | ||
| 52 | + 欢迎垂询,恭候光临! | ||
| 53 | + </view> | ||
| 54 | + <block wx:if="{{detail.sid!='677'}}"> | ||
| 55 | + <view class="handleInfo"> | ||
| 56 | + <image src="{{reserve.manager_image}}" class="headerimg" mode="aspectFill"></image> | ||
| 57 | + <view class="handle"> | ||
| 58 | + <text>专属服务:{{reserve.manager_phone}}</text> | ||
| 59 | + <text>服务电话:{{reserve.manager_wechat}}</text> | ||
| 60 | + </view> | ||
| 61 | + <view class="handle"> | ||
| 62 | + <view class="font22r brownFont" bindtap="call">拨打电话</view> | ||
| 63 | + <view class="font22r brownFont" bindtap="cli">复制微信号</view> | ||
| 64 | + </view> | ||
| 65 | + </view> | ||
| 66 | + </block> | ||
| 67 | + </view> | ||
| 68 | + </view> | ||
| 69 | + <view class="positioning" bindtap="looklocation"> | ||
| 70 | + <image src="https://qn.colorcun.com/1541679628682_.pic.jpg" mode="" /> | ||
| 71 | + <view class="name"> | ||
| 72 | + <text>{{reserve.seller_name}}</text> | ||
| 73 | + <text>{{reserve.address}}</text> | ||
| 74 | + </view> | ||
| 75 | + </view> | ||
| 76 | + <!-- <view class="visitor"> | ||
| 77 | + 确认赴约客人:{{keepAppointment.length}}位 | ||
| 78 | + </view> | ||
| 79 | + <view class="keepWrap"> | ||
| 80 | + <view class="keepItems" wx:for="{{keepAppointment}}" wx:key="keepAppointment.key"> | ||
| 81 | + <image src="{{item.photo}}" mode="" /> | ||
| 82 | + <view> | ||
| 83 | + {{item.name}} | ||
| 84 | + </view> | ||
| 85 | + </view> | ||
| 86 | + </view> --> | ||
| 87 | + <!-- 品牌介绍类型store.style 0无介绍 1图文合并 2图文分开 --> | ||
| 88 | + <view class="introduce" wx:if="{{store.style=='1'}}"> | ||
| 89 | + <view class="IntroductionItems" wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex"> | ||
| 90 | + <view class="imgMask"> | ||
| 91 | + <image src="{{item}}" mode="" /> | ||
| 92 | + <view class="IntroduceColor chief Introducepublic {{theme+'chief'}}" wx:if="{{arryIndex=='0'}}"> | ||
| 93 | + <view class="englishText">Introduce</view> | ||
| 94 | + <view class="chefText">品牌介绍</view> | ||
| 95 | + <view class="shopName"> | ||
| 96 | + {{store .seller_name}} | ||
| 97 | + </view> | ||
| 98 | + <view class="labelBox"> | ||
| 99 | + <view class="line"> | ||
| 100 | + </view> | ||
| 101 | + <view class="label">{{store.introduce}} | ||
| 102 | + </view> | ||
| 103 | + </view> | ||
| 104 | + </view> | ||
| 105 | + </view> | ||
| 106 | + </view> | ||
| 107 | + </view> | ||
| 108 | + <view class="introduce" wx:if="{{store.style=='2'}}"> | ||
| 109 | + <view class="IntroductionItems" wx:for="{{store.images}}" wx:key="arryIndex" wx:for-index="arryIndex"> | ||
| 110 | + <view class="imgMask"> | ||
| 111 | + <view class="IntroduceColor styleSeparate" wx:if="{{arryIndex=='0'}}"> | ||
| 112 | + <view class="englishText">Introduce</view> | ||
| 113 | + <view class="chefText">品牌介绍</view> | ||
| 114 | + <view class="shopName styleShopName"> | ||
| 115 | + {{store .seller_name}} | ||
| 116 | + </view> | ||
| 117 | + <view class="labelBox"> | ||
| 118 | + <view class="line"> | ||
| 119 | + </view> | ||
| 120 | + <view class="label styleLabel">{{store.introduce}} | ||
| 121 | + </view> | ||
| 122 | + </view> | ||
| 123 | + </view> | ||
| 124 | + <image src="{{item}}" mode="" /> | ||
| 125 | + </view> | ||
| 126 | + </view> | ||
| 127 | + </view> | ||
| 128 | + <!-- 知名主厨类型chef.style 0无介绍 1图文合并 2图文分开 --> | ||
| 129 | + <view class="introduce famousChefBox" wx:if="{{chef.style=='1'}}"> | ||
| 130 | + <view class="IntroductionItems"> | ||
| 131 | + <view class="imgMask"> | ||
| 132 | + <image src="{{chef.image}}" mode="widthFix" /> | ||
| 133 | + <view class="IntroduceColor Introducepublic {{theme+'chief'}}"> | ||
| 134 | + <view class="englishText">Chief Cook</view> | ||
| 135 | + <view class="chefText">知名主厨</view> | ||
| 136 | + <view class="shopName"> | ||
| 137 | + {{chef.chef_name}} | ||
| 138 | + </view> | ||
| 139 | + <view class="labelBox labelBox1"> | ||
| 140 | + <view class="label">{{chef.introduce}} | ||
| 141 | + </view> | ||
| 142 | + <view class="line"> | ||
| 143 | + </view> | ||
| 144 | + </view> | ||
| 145 | + </view> | ||
| 146 | + </view> | ||
| 147 | + </view> | ||
| 148 | + </view> | ||
| 149 | + <view class="introduce famousChefBox" wx:if="{{chef.style=='2'}}"> | ||
| 150 | + <view class="IntroductionItems"> | ||
| 151 | + <view class="imgMask"> | ||
| 152 | + <view class="IntroduceColor styleSeparate2"> | ||
| 153 | + <view class="englishText">Chief Cook</view> | ||
| 154 | + <view class="chefText">知名主厨</view> | ||
| 155 | + <view class="shopName styleShopName"> | ||
| 156 | + {{chef .chef_name}} | ||
| 157 | + </view> | ||
| 158 | + <view class="labelBox labelBox1"> | ||
| 159 | + <view class="line"> | ||
| 160 | + </view> | ||
| 161 | + <view class="label styleLabel">{{chef .introduce}} | ||
| 162 | + </view> | ||
| 163 | + </view> | ||
| 164 | + </view> | ||
| 165 | + <image src="{{chef.image}}" mode="" /> | ||
| 166 | + </view> | ||
| 167 | + </view> | ||
| 168 | + </view> | ||
| 169 | + <view class="introduce vegetableBox" wx:if="{{signboard.swich=='1'}}"> | ||
| 170 | + <view class="IntroductionItems" wx:for="{{signboard.images}}" wx:key="arryIndex" wx:for-index="arryIndex"> | ||
| 171 | + <view class="imgMask"> | ||
| 172 | + <image src="{{item}}" mode="widthFix" /> | ||
| 173 | + <view class="IntroduceColor Introducepublic {{theme+'chief'}}" wx:if="{{arryIndex=='0'}}"> | ||
| 174 | + <view class="englishText">Favorites</view> | ||
| 175 | + <view class="chefText">菜品展示</view> | ||
| 176 | + </view> | ||
| 177 | + </view> | ||
| 178 | + </view> | ||
| 179 | + </view> | ||
| 180 | + <view class="specialServices" wx:if="{{detail.seller.is_open_order==1 && !detail.hasOvered && !detail.hasCancel}}"> | ||
| 181 | + <view class="rubric"> | ||
| 182 | + 特供服务 | ||
| 183 | + </view> | ||
| 184 | + <view class="news"> | ||
| 185 | + 本店特为贵宾提供提前点餐服务,您现在可以选菜下单,到店就餐时无需等待服务员点餐,可以直接享受就餐服务^_^ | ||
| 186 | + </view> | ||
| 187 | + <view class="endStyle"> | ||
| 188 | + <block wx:if="{{detail.seller.is_open_order==1 && !detail.hasOvered && !detail.hasCancel}}"> | ||
| 189 | + <block wx:if="{{detail && detail.seller.is_open_order==1}}"> | ||
| 190 | + <view class="last-book-food flex-cc orderingFood" bindtap="cookbook"> | ||
| 191 | + <view class="white-font font30r smooth">去点餐</view> | ||
| 192 | + </view> | ||
| 193 | + </block> | ||
| 194 | + <block wx:else> | ||
| 195 | + <view class="last-book-food flex-ll orderingFood" bindtap="noopen" data-mark="buy"> | ||
| 196 | + <view class="white-font font30r smooth">去点餐</view> | ||
| 197 | + </view> | ||
| 198 | + </block> | ||
| 199 | + </block> | ||
| 200 | + </view> | ||
| 201 | + </view> | ||
| 202 | + <view class="preferential" wx:if="{{marketing.is_coupon=='1' || marketing.is_recharge=='1'}}"> | ||
| 203 | + <view class="rubric rubric1"> | ||
| 204 | + 特别优惠 | ||
| 205 | + </view> | ||
| 206 | + <view class="preferentialItems" wx:if="{{marketing.is_coupon=='1'}}"> | ||
| 207 | + <view class="left"> | ||
| 208 | + <view class="top"> | ||
| 209 | + <text>200元代金券</text> | ||
| 210 | + <text class="price">¥100</text> | ||
| 211 | + <text class="discount">5折</text> | ||
| 212 | + </view> | ||
| 213 | + <view class="bottom"> | ||
| 214 | + 周一到周五可用,消费满600元可用一张。 | ||
| 215 | + </view> | ||
| 216 | + </view> | ||
| 217 | + <view class="font24r orderingFood"> | ||
| 218 | + 去抢购 | ||
| 219 | + </view> | ||
| 220 | + </view> | ||
| 221 | + <view class="preferentialItems" wx:if="{{marketing.is_recharge=='1'}}"> | ||
| 222 | + <view class="left"> | ||
| 223 | + <view class="top"> | ||
| 224 | + <text>充1000赠300</text> | ||
| 225 | + </view> | ||
| 226 | + <view class="bottom"> | ||
| 227 | + 会员充值满1000元赠余额200元;会员充值满1000元赠送50元代金券;会员充值满1000元赠50元菜品。 | ||
| 228 | + </view> | ||
| 229 | + </view> | ||
| 230 | + <view class="font24r orderingFood"> | ||
| 231 | + 去充值 | ||
| 232 | + </view> | ||
| 233 | + </view> | ||
| 234 | + </view> | ||
| 235 | + <view class="vips"> | ||
| 236 | + <image src="{{marketing.logo}}" mode="widthFix" /> | ||
| 237 | + <view class="news"> | ||
| 238 | + {{marketing.wecomle}} | ||
| 239 | + </view> | ||
| 240 | + <!-- <view wx:if="{{marketing.is_link}}" class="font24r favouredPolicy"> | ||
| 241 | + 点击了解更多会员优惠政策 | ||
| 242 | + </view> --> | ||
| 243 | + <view class="text"> | ||
| 244 | + {{reserve.seller_name}} | ||
| 245 | + </view> | ||
| 246 | + </view> | ||
| 247 | +</scroll-view> | ||
| 248 | +<view class="{{between?'all-button flex-lr between':'all-button flex-lr'}}"> | ||
| 249 | + <!-- <view wx:if="{{marketing.is_online}}" class="book-item-font second-book-button flex-cc font30r" bindtap="secondbook" style="position: relative;">再次预订 | ||
| 250 | + </view> --> | ||
| 251 | + <!-- <view wx:if="{{marketing.is_arrival}}" class="book-item-font second-book-button flex-cc font30r centerBtn" bindtap="secondbook" style="position: relative;">确认赴约 | ||
| 252 | + </view> --> | ||
| 253 | + <block> | ||
| 254 | + <button wx:if="{{marketing.is_transpond}}" class="book-item-font flex-cc font30r shareItem" open-type="share">转发给客人 | ||
| 255 | + </button> | ||
| 256 | + </block> | ||
| 257 | +</view> |
| 1 | +/* pages/customer/detail_owner_invitation_new.wxss */ | ||
| 2 | +@import "../tpl/tpls.wxss"; | ||
| 3 | + | ||
| 4 | +.titleImg { | ||
| 5 | + top: 160rpx; | ||
| 6 | + left: 1rpx; | ||
| 7 | + width: 750rpx; | ||
| 8 | + height: 330rpx; | ||
| 9 | +} | ||
| 10 | + | ||
| 11 | +.blueTitleImg { | ||
| 12 | + background: #0143A3; | ||
| 13 | +} | ||
| 14 | + | ||
| 15 | +.greenTitleImg { | ||
| 16 | + background: #438E93; | ||
| 17 | +} | ||
| 18 | + | ||
| 19 | +.blackGoldTitleImg { | ||
| 20 | + background: #0C0F0E; | ||
| 21 | +} | ||
| 22 | + | ||
| 23 | +.titleIcon { | ||
| 24 | + width: 250rpx; | ||
| 25 | + height: 132rpx; | ||
| 26 | +} | ||
| 27 | + | ||
| 28 | +.title { | ||
| 29 | + text-align: center; | ||
| 30 | + font-family: FangSong; | ||
| 31 | + font-size: 72rpx; | ||
| 32 | + -webkit-background-clip: text; | ||
| 33 | + -webkit-text-fill-color: transparent; | ||
| 34 | + position: relative; | ||
| 35 | + top: -16rpx; | ||
| 36 | + background-image: -webkit-linear-gradient(bottom, #697d6e, #cfb53b); | ||
| 37 | +} | ||
| 38 | + | ||
| 39 | +.blueTitle { | ||
| 40 | + background-image: -webkit-linear-gradient(bottom, #697d6e, #cfb53b); | ||
| 41 | +} | ||
| 42 | + | ||
| 43 | +.greenTitle { | ||
| 44 | + background-image: -webkit-linear-gradient(bottom, #83a06b, #cfb53b); | ||
| 45 | +} | ||
| 46 | + | ||
| 47 | +.blackGoldTitle { | ||
| 48 | + background-image: -webkit-linear-gradient(bottom, #663712, #c76216); | ||
| 49 | +} | ||
| 50 | + | ||
| 51 | +.info { | ||
| 52 | + text-align: center; | ||
| 53 | + font-family: FangSong; | ||
| 54 | + font-size: 40rpx; | ||
| 55 | + background-image: -webkit-linear-gradient(bottom, #eeae74, #EEAE74); | ||
| 56 | + -webkit-background-clip: text; | ||
| 57 | + -webkit-text-fill-color: transparent; | ||
| 58 | + position: relative; | ||
| 59 | + top: -16rpx; | ||
| 60 | +} | ||
| 61 | + | ||
| 62 | +.blueInfo { | ||
| 63 | + background-image: -webkit-linear-gradient(bottom, #817d8a, #eeae74); | ||
| 64 | +} | ||
| 65 | + | ||
| 66 | +.greenInfo { | ||
| 67 | + background-image: -webkit-linear-gradient(bottom, #999e84, #edae74); | ||
| 68 | +} | ||
| 69 | + | ||
| 70 | +.blackGoldInfo { | ||
| 71 | + background-image: -webkit-linear-gradient(bottom, #866545, #eeae74); | ||
| 72 | +} | ||
| 73 | + | ||
| 74 | +.homeImage { | ||
| 75 | + width: 100%; | ||
| 76 | +} | ||
| 77 | + | ||
| 78 | +.reservationInfo { | ||
| 79 | + display: flex; | ||
| 80 | + min-height: 200rpx; | ||
| 81 | + padding: 0 26rpx; | ||
| 82 | + position: relative; | ||
| 83 | +} | ||
| 84 | + | ||
| 85 | +.reservationInfo .line { | ||
| 86 | + position: absolute; | ||
| 87 | + width: 4rpx; | ||
| 88 | + height: 95%; | ||
| 89 | + margin: 0 16rpx 0 0; | ||
| 90 | + background: linear-gradient(270deg, #eeae74 20%, #0c0f0e 124%); | ||
| 91 | +} | ||
| 92 | + | ||
| 93 | +.infoRight { | ||
| 94 | + flex: 1; | ||
| 95 | + margin-left: 30rpx; | ||
| 96 | +} | ||
| 97 | + | ||
| 98 | +.begin { | ||
| 99 | + margin: 20rpx 0 30rpx 0; | ||
| 100 | + color: #000000; | ||
| 101 | + font-family: PingFang SC; | ||
| 102 | + font-size: 28rpx; | ||
| 103 | +} | ||
| 104 | + | ||
| 105 | +.flex-11 { | ||
| 106 | + display: flex; | ||
| 107 | + line-height: 40rpx; | ||
| 108 | + color: #000000; | ||
| 109 | + font-family: PingFang SC; | ||
| 110 | + font-size: 28rpx; | ||
| 111 | +} | ||
| 112 | + | ||
| 113 | +.label { | ||
| 114 | + flex-shrink: 0; | ||
| 115 | + color: #000000; | ||
| 116 | + font-family: PingFang SC; | ||
| 117 | + font-size: 28rpx; | ||
| 118 | +} | ||
| 119 | + | ||
| 120 | +.contentData { | ||
| 121 | + flex: 1; | ||
| 122 | + line-height: 40rpx; | ||
| 123 | + color: #000000; | ||
| 124 | + font-family: PingFang SC; | ||
| 125 | + font-size: 28rpx; | ||
| 126 | +} | ||
| 127 | + | ||
| 128 | +.handleInfo { | ||
| 129 | + width: 100%; | ||
| 130 | + margin-top: 20rpx; | ||
| 131 | + display: flex; | ||
| 132 | + justify-content: space-between; | ||
| 133 | + align-items: center; | ||
| 134 | +} | ||
| 135 | + | ||
| 136 | +.welcome { | ||
| 137 | + margin: 20rpx 0; | ||
| 138 | +} | ||
| 139 | + | ||
| 140 | +.visitor { | ||
| 141 | + margin: 30rpx 40rpx; | ||
| 142 | + color: #515151; | ||
| 143 | + font-family: PingFang SC; | ||
| 144 | + font-weight: 500; | ||
| 145 | + font-size: 36rpx; | ||
| 146 | +} | ||
| 147 | + | ||
| 148 | +.headerimg { | ||
| 149 | + width: 140rpx; | ||
| 150 | + height: 140rpx; | ||
| 151 | + border-radius: 71rpx; | ||
| 152 | +} | ||
| 153 | + | ||
| 154 | +.handle { | ||
| 155 | + display: flex; | ||
| 156 | + flex-direction: column; | ||
| 157 | + color: #999999; | ||
| 158 | + font-family: PingFang SC; | ||
| 159 | + font-weight: 500; | ||
| 160 | + font-size: 24rpx; | ||
| 161 | +} | ||
| 162 | + | ||
| 163 | +.brownFont { | ||
| 164 | + padding: 4rpx 16rpx; | ||
| 165 | + color: #0143A3; | ||
| 166 | + border: 2rpx solid #0143A3; | ||
| 167 | + border-radius: 22rpx; | ||
| 168 | + text-align: center; | ||
| 169 | +} | ||
| 170 | + | ||
| 171 | +.brownFont:nth-of-type(1) { | ||
| 172 | + margin-bottom: 30rpx; | ||
| 173 | +} | ||
| 174 | + | ||
| 175 | +.handle text { | ||
| 176 | + margin-bottom: 20rpx; | ||
| 177 | +} | ||
| 178 | + | ||
| 179 | +.positioning { | ||
| 180 | + margin: 16rpx 26rpx; | ||
| 181 | + display: flex; | ||
| 182 | + box-sizing: border-box; | ||
| 183 | + justify-content: center; | ||
| 184 | + background: #D9D9D9; | ||
| 185 | + padding: 16rpx 20rpx 16rpx 30rpx; | ||
| 186 | + border-radius: 10rpx; | ||
| 187 | + align-items: center; | ||
| 188 | +} | ||
| 189 | + | ||
| 190 | +.positioning image { | ||
| 191 | + width: 52rpx; | ||
| 192 | + height: 61rpx; | ||
| 193 | + margin-right: 38rpx; | ||
| 194 | +} | ||
| 195 | + | ||
| 196 | +.positioning .name { | ||
| 197 | + width: 80%; | ||
| 198 | + display: flex; | ||
| 199 | + flex-direction: column; | ||
| 200 | + color: #000000; | ||
| 201 | + font-family: PingFang SC; | ||
| 202 | + font-size: 28rpx; | ||
| 203 | +} | ||
| 204 | + | ||
| 205 | +.keepWrap { | ||
| 206 | + margin: 20rpx 70rpx; | ||
| 207 | + display: flex; | ||
| 208 | + flex-wrap: wrap; | ||
| 209 | + border-bottom: 2rpx solid #DBDBDB; | ||
| 210 | +} | ||
| 211 | + | ||
| 212 | +.keepItems { | ||
| 213 | + width: 50%; | ||
| 214 | + display: flex; | ||
| 215 | + margin-bottom: 28rpx; | ||
| 216 | + align-items: center; | ||
| 217 | + color: #999999; | ||
| 218 | + font-family: PingFang SC; | ||
| 219 | + font-weight: 500; | ||
| 220 | + font-size: 24rpx; | ||
| 221 | +} | ||
| 222 | + | ||
| 223 | +.keepItems image { | ||
| 224 | + width: 60rpx; | ||
| 225 | + height: 60rpx; | ||
| 226 | + margin-right: 20rpx; | ||
| 227 | +} | ||
| 228 | + | ||
| 229 | +.introduce { | ||
| 230 | + box-sizing: border-box; | ||
| 231 | +} | ||
| 232 | + | ||
| 233 | +.imgMask { | ||
| 234 | + position: relative; | ||
| 235 | +} | ||
| 236 | + | ||
| 237 | +.introduce .chief { | ||
| 238 | + top: 0; | ||
| 239 | + left: 0; | ||
| 240 | + width: 60%; | ||
| 241 | + height: 100%; | ||
| 242 | + padding-left: 20rpx; | ||
| 243 | +} | ||
| 244 | + | ||
| 245 | +.shopName { | ||
| 246 | + margin-bottom: 30rpx; | ||
| 247 | + color: #ffffff; | ||
| 248 | + font-family: FangSong; | ||
| 249 | + font-size: 30rpx; | ||
| 250 | +} | ||
| 251 | + | ||
| 252 | +.styleShopName { | ||
| 253 | + color: #515151; | ||
| 254 | +} | ||
| 255 | + | ||
| 256 | +.labelBox { | ||
| 257 | + width: 100%; | ||
| 258 | + display: flex; | ||
| 259 | + margin-bottom: 30rpx; | ||
| 260 | + position: relative; | ||
| 261 | +} | ||
| 262 | + | ||
| 263 | +.labelBox .label { | ||
| 264 | + width: 90%; | ||
| 265 | + line-height: 40rpx; | ||
| 266 | + margin: 0 20rpx; | ||
| 267 | + color: #ffffff; | ||
| 268 | + font-family: FangSong; | ||
| 269 | + font-size: 20rpx; | ||
| 270 | +} | ||
| 271 | + | ||
| 272 | +.labelBox .styleLabel { | ||
| 273 | + color: #999999; | ||
| 274 | +} | ||
| 275 | + | ||
| 276 | +.labelBox .line { | ||
| 277 | + position: absolute; | ||
| 278 | + width: 4rpx; | ||
| 279 | + height: 100%; | ||
| 280 | + margin: 0 16rpx 0 0; | ||
| 281 | + background: linear-gradient(270deg, rgba(238, 174, 116, 1) 20%, rgba(12, 15, 14, 1) 124%); | ||
| 282 | +} | ||
| 283 | + | ||
| 284 | +.labelBox1 .line { | ||
| 285 | + margin: 0 0 0 16rpx; | ||
| 286 | +} | ||
| 287 | + | ||
| 288 | +.IntroductionItems image { | ||
| 289 | + width: 100%; | ||
| 290 | + display: block; | ||
| 291 | +} | ||
| 292 | + | ||
| 293 | +.IntroductionItems { | ||
| 294 | + margin-bottom: 18rpx; | ||
| 295 | +} | ||
| 296 | + | ||
| 297 | +.famousChefBox { | ||
| 298 | + position: relative; | ||
| 299 | +} | ||
| 300 | + | ||
| 301 | +.Introducepublic { | ||
| 302 | + position: absolute; | ||
| 303 | + z-index: 5; | ||
| 304 | + display: flex; | ||
| 305 | + flex-direction: column; | ||
| 306 | + font-size: 28rpx; | ||
| 307 | + line-height: 50rpx; | ||
| 308 | + box-sizing: border-box; | ||
| 309 | +} | ||
| 310 | + | ||
| 311 | +.famousChefBox .IntroduceColor { | ||
| 312 | + top: 0; | ||
| 313 | + right: 0; | ||
| 314 | + color: #B39437; | ||
| 315 | + padding: 0 20rpx 0 0; | ||
| 316 | + width: 50%; | ||
| 317 | + height: 100%; | ||
| 318 | + box-sizing: border-box; | ||
| 319 | +} | ||
| 320 | + | ||
| 321 | +.famousChefBox .styleSeparate2 { | ||
| 322 | + width: 100%; | ||
| 323 | + text-align: right; | ||
| 324 | + box-sizing: border-box; | ||
| 325 | +} | ||
| 326 | + | ||
| 327 | +.vegetableBox .IntroduceColor { | ||
| 328 | + top: 0; | ||
| 329 | + right: 0; | ||
| 330 | + padding-left: 20rpx; | ||
| 331 | + width: 100%; | ||
| 332 | + height: 128rpx; | ||
| 333 | +} | ||
| 334 | + | ||
| 335 | +.styleSeparate { | ||
| 336 | + padding-left: 26rpx; | ||
| 337 | +} | ||
| 338 | + | ||
| 339 | +.vegetableBox .englishText { | ||
| 340 | + margin: 10rpx 0 0 0; | ||
| 341 | + color: #b39437; | ||
| 342 | +} | ||
| 343 | + | ||
| 344 | +.englishText { | ||
| 345 | + font-family: FangSong; | ||
| 346 | + font-size: 28rpx; | ||
| 347 | + margin: 30rpx 0 0 0; | ||
| 348 | + color: #b39437; | ||
| 349 | +} | ||
| 350 | + | ||
| 351 | +.chefText { | ||
| 352 | + font-family: FangSong; | ||
| 353 | + font-size: 28rpx; | ||
| 354 | + color: #b39437; | ||
| 355 | +} | ||
| 356 | + | ||
| 357 | +.famousChefBox .englishText { | ||
| 358 | + text-align: right; | ||
| 359 | +} | ||
| 360 | + | ||
| 361 | +.famousChefBox .chefText { | ||
| 362 | + text-align: right; | ||
| 363 | +} | ||
| 364 | + | ||
| 365 | +.greenchief { | ||
| 366 | + background: linear-gradient(180deg, #438e93 0%, #438e934d 100%); | ||
| 367 | +} | ||
| 368 | + | ||
| 369 | +.bluechief { | ||
| 370 | + background: linear-gradient(180deg, #0143a3 0%, #0143a34d 100%); | ||
| 371 | +} | ||
| 372 | + | ||
| 373 | +.blackGoldchief { | ||
| 374 | + background: linear-gradient(180deg, #0c0f0e 0%, #0c0f0e4d 100%); | ||
| 375 | +} | ||
| 376 | + | ||
| 377 | +.famousChefBox text { | ||
| 378 | + text-align: right; | ||
| 379 | +} | ||
| 380 | + | ||
| 381 | +.famousChefBox .shopName { | ||
| 382 | + text-align: right; | ||
| 383 | +} | ||
| 384 | + | ||
| 385 | +.famousChefBox .labelBox { | ||
| 386 | + justify-content: flex-end; | ||
| 387 | +} | ||
| 388 | + | ||
| 389 | +.specialServices { | ||
| 390 | + margin: 16rpx 40rpx; | ||
| 391 | + border-bottom: 2rpx solid #DBDBDB; | ||
| 392 | +} | ||
| 393 | + | ||
| 394 | +.rubric { | ||
| 395 | + color: #515151; | ||
| 396 | + font-family: PingFang SC; | ||
| 397 | + font-weight: 500; | ||
| 398 | + font-size: 36rpx; | ||
| 399 | + margin-bottom: 10rpx; | ||
| 400 | +} | ||
| 401 | + | ||
| 402 | +.specialServices .news { | ||
| 403 | + color: #515151; | ||
| 404 | + font-family: PingFang SC; | ||
| 405 | + font-weight: 500; | ||
| 406 | + font-size: 24rpx; | ||
| 407 | + line-height: 40rpx; | ||
| 408 | + margin-left: 20rpx; | ||
| 409 | +} | ||
| 410 | + | ||
| 411 | +.endStyle { | ||
| 412 | + display: flex; | ||
| 413 | +} | ||
| 414 | + | ||
| 415 | +.endStyle view:nth-of-type(1) { | ||
| 416 | + flex: 1; | ||
| 417 | +} | ||
| 418 | + | ||
| 419 | +.orderingFood { | ||
| 420 | + padding: 4rpx 20rpx; | ||
| 421 | + color: #fff; | ||
| 422 | + border-radius: 22rpx; | ||
| 423 | + text-align: center; | ||
| 424 | + background: linear-gradient(104.24deg, #4c8dad -57.47%, #0143a3 55.72%, #42a5ff 148.72%); | ||
| 425 | + margin: 20rpx 0; | ||
| 426 | + line-height: 50rpx; | ||
| 427 | + height: 50rpx; | ||
| 428 | +} | ||
| 429 | + | ||
| 430 | +.preferential { | ||
| 431 | + margin: 16rpx 40rpx; | ||
| 432 | +} | ||
| 433 | + | ||
| 434 | +.preferentialItems { | ||
| 435 | + border: 2rpx solid #DBDBDB; | ||
| 436 | + border-radius: 16rpx; | ||
| 437 | + padding: 16rpx 16rpx 16rpx 24rpx; | ||
| 438 | + margin-bottom: 20rpx; | ||
| 439 | + display: flex; | ||
| 440 | + justify-content: space-between; | ||
| 441 | +} | ||
| 442 | + | ||
| 443 | +.rubric1 { | ||
| 444 | + margin: 30rpx 0; | ||
| 445 | +} | ||
| 446 | + | ||
| 447 | +.left { | ||
| 448 | + flex: 1; | ||
| 449 | + margin-right: 20rpx; | ||
| 450 | +} | ||
| 451 | + | ||
| 452 | +.top { | ||
| 453 | + display: flex; | ||
| 454 | + width: 100%; | ||
| 455 | + align-items: center; | ||
| 456 | +} | ||
| 457 | + | ||
| 458 | +.bottom { | ||
| 459 | + margin-top: 20rpx; | ||
| 460 | + color: #515151; | ||
| 461 | + font-family: PingFang SC; | ||
| 462 | + font-weight: 500; | ||
| 463 | + font-size: 20rpx; | ||
| 464 | + display: -webkit-box; | ||
| 465 | + word-break: break-all; | ||
| 466 | + word-wrap: break-word; | ||
| 467 | + overflow: hidden; | ||
| 468 | + text-align: left; | ||
| 469 | +} | ||
| 470 | + | ||
| 471 | +.top text:nth-of-type(1) { | ||
| 472 | + font-size: 30rpx; | ||
| 473 | + font-weight: 600; | ||
| 474 | +} | ||
| 475 | + | ||
| 476 | +.top .discount { | ||
| 477 | + padding: 0 10rpx; | ||
| 478 | + color: #E34D59; | ||
| 479 | + border: 2rpx solid #E34D59; | ||
| 480 | + border-radius: 6rpx; | ||
| 481 | + margin: 0 10rpx 0 20rpx; | ||
| 482 | + font-family: PingFang SC; | ||
| 483 | + font-size: 14rpx; | ||
| 484 | +} | ||
| 485 | + | ||
| 486 | +.top .price { | ||
| 487 | + color: #E34D59; | ||
| 488 | +} | ||
| 489 | + | ||
| 490 | +.vips image { | ||
| 491 | + width: 80%; | ||
| 492 | + margin-top: 36rpx; | ||
| 493 | +} | ||
| 494 | + | ||
| 495 | +.vips { | ||
| 496 | + display: flex; | ||
| 497 | + flex-direction: column; | ||
| 498 | + justify-content: center; | ||
| 499 | + align-items: center; | ||
| 500 | + padding-bottom: 180rpx; | ||
| 501 | +} | ||
| 502 | + | ||
| 503 | +.vips .news { | ||
| 504 | + text-align: center; | ||
| 505 | + color: #000000; | ||
| 506 | + font-family: FangSong; | ||
| 507 | + font-size: 40rpx; | ||
| 508 | + margin: 40rpx 0 92rpx 0; | ||
| 509 | +} | ||
| 510 | + | ||
| 511 | +.vips .text { | ||
| 512 | + text-align: center; | ||
| 513 | + color: #515151; | ||
| 514 | + font-family: FangSong; | ||
| 515 | + font-size: 28rpx; | ||
| 516 | + margin: 20rpx 0; | ||
| 517 | +} | ||
| 518 | + | ||
| 519 | +.favouredPolicy { | ||
| 520 | + width: 60%; | ||
| 521 | + color: #999999; | ||
| 522 | + font-family: PingFang SC; | ||
| 523 | + font-weight: 500; | ||
| 524 | + border: 2rpx solid #0244a4; | ||
| 525 | + border-radius: 22rpx; | ||
| 526 | + text-align: center; | ||
| 527 | + padding: 10rpx; | ||
| 528 | +} | ||
| 529 | + | ||
| 530 | +.last-book-bg { | ||
| 531 | + background: transparent; | ||
| 532 | +} | ||
| 533 | + | ||
| 534 | +.all-button { | ||
| 535 | + background: #FAFAFA; | ||
| 536 | + height: 160rpx; | ||
| 537 | + padding: 0 40rpx; | ||
| 538 | + box-sizing: border-box; | ||
| 539 | + z-index: 100; | ||
| 540 | + justify-content: flex-end; | ||
| 541 | +} | ||
| 542 | + | ||
| 543 | +.between { | ||
| 544 | + justify-content: space-between; | ||
| 545 | +} | ||
| 546 | + | ||
| 547 | +.centerBtn { | ||
| 548 | + margin: 0 20rpx; | ||
| 549 | +} | ||
| 550 | + | ||
| 551 | +.second-book-button { | ||
| 552 | + margin-right: 20rpx; | ||
| 553 | +} | ||
| 554 | + | ||
| 555 | +.book-item-font { | ||
| 556 | + width: 25%; | ||
| 557 | + border: 2rpx solid #0143A3; | ||
| 558 | + color: #0143A3; | ||
| 559 | + height: 46%; | ||
| 560 | + border-radius: 42rpx; | ||
| 561 | +} | ||
| 562 | + | ||
| 563 | +.shareItem { | ||
| 564 | + width: 100%; | ||
| 565 | + margin: 0; | ||
| 566 | + background: #fff; | ||
| 567 | + color: #0244a4; | ||
| 568 | +} |
| @@ -361,6 +361,10 @@ export default { | @@ -361,6 +361,10 @@ export default { | ||
| 361 | hasDisabledRMT:true, | 361 | hasDisabledRMT:true, |
| 362 | }, | 362 | }, |
| 363 | 363 | ||
| 364 | + //获取商家设置预订安排模板页面 | ||
| 365 | + 'App.Seller.GetSellerTemplateConf':{ | ||
| 366 | + hasDisabledRMT:true, | ||
| 367 | + }, | ||
| 364 | 368 | ||
| 365 | //置满包间分类 | 369 | //置满包间分类 |
| 366 | 'App.Seller.SetTableClassFull':{ | 370 | 'App.Seller.SetTableClassFull':{ |
-
Please register or login to post a comment