Commit 8c9b32f7481ce23ebd707164c48ac8f4019010a9

Authored by vking
1 parent 32d74d74

painter

Showing 1 changed file with 12 additions and 7 deletions
... ... @@ -97,6 +97,7 @@ Page({
let seller=this.data.seller
let pw=getApp().system.windowWidth-20;
let ph=pw/355*558;
let tagsHeight=60//rpx
if(seller.activity.length==0){
ph=pw/355*500;
}
... ... @@ -109,8 +110,12 @@ Page({
cai_jiu_bao.push(seller.room_num+'个包间')
}
cai_jiu_bao=cai_jiu_bao.join(' | ')
let tags=['明星老板','湖景餐厅'];
let tags=[];
tags=tags.join(' | ')
if(!tags){
ph=ph-tagsHeight/2
tagsHeight=0
}
palette={
background: '#fff',
width: pw+'px',
... ... @@ -118,7 +123,7 @@ Page({
views: [
{
type:'image',
url:this.data.seller.share_image+'?imageView2/1/w/750/h/500/q/100',
url:seller.share_image+'?imageView2/1/w/750/h/500/q/100',
css:{
width:710+'rpx',
height:470+'rpx',
... ... @@ -127,7 +132,7 @@ Page({
},
{
type:'text',
text: this.data.seller.sellername,
text: seller.sellername,
id:'seller-name',
css:{
fontSize:'36rpx',
... ... @@ -139,7 +144,7 @@ Page({
},
{
type:'text',
text: '优选餐厅',
text: seller.rank,
css:{
fontSize:'20rpx',
color:'#ffffff',
... ... @@ -177,7 +182,7 @@ Page({
type:'rect',
css:{
color:'#F5F5F5',
top:'694rpx',
top:(634+tagsHeight)+'rpx',
left:'30rpx',
width:(pw-30)+'px',
height:'1px'
... ... @@ -245,7 +250,7 @@ Page({
css:{
fontSize:'30rpx',
color:'#353535',
top: '736rpx',
top: (676+tagsHeight)+'rpx',
left: '30rpx',
lineHeight:'38rpx',
maxLines:1,
... ... @@ -256,7 +261,7 @@ Page({
type:'rect',
css:{
color:'#F5F5F5',
top:'814rpx',
top:(754+tagsHeight)+'rpx',
left:'30rpx',
width:(pw-30)+'px',
height:'1px'
... ...