Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
token
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
wallet
token
Commits
6b1c3b03
Commit
6b1c3b03
authored
Oct 16, 2018
by
rlgy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加币种监控 弹出窗口适配(大一点
parent
6ec89cbd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
form.php
backend/views/coin-publish/form.php
+7
-1
list.js
backend/web/js/coin-publish/list.js
+2
-4
No files found.
backend/views/coin-publish/form.php
View file @
6b1c3b03
...
...
@@ -12,6 +12,12 @@
<style
type=
"text/css"
>
.layui-form-label
{
width
:
100px
;
margin-top
:
5px
;
margin-left
:
20px
;
}
.layui-input-block
{
margin-left
:
170px
;
margin-top
:
5px
;
}
</style>
<div
style=
"padding: 5px 20px;"
>
...
...
@@ -45,7 +51,7 @@
<div
class=
"layui-inline"
>
<span
class=
"layui-form-label"
style=
"width: 100px;"
>
企业用户组
</span>
<div
class=
"layui-input-block"
>
<select
name=
"owner"
class=
"layui-select"
>
<select
name=
"owner"
class=
"layui-select"
lay-ignore
style=
"width: 182px;"
>
<?php
if
(
is_array
(
$roles
))
:
?>
<?php
foreach
(
$roles
as
$role
)
:
?>
<option
value=
"
<?=
$role
?>
"
>
<?=
$role
?>
</option>
...
...
backend/web/js/coin-publish/list.js
View file @
6b1c3b03
...
...
@@ -30,7 +30,7 @@ table.on('tool(table1)', function (obj) {
title
:
'编辑'
,
id
:
'add-one'
,
skin
:
'layui-layer-lan'
,
area
:
[
'
320px'
,
'auto
'
],
area
:
[
'
434px'
,
'330px
'
],
content
:
str
,
btn
:
[
'确认'
,
'取消'
],
btn1
:
function
()
{
...
...
@@ -72,7 +72,7 @@ $('#add').click(function () {
title
:
'添加币种监控'
,
id
:
'add-one'
,
skin
:
'layui-layer-lan'
,
area
:
[
'
320px'
,
'auto
'
],
area
:
[
'
434px'
,
'330px
'
],
content
:
str
,
btn
:
[
'确认'
,
'取消'
],
btn1
:
function
()
{
...
...
@@ -80,7 +80,6 @@ $('#add').click(function () {
var
coin_name_zh
=
$
(
'#addData input[name="coin_name_zh"]'
).
val
();
var
coin_name_en
=
$
(
'#addData input[name="coin_name_en"]'
).
val
();
if
(
company_name
!==
""
&&
company_name
!==
""
&&
coin_name_en
!==
""
)
{
$
.
post
(
'/admin/coin-publish/add'
,
$
(
"#addData"
).
serialize
(),
function
(
rev
)
{
layer
.
msg
(
rev
.
msg
);
if
(
rev
.
code
==
0
)
{
...
...
@@ -88,7 +87,6 @@ $('#add').click(function () {
table
.
reload
(
"table1"
,
{});
}
});
}
else
{
layer
.
msg
(
"请输入完整!"
);
}
...
...
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