From 23a61baa76ab4d1a22101a202e4d64ca7a2567be Mon Sep 17 00:00:00 2001 From: augushong Date: Thu, 19 Jan 2023 10:46:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=A7=BB=E5=8A=A8=E9=97=A8?= =?UTF-8?q?=E5=BA=97=E5=A4=B4=E9=83=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/index/controller/Index.php | 2 +- source/components/_index.scss | 2 +- .../header/ul-shop-header/_index.env | 5 ++ .../header/ul-shop-header/_index.html | 37 +++++++++++ .../header/ul-shop-header/_index.md | 0 .../header/ul-shop-header/_index.scss | 66 +++++++++++++++++++ 6 files changed, 110 insertions(+), 2 deletions(-) create mode 100644 source/components/header/ul-shop-header/_index.env create mode 100644 source/components/header/ul-shop-header/_index.html create mode 100644 source/components/header/ul-shop-header/_index.md create mode 100644 source/components/header/ul-shop-header/_index.scss diff --git a/app/index/controller/Index.php b/app/index/controller/Index.php index 49ef66c..2e37346 100644 --- a/app/index/controller/Index.php +++ b/app/index/controller/Index.php @@ -14,7 +14,7 @@ class Index extends Common /** * 显示资源列表 * - * @return \think\Response + * @return \think\Response|string */ public function index($doc_name = '') { diff --git a/source/components/_index.scss b/source/components/_index.scss index 386d433..454e413 100644 --- a/source/components/_index.scss +++ b/source/components/_index.scss @@ -1,5 +1,5 @@ +@import './header/ul-shop-header/index'; @import './list/ul-book-item/index'; @import './list/ul-music-list/index'; @import './list/ul-order-list-simple-card/index'; @import './list/ul-site-group/index'; -@import './list/ul-book-item/index'; \ No newline at end of file diff --git a/source/components/header/ul-shop-header/_index.env b/source/components/header/ul-shop-header/_index.env new file mode 100644 index 0000000..506da4c --- /dev/null +++ b/source/components/header/ul-shop-header/_index.env @@ -0,0 +1,5 @@ +title=移动门店头部 +padding=0 +margin=0 +gray=0 +mobile=1 \ No newline at end of file diff --git a/source/components/header/ul-shop-header/_index.html b/source/components/header/ul-shop-header/_index.html new file mode 100644 index 0000000..16c5be0 --- /dev/null +++ b/source/components/header/ul-shop-header/_index.html @@ -0,0 +1,37 @@ +
+
+ +
+
+ 临沂奥宏智能家居 +
+
+
+ 人均200 +
+
+ 客服 +
+
+ wifi +
+
+
+
+ +
+
+ +
\ No newline at end of file diff --git a/source/components/header/ul-shop-header/_index.md b/source/components/header/ul-shop-header/_index.md new file mode 100644 index 0000000..e69de29 diff --git a/source/components/header/ul-shop-header/_index.scss b/source/components/header/ul-shop-header/_index.scss new file mode 100644 index 0000000..d9a8a62 --- /dev/null +++ b/source/components/header/ul-shop-header/_index.scss @@ -0,0 +1,66 @@ +.ul-shop-header { + padding: 15px; + + &__main { + display : flex; + align-items : center; + justify-content: flex-start; + position : relative; + } + + &__logo { + width : 80px; + height: 80px; + } + + &__info { + margin-left: 15px; + + &__name { + line-height: 30px; + font-size : 16px; + font-weight: 600; + } + + &__tag { + display : flex; + margin-top: 5px; + + &__item { + vertical-align: middle; + margin-right : 10px; + color : #bbb; + font-size : 14px; + } + } + } + + &__right { + position : absolute; + right : 0; + top : 0; + height : 100%; + display : flex; + align-items: center; + } + + &__footer { + border-top : 1px solid #eee; + margin-top : 10px; + padding-top : 10px; + display : flex; + align-items : flex-start; + justify-content: flex-start; + font-size : 14px; + color : #999; + + &__item { + margin-right: 15px; + + &__icon { + color : #333; + margin-right: 3px; + } + } + } +} \ No newline at end of file