Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jcy2004x
ShopXO
提交
9b6d919d
ShopXO
项目概览
jcy2004x
/
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,体验更适合开发者的 AI 搜索 >>
提交
9b6d919d
编写于
2月 17, 2019
作者:
G
gongfuxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化
上级
ee3b100d
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
30 addition
and
14 deletion
+30
-14
application/plugins/commonrightnavigation/Hook.php
application/plugins/commonrightnavigation/Hook.php
+1
-1
public/static/plugins/css/commonrightnavigation/style.css
public/static/plugins/css/commonrightnavigation/style.css
+29
-13
未找到文件。
application/plugins/commonrightnavigation/Hook.php
浏览文件 @
9b6d919d
...
...
@@ -152,7 +152,7 @@ class Hook
<i class="am-icon-opencart"></i>
<div class="cart-text">
购物车
<div class="cart-count common-cart-total
">'
.
$cart_total
.
'</div>
<div class="cart-count common-cart-total
am-badge am-badge-danger">'
.
(
$cart_total
>
9
?
'9+'
:
$cart_total
)
.
'</div>
</div>
</div>
</a>'
;
...
...
public/static/plugins/css/commonrightnavigation/style.css
浏览文件 @
9b6d919d
.commonrightnavigation-right-nav
.cart
.cart-text
{
line-height
:
16px
;
font-size
:
12px
;
}
.commonrightnavigation-right-nav
.cart
.cart-text
.cart-count
{
width
:
20px
;
height
:
20px
;
border-radius
:
10px
;
line-height
:
20px
;
padding
:
0
;
}
@media
only
screen
and
(
min-width
:
640px
)
{
.commonrightnavigation-right-nav
{
width
:
35px
;
...
...
@@ -78,10 +90,10 @@
.commonrightnavigation-right-nav
.cart
{
bottom
:
45vh
;
left
:
0
;
height
:
1
40
px
;
height
:
1
25
px
;
border-top
:
1px
solid
#444
;
border-bottom
:
1px
solid
#444
;
padding
:
10
px
0
;
padding
:
5
px
0
;
}
.commonrightnavigation-right-nav
.cart
:hover
{
border-top
:
1px
solid
#d2364c
;
...
...
@@ -112,17 +124,7 @@
margin-left
:
11.5px
;
}
.commonrightnavigation-right-nav
.cart
.cart-text
.cart-count
{
background
:
#d2364c
;
color
:
#fff
;
padding
:
0
3px
;
min-width
:
14px
;
width
:
20px
;
height
:
20px
;
line-height
:
20px
;
border-radius
:
10px
;
font-size
:
12px
;
margin-left
:
-4px
;
overflow
:
hidden
;
}
.commonrightnavigation-right-nav
.qrcode-items
{
bottom
:
0
;
...
...
@@ -157,7 +159,6 @@
.commonrightnavigation-right-nav
.user-content
,
.commonrightnavigation-right-nav
.browse-content
,
.commonrightnavigation-right-nav
.favor-content
,
.commonrightnavigation-right-nav
.cart-content
,
.commonrightnavigation-right-nav
.qrcode-content
,
.commonrightnavigation-right-nav
.go-top
.mui-mbar-tab-tip
{
display
:
none
;
...
...
@@ -179,4 +180,19 @@
z-index
:
10000
;
display
:
none
;
}
.commonrightnavigation-right-nav
.cart
{
position
:
fixed
;
right
:
0
;
bottom
:
calc
(
50%
-
50px
);
background
:
#eee
;
width
:
30px
;
padding
:
5px
;
text-align
:
center
;
border-left
:
1px
solid
#e3e3e3
;
border-top
:
1px
solid
#e3e3e3
;
border-bottom
:
1px
solid
#e3e3e3
;
border-top-left-radius
:
3px
;
border-bottom-left-radius
:
3px
;
z-index
:
10000
;
}
}
\ No newline at end of file
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录