Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
飞鱼0526
ShopXO
提交
7cac9388
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,发现更多精彩内容 >>
提交
7cac9388
编写于
5月 24, 2019
作者:
G
gongfuxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
细节优化
上级
84e1e0ce
变更
7
隐藏空白更改
内联
并排
Showing
7 changed file
with
14 addition
and
37 deletion
+14
-37
application/index/view/default/goods/index.html
application/index/view/default/goods/index.html
+1
-1
application/index/view/default/index/index.html
application/index/view/default/index/index.html
+1
-1
application/index/view/default/public/footer_nav.html
application/index/view/default/public/footer_nav.html
+2
-2
application/index/view/default/user/index.html
application/index/view/default/user/index.html
+2
-2
public/static/index/default/css/common.css
public/static/index/default/css/common.css
+3
-10
public/static/index/default/css/search.css
public/static/index/default/css/search.css
+3
-19
public/static/index/default/js/search.js
public/static/index/default/js/search.js
+2
-2
未找到文件。
application/index/view/default/goods/index.html
浏览文件 @
7cac9388
...
...
@@ -481,7 +481,7 @@
<a
href=
"{{:$v['goods_url']}}"
>
<img
alt=
"{{$v.title}}"
src=
"{{$v.home_recommended_images}}"
/>
</a>
<p
class=
"
ellipsis
"
{{
if
!
empty
($
v.title_color
)}}
style=
"color:{{$v.title_color}};"
{{/
if
}}
>
{{$v.title}}
</p>
<p
class=
"
am-text-truncate
"
{{
if
!
empty
($
v.title_color
)}}
style=
"color:{{$v.title_color}};"
{{/
if
}}
>
{{$v.title}}
</p>
<p
class=
"price fl"
>
<strong>
¥{{$v.price}}
</strong>
</p>
...
...
application/index/view/default/index/index.html
浏览文件 @
7cac9388
...
...
@@ -178,7 +178,7 @@
<img
src=
"{{$goods.home_recommended_images}}"
alt=
"{{$goods.title}}"
/>
</a>
<div
class=
"outer-con"
>
<div
class=
"goods-title
ellipsis
"
>
<div
class=
"goods-title
am-text-truncate
"
>
<a
href=
"{{$goods['goods_url']}}"
target=
"_blank"
{{
if
!
empty
($
goods.title_color
)}}
style=
"color:{{$goods.title_color}};"
{{/
if
}}
>
{{$goods.title}}
</a>
</div>
<div
class=
"price"
>
¥{{$goods.min_price}}
</div>
...
...
application/index/view/default/public/footer_nav.html
浏览文件 @
7cac9388
...
...
@@ -39,10 +39,10 @@
{{if $k lt 4}}
<li>
<div
class=
"am-gallery-item"
>
<p
class=
"footer-nav-title
ellipsis
"
>
{{$v.name}}
</p>
<p
class=
"footer-nav-title
am-text-truncate
"
>
{{$v.name}}
</p>
{{if !empty($v['items'])}}
{{foreach $v.items as $vs}}
<p
class=
"
ellipsis
"
>
<p
class=
"
am-text-truncate
"
>
<a
href=
"{{$vs.url}}"
{{
if
$
vs
['
is_new_window_open
']
eq
1}}
target=
"_blank"
{{/
if
}}
>
{{$vs.name}}
</a>
</p>
{{/foreach}}
...
...
application/index/view/default/user/index.html
浏览文件 @
7cac9388
...
...
@@ -153,7 +153,7 @@
<img
src=
"{{$goods.images}}"
/>
</a>
<div
class=
"goods-base"
>
<a
href=
"{{:MyUrl('index/order/detail', ['id'=>$order['id']])}}"
target=
"_blank"
class=
"goods-title
ellipsis
"
>
{{$goods.title}}
</a>
<a
href=
"{{:MyUrl('index/order/detail', ['id'=>$order['id']])}}"
target=
"_blank"
class=
"goods-title
am-text-truncate
"
>
{{$goods.title}}
</a>
<ul>
<li>
<span>
{{$order.add_time_time}}
</span>
...
...
@@ -212,7 +212,7 @@
<img
src=
"{{$goods.images}}"
/>
</a>
<div
class=
"goods-base"
>
<a
href=
"{{:MyUrl('index/goods/index', ['id'=>$goods['goods_id']])}}"
target=
"_blank"
class=
"goods-title
ellipsis
"
>
{{$goods.title}}
</a>
<a
href=
"{{:MyUrl('index/goods/index', ['id'=>$goods['goods_id']])}}"
target=
"_blank"
class=
"goods-title
am-text-truncate
"
>
{{$goods.title}}
</a>
<ul>
<li>
<span
class=
"line-price"
>
¥{{$goods.price}}
</span>
...
...
public/static/index/default/css/common.css
浏览文件 @
7cac9388
...
...
@@ -247,16 +247,6 @@ color: #F5F5F2;font-size: 12px;cursor:pointer;border-radius:0px 0px; position: a
font-weight
:
bold
;
}
/* 文字自动隐藏 */
.ellipsis
{
-o-text-overflow
:
ellipsis
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
white-space
:
nowrap
;
max-width
:
100%
;
color
:
#666
;
}
/**
* 灰色文字标记
*/
...
...
@@ -297,6 +287,9 @@ color: #F5F5F2;font-size: 12px;cursor:pointer;border-radius:0px 0px; position: a
color
:
#e2e2e2
;
margin-top
:
20px
;
}
.am-footer-default
p
.am-text-truncate
{
line-height
:
24px
;
}
.am-footer-default
a
{
font-size
:
12px
;
color
:
#b1b1b1
;
...
...
public/static/index/default/css/search.css
浏览文件 @
7cac9388
ul
,
li
,
ol
{
list-style
:
none
;}
dl
,
dt
,
dd
{
margin
:
0px
auto
;
padding
:
0px
;}
[
class
*=
"am-u-"
]
{
padding-left
:
0rem
;
padding-right
:
0rem
;}
.am-thumbnails
{
margin-left
:
0rem
;
margin-right
:
0rem
;}
.am-thumbnail
{
margin-bottom
:
0
;}
.am-thumbnails
>
li
{
padding
:
0
0rem
0.2rem
.2rem
;}
img
{
max-width
:
100%
;}
.price
{
color
:
#e4393c
;
font-weight
:
600
;}
.i-pic.limit
img
{
width
:
100%
;}
.i-pic.limit
.price
strong
{
font-size
:
14px
;
}
.theme-popover
{
z-index
:
1011
;
overflow
:
visible
;
background
:
#fff
;
width
:
100%
;
}
.sort-nav
a
:hover
,
.sort-nav
a
:focus
{
color
:
#d2364c
;
}
.select
.title-tips
{
font-size
:
12px
;
color
:
#888
;
}
...
...
@@ -64,7 +57,7 @@ dl#select3 .dd-conent{ left:-200%; right:0px;}
.am-pagination
li
{
float
:
none
;}
.search-side
{
display
:
none
;}
.limit
p
.title
,
.i-pic.check
p
.title
{
padding
:
0px
5px
;
margin
:
5px
0px
;
overflow
:
hidden
;
height
:
18px
;
line-height
:
18px
;
}
.limit
p
.title
,
.i-pic.check
p
.title
{
padding
:
0px
5px
;}
.search-pages-submit
{
margin
:
10px
0
;
}
@media
only
screen
and
(
min-width
:
640px
)
{
...
...
@@ -103,15 +96,6 @@ dl#select3 .dd-conent{ left:-200%; right:0px;}
.scoll
{
margin-top
:
70px
;}
.am-slider-default
.am-direction-nav
a
{
z-index
:
0
;}
span
.am-icon-th-list
{
color
:
orangered
;
margin-right
:
1px
;}
/*改写的布局*/
.flood
li
{
width
:
33.3%
;
float
:
left
;
text-align
:
center
;}
.smallnav
img
{
max-width
:
60px
;}
.smallnav
{
font-size
:
14px
;}
/*文字布局*/
.limit
p
.title
,
.i-pic.check
p
.title
{
padding
:
0px
10px
;
overflow
:
hidden
;
height
:
36px
;
line-height
:
18px
;}
.price.fl
{
font-size
:
16px
;}
}
@media
only
screen
and
(
min-width
:
1025px
)
{
...
...
public/static/index/default/js/search.js
浏览文件 @
7cac9388
...
...
@@ -192,9 +192,9 @@ $(function()
html
+=
'
<img src="
'
+
result
.
data
.
data
[
i
][
'
images
'
]
+
'
" />
'
;
html
+=
'
</a>
'
;
html
+=
'
<a href="
'
+
result
.
data
.
data
[
i
][
'
goods_url
'
]
+
'
" target="_blank">
'
;
html
+=
'
<p class="title fl">
'
+
result
.
data
.
data
[
i
][
'
title
'
]
+
'
</p>
'
;
html
+=
'
<p class="
am-text-truncate
title fl">
'
+
result
.
data
.
data
[
i
][
'
title
'
]
+
'
</p>
'
;
html
+=
'
</a>
'
;
html
+=
'
<p class="price fl"><
b>¥</b><strong>
'
+
result
.
data
.
data
[
i
][
'
min_price
'
]
+
'
</strong></p>
'
;
html
+=
'
<p class="price fl"><
strong>¥
'
+
result
.
data
.
data
[
i
][
'
min_price
'
]
+
'
</strong></p>
'
;
html
+=
'
<p class="number fl">销量<span>
'
+
result
.
data
.
data
[
i
][
'
sales_count
'
]
+
'
</span></p>
'
;
html
+=
'
</div></li>
'
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录