作者 lihongjuan

1

@@ -13,13 +13,16 @@ @@ -13,13 +13,16 @@
13 <view class="text" style="text-align: center;">已收藏</view> 13 <view class="text" style="text-align: center;">已收藏</view>
14 </view> 14 </view>
15 <view class="msg" @click="tomsgpage" style="display:flex"> 15 <view class="msg" @click="tomsgpage" style="display:flex">
16 -  
17 - <text v-if="university.des_content==''">暂无简介</text>  
18 - 16 + <view class="magboxitem">
  17 + <text v-if="university.des_content==''">暂无简介</text>
  18 +
19 <rich-text :nodes="university.des_content" v-else></rich-text> 19 <rich-text :nodes="university.des_content" v-else></rich-text>
  20 + </view>
  21 +
  22 +
20 23
21 24
22 - <text style="color:#81C3BF;width:400rpx" v-if="university.des_content!=''">[更多]</text> 25 + <text style="color:#81C3BF;width:520rpx" v-if="university.des_content!=''">[更多]</text>
23 </view> 26 </view>
24 27
25 </view> 28 </view>
@@ -469,12 +472,18 @@ export default { @@ -469,12 +472,18 @@ export default {
469 color:#06121E; 472 color:#06121E;
470 font-size: 24rpx; 473 font-size: 24rpx;
471 width: 500rpx; 474 width: 500rpx;
472 - height: 118rpx; 475 +
  476 + // height: 118rpx;sss
  477 +
  478 + }
  479 + .magboxitem{
  480 +
  481 + height:auto;
473 display: -webkit-box; 482 display: -webkit-box;
474 -webkit-box-orient: vertical; 483 -webkit-box-orient: vertical;
475 -webkit-line-clamp: 3; 484 -webkit-line-clamp: 3;
476 overflow: hidden; 485 overflow: hidden;
477 - } 486 + }
478 487
479 } 488 }
480 .schoolMsg{ 489 .schoolMsg{