Commit 32d74d74d88ed1cd99ef08a2498185df56516995

Authored by vking
1 parent b862f0cc

painter

Showing 1 changed file with 29 additions and 1 deletions
... ... @@ -232,8 +232,36 @@ Page({
},
],
}
if(seller.cate.length>0){
if(seller.activity.length>0){
//活动
let activity=[];
seller.activity.forEach(act=>{
activity.push(act.title)
})
activity='活动: '+activity.join(' | ')
palette.views.push({
type:'text',
text: activity,
css:{
fontSize:'30rpx',
color:'#353535',
top: '736rpx',
left: '30rpx',
lineHeight:'38rpx',
maxLines:1,
width:(pw-30)+'px',
}
});
palette.views.push({
type:'rect',
css:{
color:'#F5F5F5',
top:'814rpx',
left:'30rpx',
width:(pw-30)+'px',
height:'1px'
}
});
}
}else{
palette={
... ...