Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
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
hujun
tl_estate
Commits
ab4cada5
Commit
ab4cada5
authored
Apr 19, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
参数设置修改
parent
68c6f704
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
index.html
application/index/view/setting/index.html
+1
-0
setting.js
public/resource/js/setting.js
+2
-0
setting_template_tpl.html
public/resource/template/setting_template_tpl.html
+5
-0
No files found.
application/index/view/setting/index.html
View file @
ab4cada5
...
...
@@ -24,6 +24,7 @@
<div
class=
"form-group"
>
<label
class=
"col-sm-3 control-label"
style=
"text-align: right"
>
</label>
<div
class=
"col-sm-9"
style=
"text-align: left;"
>
<button
type=
"button"
class=
"btn btn-primary"
id=
"save"
>
保存修改
</button>
</div>
...
...
public/resource/js/setting.js
View file @
ab4cada5
...
...
@@ -15,6 +15,7 @@ define (['doT', 'text!temp/setting_template_tpl.html', 'css!style/home.css'], fu
Setting
.
saveSetting
();
});
},
// 引入模板
getInfo
:
function
()
{
var
param
=
{};
$
.
ajax
({
...
...
@@ -31,6 +32,7 @@ define (['doT', 'text!temp/setting_template_tpl.html', 'css!style/home.css'], fu
}
});
},
//提交数据
saveSetting
:
function
()
{
var
param
=
{};
param
.
is_privacy
=
$
(
"input[type='radio']:checked"
).
val
();
...
...
public/resource/template/setting_template_tpl.html
View file @
ab4cada5
...
...
@@ -27,5 +27,10 @@
<
div
class
=
"col-sm-9"
>
<
input
type
=
"number"
class
=
"form-control btn5"
name
=
"day_num"
placeholder
=
"隐号绑定天数"
value
=
"[%= it['day_num'] %]"
>
<
/div
>
<
br
><
br
>
<
label
class
=
"col-sm-3 control-label"
style
=
"text-align: right"
>
商铺自动下架天数:
<
/label
>
<
div
class
=
"col-sm-9"
>
<
input
type
=
"number"
class
=
"form-control btn5"
name
=
"shop_day_num"
placeholder
=
"商铺自动下架天数"
value
=
"[%= it['day_num'] %]"
>
<
/div
>
<
/div
>
</script>
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