This commit is contained in:
zhaofang
2022-11-21 17:01:23 +08:00
parent 4cd7926f24
commit 7b570e8e0a
2 changed files with 2 additions and 3 deletions

View File

@@ -67,8 +67,7 @@
</view>
<view class="articl-box">
<view class="articl-box-index" v-for="ar in arlDataList" @click="toArticleDetail(ar)">
<image v-if="ar.coverurl == ''" style="width: 560upx;height: 314upx;border-radius: 24upx 24upx 0 0;" src="../../static/images/course.png" mode=""></image>
<image v-else style="width: 560upx;height: 314upx;border-radius: 24upx 24upx 0 0;" :src="fileUrl+ar.coverurl" mode=""></image>
<image style="width: 560upx;height: 314upx;border-radius: 24upx 24upx 0 0;" :src="fileUrl+ar.coverurl" mode=""></image>
<view class="box-index">
<view class="box-index-title" style="height:90upx">
{{ar.title}}

View File

@@ -13,7 +13,7 @@ Vue.prototype.$keywordActiveShow=function(str,keyword){
if(!str||str.indexOf(keyword)===-1||keyword==''){
return str
}
return str.replace(keyword,`<span style="color:#FF8E00">${keyword}</span>`)
return str.replace(keyword,`<span style="color:#387DF7 ">${keyword}</span>`)
}