main
liudan 1 year ago
parent 84cfff8a86
commit cd00561c83
  1. 9
      pages/detail/detail.vue
  2. 1
      pages/index/searchPage.vue

@ -23,11 +23,14 @@
</u-navbar> </u-navbar>
<view class="" v-if="tagList.length>0"> <view class="" v-if="tagList.length>0">
<image :src="baseUrl+titleInfo.listimage" class="listImage" mode="aspectFill"></image> <image :src="baseUrl+titleInfo.listimage" class="listImage" mode="aspectFill"></image>
<view class="listImage" style="background: rgba(0, 0, 0, 0.5);">
</view>
<view class="schoolItem"> <view class="schoolItem">
<image :src="logo" class="logo" mode="aspectFill"></image> <image :src="logo" class="logo" mode="aspectFill"></image>
<view class="textContentInfo"> <view class="textContentInfo">
<view class="itemTitle">{{titleInfo.title}}</view> <view class="itemTitle">{{titleInfo.title}}</view>
<view class="itemSubTitle">{{titleInfo.sectitle}}</view> <view class="itemSubTitle" v-html="titleInfo.sectitle"></view>
</view> </view>
<view class="tagListContent"> <view class="tagListContent">
<view class="tagItem" v-for="(item,index) in tagList" :key="index" @click="getArticleText(item,index)"> <view class="tagItem" v-for="(item,index) in tagList" :key="index" @click="getArticleText(item,index)">
@ -42,7 +45,7 @@
</view> </view>
<view class="tools"> <view class="tools">
<view class="time"> <view class="time">
{{titleInfo.updatetime}} <!-- {{titleInfo.updatetime}} -->
</view> </view>
<view class="toolItem"> <view class="toolItem">
<view class="" @click="addCollect"> <view class="" @click="addCollect">
@ -309,6 +312,8 @@
position: absolute; position: absolute;
top:0; top:0;
left:0; left:0;
z-index:9
// opacity: 0.6;
} }
.schoolItem{ .schoolItem{
position:relative; position:relative;

@ -65,6 +65,7 @@
<view class="schoolName">{{item.name}}</view> <view class="schoolName">{{item.name}}</view>
<!-- <view class="schoolSubName">Massachusetts Institute of Technology</view> --> <!-- <view class="schoolSubName">Massachusetts Institute of Technology</view> -->
<view class="schoolSubName">{{item.subName}}</view> <view class="schoolSubName">{{item.subName}}</view>
<view class="schoolSubName">{{item.intro}}</view>
</view> </view>
</view> </view>
</view> </view>

Loading…
Cancel
Save