SideSelectPopup.wxml
1.21 KB
<!--components/SideSelectPopup/SideSelectPopup.wxml-->
<van-popup custom-style="height: 100%;width:70%;" z-index="999999" custom-class="popclass" bind:click-overlay="closeMenu" position="left" bind:before-enter="hideTabBar" bind:after-leave="showTabBar" show="{{ show }}">
<view class="wrapper">
<view class="title">业务</view>
<block wx:for="{{sceneList}}" wx:key="index">
<view catch:tap="selectScene" data-item="{{item}}" data-scene="{{item.sceneType}}" class="element {{item.sceneType == storageSelectedSceneType ? 'active' : ''}}">
<view class="img"><image src="https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/scene_type_{{item.sceneType}}.png"></image></view>
<view class="label">{{item.sceneName}}</view>
</view>
</block>
<view class="title">通用</view>
<view catch:tap="goMineCenter" data-index="" class="element mine">
<view class="flex_box">
<view class="img"><image src="https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/side_mine_icon.png"></image></view>
<view class="label">个人中心</view>
</view>
<view class="right_icon"></view>
</view>
</view>
</van-popup>