浏览代码

样式修改

tanxue 3 月之前
父节点
当前提交
0934b6f95f
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      common/styles/global/pages.scss

+ 4 - 4
common/styles/global/pages.scss

@@ -573,8 +573,8 @@
 		.card-body-row{
 			display: flex;box-sizing: border-box;padding:16rpx 24rpx;background-color:#fff;border-radius: 0 0 10rpx 10rpx;
 			.body-content-row{width: 100%;display: flex;flex-direction: column;justify-content: space-evenly;}
-			.card-img-box{width: 180rpx;max-height: 240rpx;display: flex;align-items: center;margin-right: 24rpx;flex-shrink: 0;}
-			img{max-width: 180rpx;max-height: 240rpx;border-radius: 8rpx;}
+			.card-img-box{width: 180rpx;height: 240rpx;display: flex;align-items: center;margin-right: 24rpx;flex-shrink: 0;overflow: hidden;border-radius: 8rpx;}
+			img{width: 180rpx;height: auto;}
 			.content-text-row{
 				display: flex;justify-content: space-between;font-size: 30rpx;color: #333;line-height: 46rpx;
 				.text-status{font-size: 26rpx;color: #3fd2a1;border: 1rpx solid #3fd2a1;padding: 0 12rpx;border-radius: 8rpx;}
@@ -865,9 +865,9 @@
 		display: flex;background-color:#3fd2a1;box-sizing: border-box;padding: 24rpx 36rpx;
 		margin: 24rpx 32rpx;border-radius: 10rpx;
 		.head-img-box{
-			max-width: 220rpx;max-height: 220rpx;margin-right: 32rpx;display: flex;align-items: center;
+			width: 180rpx;height: 240rpx;margin-right: 32rpx;display: flex;align-items: center;
 			border-radius: 10rpx;overflow: hidden;position: relative;
-			.head-img{width:auto;height: 220rpx;}
+			.head-img{width: 180rpx;height: auto;}
 			.head-status{
 				height: 32rpx;line-height: 32rpx;padding: 0 16rpx;
 				position: absolute;right:0;bottom:0;border-radius: 10rpx 0 10rpx 0;text-align: center;