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.
94 lines
5.7 KiB
94 lines
5.7 KiB
<view class="edl-content">
|
|
<view class="top-tab" style="display: flex; justify-content: flex-start;">
|
|
<view style="margin-top: 15rpx;">
|
|
<van-dropdown-menu>
|
|
<van-dropdown-item value="{{sTitleType}}" options="{{searchOption}}"></van-dropdown-item>
|
|
</van-dropdown-menu>
|
|
</view>
|
|
<view style="width: 88%;">
|
|
<van-search value="{{ sTitle }}" bind:search="sTitleChange" placeholder="请输入搜索关键词"></van-search>
|
|
</view>
|
|
</view>
|
|
<view class="top-tab">
|
|
<van-dropdown-menu>
|
|
<van-dropdown-item id="allSource" title="全部渠道">
|
|
<van-checkbox-group value="{{ sQuDao }}" bind:change="changeSource">
|
|
<van-checkbox wx:for="{{affList}}" wx:key="key" name="{{item.key}}" shape="square">{{item.value}}</van-checkbox>
|
|
</van-checkbox-group>
|
|
</van-dropdown-item>
|
|
<van-dropdown-item id="allAff" title="全部调性">
|
|
<van-checkbox-group value="{{ sQingGan }}" bind:change="changeQingGan">
|
|
<van-checkbox wx:for="{{qgList}}" wx:key="key" name="{{item.key}}" shape="square">{{item.value}}</van-checkbox>
|
|
</van-checkbox-group>
|
|
<van-checkbox-group value="{{ sCrisis }}" bind:change="changeWeiJi">
|
|
<van-checkbox wx:for="{{wjList}}" wx:key="key" name="{{item.key}}" shape="square">{{item.value}}</van-checkbox>
|
|
</van-checkbox-group>
|
|
</van-dropdown-item>
|
|
<van-dropdown-item id="sort" title="时间范围">
|
|
<view>
|
|
<van-cell title="选择开始时间" is-link value="{{ sStartTime }}" bind:click="onDisplayStart" />
|
|
<van-cell title="选择结束时间" is-link value="{{ sEndTime }}" bind:click="onDisplayEnd" />
|
|
<van-popup show="{{ show1 }}" position="bottom">
|
|
<van-datetime-picker type="datetime" value="{{d1}}" bind:confirm="onConfirm" bind:cancel="onCancel" />
|
|
</van-popup>
|
|
<van-popup show="{{ show2 }}" position="bottom">
|
|
<van-datetime-picker type="datetime" value="{{d2}}" bind:confirm="onConfirm1" bind:cancel="onCancel1" />
|
|
</van-popup>
|
|
</view>
|
|
</van-dropdown-item>
|
|
<van-dropdown-item id="back" title="更多筛选">
|
|
<view style="padding: 32rpx;">
|
|
<view>去重方式</view>
|
|
<van-radio-group value="{{ iGroupBy }}" bind:change="iGroupByChange">
|
|
<van-radio name="0">不去重</van-radio>
|
|
<van-radio name="1">相似度去重</van-radio>
|
|
</van-radio-group>
|
|
</view>
|
|
<view style="padding: 0rpx 32rpx 32rpx 32rpx;">
|
|
<view>排序方式</view>
|
|
<van-radio-group value="{{ listType }}" bind:change="listTypeChange">
|
|
<van-radio name="0">默认</van-radio>
|
|
<van-radio name="1">影响力倒序</van-radio>
|
|
</van-radio-group>
|
|
<van-radio-group value="{{ iTimeType }}" bind:change="iTimeTypeByChange">
|
|
<van-radio name="0">发布时间</van-radio>
|
|
<van-radio name="1">入库时间</van-radio>
|
|
</van-radio-group>
|
|
</view>
|
|
</van-dropdown-item>
|
|
</van-dropdown-menu>
|
|
</view>
|
|
<view class="tdl-content">
|
|
<view class="tdl-item" wx:for="{{dataList}}" wx:key="index">
|
|
<view class="top-time">
|
|
<view class="top-time-item">{{item._source.sourcetime}}</view>
|
|
<view style="line-height: 12rpx;">
|
|
<van-tag wx:if="{{item._source.crisis == 1}}" color="#FFE9A8" text-color="#FFBF00">低级危机</van-tag>
|
|
<van-tag wx:if="{{item._source.crisis == 2}}" color="#FFDFCF" text-color="#FF6E25">中级危机</van-tag>
|
|
<van-tag wx:if="{{item._source.crisis == 3}}" color="#FFF0F1" text-color="#FF4852">高级危机</van-tag>
|
|
<van-tag wx:if="{{item._source.affections == 1}}" color="#F0F8FF" text-color="#0084FF">正面</van-tag>
|
|
<van-tag wx:if="{{item._source.affections == 3}}" color="#FFFBF0" text-color="#FDCD42">中性</van-tag>
|
|
<van-tag wx:if="{{item._source.affections == 2}}" color="#FFF0F1" text-color="#FF4852">负面</van-tag>
|
|
</view>
|
|
</view>
|
|
<view class="middle-title" style="margin-top: 16rpx;" bindtap="toDetail">
|
|
{{item._source.title}}
|
|
</view>
|
|
<view class="bottom-source">
|
|
<view>来源:{{item._source.source}}</view>
|
|
<view style="margin-left: 64rpx;">作者:{{item._source.user_author}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="tdl-footer" style="display: flex;justify-content: space-between;">
|
|
<view style="width: 20%;margin-top: 3%;">
|
|
<van-checkbox-group value="{{ isSelectAll }}" bind:change="changeSelectAll">
|
|
<van-checkbox name="0" shape="square">全选</van-checkbox>
|
|
</van-checkbox-group>
|
|
</view>
|
|
<view style="width: 80%;">
|
|
<van-button bind:click="toThemeBoard" custom-style="width: 45%" color="#0084FF" class="theme-add-btn" plain>生成数据</van-button>
|
|
<van-button bind:click="toThemeBoard" custom-style="width: 45%" color="#0084FF" class="theme-add-btn">数据看板</van-button>
|
|
</view>
|
|
</view>
|
|
</view> |