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.
102 lines
5.7 KiB
102 lines
5.7 KiB
<view class="d-page">
|
|
<view class="d-top">
|
|
<view class="d-top-cp">
|
|
<view class="d-top-cp-d1">
|
|
<view style="display: flex;justify-content: flex-start;">
|
|
<view class="d-top-cp-d1-s1" wx:if="{{affections == 1}}">正面</view>
|
|
<view class="d-top-cp-d1-s1" style="background: #FFF0F1;color: #FF4852;" wx:if="{{affections == 2}}">负面</view>
|
|
<view class="d-top-cp-d1-s1" style="background: #FFFBF0;color: #FDCD42;" wx:if="{{affections == 3}}">中性</view>
|
|
<view class="d-top-cp-d1-s1" style="margin-left: 7px;color: #d48c44;" wx:if="{{crisis == 1}}">低级危机</view>
|
|
<view class="d-top-cp-d1-s1" style="margin-left: 7px;background: #FFFBF0;color: #FDCD42;" wx:if="{{crisis == 2}}">中级危机</view>
|
|
<view class="d-top-cp-d1-s1" style="margin-left: 7px;background: #FFF0F1;color: #FF4852;" wx:if="{{crisis == 3}}">高级危机</view>
|
|
</view>
|
|
<view class="dtcd1-dd2" bindtap="handlerCopy">
|
|
<image class="d-top-cp-d1-m1" src="{{imageUrl}}/copy.png"></image>
|
|
<text class="d-top-cp-d1-s2">复制链接</text>
|
|
</view>
|
|
</view>
|
|
<view class="d-top-cp-d2">
|
|
{{title}}
|
|
<!-- <rich-text nodes="{{title}}"></rich-text> -->
|
|
</view>
|
|
<view class="d-top-cp-d3"></view>
|
|
<view class="d-top-cp-d4">
|
|
<view class="d-top-cp-d4-dd1">
|
|
<view style="font-size: 12px;color: #98CDFF;">发布时间</view>
|
|
<view style="font-size: 10px;color: #fff;font-weight: 600;">{{sourcetime}}</view>
|
|
</view>
|
|
<view class="d-top-cp-d4-dd1" style="text-align: center;">
|
|
<view style="font-size: 12px;color: #98CDFF;">来源</view>
|
|
<view style="font-size: 10px;color: #fff;font-weight: 600;">{{source}}</view>
|
|
</view>
|
|
<view class="d-top-cp-d4-dd1" style="text-align: right;">
|
|
<view style="font-size: 12px;color: #98CDFF;">作者</view>
|
|
<view style="font-size: 10px;color: #fff;font-weight: 600;">{{user_author}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="b-c-top-bm"></view>
|
|
</view>
|
|
<view class="bc-cont">
|
|
<view class="bc-c-d1" bindtap="showMoreData">
|
|
<!-- {{content}} -->
|
|
<rich-text nodes="{{content}}"></rich-text>
|
|
</view>
|
|
<view class="bc-c-d2" wx:if="{{totalNum>0}}">
|
|
<view style="font-size: 14px; color: #333333;">相似信息</view>
|
|
<view style="font-size: 12px; color: #333333;margin-left: 8px;">共计{{totalNum}}条相似数据</view>
|
|
</view>
|
|
<scroll-view scroll-y="true" bindscrolltolower="searchScrollLower">
|
|
<view class="bc-c-d3" wx:for="{{dataList}}" wx:key="index" data-row="{{item}}" bindtap="handlerSource">
|
|
<view class="bc-c-d3-dd1">
|
|
<view style="color: #999999;font-size: 12px;">
|
|
{{item._source.sourcetime}}
|
|
</view>
|
|
<view>
|
|
<view class="d-top-cp-d1-s1" style="background: #F0F8FF;color: #0084FF;" wx:if="{{item._source.affections === 1}}">正面</view>
|
|
<view class="d-top-cp-d1-s1" style="background: #FFF0F1;color: #FF4852;" wx:if="{{item._source.affections === 2}}">负面</view>
|
|
<view class="d-top-cp-d1-s1" style="background: #FFFBF0;color: #FDCD42;" wx:if="{{item._source.affections === 3}}">中性</view>
|
|
</view>
|
|
</view>
|
|
<view class="bc-c-d3-dd2">
|
|
{{item._source.title}}
|
|
</view>
|
|
<view class="bc-c-d3-dd3">
|
|
<view style="color: #999999;font-size: 12px;width: 50%">来源:{{item._source.source}}</view>
|
|
<view style="color: #999999;font-size: 12px;">作者:{{item._source.user_author}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="loading" hidden="{{!loadMore}}">正在载入更多...</view>
|
|
<view class="loading" hidden="{{!loadAll}}" wx:if="{{iPageIndex===1}}" >已加载全部</view>
|
|
</scroll-view>
|
|
</view>
|
|
<van-dialog title="复制成功" use-slot show="{{ showDialog }}">
|
|
<view class="vd-outer">
|
|
<view class="vd-i-d1">已复制到剪贴板,快去分享吧</view>
|
|
<view class="vd-i-d2">
|
|
<text>发布时间:</text>
|
|
<text style="color: #909497;">{{sourcetime}}</text>
|
|
</view>
|
|
<view class="vd-i-d2">
|
|
<text style="width: 14%">来源:</text>
|
|
<text style="width: 86%;color: #909497;">{{source}}</text>
|
|
</view>
|
|
<view class="vd-i-d2">
|
|
<text style="width: 14%">标题:</text>
|
|
<text style="width: 86%;color: #909497;">{{title}}</text>
|
|
</view>
|
|
<view class="vd-i-d2">
|
|
<text style="width: 14%">链接:</text>
|
|
<text style="width: 86%;color: #909497;">{{uri}}</text>
|
|
</view>
|
|
<view class="vd-i-d2">
|
|
<text style="width: 14%">调性:</text>
|
|
<text style="width: 86%;color: #909497;">{{affections == 1 ? '正面' : affections == 2 ? '负面' : '中性'}}</text>
|
|
</view>
|
|
<view class="vd-i-d2">
|
|
<text style="width: 14%">作者:</text>
|
|
<text style="width: 86%;color: #909497;">{{user_author}}</text>
|
|
</view>
|
|
</view>
|
|
</van-dialog>
|
|
</view> |