From c77a2daa5f78d39d2abf21052474810ed4fb1761 Mon Sep 17 00:00:00 2001 From: toom1996 Date: Mon, 14 Jul 2025 16:27:50 +0800 Subject: [PATCH] update --- public/template_4/js/main.js | 1 - src/layouts/Layout_4.astro | 2 +- src/pages/template/4/index.astro | 499 +++++++++++++++---------------- 3 files changed, 250 insertions(+), 252 deletions(-) diff --git a/public/template_4/js/main.js b/public/template_4/js/main.js index 949705d..ba13289 100644 --- a/public/template_4/js/main.js +++ b/public/template_4/js/main.js @@ -29,7 +29,6 @@ $('#mobile-menu').meanmenu({ }); $('.side-toggle').on('click', function () { - alert('1111') $('.side-info').addClass('info-open'); $('.offcanvas-overlay').addClass('overlay-open'); }) diff --git a/src/layouts/Layout_4.astro b/src/layouts/Layout_4.astro index a7de88d..e0458be 100644 --- a/src/layouts/Layout_4.astro +++ b/src/layouts/Layout_4.astro @@ -56,7 +56,7 @@ import '../styles/template_4/meanmenu.css'
- +
diff --git a/src/pages/template/4/index.astro b/src/pages/template/4/index.astro index 3cc1032..b6317bd 100644 --- a/src/pages/template/4/index.astro +++ b/src/pages/template/4/index.astro @@ -8,6 +8,7 @@ import { TP2_COLUMN_ABOUT_US, TP2_COLUMN_INDEX, TP2_COLUMN_INDEX_URL } from "../ import { newsIndex } from "../../../../utils/rpc"; const config = getConfig(Astro) const extra = getTp4Extra(config.app_extra_tag); +console.log(extra) const {code, data} = await newsIndex(config.id, 3); const breadcrumb = [{ @@ -22,274 +23,272 @@ const breadcrumb = [{ breadcrumb={breadcrumb} > -
-
-
- - - -
-
-
-
-
- -
-
-
-
-
- - - - - - - - - - -
-

{extra.sc1.text1}
{extra.sc1.text2}

-

{extra.sc1.text3}

-
-
+
+
+ + + +
+
+
+
+
+
-
- - -
-
-
- leftshape - leftshape - leftshape +
+
+
+ + + + + + + + + +
-
-

{extra.sc2.text1}

-
-
-
-
-
- pic -
-
-

{extra.sc2.text2}

-
-
-
-
-
-
- form2 -
-
-

{extra.sc2.text3}

-
-
-
-
-
-
- form3 -
-
-

{extra.sc2.text4}

-
-
-
-
-
-
- form4 -
-
-

{extra.sc2.text5}

-
-
-
-
-
-
- - - -
-
-
-
-
-

{extra.sc3.text1}

-
-
-
-
-
- details -
-
-

{extra.sc3.text2}

-

{extra.sc3.text3}

-
-
-
-
-
-
- details -
-
-

{extra.sc3.text4}

-

{extra.sc3.text5}

-
-
-
-
-
-
- details -
-
-

{extra.sc3.text6}

-

{extra.sc3.text7}

-
-
-
-
-
-
- details -
-
-

{extra.sc3.text8}

-

{extra.sc3.text9}

-
-
-
-
-
-
-
- blogshape -
-
-
-
-
- - - -
-
-
-
-
- download_shape - download_shape - download_shape -
-
-
-
-

{extra?.sc4?.text1}

-

{extra?.sc4?.text2}

-
- huawei-store - xiaomi-store - tencent-store - wandoujia-store -
-
-
-
-
-
- - -
-
-
-

新闻产品资讯

-
- -
- { - data.map(item => { - return - }) - } +

{extra.sc1.text1}
{extra.sc1.text2}

+

{extra.sc1.text3}

+
+
- -
+ + + + +
+
+
+
+
+

{extra.sc3.text1}

+
+
+
+
+
+ details +
+
+

{extra.sc3.text2}

+

{extra.sc3.text3}

+
+
+
+
+
+
+ details +
+
+

{extra.sc3.text4}

+

{extra.sc3.text5}

+
+
+
+
+
+
+ details +
+
+

{extra.sc3.text6}

+

{extra.sc3.text7}

+
+
+
+
+
+
+ details +
+
+

{extra.sc3.text8}

+

{extra.sc3.text9}

+
+
+
+
+
+
+
+ blogshape +
+
+
+
+
+ + + +
+
+
+
+
+ download_shape + download_shape + download_shape +
+
+
+
+

{extra?.sc4?.text1}

+

{extra?.sc4?.text2}

+
+ huawei-store + xiaomi-store + tencent-store + wandoujia-store +
+
+
+
+
+
+ + +
+
+
+

新闻产品资讯

+
+ +
+ { + data.map(item => { + return + }) + } +
+
+
+ + +
+
+
+

{extra?.sc5?.text1}

+

+
+ + + + +
+
+
+