浏览代码

更新样式

306132416@qq.com 4 年之前
父节点
当前提交
959978ca17
共有 1 个文件被更改,包括 13 次插入0 次删除
  1. 13 0
      pages/supply/index.vue

+ 13 - 0
pages/supply/index.vue

@@ -197,6 +197,8 @@ export default {
       box-shadow: rgba(100, 100, 111, 0.2) 0rpx 14rpx 50rpx 0rpx;
       .image_content {
         margin-right: 5%;
+		display: flex;
+		align-items: center;
         image {
           width: 100rpx;
           height: 100rpx;
@@ -208,6 +210,17 @@ export default {
         display: flex;
         flex-flow: column;
         justify-content: space-around;
+		.title {
+			width: 100%;
+			text-overflow: -o-ellipsis-lastline;
+			overflow: hidden;
+			text-overflow: ellipsis;
+			display: -webkit-box;
+			-webkit-line-clamp: 2;
+			line-clamp: 2;
+			-webkit-box-orient: vertical;
+			font-size: 32rpx;
+		}
         .time {
           font-weight: 100;
           font-size: 26rpx;