Quellcode durchsuchen

标题3行展示

xhj vor 2 Jahren
Ursprung
Commit
faf7e32375

+ 4 - 4
pages/index/index.css

@@ -710,7 +710,7 @@ page{background: #fff;}
 	margin-right: 10rpx;
 }
 .lpgs-item-content-pic{
-	width: 202rpx;
+	width: 188rpx;
 	height: 141rpx;
 	margin-left: 10rpx;
 	border-radius: 10rpx;
@@ -788,7 +788,7 @@ page{background: #fff;}
 	border-bottom: none;
 }
 .fx-item-title{
-	height: 94rpx;
+	height: 141rpx;
 	line-height: 47rpx;
 	font-size: 32rpx;
 	font-family: PingFang SC-Bold, PingFang SC;
@@ -815,8 +815,8 @@ page{background: #fff;}
 	margin-right: 10rpx;
 }
 .fx-item-pic{
-	width: 200rpx;
-	height: 150rpx;
+	width: 240rpx;
+	height: 180rpx;
 	border-radius: 12rpx 12rpx 12rpx 12rpx;
 	margin-left: 10rpx;
 }

+ 2 - 2
pages/index/index.vue

@@ -213,7 +213,7 @@
 						<view class="fx-item ddflex" v-for="item in fxContentList"
 							@click="jumpUrl('/topic/content/content?id='+item.id)">
 							<view class="flex" style="min-width: 0;">
-								<view class="fx-item-title tovers">{{item.title}}</view>
+								<view class="fx-item-title tovers3">{{item.title}}</view>
 								<view class="ddflex" style="margin-top: 24rpx;">
 									<view class="fx-item-time">{{formatTime(item.createDate)}}</view>
 									<view class="fx-item-look ddflex">
@@ -222,7 +222,7 @@
 									</view>
 								</view>
 							</view>
-							<image class="fx-item-pic" :src="item.pic?item.pic:'../../static/images/lj_img.png'"></image>
+							<image class="fx-item-pic" :src="item.pic?item.pic:'../../static/images/lj_img.png'" mode="aspectFill"></image>
 						</view>
 					</view>
 					<view class="nodata" v-else style="padding-top: 0rpx;padding-bottom: 40rpx;">

+ 2 - 2
topic/contentList/contentList.css

@@ -50,11 +50,11 @@ page{background: #fff;}
 .box{padding: 30rpx 32rpx 0;}
 .bobo{border-bottom: 20rpx solid #F8F8F8;}
 .rec .li{padding: 30rpx 0;border-bottom: 1rpx solid #EDEDED;align-items: center;}
-.rec-tit{font-size: 34rpx;color: #333;font-weight: bold;line-height: 48rpx;height: 96rpx;margin-bottom: 25rpx;}
+.rec-tit{font-size: 34rpx;color: #333;font-weight: bold;line-height: 47rpx;height: 141rpx;margin-bottom: 25rpx;}
 .author{font-size: 28rpx;color: #999;margin-right: 24rpx;}
 .author image{width: 32rpx;height: 32rpx;border-radius: 2rpx;margin-right: 10rpx;}
 .rec-time{font-size: 28rpx;color: #999;}
-.rec-img{width: 218rpx;height: 152rpx;margin-left: 55rpx;}
+.rec-img{width: 240rpx;height: 180rpx;margin-left: 55rpx;border-radius: 12rpx 12rpx 12rpx 12rpx;}
 
 
 /* 行业资讯 */

+ 1 - 1
topic/contentList/contentList.vue

@@ -27,7 +27,7 @@
 			<view class="rec" v-if="contentList.length>0">
 				<navigator :url="'/topic/content/content?id=' + item.id" hover-class="none" class="li dflex" v-for="(item,index) in contentList" :key="index">
 					<view class="flex">
-						<view class="rec-tit tovers">{{item.title}}</view>
+						<view class="rec-tit tovers3">{{item.title}}</view>
 						<view class="dflex">
 							<!-- <view class="author ddflex"><image src="../../static/pages/images/zbgw.png" mode="aspectFill"></image>欧衡</view> -->
 							<view class="rec-time">{{item.createDate}}</view>