Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
account
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 748fc6c8
authored
Aug 12, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
ie浏览器的一些显示问题
1 parent
ef280934
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
18 deletions
css/layui.css
html/employee/index.html
html/merchant/edit.html
html/merchant/index.html
html/role/index.html
css/layui.css
View file @
748fc6c
/*-------------------------------------
/*-------------------------------------
layui 样式自定义
layui 样式自定义
-------------------------------------*/
-------------------------------------*/
.layui-btn
+
.layui-btn
{
margin-left
:
20px
;
}
.layui-input
:focus
,
.layui-input
:focus
,
.layui-textarea
:focus
{
.layui-textarea
:focus
{
border-color
:
#1989FA
!important
;
border-color
:
#1989FA
!important
;
...
@@ -9,6 +11,9 @@
...
@@ -9,6 +11,9 @@
.layui-input
{
.layui-input
{
border-radius
:
4px
;
border-radius
:
4px
;
}
}
.layui-form-pane
.layui-input
{
border-radius
:
0
4px
4px
0
;
}
.layui-form-pane
.layui-input-inline
{
.layui-form-pane
.layui-input-inline
{
margin-left
:
-4px
;
margin-left
:
-4px
;
}
}
...
@@ -138,12 +143,18 @@ border-color: #1989FA!important;
...
@@ -138,12 +143,18 @@ border-color: #1989FA!important;
display
:
-webkit-box
;
display
:
-webkit-box
;
}
}
.layui-table-cell
li
{
.layui-table-cell
li
{
list-style
:
disc
;
list-style-type
:
none
;
list-style-position
:
inside
;
}
.layui-table-cell
li
::before
{
/* list-style: disc;
list-style-position: inside; */
content
:
"\2022"
;
color
:
#1989FA
;
margin-right
:
5px
;
}
}
.layui-table-cell
li
::marker
{
.layui-table-cell
li
::marker
{
color
:
#1989FA
;
/*谷歌浏览器有::marker伪元素,ie浏览器没有,故使用伪元素替代蓝色原点*/
/* color:#1989FA ; */
}
}
/* 表格去所有边框 */
/* 表格去所有边框 */
...
...
html/employee/index.html
View file @
748fc6c
...
@@ -13,9 +13,10 @@
...
@@ -13,9 +13,10 @@
<title>
员工管理
</title>
<title>
员工管理
</title>
</head>
</head>
<style>
<style>
.merchantNames
{
.merchantNames
,
.searchInputBtn
{
margin-left
:
20px
;
margin-left
:
20px
;
}
}
.creater
,
.status
{
.creater
,
.status
{
margin-right
:
20px
;
margin-right
:
20px
;
}
}
...
@@ -75,8 +76,8 @@
...
@@ -75,8 +76,8 @@
</div>
</div>
</div>
</div>
<div
class=
"layui-inline"
style=
"float: rihg;"
pane
>
<div
class=
"layui-inline"
style=
"float: rihg;"
pane
>
<button
type=
"button"
class=
"layui-btn layui-btn-normal"
id=
"employeeSearch"
>
查询
</button>
<button
type=
"button"
class=
"layui-btn layui-btn-normal
searchInputBtn
"
id=
"employeeSearch"
>
查询
</button>
<button
type=
"button"
class=
"layui-btn layui-btn-normal"
id=
"employeeExport"
>
导出
</button>
<button
type=
"button"
class=
"layui-btn layui-btn-normal
exportInputBtn
"
id=
"employeeExport"
>
导出
</button>
</div>
</div>
</form>
</form>
</div>
</div>
...
...
html/merchant/edit.html
View file @
748fc6c
...
@@ -306,7 +306,7 @@
...
@@ -306,7 +306,7 @@
</div>
</div>
<!-- 权限树 -->
<!-- 权限树 -->
<div
id=
"authorityTree"
>
<div
id=
"authorityTree"
>
<!-- 树
--
-->
<!-- 树 -->
<!-- <div class="layui-form-item">
<!-- <div class="layui-form-item">
<label class="layui-form-label required">角色权限:</label>
<label class="layui-form-label required">角色权限:</label>
<div class="layui-input-block" id="accountType"> -->
<div class="layui-input-block" id="accountType"> -->
...
@@ -597,7 +597,7 @@
...
@@ -597,7 +597,7 @@
})
})
},
},
// 添加范围
// 添加范围
handleAddScope
(
txt
)
{
handleAddScope
:
function
(
txt
)
{
var
parent
=
$
(
'#custom-scope'
)
var
parent
=
$
(
'#custom-scope'
)
var
subParent
=
$
(
'<div class="layui-form-item"><label class="layui-form-label"></label></div>'
)
var
subParent
=
$
(
'<div class="layui-form-item"><label class="layui-form-label"></label></div>'
)
var
child1
=
$
(
var
child1
=
$
(
...
@@ -632,7 +632,7 @@
...
@@ -632,7 +632,7 @@
subParent
.
append
(
child2
)
subParent
.
append
(
child2
)
parent
.
append
(
subParent
)
parent
.
append
(
subParent
)
},
},
handleCancel
()
{
handleCancel
:
function
()
{
go
(
'merchant'
,
'index'
)
go
(
'merchant'
,
'index'
)
return
false
return
false
}
}
...
...
html/merchant/index.html
View file @
748fc6c
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
.layui-btn-xs
{
.layui-btn-xs
{
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.channel
,
.accountLevel
,
.accountType
,
.customerStatus
{
.channel
,
.accountLevel
,
.accountType
,
.customerStatus
,
.searchInputBtn
{
margin-left
:
20px
;
margin-left
:
20px
;
}
}
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
<div
class=
"layui-inline"
>
<div
class=
"layui-inline"
>
<input
class=
"layui-input"
name=
"merchantName"
placeholder=
"请输入商户名称"
>
<input
class=
"layui-input"
name=
"merchantName"
placeholder=
"请输入商户名称"
>
</div>
</div>
<div
class=
"layui-inline"
>
<div
class=
"layui-inline
searchInputBtn
"
>
<button
class=
"layui-btn"
lay-submit
lay-filter=
"searchSubmit"
>
查询
</button>
<button
class=
"layui-btn"
lay-submit
lay-filter=
"searchSubmit"
>
查询
</button>
</div>
</div>
</div>
</div>
...
@@ -234,7 +234,8 @@
...
@@ -234,7 +234,8 @@
},
{
},
{
field
:
'merchantLegalPersonPhone'
,
field
:
'merchantLegalPersonPhone'
,
title
:
'手机号'
,
title
:
'手机号'
,
align
:
'center'
align
:
'center'
,
width
:
100
},
{
},
{
field
:
'merchantAddress'
,
field
:
'merchantAddress'
,
title
:
'商户地址'
,
title
:
'商户地址'
,
...
@@ -249,7 +250,7 @@
...
@@ -249,7 +250,7 @@
align
:
'left'
,
align
:
'left'
,
title
:
'操作'
,
title
:
'操作'
,
toolbar
:
'#merchantBtns'
,
toolbar
:
'#merchantBtns'
,
width
:
2
2
0
,
width
:
2
1
0
,
fixed
:
'right'
fixed
:
'right'
}]
}]
]
]
...
@@ -369,7 +370,6 @@
...
@@ -369,7 +370,6 @@
pageSize
:
page
.
pageSize
,
pageSize
:
page
.
pageSize
,
method
:
'cn.com.glsx.merchants.menu.findMerchantByPage'
method
:
'cn.com.glsx.merchants.menu.findMerchantByPage'
}
}
console
.
log
(
'kkkkk'
)
var
searchData
=
$
(
'#searchForm [name]'
).
serializeArray
()
var
searchData
=
$
(
'#searchForm [name]'
).
serializeArray
()
// console.log(searchData)
// console.log(searchData)
$
.
each
(
searchData
,
function
()
{
$
.
each
(
searchData
,
function
()
{
...
@@ -378,7 +378,6 @@
...
@@ -378,7 +378,6 @@
// console.log(params)
// console.log(params)
request
(
params
,
function
(
res
)
{
request
(
params
,
function
(
res
)
{
var
data
=
helper
.
formateNullFieldData
(
res
.
data
)
var
data
=
helper
.
formateNullFieldData
(
res
.
data
)
console
.
log
(
data
,
"777"
)
$
.
each
(
data
.
data
,
function
(
index
,
item
)
{
$
.
each
(
data
.
data
,
function
(
index
,
item
)
{
item
.
index
=
index
+
1
+
page
.
pageSize
*
(
page
.
pageNum
-
1
)
item
.
index
=
index
+
1
+
page
.
pageSize
*
(
page
.
pageNum
-
1
)
item
.
btn
=
{
item
.
btn
=
{
...
...
html/role/index.html
View file @
748fc6c
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
getTabelList
(
roleTable
)
getTabelList
(
roleTable
)
// 获取table列表接口
// 获取table列表接口
function
getTabelList
(
table
,
search
=
{}
,
isResetPageNum
)
{
function
getTabelList
(
table
,
search
,
isResetPageNum
)
{
var
params
=
helper
.
clone
(
false
,
{
var
params
=
helper
.
clone
(
false
,
{
pageNum
:
page
.
pageNum
,
pageNum
:
page
.
pageNum
,
pageSize
:
page
.
pageSize
,
pageSize
:
page
.
pageSize
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment