85 lines
3.1 KiB
Plaintext
85 lines
3.1 KiB
Plaintext
<!--packageI/donation_project/donation_project_index/donation_project_index.wxml-->
|
|
<view class="searchBox">
|
|
<view class="search" bindtap="gotoPage" data-name="donationProjectSearch">
|
|
<icon class="iconfont icon-all_search_2"></icon>
|
|
<input type="text" disabled placeholder="搜索" />
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="wrapper">
|
|
<view class="container">
|
|
<view class="container-header">
|
|
<view class="container-title">捐赠信息</view>
|
|
<view class="container-header-next" bindtap="gotoPage" data-name="donationProjectList">
|
|
<text>查看更多</text>
|
|
<i class="iconfont icon-advertise-next"></i>
|
|
</view>
|
|
</view>
|
|
<view class="donation-list ">
|
|
<view class="donation-item" wx:for="{{latest_list}}" wx:key="id">
|
|
<view class="face">
|
|
<yz-image wx:if="{{item.project_v&&item.project_v.change_img && item.project_v.change_img.length > 0}}" src="{{item.project_v.change_img[0]}}" data-src="{{item.project_v.change_img[0]}}" mode="aspectFill" bindtap="handImagePreview"/>
|
|
<text wx:else>暂无内容</text>
|
|
</view>
|
|
<view class="desc_info" bindtap="getDetails" data-id="{{item.id}}">
|
|
<view class="name text-overHide">姓名:{{ item.name }}</view>
|
|
<view class="price">捐赠金额: <text class="small">¥</text><text class="num">{{ item.price }}</text></view>
|
|
<view class="project_name text-overHide">项目名称:{{ item.project_v.title }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="container picture">
|
|
<view class="container-header">
|
|
<view class="container-icon-title">
|
|
<i class="iconfont icon-customform_list_3"></i>
|
|
<text>图片</text>
|
|
</view>
|
|
<view class="container-header-next" bindtap="gotoPage" data-name="donationProjectPicture">
|
|
<text>查看更多</text>
|
|
<i class="iconfont icon-advertise-next"></i>
|
|
</view>
|
|
</view>
|
|
<view class="picture-list">
|
|
<view class="picture-container">
|
|
<view class="picture-item" wx:for="{{picture_list}}" wx:key="index">
|
|
<view class="face">
|
|
<yz-image wx:if="{{item.url}}" src="{{item.url}}" mode="aspectFill" data-src="{{item.url}}" bindtap="handPictureImagePreview" />
|
|
<text wx:else>暂无内容</text>
|
|
</view>
|
|
<view class="project_name text-overHide">项目名称:{{ item.name }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="container picture">
|
|
<view class="container-header">
|
|
<view class="container-icon-title">
|
|
<i class="iconfont icon-fontclass-ship"></i>
|
|
<text>视频</text>
|
|
</view>
|
|
<view class="container-header-next" bindtap="gotoPage" data-name="donationProjectVideo">
|
|
<text>查看更多</text>
|
|
<i class="iconfont icon-advertise-next"></i>
|
|
</view>
|
|
</view>
|
|
<view class="picture-list">
|
|
<view class="picture-container">
|
|
<view class="picture-item" wx:for="{{video_list}}" wx:key="index">
|
|
<view class="face">
|
|
<video wx:if="{{item.url}}" src="{{item.url}}" ></video>
|
|
<text wx:else>暂无内容</text>
|
|
</view>
|
|
<view class="project_name text-overHide">项目名称:{{ item.name }}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<shopfoot ></shopfoot> |