<!-- 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 class="img_section">
        <image  src="{{topImg.pic}}" class="select_img"></image>
        <!-- <canvas wx:if="{{showCropImg}}" class="canvas_img" canvas-id="imageCanvas"></canvas> -->
        <image  src="../../../images/common/icon_sel.png" class="select_icon"></image>
    </view>
    <view class="grid-container">
        <block wx:for="{{imageList}}" wx:key="index" wx:for-item="item" wx:for-index="index">
            <image class="device_img" src="{{item.pic}}" mode="aspectFill" bind:tap="deviceTap" data-image="{{item}}" />
        </block>
    </view>
    <view class="footer" bind:tap="footerTap">
        <image src="../../../images/common/icon_add.png" mode="aspectFill" />
        <view>上传图片</view>
    </view>

</view>