Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
飞鱼0526
ShopXO
提交
05441b5f
ShopXO
项目概览
飞鱼0526
/
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,发现更多精彩内容 >>
提交
05441b5f
编写于
2月 18, 2019
作者:
G
gongfuxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
细节优化
上级
64effe53
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
33 addition
and
29 deletion
+33
-29
application/index/view/default/goods/index.html
application/index/view/default/goods/index.html
+0
-1
application/index/view/default/search/index.html
application/index/view/default/search/index.html
+1
-1
application/tags.php
application/tags.php
+0
-3
public/static/index/default/css/search.css
public/static/index/default/css/search.css
+2
-2
public/static/index/default/js/search.js
public/static/index/default/js/search.js
+30
-22
未找到文件。
application/index/view/default/goods/index.html
浏览文件 @
05441b5f
...
...
@@ -98,7 +98,6 @@
</dd>
</div>
<div
class=
"goods-qrcode am-hide-sm-only"
>
<span>
手机扫一扫购买
</span>
<i
class=
"am-icon-qrcode am-icon-sm"
></i>
<img
class=
"qrcode-images am-img-thumbnail"
src=
"{{$qrcode_url}}"
/>
</div>
...
...
application/index/view/default/search/index.html
浏览文件 @
05441b5f
...
...
@@ -46,7 +46,7 @@
</dl>
</li>
<li
class=
"select-list"
>
<dl
id=
"screening-category-dl"
>
<dl>
<dt
class=
"am-badge am-round"
>
分类
</dt>
<div
class=
"dd-conent"
data-selected-tag=
"screening-category"
>
<dd
class=
"select-all selected"
><a
href=
"javascript:;"
>
不限
</a></dd>
...
...
application/tags.php
浏览文件 @
05441b5f
...
...
@@ -48,17 +48,14 @@ return array (
'plugins_css'
=>
array
(
0
=>
'app\\plugins\\commonrightnavigation\\Hook'
,
1
=>
'app\\plugins\\commononlineservice\\Hook'
,
),
'plugins_js'
=>
array
(
0
=>
'app\\plugins\\commonrightnavigation\\Hook'
,
1
=>
'app\\plugins\\commononlineservice\\Hook'
,
),
'plugins_view_common_bottom'
=>
array
(
0
=>
'app\\plugins\\commonrightnavigation\\Hook'
,
1
=>
'app\\plugins\\commononlineservice\\Hook'
,
),
);
?>
\ No newline at end of file
public/static/index/default/css/search.css
浏览文件 @
05441b5f
...
...
@@ -7,7 +7,7 @@ dl,dt,dd{ margin:0px auto; padding:0px;}
img
{
max-width
:
100%
;}
.price
{
color
:
#e4393c
;
font-weight
:
600
;}
.theme-popover
{
z-index
:
10
09
;
overflow
:
visible
;
background
:
#fff
;
width
:
100%
;
}
.theme-popover
{
z-index
:
10
11
;
overflow
:
visible
;
background
:
#fff
;
width
:
100%
;
}
.sort-nav
a
:hover
,
.sort-nav
a
:focus
{
color
:
#d2364c
;
}
.select
.title-tips
{
font-size
:
12px
;
color
:
#888
;
}
.select
.title-tips
strong
{
font-weight
:
500
;
color
:
#fe90a0
;
}
...
...
@@ -54,7 +54,7 @@ dl#select2 .dd-conent{ left:-100%; right:-100%;}
dl
#select3
.dd-conent
{
left
:
-200%
;
right
:
0px
;}
.search-content
.am-badge
{
font-size
:
12px
;
padding
:
0px
0px
;
background-color
:
#999999
;
color
:
#ffffff
;}
.theme-popover-mask
{
z-index
:
5
;
width
:
100%
;
height
:
auto
;
position
:
fixed
;
background
:
#000
;
top
:
0
;
opacity
:
0.6
;
bottom
:
0
;}
.theme-popover-mask
{
z-index
:
1001
;
width
:
100%
;
height
:
auto
;
position
:
fixed
;
background
:
#000
;
top
:
0
;
opacity
:
0.6
;
bottom
:
0
;}
/*搜索结果*/
.i-pic.limit
{
margin
:
5px
;
border
:
1px
#e8e8e8
solid
;
overflow
:
hidden
;
position
:
relative
;
cursor
:
pointer
;}
...
...
public/static/index/default/js/search.js
浏览文件 @
05441b5f
...
...
@@ -70,42 +70,43 @@ $(function()
get_goods_list
(
1
);
});
var
hh
=
document
.
documentElement
.
clientHeight
;
var
ls
=
document
.
documentElement
.
clientWidth
;
if
(
ls
<
640
)
// 条件分类组筛选
$
(
"
.select dt
"
).
on
(
'
click
'
,
function
()
{
$
(
"
.select dt
"
).
on
(
'
click
'
,
function
()
{
if
(
$
(
window
).
width
()
<
640
)
{
$
(
'
body,html
'
).
scrollTop
(
0
);
$
(
this
).
next
(
'
div.dd-conent
'
).
css
(
'
top
'
,
(
$
(
this
).
offset
().
top
+
33
)
+
'
px
'
)
$
(
this
).
next
(
'
div.dd-conent
'
).
css
(
'
top
'
,
(
$
(
'
.theme-popover
'
).
height
())
+
'
px
'
);
if
(
$
(
this
).
next
(
'
div.dd-conent
'
).
css
(
"
display
"
)
==
'
none
'
)
{
$
(
"
.theme-popover-mask
"
).
show
();
$
(
"
.theme-popover
"
).
css
({
"
position
"
:
"
fixed
"
,
"
top
"
:
0
,
"
padding-top
"
:
"
46px
"
});
$
(
"
.theme-popover
"
).
css
({
"
position
"
:
"
fixed
"
,
"
top
"
:
0
});
$
(
this
).
next
(
'
div.dd-conent
'
).
slideToggle
(
300
);
$
(
'
.select div.dd-conent
'
).
not
(
$
(
this
).
next
()).
hide
();
}
else
{
$
(
this
).
next
(
'
div.dd-conent
'
).
slideUp
(
300
);
$
(
"
.theme-popover-mask
"
).
hide
();
$
(
"
.theme-popover
"
).
css
({
"
position
"
:
"
static
"
,
"
top
"
:
0
,
"
padding-top
"
:
"
0
"
});
$
(
"
.theme-popover
"
).
css
({
"
position
"
:
"
static
"
,
"
top
"
:
0
});
}
})
$
(
document
).
on
(
"
click
"
,
"
.screening-remove-submit
"
,
function
()
{
$
(
"
.dd-conent
"
).
slideUp
(
300
);
})
}
});
$
(
document
).
on
(
"
click
"
,
"
.select dd
"
,
function
()
{
$
(
"
.dd-conent
"
).
slideUp
(
300
);
$
(
"
.theme-popover-mask
"
).
hide
();
$
(
"
.theme-popover
"
).
css
({
"
position
"
:
"
static
"
,
"
top
"
:
0
,
"
padding-top
"
:
"
0
"
});
});
$
(
document
).
on
(
"
click
"
,
"
.theme-popover-mask
"
,
function
()
{
// 取消条件/移除条件
$
(
document
).
on
(
"
click
"
,
"
.select dd, .screening-remove-submit
"
,
function
()
{
if
(
$
(
document
).
width
()
<
640
)
{
$
(
"
.dd-conent
"
).
slideUp
(
300
);
$
(
"
.theme-popover-mask
"
).
hide
();
$
(
"
.theme-popover
"
).
css
({
"
position
"
:
"
static
"
,
"
top
"
:
0
,
"
padding-top
"
:
"
0
"
});
});
}
}
});
$
(
document
).
on
(
"
click
"
,
"
.theme-popover-mask
"
,
function
()
{
$
(
"
.dd-conent
"
).
slideUp
(
300
);
$
(
"
.theme-popover-mask
"
).
hide
();
$
(
"
.theme-popover
"
).
css
({
"
position
"
:
"
static
"
,
"
top
"
:
0
,
"
padding-top
"
:
"
0
"
});
});
// 导航显示/隐藏处理
function
search_nav
()
...
...
@@ -134,7 +135,14 @@ $(function()
// 浏览器窗口实时事件
$
(
window
).
resize
(
function
()
{
// 导航
search_nav
();
// 条件筛选
if
(
$
(
document
).
width
()
>=
640
)
{
$
(
'
.dd-conent
'
).
show
();
}
});
search_nav
();
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录