more.axml 2.8 KB

1
  1. <view class="more"><view class="more_head flex"><view data-event-opts="{{[['tap',[['changeHead',[index]]]]]}}" class="{{((('more_head_li')+' '+'flexs')+' '+((index==i)?'active':''))}}" onTap="__e" a:for="{{list}}" a:for-item="item" a:for-index="index" a:key="index"><text>{{item.name}}</text><block a:if="{{index!=0}}"><image class="{{((item.type==1)?'handstand':'')}}" src="/static/image/home/xiala@2x.png" mode></image></block></view></view><view class="home_recommend_ul flex"><view data-event-opts="{{[['tap',[['goMessage',['$0',0],[[['boxList','',index]]]]]]]}}" class="home_recommend_li" onTap="__e" a:for="{{boxList}}" a:for-item="item" a:for-index="index" a:key="index"><view class="home_recommend_li_img"><view class="home_recommend_li_img_top flex"><view class="home_recommend_li_img_box"><image src="{{item.image}}" mode="aspectFill"></image></view><block a:if="{{item.right.length!=0}}"><view class="home_recommend_li_img_right"><image src="{{items}}" mode="aspectFill" a:for="{{item.right}}" a:for-item="items" a:for-index="index" a:key="index"></image></view></block></view><view class="home_recommend_li_img_bot"><image src="{{items}}" mode="aspectFill" a:for="{{item.bot}}" a:for-item="items" a:for-index="index" a:key="index"></image></view></view><view class="home_recommend_li_main"><view class="home_recommend_li_price">{{"价值:¥"+item.price_min+"~¥"+item.price_max}}</view><view class="home_recommend_li_name">{{item.box_name}}</view><view class="home_recommend_li_glod flex"><text>{{item.coin_price+"金币"}}</text><text>{{"共"+item.goods_num+"款商品"}}</text></view></view></view></view><view class="screen" style="{{'width:'+(isShow?'600rpx':0)+';'}}"><view class="screen_box"><view class="screen_name">价格区间</view><view class="screen_head flexs"><view class="screen_ipt center"><input type="number" placeholder="最低价" placeholder-style="color:#999999" data-event-opts="{{[['input',[['__set_model',['','minPrice','$event',[]]]]]]}}" value="{{minPrice}}" onInput="__e"/></view><view class="screen_head_line"></view><view class="screen_ipt center"><input type="number" placeholder="最高价" placeholder-style="color:#999999" data-event-opts="{{[['input',[['__set_model',['','maxPrice','$event',[]]]]]]}}" value="{{maxPrice}}" onInput="__e"/></view></view><view class="screen_ul flexs"><view data-event-opts="{{[['tap',[['selectprice',[index]]]]]}}" class="{{((('screen_li')+' '+'center')+' '+((index==selectPrice)?'active':''))}}" onTap="__e" a:for="{{priceList}}" a:for-item="item" a:for-index="index" a:key="index">{{item}}</view></view></view><view class="screen_footer flex"><view data-event-opts="{{[['tap',[['reset',[index]]]]]}}" class="screen_footer_li center" onTap="__e" a:for="{{2}}" a:for-item="item" a:for-index="index" a:key="index">{{index==0?'重置':'确定'}}</view></view></view><block a:if="{{isShow}}"><view class="marking"></view></block></view>