瀏覽代碼

样式修改

tanxue 3 天之前
父節點
當前提交
1f2a9a66ff
共有 2 個文件被更改,包括 29 次插入4 次删除
  1. 17 4
      common/styles/global/pages.scss
  2. 12 0
      pages.json

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

@@ -1538,7 +1538,7 @@
 		display: flex;flex: 1;border-top: 1rpx solid #f0f0f0;overflow: hidden;
 	}
 	.haibao-menu-box{
-		width: 170rpx;border-right: 1rpx solid #f0f0f0;overflow-y: auto;
+		width: 180rpx;border-right: 1rpx solid #f0f0f0;overflow-y: auto;
 		.menu-item-box{
 			width: 100%;height: 72rpx;line-height: 72rpx;font-size: 28rpx;
 			box-sizing: border-box;padding: 0 10rpx;
@@ -1558,8 +1558,8 @@
 		}
 		.haibao-card-box{
 			width: 31%;margin-right: 3.5%;font-size: 0;margin-bottom: 20rpx;
-			img{width: 100%;height: 240rpx;border-radius: 8rpx;}
-			.card-name{font-size: 24rpx;color: #666;text-align: center;margin-top: 6rpx;}
+			img{width: 100%;height: 260rpx;border-radius: 8rpx;}
+			.card-name{font-size: 24rpx;color: #666;text-align: center;margin-top: 6rpx;@include single-line-ellipsis();}
 		}
 		.haibao-card-box:nth-child(3n){margin-right: 0;}
 	}
@@ -1569,7 +1569,20 @@
 	width: 100%;height: 100vh;background-color: #fff;
 	display: flex;flex-direction: column;background-color: #202020;
 	.haibao-info-body-box{
-		box-sizing: border-box;padding: 24rpx;
+		box-sizing: border-box;padding: 24rpx;flex: 1;
+		display: flex;align-items: center;
 		img{width: 100%;}
+		.haibao-info-text{
+			color: #000;font-size: 28rpx;margin-top: 16rpx;display: flex;align-items: center;
+			icon{width: 32rpx;height: 32rpx;@include ezy-no-repeat-cover;margin-right: 10rpx;}
+			.jz-icon{background-image: url("@/static/images/common/haibao-jz-icon.svg");}
+			.tel-icon{background-image: url("@/static/images/common/haibao-yh-icon.svg");}
+		}
+		.info-text-box{
+			position: absolute;bottom: 16rpx;left: 10rpx;
+		}
+		.img-box{
+			position: relative;
+		}
 	}
 }

+ 12 - 0
pages.json

@@ -342,6 +342,18 @@
 			"style": {
 				"navigationStyle": "custom"
 			}
+		},
+		{
+			"path": "pages/admin/haibao/index",
+			"style": {
+				"navigationStyle": "custom"
+			}
+		},
+		{
+			"path": "pages/admin/haibao/haibaoInfo",
+			"style": {
+				"navigationStyle": "custom"
+			}
 		}
 		
 	],