<mobile-main frameStyle="{{frameStyle}}" bind:back="back" bind:tabPath="tabPath">
    <view slot="info" class="container main">
        <view class="zero">
            <view>图片上传</view>
            <view>
                <vanupload list="{{img_url}}" count="{{4}}" previewSize="{{80}}" bind:imgUpload="imgUpl" bind:imgDel="imgDel"></vanupload>
            </view>
        </view>
        <view class="zero">
            <view>dialog弹框</view>
            <view>
                <button type="primary" size="mini" bindtap="toDialog">打开弹框</button>
            </view>
        </view>
        <view class="zero">
            <view>选项卡</view>
            <view>
                <e-tabs tabs="{{tabs}}" bind:tabsChange="tabsChange"></e-tabs>
                <view wx:if="{{tabs.active=='a'}}" class="a">
                    a
                </view>
                <view wx:elif="{{tabs.active=='b'}}" class="b">
                    b
                </view>
                <view wx:elif="{{tabs.active=='c'}}" class="b">
                    c
                </view>
            </view>
        </view>
        <view class="zero">
            <view>侧导航</view>
            <view>
                <van-sidebar active-key="{{ sidebar.active }}" bind:change="sidebarChange" custom-class="sidebar">
                    <van-sidebar-item wx:for="{{sidebar.list}}" wx:key="item" title="{{item.title}}" disabled="{{item.disabled}}" />
                </van-sidebar>
            </view>
        </view>
    </view>
</mobile-main>
<e-dialog dialog="{{dialog}}" bind:toClose="toClose">
    <view slot="info">
        <view wx:if="{{dialog.type=='1'}}">
            弹框
        </view>
    </view>
</e-dialog>