Commit 0889279694772c1c8c33d5f1e49eb20cd6a00444

Authored by wangfan
1 parent d5108c97

ui fix

... ... @@ -61,19 +61,23 @@ Component({
+')';
}
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){
... ...
... ... @@ -21,8 +21,8 @@
</view>
<view class="line"></view>
<view class="right info Medium">
<view class="label">包间</view>
<view class="value">{{tableSubInfo}}</view>
<view class="label">包间{{detail.tables.length>1?("("+detail.tables.length+")个"):""}}</view>
<view class="value">{{tableFirst}}</view>
</view>
</view>
<view class="seller address flex-ll" catchtap="lookLocation">
... ...
/* pages/customer/detail_customer.wxss */
page{
.page{
color:#FFFFFF;
background: url("http://qn.colorcun.com/custom/lite-yd/image/invit-bg.png") #353334;
background-size: 100%;
}
.page{
overflow-y: auto;
position: fixed;
top:40rpx;
top:0;
bottom: 0;
left:0;
right:0;
... ...
... ... @@ -85,7 +85,7 @@ Page({
url = '/pages/customer/detail_invitation';
}
if (res.data.openid == opt.openid) {
url = '/pages/customer/detail_owner';
//url = '/pages/customer/detail_owner';
}
}
}
... ...
... ... @@ -133,7 +133,11 @@ Page({
openid:getApp().openid,
is_agree:1,
}).then(res=>{
this.getListData(true);
App.Reserve.Detail({
openid: getApp().openid,
rid: id
},'clear')
this.getListData(true);
})
}
})
\ No newline at end of file
... ...