<!--package_first/pages/upload/index.wxml-->
<view class="beauty_container">
    <!-- 头部 -->
    <view class="beauty_head">
        <image class="head_img" mode="widthFix" src="../../img/beauty_bg.png"></image>
    </view>
    <!-- 主体 -->
    <view class="beauty_main">
        <view class="main_title">全部</view>
        <list id="list" class="beauty_list" url="{{current}}" bind:update-list="updateList" list="{{list}}" bind:reset-list="resetList" params="{{params}}">
            <view class="beauty_item" data-item="{{item}}" bindtap="showDetail" bindtap="showDetail" wx:for="{{list}}" wx:key="index">
                <view class="item_head">
                    <image class="user_avatar" src="{{item.headimgurl}}"></image>
                    <view class="other_info">
                        <text style="font-size: 32rpx; font-weight: 600;">{{item.nickname}}</text>
                        <text style="font-size: 24rpx; color: rgba(0, 0, 0, 0.5);">{{item.createTime}}</text>
                    </view>
                </view>
                <view class="content_info">{{item.content}}</view>
                <ImageList imageSource="{{item.image}}" limit="{{5}}"></ImageList>
            </view>
        </list>    
    </view>

    <image class="add_upload" src="../../img/upload.png" bindtap="uploadBeauty"></image>
</view>
