diff --git a/data/text/1.yaml b/data/text/1.yaml deleted file mode 100644 index b119181e1361efb188e67178d91702ac0b103cdd..0000000000000000000000000000000000000000 --- a/data/text/1.yaml +++ /dev/null @@ -1,2 +0,0 @@ -weight: 1 -title: "main_characterr_title" \ No newline at end of file diff --git a/themes/project/layouts/events/list.html b/themes/project/layouts/events/list.html index e60989baecd64bb40cbc9e5e7a431f87719d3fd0..93d586c3c214ee67f24190063f2fc3dcea47f9d8 100644 --- a/themes/project/layouts/events/list.html +++ b/themes/project/layouts/events/list.html @@ -35,7 +35,7 @@ {{ end }}
-

{{ .Title }}

+

{{ .Title }}

{{ if isset .Params "author" }} @@ -49,7 +49,7 @@ {{ .Date.Format .Site.Params.date_format }}

-

{{ .Params.Summary }}

+

{{ .Params.Summary }}

查看全文
diff --git a/themes/project/layouts/index.html b/themes/project/layouts/index.html index 75bdd6bebc8412512879804ca4872b0e48ff4455..9771ab2e577902a31014738b7b46008dd17da439 100644 --- a/themes/project/layouts/index.html +++ b/themes/project/layouts/index.html @@ -16,7 +16,7 @@ {{ partial "banner.html" . }} {{ partial "feature_case_client.html" . }} - {{ partial "news.html" . }} + {{ partial "action.html" . }} {{ partial "client.html" . }} {{ partial "footer.html" . }} diff --git a/themes/project/layouts/partials/action.html b/themes/project/layouts/partials/action.html new file mode 100644 index 0000000000000000000000000000000000000000..01cbebbc87b9ad688bcc065347c0cc2c786669ef --- /dev/null +++ b/themes/project/layouts/partials/action.html @@ -0,0 +1,6 @@ +
+
+ {{ partial "news.html" . }} + {{ partial "events.html" . }} +
+
\ No newline at end of file diff --git a/themes/project/layouts/partials/events.html b/themes/project/layouts/partials/events.html new file mode 100644 index 0000000000000000000000000000000000000000..ba32bbac0b46d07401608eef6b6ff62015d515b6 --- /dev/null +++ b/themes/project/layouts/partials/events.html @@ -0,0 +1,21 @@ +
+ +
diff --git a/themes/project/layouts/partials/news.html b/themes/project/layouts/partials/news.html index d8307c6fc50707979d9c6fd387b7995e87b083e1..550d40cfe01c027cbb9c2baeb4bce45a2fea50b2 100644 --- a/themes/project/layouts/partials/news.html +++ b/themes/project/layouts/partials/news.html @@ -1,38 +1,21 @@ -
-
- {{ range .Site.Data.news }} -
-
    -
  • -
    - {{ i18n .title }} - {{ i18n .more }} > -
    -
  • - {{ range $elm := .content }} - {{ if $elm.url }} -
  • -
    - {{ i18n $elm.plate }} - | - {{ $elm.time }} -
    -

    {{ $elm.name }}

    -
  • - {{ else }} -
  • -
    - {{ i18n $elm.plate }} - | - {{ $elm.time }} -
    -

    {{ i18n $elm.name }}

    -
  • - {{ end }} - {{ end }} -
- -
- {{ end }} -
-
\ No newline at end of file +
+ +
diff --git a/themes/project/layouts/partials/test.html b/themes/project/layouts/partials/test.html deleted file mode 100644 index fd5eb7c8639bfa68a9915827be0b0af69326a849..0000000000000000000000000000000000000000 --- a/themes/project/layouts/partials/test.html +++ /dev/null @@ -1,5 +0,0 @@ -
- {{ range .Site.Data.text }} -

{{ i18n .title }}

- {{ end }} -
\ No newline at end of file diff --git a/themes/project/static/css/custommobile.css b/themes/project/static/css/custommobile.css index 9062f3864689a15da89431b214a606bd6a65e3cd..0f558277c356e84cf0f069afbba810344c84eada 100644 --- a/themes/project/static/css/custommobile.css +++ b/themes/project/static/css/custommobile.css @@ -146,6 +146,36 @@ width: auto; text-align: center; } + /* ----------新闻、活动---------- */ + .newsDetail_content_left img { + width: 2.6rem; + height: 2rem; + } + .newsDetail_content { + padding: 0; + } + .newsDetail_content_right h3 { + line-height: 0.24rem; + } + .newsDetail_content_right h3 a { + font-size: 0.28rem; + } + .newsDetail_content_right { + margin-left: 0.3rem; + } + .newsDetail_right_tips { + margin: 0.16rem 0 0.2rem 0; + } + .newsDetail_right_content a { + font-size: 0.2rem; + line-height: 0; + } + .newsDetail_right_content { + display: none; + } + .newsDetail_right_btn { + bottom: 0.1rem; + } } @media screen and (min-width: 768px) and (max-width: 1280px) { .isPc {