Files
huangjingfen/pro_v3.5.1/public/statics/mp_view/components/home/index.wxml

1 line
3.8 KiB
Plaintext
Raw Normal View History

<block wx:if="{{is_show&&showMenu}}"><view style="{{(colorStyle)}}" class="data-v-064580fc"><view style="touch-action:none;" class="data-v-064580fc"><view class="home data-v-064580fc" style="{{'position:fixed;'+('top:'+(top+'px')+';')}}" id="right-nav" data-event-opts="{{[['touchmove',[['setTouchMove',['$event']]]]]}}" catchtouchmove="__e"><block wx:if="{{index==3}}"><view class="{{['menus','data-v-064580fc',isOpen?'menus_isOpen-'+$root.g0:'']}}"><view id="fab3" class="data-v-064580fc"></view><view data-event-opts="{{[['tap',[['changeStatus',['$event']]]]]}}" class="menu menu_main data-v-064580fc" bindtap="__e"><image class="image data-v-064580fc" style="border-radius:50%;" src="{{isOpen?main_after_image:main_ago_image}}"></image></view><block wx:for="{{menus}}" wx:for-item="menu" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['jump',['$0'],[[['menus','',index,'url']]]]]]]}}" class="{{['data-v-064580fc','menu menu_a','menu_a--'+(index+1)]}}" catchtap="__e"><image class="icon-img data-v-064580fc" src="{{menu.img}}"></image></view></block></view></block><block wx:if="{{index==1}}"><view class="fab1 p-10 data-v-064580fc" id="fab1" data-event-opts="{{[['touchmove',[['setTouchMove',['$event']]]]]}}" catchtouchmove="__e"><view hidden="{{!(isOpen)}}" class="img-list data-v-064580fc"><block wx:for="{{menus}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['jump',['$0'],[[['menus','',index,'url']]]]]]]}}" class="img-box data-v-064580fc" bindtap="__e"><image class="img data-v-064580fc" src="{{item.img}}" mode></image></view></block></view><view data-event-opts="{{[['tap',[['changeStatus',['$event']]]]]}}" class="btn-box data-v-064580fc" bindtap="__e"><view class="img-box data-v-064580fc"><image class="img data-v-064580fc" src="{{main_ago_image}}" mode></image></view></view></view></block><block wx:if="{{index==2}}"><view class="{{['fab2','flex-y-center','relative','p-10','data-v-064580fc',(isHide)?'hide':'']}}" id="fab2"><block wx:if="{{isOpen}}"><view class="img-list data-v-064580fc"><block wx:for="{{menus}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['jump',['$0'],[[['menus','',index,'url']]]]]]]}}" class="img-box data-v-064580fc" bindtap="__e"><image class="img data-v-064580fc" src="{{item.img}}" mode></image></view></block></view></block><block wx:if="{{!isOpen}}"><view data-event-opts="{{[['tap',[['changeStatus',['$event']]]]]}}" class="btn-box data-v-064580fc" bindtap="__e"><view class="img-box data-v-064580fc"><image class="img data-v-064580fc" src="{{main_ago_image}}" mode></image></view></view></block><block wx:if="{{isOpen}}"><view data-event-opts="{{[['tap',[['changeStatus',['$event']]]]]}}" class="icon data-v-064580fc" bindtap="__e"><text class="iconfont icon-ic_rightarrow data-v-064580fc"></text></view></block></view></block><block wx:if="{{index==4}}"><view class="{{['menus','fab4','data-v-064580fc',isOpen?'menus_isOpen menus_isOpen-'+$root.g1:'']}}"><view style="height:350rpx;width:1px;" id="fab4" class="data-v-064580fc"></view><view class="{{['menu_bag','data-v-064580fc',isOpen?' has-bag':opend?'close-bag':'']}}"></view><view data-event-opts="{{[['tap',[['changeStatus',['$event']]]]]}}" class="menu menu_main menu_main4 data-v-064580fc" bindtap="__e"><block wx:if="{{isOpen}}"><text class="iconfont icon-ic_close data-v-064580fc"></text></block></view><block wx:for="{{menus}}" wx:for-item="menu" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['jump',['$0'],[[['menus','',index,'url']]]]]]]}}" class="{{['data-v-064580fc','menu menu_a','menu_a--'+(index+1)]}}" style="{{'z-index:'+(isOpen?9999:'-1')+';'}}" catchtap="__e"><image class="icon-img data-v-064580fc" src="{{menu.img}}"></image></view></block></view></block></view></view></view></block>