|
@@ -41,7 +41,7 @@
|
|
|
<view class="content-box" @click="goDetail(citem)">
|
|
|
<view class="all-btn">全部</view>
|
|
|
<view class="c-time">{{citem.publish_time|getListTime}}</view>
|
|
|
- <view class="title">{{citem.title}}</view>
|
|
|
+ <view class="c-title">{{citem.title}}</view>
|
|
|
<view class="desc" v-html="citem.content_sub"></view>
|
|
|
<view class="tags">
|
|
|
<text style="margin-right:15px" v-if="citem.classify_name_first">#{{citem.classify_name_first}}</text>
|
|
@@ -403,21 +403,23 @@ export default {
|
|
|
font-size: 24rpx;
|
|
|
color: #333333;
|
|
|
}
|
|
|
- }
|
|
|
-
|
|
|
- .title{
|
|
|
- font-size: $global-font-size-lg;
|
|
|
- font-weight: bold;
|
|
|
- }
|
|
|
- .desc{
|
|
|
- line-height: 1.5;
|
|
|
- margin-top: 10rpx;
|
|
|
- color: #666666;
|
|
|
- }
|
|
|
- .tags{
|
|
|
- margin-top: 20rpx;
|
|
|
- color: #E3B377;
|
|
|
- min-height: 40rpx;
|
|
|
+ .c-title{
|
|
|
+ font-size: $global-font-size-lg;
|
|
|
+ font-weight: bold;
|
|
|
+ word-wrap: break-word;
|
|
|
+ white-space: normal;
|
|
|
+ word-break: break-all;
|
|
|
+ }
|
|
|
+ .desc{
|
|
|
+ line-height: 1.5;
|
|
|
+ margin-top: 10rpx;
|
|
|
+ color: #666666;
|
|
|
+ }
|
|
|
+ .tags{
|
|
|
+ margin-top: 20rpx;
|
|
|
+ color: #E3B377;
|
|
|
+ min-height: 40rpx;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|