From cd39f3eb38a88d8f3792fc6e4ba7b16aabe55721 Mon Sep 17 00:00:00 2001 From: liangjiami <2249412933@qq.com> Date: Tue, 24 Jun 2025 17:51:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=A0=B7=E5=BC=8Fbug=E7=A7=BB=E5=8A=A8?= =?UTF-8?q?=E7=AB=AF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/view/mobile/article/detail.html | 14 +++++++++++ app/index/view/mobile/index/index.html | 10 ++++++++ app/index/view/mobile/product/category.html | 2 +- app/index/view/mobile/product/search.html | 1 + .../view/mobile/topic_nas/cooperation.html | 7 +++--- .../index/mobile/css/article_detail.css | 22 ++++++++++++---- public/static/index/mobile/css/index.css | 2 ++ public/static/index/mobile/css/style.css | 25 ++++++++++++++++++- .../mobile/css/topic_nas_cooperation.css | 2 +- .../mobile/css/topic_nas_help-detail.css | 1 + 10 files changed, 75 insertions(+), 11 deletions(-) diff --git a/app/index/view/mobile/article/detail.html b/app/index/view/mobile/article/detail.html index 1decf523..ebdb5a5e 100644 --- a/app/index/view/mobile/article/detail.html +++ b/app/index/view/mobile/article/detail.html @@ -25,6 +25,20 @@
{$detail.content|raw}
+
+
+

评论

