From f84cc0e6fc0ef9448cb6e19a4f2d2e561b6030f7 Mon Sep 17 00:00:00 2001 From: avene Date: Sat, 23 Jun 2018 21:36:42 +0800 Subject: [PATCH] update data page --- .../views/scripts/data/offlinelist.phtml | 56 ++++++++++--------- .../views/scripts/data/onlinelist.phtml | 15 +---- 2 files changed, 33 insertions(+), 38 deletions(-) diff --git a/application/default/views/scripts/data/offlinelist.phtml b/application/default/views/scripts/data/offlinelist.phtml index 03fdc67c..96d8e5be 100755 --- a/application/default/views/scripts/data/offlinelist.phtml +++ b/application/default/views/scripts/data/offlinelist.phtml @@ -33,32 +33,38 @@ $this->nav[] = array('link' => "/data/offlinelist", 'title' => '离线数据浏 在线数浏览 离线浏览 - - - -
-
-
    - paginator as $md) : ?> -
  • -
    - - - -
    -
    -
    - escape($md['title']); ?> - +
    +
      + paginator as $md) : ?> +
    • + -

      - ', mb_strlen($md['description']) > 120 ? $this->escape(mb_substr($md['description'], 0, 120, 'UTF-8') . '...') : $this->escape($md['description'])); ?> -

      - 更多 -
    -
  • - -
+ + + +
+ +
+
    + paginator as $md) : ?> +
  • +
    + +

    + ', mb_strlen($md['description']) > 120 ? $this->escape(mb_substr($md['description'], 0, 120, 'UTF-8') . '...') : $this->escape($md['description'])); ?> +

    + 更多 +
    +
  • + +
+
diff --git a/application/default/views/scripts/data/onlinelist.phtml b/application/default/views/scripts/data/onlinelist.phtml index a62b6446..c4baa9b4 100755 --- a/application/default/views/scripts/data/onlinelist.phtml +++ b/application/default/views/scripts/data/onlinelist.phtml @@ -6,7 +6,7 @@ $this->headTitle($this->codename); $this->headTitle()->setSeparator(' - '); $this->headLink()->appendStylesheet('/static-sanjy-np/css/index.css'); $this->headLink()->appendStylesheet('/static-sanjy-np/css/about.css'); -$this->nav[] = array('link'=>"/data/onlinelist",'title'=>'在线数据浏览'); +$this->nav[] = array('link' => "/data/onlinelist", 'title' => '在线数据浏览'); ?> - -