img-box.wxml 802 字节
<view class="img-box" data-index="{{index}}">
    <view class="img-border">
        <!--style="height:{{img_heights[current_swiper]}}rpx;"-->
        <image src="{{item.pic}}" mode="widthFix" data-id='{{index}}' bindload="imageLoad"></image>
        <view class="area">
            <text class="name">{{item.title}}</text>
            <view class="num" wx:if="{{item.join_number<item.min}}">还差{{item.people}}人</view>
            <view class="num" wx:else>还可加入{{item.people}}人</view>
        </view>
        <!--<text>2018.4.28—4.30</text>-->
        <view class="bottom">
            <!--<image src="{{item.userPic}}" class="avatar" mode="aspectFill"></image>-->
            <text>{{item.listTime}}</text>
            <!--<view>2018.4.28</view>-->
        </view>

    </view>
</view>