Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
starsw001
ShopXO
提交
55c97e7f
ShopXO
项目概览
starsw001
/
ShopXO
与 Fork 源项目一致
Fork自
纵之格 / ShopXO
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
55c97e7f
编写于
4月 25, 2019
作者:
D
devil_gong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
导航细节优化
上级
160a377e
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
32 addition
and
15 deletion
+32
-15
application/admin/controller/Slide.php
application/admin/controller/Slide.php
+1
-1
application/index/view/default/goods/index.html
application/index/view/default/goods/index.html
+1
-1
application/index/view/default/public/header_nav.html
application/index/view/default/public/header_nav.html
+11
-11
public/static/index/default/css/common.css
public/static/index/default/css/common.css
+19
-2
未找到文件。
application/admin/controller/Slide.php
浏览文件 @
55c97e7f
...
...
@@ -67,7 +67,7 @@ class Slide extends Common
'total'
=>
$total
,
'where'
=>
$params
,
'page'
=>
isset
(
$params
[
'page'
])
?
intval
(
$params
[
'page'
])
:
1
,
'url'
=>
MyUrl
(
'admin/
customview
/index'
),
'url'
=>
MyUrl
(
'admin/
slide
/index'
),
);
$page
=
new
\
base\Page
(
$page_params
);
$this
->
assign
(
'page_html'
,
$page
->
GetPageHtml
());
...
...
application/index/view/default/goods/index.html
浏览文件 @
55c97e7f
...
...
@@ -201,7 +201,7 @@
<div
class=
"cart-title"
>
{{$spec.name}}
</div>
<ul>
{{foreach $spec.value as $keys=>$specs}}
<li
class=
"sku-line {{if !empty($specs['images'])}} sku-line-images{{/if}} {{if $key gt 0}} sku-dont-choose{{/if}} {{if isset($specs['is_only_level_one']) and isset($specs['inventory']) and $specs['inventory'] elt 0}}sku-items-disabled{{/if}}"
data-type-value=
"{{$spec.name}}"
data-value=
"{{$specs.name}}"
{{
if
!
empty
($
specs
['
images
'])}}
data-type-images=
"{{$specs.images}}"
{{/
if
}}
>
<li
class=
"sku-line {{if !empty($specs['images'])}} sku-line-images{{/if}} {{if $key gt 0}} sku-dont-choose{{/if}} {{if isset($specs['is_only_level_one']) and isset($specs['inventory']) and $specs['inventory'] elt 0}}
sku-items-disabled{{/if}}"
data-type-value=
"{{$spec.name}}"
data-value=
"{{$specs.name}}"
{{
if
!
empty
($
specs
['
images
'])}}
data-type-images=
"{{$specs.images}}"
{{/
if
}}
>
{{if !empty($specs['images'])}}
<img
src=
"{{$specs.images}}"
/>
{{/if}}
...
...
application/index/view/default/public/header_nav.html
浏览文件 @
55c97e7f
...
...
@@ -14,6 +14,17 @@
</div>
</a>
<form
class=
"am-topbar-form am-topbar-left am-form-inline am-show-sm-only navigation-search"
role=
"search"
action=
"{{:MyUrl('index/search/index')}}"
method=
"POST"
>
<div
class=
"am-input-group am-input-group-sm"
>
<input
type=
"text"
name=
"keywords"
class=
"am-form-field"
placeholder=
"其实搜索很简单^_^ !"
value=
"{{if !empty($params['keywords'])}}{{$params.keywords}}{{/if}}"
autocomplete=
"off"
/>
<span
class=
"am-input-group-btn"
>
<button
class=
"am-btn am-btn-default"
type=
"submit"
>
<span
class=
"am-icon-search am-icon-xs"
></span>
</button>
</span>
</div>
</form>
<div
class=
"am-collapse am-topbar-collapse"
id=
"doc-topbar-collapse"
>
<ul
class=
"am-nav am-nav-pills am-topbar-nav"
>
<li><a
href=
"{{$Think.__MY_URL__}}"
>
首页
</a></li>
...
...
@@ -40,17 +51,6 @@
{{/if}}
</ul>
<form
class=
"am-topbar-form am-topbar-left am-form-inline am-show-sm-only"
role=
"search"
action=
"{{:MyUrl('index/search/index')}}"
method=
"POST"
>
<div
class=
"am-input-group am-input-group-sm"
>
<input
type=
"text"
name=
"keywords"
class=
"am-form-field"
placeholder=
"其实搜索很简单^_^ !"
value=
"{{if !empty($params['keywords'])}}{{$params.keywords}}{{/if}}"
autocomplete=
"off"
/>
<span
class=
"am-input-group-btn"
>
<button
class=
"am-btn am-btn-default"
type=
"submit"
>
<span
class=
"am-icon-search am-icon-xs"
></span>
</button>
</span>
</div>
</form>
<div
class=
"am-topbar-right am-hide-sm-only"
>
<div
class=
"navigation-user {{if empty($user)}}login-event{{/if}}"
>
<a
href=
"{{if empty($user)}}javascript:;{{else /}}{{:MyUrl('index/user/index')}}{{/if}}"
>
...
...
public/static/index/default/css/common.css
浏览文件 @
55c97e7f
...
...
@@ -657,7 +657,7 @@ ul.am-dropdown-content > .am-active > a:focus,
color
:
#d2354c
;
}
.shop-navigation
.wap-logo
{
max-width
:
1
2
0px
;
max-width
:
1
0
0px
;
max-height
:
45px
;
padding
:
5px
;
}
...
...
@@ -711,7 +711,7 @@ ul.am-dropdown-content > .am-active > a:focus,
.shop-navigation
.am-topbar-collapse
{
background
:
#eee
;
}
.shop-navigation
.am-nav
>
li
{
.shop-navigation
.am-nav
>
li
:not
(
:last-child
)
{
border-bottom
:
1px
solid
#e8e8e8
;
}
.shop-navigation
.am-topbar-collapse
.am-dropdown.am-active
.am-dropdown-content
li
:not
(
:first-child
)
{
...
...
@@ -720,6 +720,23 @@ ul.am-dropdown-content > .am-active > a:focus,
.shop-navigation
.am-nav
>
li
>
a
{
padding
:
5px
0px
;
}
.shop-navigation
.am-topbar-nav
{
margin-bottom
:
0
;
}
.shop-navigation
.navigation-search
{
display
:
-webkit-box
!important
;
margin-top
:
8px
;
width
:
calc
(
100%
-
160px
);
}
.shop-navigation
.navigation-search
input
{
border-color
:
#d2354c
;
}
.shop-navigation
.am-btn
{
color
:
#fff
!important
;
background-color
:
#d2354c
;
border-color
:
#d2354c
;
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录