Commit 6b1c3b03 authored by rlgy's avatar rlgy

添加币种监控 弹出窗口适配(大一点

parent 6ec89cbd
......@@ -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>
......
......@@ -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("请输入完整!");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment