index.wxml 1.09 KB
<van-popup custom-style="height: 100%;width:70%;" custom-class="popclass" bind:click-overlay="closeMenu" position="right" show="{{ show }}">
    <view class="wrapper">
    <view class="wrapper-top">
        <view class="title">场景切换</view>
        <block wx:for="{{menus}}" wx:key="index">
            <view catch:tap="selectMenu" data-index="{{item.serviceType}}" class="element {{item.serviceType==current?'active':''}}">
                <glsx-image class="logo" webp src="store-assistant-assemble/menu/{{item.logo}}{{item.serviceType==current?'-o':''}}.png"></glsx-image>
                <view class="label">{{item.title}}</view>
                <view wx:if="{{totals&&item.serviceType==0}}" class="num_pannel">{{totals}}</view>
            </view>
        </block>
    </view>
    <view class="wrapper-bottom" bindtap="jump">
            <glsx-image class="log" webp src="store-assistant-assemble/menu/log.png"></glsx-image>
            <text>更新日志</text>
            <view class="icon" wx:if="{{versionData.isNew}}">NEW</view>
            <view class="arrow"></view>
    </view>
</view>
</van-popup>