|
|
<!-- 轮播图 -->
|
|
|
<swiper indicator-dots="true" autoplay="true" indicator-color='#8C9194' indicator-active-color='#ffffff' class="slide-image">
|
|
|
<navigator wx:for="{{datalist.slide}}" wx:key hover-class="none" url='/pages/img_txt/img_txt?id={{item.activity_id}}&status=1'>
|
|
|
<swiper-item>
|
|
|
<image src="{{item.image}}" mode="aspectFill" />
|
|
|
</swiper-item>
|
|
|
</navigator>
|
|
|
</swiper>
|
|
|
<view class='vold_line'></view>
|
|
|
|
|
|
<!-- <scroll-view scroll-y='true' bindscrolltolower='getdatalist' style='height:{{scroll_height}}rpx'> -->
|
|
|
<swiper indicator-dots="true" autoplay="true" indicator-color='#8C9194' indicator-active-color='#ffffff' class="slide-image">
|
|
|
<navigator wx:for="{{datalist.slide}}" wx:key hover-class="none" url='/pages/img_txt/img_txt?id={{item.activity_id}}&status=1'>
|
|
|
<swiper-item>
|
|
|
<image src="{{item.image}}" />
|
|
|
</swiper-item>
|
|
|
</navigator>
|
|
|
</swiper>
|
|
|
<view class='vold_line'></view>
|
|
|
<view class='index_volunteertitle'>
|
|
|
<view class='title'>志愿者</view>
|
|
|
<navigator url='/pages/more/more' hover-class="none">更多</navigator>
|
|
|
</view>
|
|
|
<view class='volunteerbox'>
|
|
|
<view class='volunteercell' wx:for='{{datalist.volunteer}}' wx:key id='{{item.id}}'>
|
|
|
<view class='cell_top'>
|
|
|
<view class='cellimg'>
|
|
|
<image src='{{item.photo?item.photo:"https://volunteer.cnpu.org/imgs/wode_02@2x.png"}}'></image>
|
|
|
</view>
|
|
|
<view>{{item.name}}</view>
|
|
|
<!-- 志愿者列表 -->
|
|
|
<view class='index_volunteertitle'>
|
|
|
<view class='title'>志愿者</view>
|
|
|
<navigator url='/pages/more/more' hover-class="none">更多</navigator>
|
|
|
</view>
|
|
|
<view class='volunteerbox'>
|
|
|
<view class='volunteercell' wx:for='{{datalist.volunteer}}' wx:key="index" id='{{item.id}}' wx:if="{{index<=1}}">
|
|
|
<view class='cell_top'>
|
|
|
<view class='cellimg'>
|
|
|
<image src='{{item.photo?item.photo:"https://volunteer.cnpu.org/imgs/wode_02@2x.png"}}' mode="aspectFill" />
|
|
|
</view>
|
|
|
<view>{{item.duty}}</view>
|
|
|
<view class='star_box'>
|
|
|
<image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{item.level>0}}'></image>
|
|
|
<image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{item.level>1}}'></image>
|
|
|
<image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{item.level>2}}'></image>
|
|
|
<image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{item.level>3}}'></image>
|
|
|
<image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{item.level>4}}'></image>
|
|
|
<view class="c_right">
|
|
|
<view class="name">{{item.name}}</view>
|
|
|
<view class="province">{{item.province}}</view>
|
|
|
<view class='star_box'>
|
|
|
<image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{item.level>0}}'></image>
|
|
|
<image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{item.level>1}}'></image>
|
|
|
<image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{item.level>2}}'></image>
|
|
|
<image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{item.level>3}}'></image>
|
|
|
<image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{item.level>4}}'></image>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class='vold_line'></view>
|
|
|
</view>
|
|
|
<view class='vold_line'></view>
|
|
|
|
|
|
<view class='index_newbox'>
|
|
|
<view class='index_newbox'>
|
|
|
|
|
|
<view class='index_volunteertitle'>
|
|
|
<view class='title'>即将开始的活动</view>
|
|
|
<navigator url='/pages/index/active/active' hover-class="none">更多</navigator>
|
|
|
</view>
|
|
|
<view class='index_volunteertitle'>
|
|
|
<view class='title'>活动快讯</view>
|
|
|
<navigator url='/pages/index/active/active' hover-class="none">更多</navigator>
|
|
|
</view>
|
|
|
|
|
|
<view>
|
|
|
<view class='new_box'>
|
|
|
<navigator class='new_cell' wx:for='{{activity}}' wx:key url='/pages/img_txt/img_txt?id={{item.id}}&status=1' hover-class="none">
|
|
|
<view class='new_cellmain'>
|
|
|
<view class='new_img'>
|
|
|
<image src='{{item.thumbnail}}'> </image>
|
|
|
</view>
|
|
|
<view class='new_title'>{{item.activity_name}}</view>
|
|
|
<view class='title_box'>
|
|
|
<view class='wz_box'>
|
|
|
<image src='/imgs/dizhi@2x.png' />
|
|
|
<text>{{item.province_name}}</text>
|
|
|
</view>
|
|
|
<view class='word'>{{item.type_name}}</view>
|
|
|
<view>
|
|
|
<view class='new_box'>
|
|
|
<navigator class='new_cell' wx:for='{{activity}}' wx:key url='/pages/img_txt/img_txt?id={{item.id}}&status=1' hover-class="none">
|
|
|
<view class='new_cellmain'>
|
|
|
<view class='new_img'>
|
|
|
<image src='{{item.thumbnail}}' mode="aspectFill" />
|
|
|
</view>
|
|
|
<view class='new_title'>{{item.activity_name}}</view>
|
|
|
<view class='title_box'>
|
|
|
<view class='wz_box'>
|
|
|
<text>{{item.time}}</text>
|
|
|
</view>
|
|
|
<view>{{item.time}}</view>
|
|
|
<view class='word'>{{item.province_name}}</view>
|
|
|
</view>
|
|
|
</navigator>
|
|
|
</view>
|
|
|
</view>
|
|
|
</navigator>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view class='index_newbox'>
|
|
|
<view class='title activity_title'>活动快讯</view>
|
|
|
<view>
|
|
|
<view class='new_box'>
|
|
|
<navigator class='new_cell' wx:for='{{news}}' wx:key url='/pages/img_txt/img_txt?id={{item.id}}&status=1&type=1' hover-class="none">
|
|
|
<view class='new_cellmain'>
|
|
|
<view class='new_img'>
|
|
|
<image src='{{item.thumbnail}}'> </image>
|
|
|
</view>
|
|
|
<view class='new_title'>{{item.activity_name}}</view>
|
|
|
<view>{{item.time}}</view>
|
|
|
</view>
|
|
|
</navigator>
|
|
|
<view class='index_newbox' wx:if="{{news.length>0}}">
|
|
|
<view class='title activity_title'>活动回顾</view>
|
|
|
|
|
|
<view class="review_box">
|
|
|
<navigator class="r_item" wx:for='{{news}}' wx:key="index" url='/pages/img_txt/img_txt?id={{item.id}}&status=1&type=1' hover-class="none">
|
|
|
<view class="r_left">
|
|
|
<view class="r_title">{{item.activity_name}}</view>
|
|
|
<view class="r_info">
|
|
|
<text>活动时间:{{item.time}}</text>
|
|
|
<text>地区:{{item.province_name}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<image src="/imgs/right.png" class="r_right" />
|
|
|
</navigator>
|
|
|
</view>
|
|
|
<!-- </scroll-view> --> |
|
|
\ No newline at end of file |
|
|
</view> |
|
|
\ No newline at end of file |
...
|
...
|
|