|
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <!--pages/FirstPage/index.wxml-->
- <view class="first_container">
- <!-- 切换位置 -->
- <view class="first_head">
- <view class="select_location" bindtap="goSelectLocation">切换位置</view>
- </view>
- <view class="main_container">
- <!-- 图片 -->
- <view class="banner">
- <image class="banner_image" src="../../assets/first/home_banner.png" mode="aspectFill" bindtap="redirectToAd"></image>
- </view>
-
- <!-- 头条 -->
- <!-- <view class="announcement " bindtap="showAnnouncementDetail">
- <view class="announcement_img">
- <image src="../../assets/first/inform.png" class="announcement_icon"></image>
- <text class="announcement_text">行动</text>
- </view>
- <swiper class="announcement-swiper" indicator-dots="{{false}}" vertical="false" duration="1000" interval="5000"
- autoplay="{{true}}" circular="true">
- <block wx:for="{{announcementList}}" wx:key="index">
- <swiper-item class="announcement-swiper-item" data-current="{{index}}">
- <view class="overflow_ellipsis">{{item.title}}</view>
- <view class="inform_date">{{item.createTime}}</view>
- </swiper-item>
- </block>
- </swiper>
- </view> -->
-
- <!-- 快捷入口 -->
- <view class="fast_enters">
- <view class="enter_item" wx:for="{{entersList}}" data-path="{{item.path}}" data-type="{{item.type}}" wx:key="index" bindtap="goPage">
- <image class="enter_icon" src="{{item.iconPath}}"></image>
- <text class="enter_title">{{item.title}}</text>
- </view>
- </view>
-
- <!-- 在线人数 -->
- <view class="live_box">
- <image class="live_bg" src="../../assets/first/live_bg.png"></image>
- <view class="live_message">
- <text style="color: #fff;font-size: 26rpx">参与人数</text>
- <text style="color: #FFE81AFF;;font-size: 34rpx;font-weight: bold;">{{liveNum}}人</text>
- </view>
- </view>
-
- <!-- 河道展示 -->
- <view class="rivers_box">
- <view class="rivers_title">河道展示</view>
- <list class="rivers_list" url="{{current}}" list="{{list}}" params="{{params}}" bind:update-list="updateList" bind:reset-list="resetList">
- <view class="river_item" wx:for="{{list}}" wx:key="index" bindtap="showDetail" data-item="{{item}}">
- <image class="river_image" src="{{item.image}}"></image>
- <view class="river_info">
- <view class="text_box" wx:for="{{infoList}}" wx:for-item="m" wx:key="m">
- <text class="info_item">{{item[m] || ''}}</text>
- </view>
- </view>
- <view class="river_button" catchtap="uploadProblem" data-current="{{index}}" data-detail="{{item}}">上报问题</view>
- </view>
- </list>
- </view>
-
- </view>
- </view>
|