more.wxml 4.4 KB

1
  1. <view class="more"><view class="banner"><image src="https://www.chaomangdao.com/image/home/banner@2x.png" mode></image></view><view class="small"><view data-event-opts="{{[['tap',[['navTo',['/pages/index/wfsm']]]]]}}" class="small-item" bindtap="__e"><view class="small-image"><image src="https://www.chaomangdao.com/image/home/small1.png" mode></image></view><view class="small-font">新手帮助</view></view><view data-event-opts="{{[['tap',[['navTo',['/pages/me/recharge']]]]]}}" class="small-item" bindtap="__e"><view class="small-image"><image src="https://www.chaomangdao.com/image/home/small2.png" mode></image></view><view class="small-font">优惠充值</view></view><view data-event-opts="{{[['tap',[['navTo',['/pages/me/balance']]]]]}}" class="small-item" bindtap="__e"><view class="small-image"><image src="https://www.chaomangdao.com/image/home/small3.png" mode></image></view><view class="small-font">我的余额</view></view><view data-event-opts="{{[['tap',[['navTo',['/pages/tabbar/box']]]]]}}" class="small-item" bindtap="__e"><view class="small-image"><image src="https://www.chaomangdao.com/image/home/small4.png" mode></image></view><view class="small-font">我的盒柜</view></view></view><view class="more_head flex"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeHead',[index]]]]]}}" class="{{['more_head_li','flexs',(index==i)?'active':'']}}" bindtap="__e"><text>{{item.name}}</text></view></block></view><view class="home_recommend_ul flex"><block wx:for="{{boxList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goMessage',['$0',0],[[['boxList','',index]]]]]]]}}" class="home_recommend_li" bindtap="__e"><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></view></view><view class="home_recommend_li_main"><view class="home_recommend_li_name">{{item.box_name}}</view><view class="home_recommend_li_glod flex"><image src="https://www.chaomangdao.com/image/home/gold.png" mode></image><view class="home_recommend_li_glod_font">{{item.coin_price+"金币"}}</view></view><view class="home_recommend_li_price"><view class="home_recommend_li_price_icon"><view class="home_recommend_li_price_icon_bg"><image src="https://www.chaomangdao.com/image/home/bdbz.png" mode></image></view><view class="home_recommend_li_price_icon_font">保底必中</view></view><view class="home_recommend_li_price_font">{{item.price_min+"元~"+item.price_max+"元"}}</view></view><view class="home_recommend_shop"><block wx:if="{{item.right.length!=0}}"><view class="home_recommend_li_img_right"><view class="home_recommend_li_img_bot"><block wx:for="{{item.bot}}" wx:for-item="items" wx:for-index="index" wx:key="index"><image src="{{items}}" mode="aspectFill"></image></block></view><block wx:for="{{item.right}}" wx:for-item="items" wx:for-index="index" wx:key="index"><image src="{{items}}" mode="aspectFill"></image></block></view></block><text>{{"共"+item.goods_num+"款商品"}}</text></view></view></view></block></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}}" bindinput="__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}}" bindinput="__e"/></view></view><view class="screen_ul flexs"><block wx:for="{{priceList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectprice',[index]]]]]}}" class="{{['screen_li','center',(index==selectPrice)?'active':'']}}" bindtap="__e">{{''+item+''}}</view></block></view></view><view class="screen_footer flex"><block wx:for="{{2}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['reset',[index]]]]]}}" class="screen_footer_li center" bindtap="__e">{{index==0?'重置':'确定'}}</view></block></view></view><block wx:if="{{isShow}}"><view class="marking"></view></block></view>