+
+
王麻子:
+
水电费水电费水电费水电费
+
+
+
王麻子:
+
水电费水电费水电费水电费
+
+
+ +
{notempty name="share_config"}
diff --git a/app/index/view/mobile/index/index.html b/app/index/view/mobile/index/index.html index 4d95fdf9..666444d8 100644 --- a/app/index/view/mobile/index/index.html +++ b/app/index/view/mobile/index/index.html @@ -310,6 +310,16 @@ icon.removeClass('icon-jian-svg').addClass('icon-add-svg'); } }); + + // 判断年份 + // 计算.timeline下的li元素数量 + var liCount = $('.timeline ol li').length; + + // 如果有li元素,则设置a标签的宽度 + if (liCount > 0) { + var widthPerItem = (100 / liCount-0.3) + '%'; + $('.timeline ol li a').css('width', widthPerItem); + } }); {/block} \ No newline at end of file diff --git a/app/index/view/mobile/product/category.html b/app/index/view/mobile/product/category.html index 5a836c6b..a5122c5b 100644 --- a/app/index/view/mobile/product/category.html +++ b/app/index/view/mobile/product/category.html @@ -9,7 +9,7 @@
{volist name="focus_image" id="fi"} - + {/volist}
diff --git a/app/index/view/mobile/product/search.html b/app/index/view/mobile/product/search.html index 5d3822bd..a7ee3765 100644 --- a/app/index/view/mobile/product/search.html +++ b/app/index/view/mobile/product/search.html @@ -28,6 +28,7 @@
{$page|raw}
{/notempty} +
暂无数据
{/block} \ No newline at end of file diff --git a/app/index/view/mobile/topic_nas/cooperation.html b/app/index/view/mobile/topic_nas/cooperation.html index 9d58da94..4f126284 100644 --- a/app/index/view/mobile/topic_nas/cooperation.html +++ b/app/index/view/mobile/topic_nas/cooperation.html @@ -7,8 +7,9 @@
{notempty name="focus_image"} -
-
+
+ +
{/notempty} diff --git a/public/static/index/mobile/css/article_detail.css b/public/static/index/mobile/css/article_detail.css index 3e0ac54e..a6bfe178 100644 --- a/public/static/index/mobile/css/article_detail.css +++ b/public/static/index/mobile/css/article_detail.css @@ -53,24 +53,36 @@ margin-bottom: 0.5rem; } -.oricoEGapp-articledetail .content .share_box { +.oricoEGapp-articledetail .content .share_box, .oricoEGapp-articledetail .content .pl_box{ width: 100%; } -.oricoEGapp-articledetail .content .share_box .blog_share { +.oricoEGapp-articledetail .content .share_box .blog_share ,.oricoEGapp-articledetail .content .pl_box .blog_pl { width: 100%; height: auto; background: #ffffff; border: 1px solid #e8e8e8; margin: 1rem 0; } - -.oricoEGapp-articledetail .content .share_box .blog_share h3 { +.oricoEGapp-articledetail .content .pl_box .blog_pl .plitem{ + margin: 15px; + border-bottom: 1px solid #e8e8e8; + padding-bottom: 8px; +} +.oricoEGapp-articledetail .content .pl_box .blog_pl .plitem .pl_name{ + color: #004bfa; + padding-bottom: 5px; + padding-right: 0.625rem; +} +.oricoEGapp-articledetail .content .pl_box .blog_pl .plitem:last-child{ + border-bottom:none; +} +.oricoEGapp-articledetail .content .share_box .blog_share h3,.oricoEGapp-articledetail .content .pl_box .blog_pl h3 { font-size: 1rem; line-height: 2.125rem; color: #959595; font-weight: bold; - padding: 0.25rem 1.875rem 0.75rem; + padding: 0.25rem 1.875rem 0; border-bottom: 1px solid #e8e8e8; } diff --git a/public/static/index/mobile/css/index.css b/public/static/index/mobile/css/index.css index e9677418..c66ff48a 100755 --- a/public/static/index/mobile/css/index.css +++ b/public/static/index/mobile/css/index.css @@ -31,6 +31,8 @@ } .oricoEGapp .oricoEGapp-index .oidx-cate .cateit { margin: 0 5%; +} +.oricoEGapp .oricoEGapp-index .oidx-cate .cateit a{ display: flex; flex-direction: column; justify-content: center; diff --git a/public/static/index/mobile/css/style.css b/public/static/index/mobile/css/style.css index 6a256357..b7f20fda 100755 --- a/public/static/index/mobile/css/style.css +++ b/public/static/index/mobile/css/style.css @@ -29,6 +29,7 @@ body { max-width: 750px; } img { + max-width: 100%; border: none; border: 0; vertical-align: top; @@ -100,6 +101,7 @@ address { list-style: none; padding: 0px; margin: 0px; + word-break: break-all; } a { text-decoration: none; @@ -813,6 +815,7 @@ video img { border-radius: 5px; margin: 1rem auto 0; position: relative; + margin-top: 8rem; } .ac-popup-btn { padding: 40px 0 0; @@ -1623,6 +1626,7 @@ video img { } .goods_all_title .title { font-size: 0.7rem; + text-align: center; color: #333333; margin: 2rem 0 0; } @@ -2386,6 +2390,9 @@ video img { display: inline-block; vertical-align: top; } +.hd .co-bg img{ + border-radius: 7px; +} /*add 产品详情*/ .hd .clearfix { display: -webkit-inline-box; @@ -2398,7 +2405,6 @@ video img { font-size: 14px; margin-right: 0px; line-height: 40px; - width: 125px !important; font-weight: 600; font-family: Montserrat !important; color: #666; @@ -2434,6 +2440,23 @@ video img { border-radius: 16px !important; margin-right: 4px; } +.attr_item_defalut { + float: left; + background: #fff; + border: 1px solid #d4d4d4; + margin-right: 4px; + padding: 0px 15px; + border-radius: 40px; + line-height: 30px; +} +.attr_item_on { + border: 1px solid #004BFA; +} +.attr_item_defalut span{ + font-size: 11px; + color: #333; + font-weight: bold; +} .on { border: 1px solid #737373 !important; color: #666 !important; diff --git a/public/static/index/mobile/css/topic_nas_cooperation.css b/public/static/index/mobile/css/topic_nas_cooperation.css index 65d82103..d4ee4cd5 100644 --- a/public/static/index/mobile/css/topic_nas_cooperation.css +++ b/public/static/index/mobile/css/topic_nas_cooperation.css @@ -8,7 +8,7 @@ .narshzhbMbpage .narshzhb-banner { width: 100%; - height: 8.5625rem; + /* height: 8.5625rem; */ display: flex; flex-direction: column; align-items: center; diff --git a/public/static/index/mobile/css/topic_nas_help-detail.css b/public/static/index/mobile/css/topic_nas_help-detail.css index 2206a374..ed530e11 100644 --- a/public/static/index/mobile/css/topic_nas_help-detail.css +++ b/public/static/index/mobile/css/topic_nas_help-detail.css @@ -8,6 +8,7 @@ width: 100%; display: flex; flex-direction: column; + background: #fff; } .narshelpCenterdetail-app .headtop {