Commit fb7cf354 authored by 罗超's avatar 罗超

修改新闻样式

parent b0b1177e
...@@ -86,13 +86,13 @@ ...@@ -86,13 +86,13 @@
<view class="koraNews-box"> <view class="koraNews-box">
<view class="newsimgs" style="position: relative;"> <view class="newsimgs" style="position: relative;">
<image :src="item.CoverImg" mode="aspectFill" class='n-img'/> <image :src="item.CoverImg" mode="aspectFill" class='n-img'/>
<view style="top:10px;left:10px;position: absolute;" v-if="item.Subtitle&&item.Subtitle.length>0"> <view style="top:10px;left:10px;position: absolute;" v-if="item.Industry&&item.Industry.length>0">
<u-tag :text="item.Subtitle" mode="dark" bg-color="rgba(0,0,0,.4)" color="#FFF" size="mini"></u-tag> <u-tag :text="item.Industry" mode="dark" bg-color="rgba(0,0,0,.4)" color="#FFF" size="mini"></u-tag>
</view> </view>
</view> </view>
<view class="box-conet"> <view class="box-conet">
<view class="koraRName">{{item.Title}}</view> <view class="koraRName">{{item.Title}}</view>
<view class="koraRName-f">{{item.Subtitle}}</view> <view class="koraRName-f" v-if="item.Subtitle&&item.Subtitle.length>0">{{item.Subtitle}}</view>
</view> </view>
</view> </view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment