<!-- pages/piano/wallpaper/wallpaper.wxml -->
<view class="container">
    <!-- <nav-bar bind:goBack="_goBack" nav-bgc-class="ex-nav-bgc-class" nav-title-class="ex-nav-title-class" ex-back-pre="ex-back-pre" navbar-data='{{navbarData}}'></nav-bar> -->
    <view wx:if="{{topImg.pic}}" class="img_section" bind:tap="imageTopTap">
        <image src="{{topImg.pic}}" class="select_img"></image>
        <image src="../../../images/common/icon_sel.png" class="select_icon"></image>
    </view>
    <view class="grid_container_super">
        <view class="grid-container">
            <block wx:for="{{showAllImages ? imageList : image4List}}" wx:key="index" wx:for-item="item" wx:for-index="index">
                <image class="device_img" src="{{item.pic}}" mode="aspectFill" bind:tap="imageTap" data-image="{{item}}" />
            </block>
        </view>
        <view class="up_down_img" bindtap="toggleShowAll">
            <image src="{{showAllImages ? '../../../img/j_top.png' : '../../../img/j_bottom.png'}}"></image>
        </view>
    </view>
    <view class="footer" bind:tap="footerTap">
        <image src="../../../images/common/icon_add.png" mode="aspectFill" />
        <view>上传图片</view>
    </view>
</view>