|
|
<!-- 轮播图 -->
|
|
|
<swiper indicator-dots="true" indicator-color='#8C9194' indicator-active-color='#ffffff' class="slide-image">
|
|
|
<navigator wx:for="{{datalist.slide}}" wx:key="id" hover-class="none" url='/pages/img_txt/img_txt?id={{item.activity_id}}&status=1'>
|
|
|
<navigator wx:for="{{datalist.slide}}" wx:key="id" 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>
|
...
|
...
|
@@ -9,7 +10,8 @@ |
|
|
<!-- <view class='vold_line'></view> -->
|
|
|
<!-- 菜单 -->
|
|
|
<view class="home_menu ">
|
|
|
<view class="home_time" bindtap="gotoNav" data-id="{{item.id}}" data-path="{{item.path}}" wx:for="{{navList}}" wx:key="id" >
|
|
|
<view class="home_time" bindtap="gotoNav" data-id="{{item.id}}" data-path="{{item.path}}" wx:for="{{navList}}"
|
|
|
wx:key="id">
|
|
|
<view>
|
|
|
<image src="{{item.icon}}" />
|
|
|
</view>
|
...
|
...
|
@@ -25,20 +27,27 @@ |
|
|
</navigator>
|
|
|
</view>
|
|
|
<view class='volunteerbox'>
|
|
|
<view class='volunteercell' wx:for='{{datalist.volunteer}}' wx:key="index" id='{{item.id}}' wx:if="{{index<=3}}">
|
|
|
<view class='volunteercell' wx:for='{{datalist.volunteer}}' wx:key="index" id='{{item.user_id}}' wx:if="{{index<=3}}"
|
|
|
bindtap="getother">
|
|
|
<view class='cell_top'>
|
|
|
<view class='cellimg'>
|
|
|
<image src='{{item.photo?item.photo:"https://volunteer.cnpu.org/imgs/wode_02@2x.png"}}' mode="aspectFill" />
|
|
|
<image src='{{item.photo?item.photo:"https://volunteer.cnpu.org/imgs/wode_02@2x.png"}}'
|
|
|
mode="aspectFill" />
|
|
|
</view>
|
|
|
<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>
|
|
|
<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>
|
...
|
...
|
@@ -57,7 +66,8 @@ |
|
|
|
|
|
<view>
|
|
|
<view class='new_box'>
|
|
|
<navigator class='new_cell' wx:for='{{activity}}' wx:key="id" url='/pages/img_txt/img_txt?id={{item.id}}&status=1' hover-class="none">
|
|
|
<navigator class='new_cell' wx:for='{{activity}}' wx:key="id"
|
|
|
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" />
|
...
|
...
|
@@ -78,12 +88,14 @@ |
|
|
<view class='index_newbox' wx:if="{{news.length>0}}">
|
|
|
<view class='index_volunteertitle'>
|
|
|
<view class='title'>活动回顾</view>
|
|
|
<navigator class="more" url='/pages/index/active/active?end_type=1' hover-class="none">查看更多\t<image src="/imgs/more.png"></image>
|
|
|
<navigator class="more" url='/pages/index/active/active?end_type=1' hover-class="none">查看更多\t<image
|
|
|
src="/imgs/more.png"></image>
|
|
|
</navigator>
|
|
|
</view>
|
|
|
<view class="review_box">
|
|
|
<view class="review_wrap">
|
|
|
<navigator class="r_item" wx:for='{{news}}' wx:key="index" url='/pages/img_txt/img_txt?id={{item.id}}&status=1' hover-class="none">
|
|
|
<navigator class="r_item" wx:for='{{news}}' wx:key="index"
|
|
|
url='/pages/img_txt/img_txt?id={{item.id}}&status=1' hover-class="none">
|
|
|
<view class="r_left">
|
|
|
<view class="r_title">{{item.activity_name}}</view>
|
|
|
<!-- <view class="r_info">
|
...
|
...
|
|