Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
xiaozhan
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
xiaozhan
Commits
af928b8a
Commit
af928b8a
authored
Feb 19, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
6131fea5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
37 deletions
+10
-37
admin/themes/simplebootx/Admin/Welfare/add.html
+6
-24
admin/themes/simplebootx/Admin/Welfare/edit.html
+4
-12
admin/themes/simplebootx/Admin/Welfare/index.html
+0
-1
No files found.
admin/themes/simplebootx/Admin/Welfare/add.html
View file @
af928b8a
...
...
@@ -3,18 +3,17 @@
<body>
<div
class=
"wrap"
>
<ul
class=
"nav nav-tabs"
>
<li
><a
href=
"{:U('
Luckrate/index',array('giftid'=>$giftid))
}"
>
列表
</a></li>
<li
><a
href=
"{:U('
Welfare/index'
}"
>
列表
</a></li>
<li
class=
"active"
><a
>
添加
</a></li>
</ul>
<form
method=
"post"
class=
"form-horizontal js-ajax-form"
action=
"{:U('
Luckrat
e/add_post')}"
>
<form
method=
"post"
class=
"form-horizontal js-ajax-form"
action=
"{:U('
Welfar
e/add_post')}"
>
<fieldset>
<input
type=
"hidden"
name=
"giftid"
value=
"{$giftid}"
>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
数量
</label>
<div
class=
"controls"
>
<select
name=
"nums"
>
<volist
name=
"
numslis
t"
id=
"v"
>
<option
value=
"{$v
}"
>
{$v
}
</option>
<volist
name=
"
gif
t"
id=
"v"
>
<option
value=
"{$v
['id']}"
>
{$v['giftname']
}
</option>
</volist>
</select>
<span
class=
"form-required"
></span>
...
...
@@ -22,26 +21,9 @@
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
倍数
</label>
<div
class=
"controls"
>
<input
type=
"text"
name=
"times"
value=
"0"
>
<span
class=
"form-required"
></span>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
是否全站
</label>
<div
class=
"controls"
id=
"type"
>
<label
class=
"radio inline"
for=
"type_0"
><input
type=
"radio"
name=
"type"
value=
"0"
id=
"type_0"
checked
>
否
</label>
<label
class=
"radio inline"
for=
"type_1"
><input
type=
"radio"
name=
"type"
value=
"1"
id=
"type_1"
>
是
</label>
<span
class=
"form-required"
>
*
</span>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
中奖概率
</label>
<div
class=
"controls"
>
<input
type=
"text"
name=
"rate"
value=
"0"
>
% 最小支持0.0
000
1%
<input
type=
"text"
name=
"rate"
value=
"0"
>
% 最小支持0.01%
<span
class=
"form-required"
></span>
</div>
</div>
...
...
@@ -49,7 +31,7 @@
</fieldset>
<div
class=
"form-actions"
>
<button
type=
"submit"
class=
"btn btn-primary js-ajax-submit"
>
{:L('ADD')}
</button>
<a
class=
"btn"
href=
"{:U('
Luckrate/index',array('giftid'=>$giftid)
)}"
>
{:L('BACK')}
</a>
<a
class=
"btn"
href=
"{:U('
Welfare/index'
)}"
>
{:L('BACK')}
</a>
</div>
</form>
</div>
...
...
admin/themes/simplebootx/Admin/Welfare/edit.html
View file @
af928b8a
...
...
@@ -3,10 +3,10 @@
<body>
<div
class=
"wrap"
>
<ul
class=
"nav nav-tabs"
>
<li
><a
href=
"{:U('
Luckrate/index',array('giftid'=>$data['giftid'])
)}"
>
列表
</a></li>
<li
><a
href=
"{:U('
Welfare/index'
)}"
>
列表
</a></li>
<li
class=
"active"
><a
>
编辑
</a></li>
</ul>
<form
method=
"post"
class=
"form-horizontal js-ajax-form"
action=
"{:U('
Luckrat
e/edit_post')}"
>
<form
method=
"post"
class=
"form-horizontal js-ajax-form"
action=
"{:U('
Welfar
e/edit_post')}"
>
<input
type=
"hidden"
name=
"id"
value=
"{$data['id']}"
>
<fieldset>
<div
class=
"control-group"
>
...
...
@@ -29,26 +29,18 @@
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
是否全站
</label>
<div
class=
"controls"
>
<label
class=
"radio inline"
for=
"type_0"
><input
type=
"radio"
name=
"isall"
value=
"0"
id=
"type_0"
<
if
condition=
"$data['isall'] eq 0"
>
checked
</if>
>否
</label>
<label
class=
"radio inline"
for=
"type_1"
><input
type=
"radio"
name=
"isall"
value=
"1"
id=
"type_1"
<
if
condition=
"$data['isall'] eq 1"
>
checked
</if>
>是
</label>
<span
class=
"form-required"
>
*
</span>
</div>
</div>
<div
class=
"control-group"
>
<label
class=
"control-label"
>
中奖概率
</label>
<div
class=
"controls"
>
<input
type=
"text"
name=
"rate"
value=
"{$data['rate']}"
>
% 最小支持0.0
000
1%
<input
type=
"text"
name=
"rate"
value=
"{$data['rate']}"
>
% 最小支持0.01%
<span
class=
"form-required"
></span>
</div>
</div>
</fieldset>
<div
class=
"form-actions"
>
<button
type=
"submit"
class=
"btn btn-primary js-ajax-submit"
>
{:L('EDIT')}
</button>
<a
class=
"btn"
href=
"{:U('
Luckrate/index',array('giftid'=>$data['giftid'])
)}"
>
{:L('BACK')}
</a>
<a
class=
"btn"
href=
"{:U('
Welfare/index'
)}"
>
{:L('BACK')}
</a>
</div>
</form>
</div>
...
...
admin/themes/simplebootx/Admin/Welfare/index.html
View file @
af928b8a
...
...
@@ -28,7 +28,6 @@
<td
align=
"center"
>
{$vo.id}
</td>
<td>
{$gift[$vo['giftid']]}
</td>
<td>
{$vo['rate']}%
</td>
<td><if
condition=
"$vo['isall'] eq 1"
>
是
<else/>
否
</if></td>
<td
align=
"center"
>
<a
href=
"{:U('Welfare/edit',array('id'=>$vo['id']))}"
>
编辑
</a>
|
...
...
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