完成上传下载连接,公告管理与详情页面,求种区页面,轮播图折扣显示,修改部分bug
Change-Id: I86fc294e32911cb3426a8b16f90aca371f975c11
diff --git a/src/components/HelpDetail.css b/src/components/HelpDetail.css
index 94d791b..34e1363 100644
--- a/src/components/HelpDetail.css
+++ b/src/components/HelpDetail.css
@@ -554,4 +554,33 @@
border-radius: 4px;
padding: 8px 16px;
cursor: pointer;
-}
\ No newline at end of file
+}
+
+.post-image-container {
+ width: 100%;
+ max-width: 500px; /* 最大宽度 */
+ margin: 10px 0;
+}
+
+.post-image {
+ width: 100%;
+ height: auto;
+ max-height: 400px; /* 最大高度 */
+ object-fit: contain; /* 保持比例完整显示图片 */
+ border-radius: 4px;
+}
+
+.comment-image-container {
+ width: 100%;
+ max-width: 500px; /* 最大宽度 */
+ margin: 10px 0;
+}
+
+.comment-image {
+ width: 100%;
+ height: auto;
+ max-height: 400px; /* 最大高度 */
+ object-fit: contain; /* 保持比例完整显示图片 */
+ border-radius: 4px;
+}
+