Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
starsw001
ShopXO
提交
51f26f6b
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,发现更多精彩内容 >>
提交
51f26f6b
编写于
2月 18, 2019
作者:
D
devil_gong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
在线客服应用优化
上级
5c830c94
变更
7
展开全部
隐藏空白更改
内联
并排
Showing
7 changed file
with
29 addition
and
17 deletion
+29
-17
application/index/view/default/public/footer.html
application/index/view/default/public/footer.html
+1
-1
application/plugins/commononlineservice/Hook.php
application/plugins/commononlineservice/Hook.php
+8
-1
application/plugins/view/commononlineservice/admin/saveinfo.html
...tion/plugins/view/commononlineservice/admin/saveinfo.html
+1
-1
application/tags.php
application/tags.php
+3
-0
config/shopxo.sql
config/shopxo.sql
+10
-8
public/static/plugins/css/commononlineservice/style.css
public/static/plugins/css/commononlineservice/style.css
+5
-5
public/static/plugins/css/commontopmaxpicture/admin.css
public/static/plugins/css/commontopmaxpicture/admin.css
+1
-1
未找到文件。
application/index/view/default/public/footer.html
浏览文件 @
51f26f6b
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
<span>
plugins_view_common_bottom
</span>
<span>
plugins_view_common_bottom
</span>
</div>
</div>
{{/if}}
{{/if}}
{{if !empty($plugins_view_common_bottom_data) and is_array($plugins_view_common_bottom_data)}}
{{if !empty($plugins_view_common_bottom_data) and is_array($plugins_view_common_bottom_data)
and (!isset($is_footer) or $is_footer eq 1)
}}
{{foreach $plugins_view_common_bottom_data as $hook}}
{{foreach $plugins_view_common_bottom_data as $hook}}
{{if is_string($hook) or is_int($hook)}}
{{if is_string($hook) or is_int($hook)}}
{{$hook|raw}}
{{$hook|raw}}
...
...
application/plugins/commononlineservice/Hook.php
浏览文件 @
51f26f6b
...
@@ -144,12 +144,19 @@ class Hook
...
@@ -144,12 +144,19 @@ class Hook
// 背景色
// 背景色
$bg_color
=
empty
(
$ret
[
'data'
][
'bg_color'
])
?
''
:
'background:'
.
$ret
[
'data'
][
'bg_color'
]
.
';'
;
$bg_color
=
empty
(
$ret
[
'data'
][
'bg_color'
])
?
''
:
'background:'
.
$ret
[
'data'
][
'bg_color'
]
.
';'
;
// 内容css
$content_css
=
$bg_color
;
if
(
$online_service_li_count
<=
2
)
{
$content_css
.
=
'border-radius:0;'
;
}
// 组装
// 组装
$content
=
'<div class="float-left" style="'
.
$bg_color
.
'">
$content
=
'<div class="float-left" style="'
.
$bg_color
.
'">
<a class="btn-open" title="查看在线客服" href="javascript:void(0);">展开</a>
<a class="btn-open" title="查看在线客服" href="javascript:void(0);">展开</a>
<a class="btn-ctn" title="关闭在线客服" href="javascript:void(0);">收缩</a>
<a class="btn-ctn" title="关闭在线客服" href="javascript:void(0);">收缩</a>
</div>
</div>
<div class="content" style="'
.
((
$online_service_li_count
<=
2
)
?
'border-radius:0;'
.
$bg_color
:
$bg_color
)
.
'">
<div class="content" style="'
.
$content_css
.
'">
<div class="cn">
<div class="cn">
<h3 class="title">'
.
$ret
[
'data'
][
'title'
]
.
'</h3>
<h3 class="title">'
.
$ret
[
'data'
][
'title'
]
.
'</h3>
<ul>'
.
$online_service_html
.
$tel_html
.
'
<ul>'
.
$online_service_html
.
$tel_html
.
'
...
...
application/plugins/view/commononlineservice/admin/saveinfo.html
浏览文件 @
51f26f6b
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<div
class=
"am-form-group"
>
<div
class=
"am-form-group"
>
<label>
标题
</label>
<label>
标题
</label>
<input
type=
"text"
name=
"title"
placeholder=
"标题"
minlength=
"2"
maxlength=
"16"
data-validation-message=
"标题格式 2~16 个字符之间"
class=
"am-radius"
value=
"{{if !empty($data)}}{{$data.title}}{{/if}}"
required
/>
<input
type=
"text"
name=
"title"
placeholder=
"标题"
minlength=
"2"
maxlength=
"16"
data-validation-message=
"标题格式 2~16 个字符之间"
class=
"am-radius"
value=
"{{if !empty($data)}}{{$data.title}}{{/if}}"
/>
</div>
</div>
<div
class=
"am-form-group am-form-file"
>
<div
class=
"am-form-group am-form-file"
>
...
...
application/tags.php
浏览文件 @
51f26f6b
...
@@ -48,14 +48,17 @@ return array (
...
@@ -48,14 +48,17 @@ return array (
'plugins_css'
=>
'plugins_css'
=>
array
(
array
(
0
=>
'app\\plugins\\commonrightnavigation\\Hook'
,
0
=>
'app\\plugins\\commonrightnavigation\\Hook'
,
1
=>
'app\\plugins\\commononlineservice\\Hook'
,
),
),
'plugins_js'
=>
'plugins_js'
=>
array
(
array
(
0
=>
'app\\plugins\\commonrightnavigation\\Hook'
,
0
=>
'app\\plugins\\commonrightnavigation\\Hook'
,
1
=>
'app\\plugins\\commononlineservice\\Hook'
,
),
),
'plugins_view_common_bottom'
=>
'plugins_view_common_bottom'
=>
array
(
array
(
0
=>
'app\\plugins\\commonrightnavigation\\Hook'
,
0
=>
'app\\plugins\\commonrightnavigation\\Hook'
,
1
=>
'app\\plugins\\commononlineservice\\Hook'
,
),
),
);
);
?>
?>
\ No newline at end of file
config/shopxo.sql
浏览文件 @
51f26f6b
此差异已折叠。
点击以展开。
public/static/plugins/css/commononlineservice/style.css
浏览文件 @
51f26f6b
...
@@ -6,16 +6,16 @@
...
@@ -6,16 +6,16 @@
position
:
fixed
;
position
:
fixed
;
top
:
30%
;
top
:
30%
;
right
:
0px
;
right
:
0px
;
z-index
:
100
0
;
z-index
:
100
1
;
}
}
.commononlineservice
.float-left
{
.commononlineservice
.float-left
{
width
:
3
6
px
;
width
:
3
5
px
;
float
:
left
;
float
:
left
;
position
:
relative
;
position
:
relative
;
z-index
:
1
;
z-index
:
1
;
margin-top
:
0
;
margin-top
:
0
;
height
:
120px
;
height
:
120px
;
border-radius
:
6px
0px
0
6
px
;
border-radius
:
3px
0px
0
3
px
;
}
}
.commononlineservice
.float-left
a
{
.commononlineservice
.float-left
a
{
font-size
:
0
;
font-size
:
0
;
...
@@ -27,11 +27,11 @@
...
@@ -27,11 +27,11 @@
overflow
:
hidden
;
overflow
:
hidden
;
width
:
140px
;
width
:
140px
;
margin-right
:
-150px
;
margin-right
:
-150px
;
border-radius
:
0
0px
0
6
px
;
border-radius
:
0
0px
0
3
px
;
}
}
.commononlineservice
.content
.cn
{
.commononlineservice
.content
.cn
{
background
:
#F7F7F7
;
background
:
#F7F7F7
;
border-radius
:
6
px
;
border-radius
:
3
px
;
}
}
.commononlineservice
.cn
.title
{
.commononlineservice
.cn
.title
{
font-size
:
14px
;
font-size
:
14px
;
...
...
public/static/plugins/css/commontopmaxpicture/admin.css
浏览文件 @
51f26f6b
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
max-width
:
100%
;
max-width
:
100%
;
}
}
.commontopmaxpicture-content
.items
.bg-color-tag
{
.commontopmaxpicture-content
.items
.bg-color-tag
{
width
:
100%
;
width
:
50px
;
height
:
50px
;
height
:
50px
;
border
:
1px
solid
#eee
;
border
:
1px
solid
#eee
;
}
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录