作者 lihongjuan

1

... ... @@ -13,13 +13,16 @@
<view class="text" style="text-align: center;">已收藏</view>
</view>
<view class="msg" @click="tomsgpage" style="display:flex">
<text v-if="university.des_content==''">暂无简介</text>
<view class="magboxitem">
<text v-if="university.des_content==''">暂无简介</text>
<rich-text :nodes="university.des_content" v-else></rich-text>
</view>
<text style="color:#81C3BF;width:400rpx" v-if="university.des_content!=''">[更多]</text>
<text style="color:#81C3BF;width:520rpx" v-if="university.des_content!=''">[更多]</text>
</view>
</view>
... ... @@ -469,12 +472,18 @@ export default {
color:#06121E;
font-size: 24rpx;
width: 500rpx;
height: 118rpx;
// height: 118rpx;sss
}
.magboxitem{
height:auto;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
overflow: hidden;
}
}
}
.schoolMsg{
... ...