Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
starsw001
ShopXO
提交
527ff8b6
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,发现更多精彩内容 >>
提交
527ff8b6
编写于
3月 13, 2019
作者:
D
devil_gong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
问答系统优化
上级
a8b85939
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
6 addition
and
4 deletion
+6
-4
application/plugins/view/answers/index/popup.html
application/plugins/view/answers/index/popup.html
+3
-3
public/static/common/css/common.css
public/static/common/css/common.css
+3
-1
未找到文件。
application/plugins/view/answers/index/popup.html
浏览文件 @
527ff8b6
...
...
@@ -7,7 +7,7 @@
<div
class=
"am-popup-bd"
>
<form
class=
"am-form form-validation-plugins-answer-ask view-save"
action=
"{{:PluginsHomeUrl('answers', 'index', 'answer')}}"
method=
"POST"
request-type=
"ajax-reload"
>
<div
class=
"am-form-group"
>
<label>
昵称
<span
class=
"am-form-group-label-tips"
>
必填
</span></label>
<label>
昵称
<span
class=
"am-form-group-label-tips
-must
"
>
必填
</span></label>
<input
type=
"text"
name=
"name"
placeholder=
"昵称"
minlength=
"1"
maxlength=
"30"
data-validation-message=
"昵称格式 1~30 个字符之间"
class=
"am-radius"
required
/>
</div>
<div
class=
"am-form-group"
>
...
...
@@ -15,11 +15,11 @@
<input
type=
"text"
name=
"tel"
placeholder=
"电话"
data-validation-message=
"请填写电话"
class=
"am-radius"
/>
</div>
<div
class=
"am-form-group"
>
<label>
标题
<span
class=
"am-form-group-label-tips"
>
必填
</span></label>
<label>
标题
<span
class=
"am-form-group-label-tips
-must
"
>
必填
</span></label>
<input
type=
"text"
name=
"title"
placeholder=
"标题"
minlength=
"1"
maxlength=
"60"
data-validation-message=
"标题格式 1~60 个字符之间"
class=
"am-radius"
required
/>
</div>
<div
class=
"am-form-group"
>
<label>
内容
<span
class=
"am-form-group-label-tips"
>
必填
</span></label>
<label>
内容
<span
class=
"am-form-group-label-tips
-must
"
>
必填
</span></label>
<textarea
class=
"am-radius am-validate"
name=
"content"
rows=
"5"
minlength=
"5"
maxlength=
"230"
placeholder=
"内容至少5个字"
data-validation-message=
"内容格式 5~230 个字符之间"
required
></textarea>
</div>
<div
class=
"am-form-group am-form-group-refreshing"
>
...
...
public/static/common/css/common.css
浏览文件 @
527ff8b6
...
...
@@ -19,7 +19,9 @@
.am-form-group
:hover
>
input
,
.am-form-group
:hover
>
select
,
.am-form-group
:hover
>
textarea
,
.am-form-group
:hover
.chosen-choices
,
.am-form-group
:hover
.chosen-single
{
border
:
1px
solid
#999
;
}
.am-form-error
.chosen-choices
,
.am-form-error
.chosen-default
{
border
:
1px
solid
#dd514c
!important
;
}
.am-form-success
.chosen-choices
,
.am-form-success
.chosen-single
{
border
:
1px
solid
#5eb95e
!important
;
}
form
.am-form
.am-form-group-label-tips
{
font-size
:
12px
;
font-weight
:
100
;
color
:
#ccc
;
margin-left
:
10px
;
}
form
.am-form
.am-form-group-label-tips
,
form
.am-form
.am-form-group-label-tips-must
{
font-size
:
12px
;
font-weight
:
100
;
margin-left
:
10px
;
}
form
.am-form
.am-form-group-label-tips
{
color
:
#ccc
;
}
form
.am-form
.am-form-group-label-tips-must
{
color
:
#f00
;
}
.am-form-group
:hover
>
label
{
color
:
#333
!important
;
}
.am-form-group
:hover
>
label
>
.am-form-group-label-tips
{
color
:
#FF9800
!important
;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录