You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
71 lines
3.0 KiB
71 lines
3.0 KiB
<!--miniprogram/subpages/reality/pages/peopleHot/peopleHot.wxml-->
|
|
<wxs src="../../filters/index.wxs" module="filter"/>
|
|
<view class="box">
|
|
<view class="headers">
|
|
<image class="hotbackground" src="../../images/hotbackground.png"></image>
|
|
<view class="tab">
|
|
<view class="topic {{isClick=='topic'? 'seleted-color': ''}}" bind:tap="triggle" data-index="最热话题">最热话题</view>
|
|
<view class="issue {{isClick=='issue'? 'seleted-color': ''}}" bind:tap="triggle" data-index="最热议题">最热议题</view>
|
|
<view class="project {{isClick=='project'? 'seleted-color': ''}}" bind:tap="triggle" data-index="最热项目">最热项目</view>
|
|
</view>
|
|
<view class="tab-line">
|
|
<view class="line1">
|
|
<view class="line" wx:if="{{isClick=='topic'}}"></view>
|
|
</view>
|
|
<view class="line1">
|
|
<view class="line" wx:if="{{isClick=='issue'}}"></view>
|
|
</view>
|
|
<view class="line1">
|
|
<view class="line" wx:if="{{isClick=='project'}}"></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="header">
|
|
<view class="title">事件列表</view>
|
|
<view
|
|
class="filter"
|
|
hover-class="hover-filter"
|
|
hover-stay-time="300"
|
|
bindtap="chooseTimePicker">
|
|
<view class="time">{{filter.filterTimeRange(someMonthsType)}}</view>
|
|
<view
|
|
class="trigger"
|
|
style="transform: {{!showTimePicker ? 'rotate(0deg)' : 'rotate(180deg)'}}">
|
|
</view>
|
|
<view
|
|
class="time-select"
|
|
style="height: {{showTimePicker ? '200rpx' : '0'}}">
|
|
<view
|
|
catchtap="onTimeChange"
|
|
data-time="{{item.id}}"
|
|
style="color: {{someMonthsType === item.id ? '#29B9A5' : '#B6BAC6'}}"
|
|
class="list-item"
|
|
wx:for="{{timeList}}"
|
|
wx:for-item="item"
|
|
wx:for-index="index"
|
|
wx:key="id">
|
|
{{item.time}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!--最热话题,议题,项目-->
|
|
|
|
<view class="content" wx:for="{{list}}" wx:key="index">
|
|
<view class="list" bind:tap="goIndex" data-id="{{item.id}}">
|
|
<image src="../../images/first.png" alt="" class="image" wx:if="{{index=='0'}}"/>
|
|
<image src="../../images/second.png" alt="" class="image" wx:if="{{index=='1'}}"/>
|
|
<image src="../../images/three.png" alt="" class="image" wx:if="{{index=='2'}}"/>
|
|
<text class="image image-margin" wx:if="{{index >=3}}">{{index+1}}</text>
|
|
<text class="text">{{item.content}}</text>
|
|
<text class="num">{{item.statementNum}}</text>
|
|
<text class="attitude">表态</text>
|
|
</view>
|
|
</view>
|
|
<load-more
|
|
loadVisible="{{loadVisible}}"
|
|
loadType="{{loadType}}">
|
|
</load-more>
|
|
<no-data isShow="{{isShow}}"></no-data>
|
|
|
|
</view>
|
|
|