Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
starsw001
ShopXO
提交
3856b8c9
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,发现更多精彩内容 >>
提交
3856b8c9
编写于
2月 20, 2019
作者:
G
gongfuxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
样式优化
上级
6562ecca
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
13 addition
and
2 deletion
+13
-2
application/plugins/view/commononlineservice/admin/saveinfo.html
...tion/plugins/view/commononlineservice/admin/saveinfo.html
+5
-2
public/static/common/css/common.css
public/static/common/css/common.css
+8
-0
未找到文件。
application/plugins/view/commononlineservice/admin/saveinfo.html
浏览文件 @
3856b8c9
...
...
@@ -39,14 +39,17 @@
<div
class=
"am-form-group"
>
<label>
背景色
</label>
<input
type=
"hidden"
name=
"bg_color"
value=
"{{if !empty($data['bg_color'])}}{{$data.bg_color}}{{/if}}"
/>
<button
class=
"am-btn am-btn-default colorpicker-submit bg-color-tag am-btn-block bk-cr-white t-r"
type=
"button"
data-input-tag=
"button.bg-color-tag"
data-color-tag=
"input[name='bg_color']"
data-color-style=
"background-color"
{{
if
!
empty
($
data
['
bg_color
'])}}
style=
"background:{{$data.bg_color}}"
{{/
if
}}
>
<button
class=
"am-btn am-btn-default colorpicker-submit bg-color-tag am-btn-block bk-cr-white t-r
am-radius
"
type=
"button"
data-input-tag=
"button.bg-color-tag"
data-color-tag=
"input[name='bg_color']"
data-color-style=
"background-color"
{{
if
!
empty
($
data
['
bg_color
'])}}
style=
"background:{{$data.bg_color}}"
{{/
if
}}
>
<img
src=
"{{$attachment_host}}/static/common/images/colorpicker.png"
/>
</button>
</div>
<div
class=
"am-form-group"
>
<label>
距离顶部
<span
class=
"fs-12 fw-100 cr-999"
>
(默认距离顶部30%)
</span></label>
<input
type=
"number"
name=
"distance_top"
placeholder=
"距离顶部"
min=
"0"
max=
"100"
data-validation-message=
"距离顶部 0~100"
class=
"am-radius"
value=
"{{if isset($data['distance_top'])}}{{$data.distance_top}}{{else /}}30{{/if}}"
required
/>
<div
class=
"am-input-group am-input-radius am-input-group-sm"
>
<input
type=
"number"
name=
"distance_top"
placeholder=
"距离顶部"
min=
"0"
max=
"100"
data-validation-message=
"距离顶部 0~100"
class=
"am-form-field"
value=
"{{if isset($data['distance_top'])}}{{$data.distance_top}}{{else /}}30{{/if}}"
required
/>
<span
class=
"am-input-group-label"
>
%
</span>
</div>
</div>
<div
class=
"am-form-group"
>
...
...
public/static/common/css/common.css
浏览文件 @
3856b8c9
...
...
@@ -217,6 +217,14 @@ ul.plug-file-upload-view-video li {
border-color
:
#f9e4d3
;
color
:
#f37b1d
;
}
.am-input-radius
input
.am-form-field
{
border-bottom-left-radius
:
2px
;
border-top-left-radius
:
2px
;
}
.am-input-radius
span
.am-input-group-label
{
border-bottom-right-radius
:
2px
;
border-top-right-radius
:
2px
;
}
/**
* 颜色选择插件
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录