Commit 5990e085f3f95c99a5779b49777666a8b7d2caea

Authored by liuxuqinfhp1220
2 parents 623b524f 856e109e

no message

... ... @@ -28,7 +28,8 @@
"pages/reserve/activity",
"pages/reserve/discount",
"pages/reserve/indexList",
"pages/reserve/share"
"pages/reserve/share",
"pages/reserve/submit"
],
"subpackages": [
{
... ...
// components/seller-card/seller-card.js
import util from '../../utils/util';
Component({
options: {
multipleSlots: true // 在组件定义时的选项中启用多slot支持
},
options: {
multipleSlots: true // 在组件定义时的选项中启用多slot支持
},
/**
* 组件的属性列表
*/
properties: {
seller:Object,
detail:{
type:Object,
value:{},
observer:function(){
console.log('observer',arguments);
this.init();
}
},
hasMaster:{ //预订人+手机
type:Boolean,
value:false
},
hasListShare:{ //首页列表的预订人+分享
type:Boolean,
value:false
},
hasShowStatus:{ //右上角显示状态
type:Boolean,
value:false
seller: Object,
detail: {
type: Object,
value: {},
observer: function () {
console.log('observer', arguments);
this.init();
}
},
hasMaster: { //预订人+手机
type: Boolean,
value: false
},
hasListShare: { //首页列表的预订人+分享
type: Boolean,
value: false
},
hasShowStatus: { //右上角显示状态
type: Boolean,
value: false
},
hasAddress: { //显示地址,默认显示
type: Boolean,
value: true
},
hasOnlineReserve:{ //是否为在线预订卡片
type: Boolean,
value: false
},
},
/**
* 组件的初始数据
*/
data: {
rdateStr:"",
tableSubInfo:"",
masterMan:"",
rdateStr: "",
tableSubInfo: "",
masterMan: "",
},
attached(){
attached() {
},
detached(){
},
detached() {
},
},
/**
* 组件的方法列表
*/
methods: {
init(){
if(this.data.detail && this.data.detail.ddate){
let masterMan=(this.data.detail.rname||'');
if(this.data.detail.phone){
masterMan+=' ('+
this.data.detail.phone
.replace(/([\d]{2}).*([\d]{4})/,function($0,$1,$2){
return $1+'*'+$2
})
+')';
}
let tableSubInfo=''
let tableFirst='';
if(this.data.detail.tableFirst){
tableSubInfo=(this.data.detail.tableFirst||'')+' '+(this.data.detail.tableSubInfo||'');
tableFirst=this.data.detail.tableFirst
}else{
tableFirst=this.data.detail.tables[0].name
tableSubInfo=this.data.detail.tables[0].name;
if(this.data.detail.tables.length>1){
tableSubInfo+=' 等'+(this.data.detail.tables.length)+'个'
+(this.data.detail.tables[0].tid==2?'包间':'');
tableFirst+='等';
}
}
let obj={
rdateStr:util.unixtoTime(this.data.detail.ddate,'MM月DD日 HH:II'),
tableSubInfo:tableSubInfo,
tableFirst:tableFirst,
masterMan:masterMan,
}
if(this.data.hasShowStatus){
let ns=new Date()/1000
obj.showStatusStr='已预订'
if(this.data.detail.status==4){
obj.showStatusStr='已取消'
}else if(this.data.detail.status>=2 || ns>this.data.detail.ddate){
obj.showStatusStr='已完成'
}
}
this.setData(obj)
init() {
if (this.data.detail && this.data.detail.ddate) {
let masterMan = (this.data.detail.rname || '');
if (this.data.detail.phone) {
masterMan += ' (' +
this.data.detail.phone
.replace(/([\d]{2}).*([\d]{4})/, function ($0, $1, $2) {
return $1 + '*' + $2
})
+ ')';
}
let tableSubInfo = ''
let tableFirst = '';
if (this.data.detail.tableFirst) {
tableSubInfo = (this.data.detail.tableFirst || '') + ' ' + (this.data.detail.tableSubInfo || '');
tableFirst = this.data.detail.tableFirst
} else {
tableFirst = this.data.detail.tables[0].name
tableSubInfo = this.data.detail.tables[0].name;
if (this.data.detail.tables.length > 1) {
tableSubInfo += ' 等' + (this.data.detail.tables.length) + '个'
+ (this.data.detail.tables[0].tid == 2 ? '包间' : '');
tableFirst += '等';
}
}
let obj = {
rdateStr: util.unixtoTime(this.data.detail.ddate, 'MM月DD日 HH:II'),
tableSubInfo: tableSubInfo,
tableFirst: tableFirst,
masterMan: masterMan,
}
if (this.data.hasShowStatus) {
let ns = new Date() / 1000
obj.showStatusStr = '已预订'
if (this.data.detail.status == 4) {
obj.showStatusStr = '已取消'
} else if (this.data.detail.status >= 2 || ns > this.data.detail.ddate) {
obj.showStatusStr = '已完成'
}
}
this.setData(obj)
}
},
lookLocation: function () {
//console.log(this.data.seller.lat,this.data.seller.long,this.data.detail.map_address)
wx.openLocation({
latitude: Number(this.data.seller.lat),
longitude: Number(this.data.seller.long),
scale: 17,
address: this.data.seller.map_address,
success: function (res) {
console.log(res)
}
})
},
lookLocation:function(){
//console.log(this.data.seller.lat,this.data.seller.long,this.data.detail.map_address)
wx.openLocation({
latitude:Number(this.data.seller.lat),
longitude:Number(this.data.seller.long),
scale:17,
address:this.data.seller.map_address,
success:function (res) {
console.log(res)
}
})
},
}
})
... ...
<!--components/seller-card/seller-card.wxml-->
<view class="card">
<view class="card {{hasOnlineReserve?'online':''}}">
<view class="seller flex-lr">
<view class="flex-ll">
<view class="avatar" wx:if="{{seller.seller_image}}">
<image src="{{seller.seller_image}}"></image>
</view>
<view class="name Medium">{{seller.sellername}}</view>
<view class="card-class name Medium">{{seller.sellername}}</view>
</view>
<view wx:if="{{hasShowStatus}}" style="font-size: 30rpx;">
{{showStatusStr}}
... ... @@ -25,7 +25,7 @@
<view class="value">{{tableFirst}}</view>
</view>
</view>
<view class="seller address flex-ll" catchtap="lookLocation">
<view class="seller address flex-ll" catchtap="lookLocation" wx:if="{{hasAddress}}">
<view class="gps-icon">
<image src="http://qn.colorcun.com/custom/lite-yd/image/gps-icon.png"></image>
</view>
... ...
... ... @@ -15,6 +15,7 @@
min-width: 60rpx;
border-radius: 50%;
margin-right: 20rpx;
overflow: hidden;
}
.seller .more{
width: 14rpx;
... ... @@ -31,7 +32,6 @@
font-size: 36rpx;
color:#AD7644;
}
.context{
background-color: #E6EBEE;
width: 100%;
... ... @@ -95,3 +95,13 @@
.opt{
padding-top: 0;
}
.online .seller .name{
color: #353535;
}
.online .context{
background-color: #F5F5F5;
}
.online .context .line{
background-color: #ECEBEB;
}
... ...
// pages/me/setting.js
import util from '../../utils/util';
import App from '../../utils/api';
const {regeneratorRuntime} = global
const _u={
name:'',
sex:1,
phone:'',
cusdem:'',
const _u = {
name: '',
sex: 1,
phone: '',
remark: '',
}
Page({
/**
* 页面的初始数据
*/
user:_u,
user: _u,
data: {
user:_u
user: _u
},
cache_key:'me-setting',
/**
* 生命周期函数--监听页面加载
*/
onLoad: function (options) {
wx.getStorage({
key:this.cache_key,
success:(res)=>{
if(res.data){
this.user=res.data
this.setData({
user:res.data,
})
}
}
App.Customer.GetCustomerInfo().then(res=>{
this.user = res.data
this.setData({
user: res.data,
})
})
},
/**
... ... @@ -63,27 +58,30 @@ Page({
},
saved(){
wx.setStorage({
key:this.cache_key,
data:this.user,
})
wx.navigateBack()
},
changeInput(e){
let key=util.attr(e,'key');
let val=''
if(key=='sex'){
val=util.attr(e,'val');
}else{
val=util.val(e);
}
this.user[key]=val;
if(key=='sex'){
this.setData({
user:this.user
})
}
saved() {
if(!this.user.name){
return util.toast('请填写预定人','none')
}
App.Customer.SetCustomerInfo({
...this.user
}).then(res=>{
App.Customer.GetCustomerInfo({},'clear')
wx.navigateBack()
})
},
changeInput(e) {
let key = util.attr(e, 'key');
let val = ''
if (key == 'sex') {
val = util.attr(e, 'val');
} else {
val = util.val(e);
}
this.user[key] = val;
if (key == 'sex') {
this.setData({
user: this.user
})
}
},
})
\ No newline at end of file
... ...
... ... @@ -22,6 +22,11 @@
data-key="sex"
data-val="2"
class="switch-item {{user.sex==2?'checked':''}}">女士</view>
<view
bindtap="changeInput"
data-key="sex"
data-val="3"
class="switch-item {{user.sex==3?'checked':''}}">公司</view>
</view>
</view>
</view>
... ... @@ -31,7 +36,7 @@
<input class="phone input" placeholder="请输入手机号码"
bindinput="changeInput"
data-key="phone"
type="phone"
type="number"
value="{{user.phone}}"
placeholder-class="input-pl" maxlength="11"/>
</view>
... ... @@ -41,9 +46,9 @@
<view class="Medium">
<input class="cusdem input" placeholder="请填写预订需求"
bindinput="changeInput"
data-key="cusdem"
value="{{user.cusdem}}"
placeholder-class="input-pl" maxlength="50"/>
data-key="remark"
value="{{user.remark}}"
placeholder-class="input-pl" maxlength="20"/>
</view>
</view>
</view>
... ...
... ... @@ -27,7 +27,7 @@
font-size: 34rpx;
}
.switch{
width: 168rpx;
width: 252rpx;
height: 50rpx;
line-height: 50rpx;
border: 2rpx solid #262628;
... ...
... ... @@ -14,6 +14,8 @@ Page({
pagesHeight:'auto',
current:0,
currentView:1,
hasOnlineReserve:false,
activeTab:'detail',
},
/**
... ... @@ -68,6 +70,7 @@ Page({
}
this.setData({
seller:seller,
hasOnlineReserve:seller.is_online_reserve==1||true,
})
}
})
... ... @@ -240,4 +243,9 @@ Page({
sub:this.options.hasSellerShare?2:3,//关系类型:1/2/3 邀请关系/商户端分享关系/C端分享关系
})
},
switchTabs(e){
this.setData({
activeTab:util.attr(e,'act'),
})
},
})
\ No newline at end of file
... ...
... ... @@ -185,13 +185,202 @@
<discount id="discount" seller="{{seller}}" bindhide="discountHide" bindshow="discountShow"></discount>
<share id="share" seller_id="{{seller.id}}"></share>
</view>
<!-- 包间预定 -->
<block wx:if="{{seller.daily}}">
<view class="room-booking bg_white">
<people></people>
<view class="dur">
<view class="dur-title black-font font-bold">可订时间</view>
<dur timedur="{{seller.daily}}"></dur>
</view>
</view>
<!-- 包间预定 -->
<view class="tabs flex-lr" wx:if="{{hasOnlineReserve}}">
<view class="tabs-item flex-vc" bindtap="switchTabs" data-act="detail">
<view class="tabs-item-text {{activeTab=='detail'?'active':''}}">餐厅详情</view>
</view>
<view class="tabs-item flex-vc" bindtap="switchTabs" data-act="reserve">
<view class="tabs-item-text {{activeTab=='reserve'?'active':''}}">包间预订</view>
</view>
</view>
<block wx:if="{{activeTab=='detail'}}">
<view class="seller-banner" style="{{hasOnlineReserve?'margin-top: 80rpx;':''}}">
<swiper
indicator-dots="{{false}}" autoplay="{{false}}" circular="{{false}}" vertical="{{false}}"
interval="2000" duration="500"
previous-margin="{{0}}px" next-margin="{{0}}px"
current="{{current}}" bindchange="bindtransition" bindtap="reviweBanner">
<block wx:for="{{seller.envi_image}}" wx:key="sellers.key">
<swiper-item>
<image class="image" mode="aspectFill"
src="{{item}}?imageView2/2/w/860/interlace/0/q/100" ></image>
</swiper-item>
</block>
</swiper>
<view class="slogan" wx:if="{{seller.slogan}}">
<view class="slogan-view flex-ll">
<view class="dot"></view>
<view>{{seller.slogan}}</view>
</view>
</view>
<view class="swiper-num" wx:if="{{seller.envi_image.length>0}}">{{currentView}} / {{seller.envi_image.length}}</view>
</view>
<view class="pages" style="height: {{pagesHeight}};overflow:{{pagesHeight=='auto'?'visible':'hidden'}}">
<view class="seller">
<view class="base">
<view class="name Semibold flex-lr">
<view class="name-info">{{seller.sellername}}
<view class="broad" wx:if="{{seller.brand}}">
<view class="broad-1"></view>
<view class="broad-2">{{seller.brand.name}}</view>
<view class="broad-3"></view>
</view>
</view>
<view class="average" wx:if="{{seller.average>0}}">¥{{seller.average}}/人</view>
</view>
<view class="ping flex-ll">
<view class="item" wx:if="{{seller.cate.length>0}}">{{seller.cate[0]}}</view>
<view class="item" wx:if="{{seller.is_belt_wine!=0}}">{{seller.is_belt_wine==1?'不可带酒水':'可自带酒水'}}</view>
<view class="item" wx:if="{{seller.is_parking==1}}">停车场</view>
<view class="item" wx:if="{{seller.room_num>0}}">{{seller.room_num}}个包间</view>
</view>
<view class="label_c" wx:if="{{seller.label_cstr}}">
<text class="label_text" >{{seller.label_cstr}}</text>
</view>
</view>
<view class="addr flex-lr" bindtap="lookLocation">
<view class="addr-view">
<view class="addr-text flex-ll">
<image src="http://qn.colorcun.com/custom/lite-online/image/%E5%AE%9A%E4%BD%8D.png"></image>
<view class="text">{{seller.real_address||seller.map_address}}</view>
</view>
<view class="addr-long">{{seller.distanceStr?'距您'+seller.distanceStr:''}}</view>
</view>
<view class="more more-addr"></view>
</view>
</view>
<view class="black20line"></view>
<view class="seller">
<formids wx:if="{{seller.activity.length>0}}" bindclick="showDiscount">
<view class="activity-view-easy flex-lr" >
<view class="activity-left flex-ll">
<view class="icon"></view>
<block wx:for="{{seller.activity}}"
wx:key="seller.activity.key"
wx:if="{{index<2}}">
<view class="discount" >{{item.title}}</view>
</block>
</view>
<view class="flex-rr activity-right">
<view class="more-text">更多</view>
<view class="more"></view>
</view>
</view>
</formids>
<!--
<formids wx:if="{{seller.activity.length>0}}" bindclick="showDiscount">
<view class="activity-view" >
<view class="activity" >
<view class="flex-lr">
<view class="activity-left">
<view class="activity-first flex-ll" style="align-items: flex-start">
<image src="http://qn.colorcun.com/custom/lite-online/image%E5%96%87%E5%8F%AD.png"></image>
<view class="flex-cc discount" wx:for="{{seller.activity}}"
wx:key="seller.activity.key"
wx:if="{{index<2}}">
<view class="discount-left"></view>
<view class="discount-text">{{item.title}}</view>
<view class="discount-right"></view>
</view>
</view>
</view>
<view class="activity-right flex-rr Semibold">
<view></view>
<view class="more"></view>
</view>
</view>
<view class="activity-text">
该优惠仅适用于一键订平台预订客户
</view>
</view>
</view>
</formids>
-->
</view>
<view class="black20line"></view>
<view class="block" wx:if="{{seller.room_image.length>0}}">
<view class="header flex-ll">
<view class="line"></view>
<view class="name">包间环境</view>
</view>
<scroll-view
scroll-x
class="baos"
scroll-into-view="{{toView}}"
scroll-top="{{scrollTop}}"
>
<block wx:for="{{seller.room_image}}" wx:key="sellers.key">
<view class="image">
<image mode="aspectFill" bindtap="reviweRoomImage" data-current="{{item}}"
src="{{item}}?imageView2/2/w/640/interlace/0/q/100"></image>
</view>
</block>
</scroll-view>
</view>
<view class="block" wx:if="{{seller.dishes.length>0}}">
<view class="header flex-ll">
<view class="line"></view>
<view class="name">推荐菜品</view>
</view>
<scroll-view
scroll-x
class="cais"
scroll-into-view="{{toView}}"
scroll-top="{{scrollTop}}"
>
<block wx:for="{{seller.dishes}}" wx:key="sellers.key">
<view class="cais-views" wx:if="{{item.image}}">
<view class="image-view" >
<view class="image">
<image mode="aspectFill" bindtap="reviweDishesImage" data-current="{{item.image}}"
src="{{item.image}}?imageView2/2/w/640/interlace/0/q/100"></image>
</view>
<view class="text Semibold">{{item.name}}</view>
</view>
</view>
</block>
</scroll-view>
<view class="cais-text">
<block wx:for="{{seller.dishes}}" wx:key="sellers.key">
<view wx:if="{{!item.image}}">{{item.name}}</view>
</block>
</view>
</view>
</view>
<view class="footer flex-lr">
<view class="left flex-cc">
<formids class="flex-tb" url="/pages/customer/index">
<image src="http://qn.colorcun.com/custom/lite-online/image/%E9%A6%96%E9%A1%B5.png"></image>
<view class="text">首页</view>
</formids>
<userinfo class="follow flex-tb" binduserinfo="follow">
<image src="http://qn.colorcun.com/custom/lite-online/image/%E6%94%B6%E8%97%8F.png" wx:if="{{!IsCollectionSeller}}"></image>
<image src="http://qn.colorcun.com/custom/lite-online/image/%E5%B7%B2%E6%94%B6%E8%97%8F.png" wx:else=""></image>
<view class="text">收藏</view>
</userinfo>
</view>
<view class="reserve share flex-vc">
<userinfo class="flex-vc" style="width: 100%" binduserinfo="shareUserinfo">
<view class="text">分享</view>
</userinfo>
</view>
<view class="reserve">
<formids class="flex-vc" bindclick="reserve" id="reserve-button">
<view class="text">电话预订</view>
</formids>
</view>
</view>
<as id="as" items="{{seller.seller_tel}}" bindclick="reservePhone">拨打电话预订</as>
<getpos bindpos="onpos" id="getpos"></getpos>
<discount id="discount" seller="{{seller}}" bindhide="discountHide" bindshow="discountShow"></discount>
<share id="share" seller_id="{{seller.id}}"></share>
</block>
<block wx:if="{{activeTab=='reserve'}}">
<view class="olreserve">
</view>
</block>
\ No newline at end of file
... ...
... ... @@ -480,4 +480,30 @@
width:100%;
padding:0 30rpx 40rpx;
box-sizing: border-box;
}
\ No newline at end of file
}
.tabs{
height: 80rpx;
position: fixed;
line-height: 80rpx;
width: 100%;
background-color: #ffffff;
z-index: 9;
}
.tabs-item{
width: 50%;
}
.tabs-item-text{
height: 76rpx;
border-bottom: 4rpx solid #ffffff;
font-size: 30rpx;
color: #353535;
}
.tabs-item-text.active{
border-color: #C0A369;
color: #C0A369;
font-weight: bold;
}
.olreserve{
margin-top: 80rpx;
}
... ...
// pages/reserve/submit.js
import util from '../../utils/util';
import App from '../../utils/api';
const _u = {
name: '',
sex: 1,
phone: '',
remark: '',
}
Page({
user: _u,
/**
* 页面的初始数据
*/
data: {
seller:null,
user:_u,
},
/**
* 生命周期函数--监听页面加载
*/
options:null,
onLoad: function (options) {
this.options=options
this.GetSellerDetail();
App.Customer.GetCustomerInfo().then(res=>{
this.user = res.data
this.setData({
user: res.data,
})
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady: function () {
},
/**
* 生命周期函数--监听页面显示
*/
onShow: function () {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide: function () {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload: function () {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh: function () {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom: function () {
},
GetSellerDetail() {
let options = this.options
App.Customer.GetSellerDetail({
sid: options.sid,
}).then(res => {
if (res.ret == 200) {
let seller = res.data
this.setData({
seller: seller,
})
}
})
},
changeInput(e) {
let key = util.attr(e, 'key');
let val = ''
if (key == 'sex') {
val = util.attr(e, 'val');
} else {
val = util.val(e);
}
this.user[key] = val;
if (key == 'sex') {
this.setData({
user: this.user
})
}
},
saved() {
if(!this.user.name){
return util.toast('请填写姓名','none')
}
if(!this.user.phone){
return util.toast('请填写手机','none')
}
App.Customer.SetCustomerInfo({
...this.user
}).then(res=>{
App.Customer.GetCustomerInfo({},'clear')
wx.navigateBack()
})
},
})
\ No newline at end of file
... ...
{
"usingComponents": {
"nav":"/components/nav/nav",
"formids":"/components/formids/formids",
"card":"/components/seller-card/seller-card"
}
}
\ No newline at end of file
... ...
<!--pages/reserve/submit.wxml-->
<nav hasBack>预订详情</nav>
<view class="pages">
<card hasShowStatus hasAddress="{{false}}" hasOnlineReserve
seller="{{seller}}" detail="{{detail}}">
<view slot="opt" class="back flex-rr">
<formids
id="userinfo-share-{{detail.id}}"
binduserinfo="userinfo"
bindshare="share"
share="{{detail}}">
<view class="opt-button">修改</view>
</formids>
</view>
</card>
<view class="userinfo">
<view class="item flex-lr">
<view class="item-label">姓名</view>
<view class="Medium flex-rr">
<input class="name input" placeholder="请填写用餐人姓名"
bindinput="changeInput"
data-key="name"
value="{{user.name}}"
placeholder-class="input-pl" maxlength="4"/>
<view class="flex-rr switch">
<view
bindtap="changeInput"
data-key="sex"
data-val="1"
class="switch-item {{user.sex==1?'checked':''}}">先生</view>
<view
bindtap="changeInput"
data-key="sex"
data-val="2"
class="switch-item {{user.sex==2?'checked':''}}">女士</view>
<view
bindtap="changeInput"
data-key="sex"
data-val="3"
class="switch-item {{user.sex==3?'checked':''}}">公司</view>
</view>
</view>
</view>
<view class="item flex-lr">
<view class="item-label">手机</view>
<view class="Medium flex-lr">
<input class="phone input" placeholder="请填写联系方式"
bindinput="changeInput"
data-key="phone"
type="number"
value="{{user.phone}}"
placeholder-class="input-pl"/>
<view class="flex-rr switch">
一键获取
</view>
</view>
</view>
<view class="item flex-lr">
<view class="item-label">备注</view>
<view class="Medium">
<input class="cusdem input" placeholder="您的特殊要求,我们会尽量安排(20字)"
bindinput="changeInput"
data-key="remark"
value="{{user.remark}}"
placeholder-class="input-pl" maxlength="20"/>
</view>
</view>
</view>
<formids bindclick="saved">
<view class="share-but">提交预订</view>
</formids>
</view>
... ...
/* pages/reserve/submit.wxss */
.pages{
padding: 30rpx;
width: calc(100% - 60rpx);
}
.back{
height: 120rpx;
line-height: 120rpx;
width: 100%;
}
.opt-button{
height: 40rpx;
width: 120rpx;
border: 2rpx solid #C0A369;
color: #C0A369;
text-align: center;
line-height: 40rpx;
font-size: 26rpx;
margin-right: 40rpx;
}
.userinfo{
font-size: 30rpx;
}
.item{
height: 124rpx;
line-height: 124rpx;
border-bottom: 2rpx solid #F5F5F5;
padding-top: 20rpx;
}
.item-label{
width: 100rpx;
min-width: 100rpx;
font-weight: bold;
}
.item view:last-child{
font-size: 34rpx;
}
.switch{
width: 252rpx;
height: 50rpx;
line-height: 50rpx;
border: 2rpx solid #C0A369;
margin-left: 16rpx;
font-size: 28rpx;
}
.Medium{
width: 100%;
}
.input{
width: 100%;
}
.switch .switch-item{
width: 84rpx;
height: 50rpx;
line-height: 50rpx;
text-align: center;
color: #C0A369;
border-right: 2rpx solid #C0A369;
}
.switch .switch-item:last-child{
border-width: 0;
}
.switch .checked{
background-color:#C0A369;
color: #FEFEFE;
}
.share-but{
color:#FEFEFE;
background: #262628;
width: 100%;
line-height: 80rpx;
font-size: 34rpx;
text-align: center;
margin-top: 160rpx;
}
.input-pl{
font-size: 28rpx;
}
\ No newline at end of file
... ...
... ... @@ -461,6 +461,10 @@
"name": "包间预定",
"pathName": "pages/reserve/detail",
"query": "id=154",
"id": 55,
"name": "pages/reserve/submit",
"pathName": "pages/reserve/submit",
"query": "sid=1",
"scene": null
}
]
... ...
... ... @@ -256,6 +256,18 @@ export default {
//根据腾讯地点搜索api整合现有商家
'App.Customer.KeywordTips':null,
//设置C端用户常用信息
'App.Customer.SetCustomerInfo':{
openid:'openid',
silence:false,
},
//根据openid获取用的常用信息
'App.Customer.GetCustomerInfo':{
openid:'openid',
cachetime: -1,
},
//获得小程序码
'App.Other.generate_qrcode':{
... ...