|
@@ -355,10 +355,12 @@ async function goSearch(){
|
|
|
>
|
|
|
<li
|
|
|
class="item"
|
|
|
-
|
|
|
@click="goDetail(item)"
|
|
|
>
|
|
|
- <h2 :class="['van-ellipsis title',item.Title.startsWith('【')?'inline-title':'']">{{item.Title}}</h2>
|
|
|
+ <h2 class="van-ellipsis title">
|
|
|
+ <span :class="['tag',item.ChapterType]">{{['周报','晨报'].includes(item.ClassifyNameFirst)?item.ClassifyNameFirst:'研报'}}</span>
|
|
|
+ {{item.Title}}
|
|
|
+ </h2>
|
|
|
<p class="van-multi-ellipsis--l2 des">{{item.Abstract}}</p>
|
|
|
<div class="bot-info">
|
|
|
<div>
|
|
@@ -544,6 +546,25 @@ async function goSearch(){
|
|
|
box-shadow: 0px 3px 12px rgba(52, 75, 120, 0.08);
|
|
|
border-radius: 8px;
|
|
|
.title{
|
|
|
+ .tag{
|
|
|
+ display: inline-block;
|
|
|
+ width: 100px;
|
|
|
+ height: 44px;
|
|
|
+ line-height: 44px;
|
|
|
+ text-align: center;
|
|
|
+ font-size: 28px;
|
|
|
+ background: rgba(0, 82, 217, 0.1);
|
|
|
+ border-radius: 4px;
|
|
|
+ color: $theme-color;
|
|
|
+ }
|
|
|
+ .week{
|
|
|
+ color: $font-success;
|
|
|
+ background: rgba(43, 164, 113, 0.1);
|
|
|
+ }
|
|
|
+ .day{
|
|
|
+ color: $theme-warning;
|
|
|
+ background: rgba(227, 115, 24, 0.1);
|
|
|
+ }
|
|
|
font-size: 32px;
|
|
|
line-height: 44px;
|
|
|
margin: 0;
|