head.wxml 1.21 KB
Newer Older
huahua committed
1
<view style="{{'position:fixed;z-index:998;'+('height:'+(height+'px')+';')+('background:'+(background)+';')+('width:'+($root.g0?$base.isPcWidth+'px':'100%')+';')}}"><view class="head" style="{{'height:'+(height+'px')+';'+('background:'+(background)+';')+('width:'+($root.g1?$base.isPcWidth+'px':'100%')+';')}}"><block wx:if="{{backShow}}"><view data-event-opts="{{[['tap',[['back',['$event']]]]]}}" class="back" style="{{'top:'+(top+'px')+';'+('color:'+(color)+';')}}" bindtap="__e"><block wx:if="{{worksid==1}}"><image style="width:39rpx;height:39rpx;margin-top:5px;" src="../../../static/recommend/house.png" mode="aspectFit"></image></block><block wx:if="{{worksid==0}}"><image style="width:40rpx;height:40rpx;margin-top:5px;" src="../../../static/recommend/icon_back.png" mode="aspectFit"></image></block><block wx:if="{{worksid==-2||worksid==60}}"><image style="width:40rpx;height:40rpx;margin-top:5px;" src="../../../static/recommend/icon_back.png" mode="aspectFit"></image></block></view></block><block wx:if="{{titleShow}}"><view class="title" style="{{'top:'+(top+'px')+';'+('color:'+(color)+';')+('font-size:'+(size+'rpx')+';')+('width:'+($root.g2?$base.isPcWidth+'px':'100%')+';')}}">{{''+title+''}}</view></block></view></view>