From 619bf30315661370dcda81aa5aa807cd43293af5 Mon Sep 17 00:00:00 2001 From: wikiboss Date: Fri, 9 Oct 2026 09:26:32 +0800 Subject: [PATCH] =?UTF-8?q?feat(journalism):=20=E5=BD=95=E5=85=A58?= =?UTF-8?q?=E7=AF=87=E6=B7=B1=E5=BA=A6=E6=9E=B6=E6=9E=84=E4=B8=8E=E6=8A=80?= =?UTF-8?q?=E6=9C=AF=E6=B4=9E=E5=AF=9F=E9=95=BF=E6=96=87=EF=BC=8C=E5=85=A8?= =?UTF-8?q?=E9=9D=A2=E5=8D=87=E7=BA=A7=E6=96=87=E7=AB=A0=E8=B5=84=E8=AE=AF?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E4=B8=8E=E8=AF=A6=E6=83=85=E9=A1=B5=E4=B8=BA?= =?UTF-8?q?=E7=8E=B0=E4=BB=A3=E4=B8=AD=E5=BC=8F=E6=B5=85=E8=89=B2=E4=B8=93?= =?UTF-8?q?=E4=B8=9A=E9=A3=8E=E5=B9=B6=E8=81=94=E5=8A=A8=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E7=B2=BE=E9=80=89=E6=9D=BF=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + .../view/web/official_common/pc/footer.html | 1 + .../view/web/official_home/index.html | 167 ++++++- .../view/web/official_journalism/details.html | 180 ++++--- .../web/official_journalism/details_e.html | 135 ++--- .../view/web/official_journalism/list.html | 169 ++++--- .../view/web/official_journalism/list_e.html | 122 +++-- database/seeds/journalism_articles.sql | 286 +++++++++++ .../assets/addons/official/css/modern_nhc.css | 465 ++++++++++++++++++ .../images/articles/article_ai_agent.svg | 66 +++ .../images/articles/article_cross_app.svg | 65 +++ .../images/articles/article_erp_bom.svg | 65 +++ .../images/articles/article_microservice.svg | 64 +++ .../images/articles/article_pos_offline.svg | 64 +++ .../articles/article_security_whitepaper.svg | 64 +++ .../articles/article_southwest_digital.svg | 64 +++ .../images/articles/article_tdd_standards.svg | 64 +++ tests/build_journalism_seed.py | 419 ++++++++++++++++ tests/generate_article_covers.py | 318 ++++++++++++ tests/run_tests.py | 13 +- tests/test_journalism_and_articles.py | 102 ++++ 21 files changed, 2627 insertions(+), 267 deletions(-) create mode 100644 database/seeds/journalism_articles.sql create mode 100644 public/assets/addons/official/images/articles/article_ai_agent.svg create mode 100644 public/assets/addons/official/images/articles/article_cross_app.svg create mode 100644 public/assets/addons/official/images/articles/article_erp_bom.svg create mode 100644 public/assets/addons/official/images/articles/article_microservice.svg create mode 100644 public/assets/addons/official/images/articles/article_pos_offline.svg create mode 100644 public/assets/addons/official/images/articles/article_security_whitepaper.svg create mode 100644 public/assets/addons/official/images/articles/article_southwest_digital.svg create mode 100644 public/assets/addons/official/images/articles/article_tdd_standards.svg create mode 100644 tests/build_journalism_seed.py create mode 100644 tests/generate_article_covers.py create mode 100644 tests/test_journalism_and_articles.py diff --git a/.gitignore b/.gitignore index 65d50bf..a3310a6 100644 --- a/.gitignore +++ b/.gitignore @@ -11,6 +11,7 @@ composer.lock *.tar.gz *.zip *.sql +!database/seeds/*.sql !.gitkeep .env .svn diff --git a/addons/official/view/web/official_common/pc/footer.html b/addons/official/view/web/official_common/pc/footer.html index c69586c..e2da1d6 100644 --- a/addons/official/view/web/official_common/pc/footer.html +++ b/addons/official/view/web/official_common/pc/footer.html @@ -45,6 +45,7 @@