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