Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
fashion_group
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
章建武
fashion_group
Commits
8e9053bd
Commit
8e9053bd
authored
Jun 04, 2020
by
章建武
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dep
parent
6d975c09
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
edit.html
admin/application/admin/view/boutique/edit.html
+1
-1
IndexBannerValidate.php
admin/application/common/validate/IndexBannerValidate.php
+1
-3
admin.js
admin/public/static/admin/js/admin.js
+1
-1
No files found.
admin/application/admin/view/boutique/edit.html
View file @
8e9053bd
...
@@ -93,7 +93,7 @@
...
@@ -93,7 +93,7 @@
<div
class=
"row team_'+j+'"
style=
"padding-left:15px;"
>
<div
class=
"row team_'+j+'"
style=
"padding-left:15px;"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
<label
class=
"col-sm-2 control-label"
>
图片标题
</label>
<label
class=
"col-sm-2 control-label"
>
图片标题
</label>
<input
class=
""
name=
"img_title"
maxlength=
"
1
0"
value=
"{$data.img_title}"
required=
"required"
style=
"width:525px;margin-left:12px;"
value=
""
type=
"text"
/>
<input
class=
""
name=
"img_title"
maxlength=
"
5
0"
value=
"{$data.img_title}"
required=
"required"
style=
"width:525px;margin-left:12px;"
value=
""
type=
"text"
/>
</div>
</div>
<div
class=
"form-group"
style=
"padding-left:10px;"
>
<div
class=
"form-group"
style=
"padding-left:10px;"
>
<div
class=
"form-group"
>
<div
class=
"form-group"
>
...
...
admin/application/common/validate/IndexBannerValidate.php
View file @
8e9053bd
...
@@ -8,14 +8,12 @@ namespace app\common\validate;
...
@@ -8,14 +8,12 @@ namespace app\common\validate;
class
IndexBannerValidate
extends
Validate
class
IndexBannerValidate
extends
Validate
{
{
protected
$rule
=
[
protected
$rule
=
[
'title|标题'
=>
'require'
,
'content|内容'
=>
'require'
,
'content|职位'
=>
'require'
,
'img_title|图片标题'
=>
'require'
,
'img_title|图片标题'
=>
'require'
,
];
];
protected
$message
=
[
protected
$message
=
[
'title.require'
=>
'标题不能为空'
,
'content.require'
=>
'文章不能为空'
,
'content.require'
=>
'文章不能为空'
,
'img_title.require'
=>
'图片标题不能为空'
,
'img_title.require'
=>
'图片标题不能为空'
,
...
...
admin/public/static/admin/js/admin.js
View file @
8e9053bd
...
@@ -42,7 +42,7 @@ $(document).on('pjax:complete', function (xhr) {
...
@@ -42,7 +42,7 @@ $(document).on('pjax:complete', function (xhr) {
});
});
//列表页搜索pjax
//列表页搜索pjax
$
(
document
).
on
(
'submit'
,
'.searchForm'
,
function
(
event
)
{
$
(
document
).
on
(
'submit'
,
'.searchForm'
,
function
(
event
)
{
$
.
pjax
.
submit
(
event
,
'
#pjax-container
'
);
$
.
pjax
.
submit
(
event
,
''
);
});
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment