This commit is contained in:
ly19960718 2021-11-10 17:59:35 +08:00
parent 16f11a29f5
commit a0e14a3a6f
3 changed files with 19 additions and 6 deletions

View File

@ -9,6 +9,9 @@
<link rel="stylesheet" href="assets/fonts/font-awesome/css/font-awesome.css"/>
<link rel="stylesheet" href="assets/layuiadmin/layui/css/layui.css" media="all">
<link rel="stylesheet" href="assets/layuiadmin/style/admin.css" media="all">
<style>
a:hover { color : #009688 ; }
</style>
</head>
<body>
<div class="layui-anim layui-anim-fadein">
@ -108,9 +111,10 @@
templet: function(row) {
var rowData = row[this.field];
if(row["subList"] == true) {
return '<button type="button" class="layui-btn layui-btn-sm" lay-event="areaNameEvent">' +
/* return '<button type="button" class="layui-btn layui-btn-sm" lay-event="areaNameEvent">' +
rowData + ' <i class="fa fa-lg fa-sign-in"></i>' +
'</button> ';
'</button> ';*/
return '<a style="cursor: pointer" lay-event="areaNameEvent">'+rowData+'<i class="fa fa-lg fa-sign-in"></i></a>'
}else{
return rowData;
}

View File

@ -9,6 +9,9 @@
<link rel="stylesheet" href="assets/fonts/font-awesome/css/font-awesome.css"/>
<link rel="stylesheet" href="assets/layuiadmin/layui/css/layui.css" media="all">
<link rel="stylesheet" href="assets/layuiadmin/style/admin.css" media="all">
<style>
a:hover { color : #009688 ; }
</style>
</head>
<body>
<div class="layui-anim layui-anim-fadein">
@ -108,9 +111,10 @@
templet: function(row) {
var rowData = row[this.field];
if(row["subList"] == true) {
return '<button type="button" class="layui-btn layui-btn-sm" lay-event="areaNameEvent">' +
/* return '<button type="button" class="layui-btn layui-btn-sm" lay-event="areaNameEvent">' +
rowData + ' <i class="fa fa-lg fa-sign-in"></i>' +
'</button> ';
'</button> ';*/
return '<a style="cursor: pointer" lay-event="areaNameEvent">'+rowData+'<i class="fa fa-lg fa-sign-in"></i></a>'
}else{
return rowData;
}

View File

@ -9,6 +9,9 @@
<link rel="stylesheet" href="assets/fonts/font-awesome/css/font-awesome.css"/>
<link rel="stylesheet" href="assets/layuiadmin/layui/css/layui.css" media="all">
<link rel="stylesheet" href="assets/layuiadmin/style/admin.css" media="all">
<style>
a:hover { color : #009688 ; }
</style>
</head>
<body>
<div class="layui-anim layui-anim-fadein">
@ -353,9 +356,11 @@
templet: function(row) {
var rowData = row[this.field];
if(row["subList"] == true) {
return '<button type="button" id="month" class="layui-btn layui-btn-sm" lay-event="areaNameEvent">' +
/* return '<button type="button" id="month" class="layui-btn layui-btn-sm" lay-event="areaNameEvent">' +
rowData + ' <i class="fa fa-lg fa-sign-in"></i>' +
'</button> ';
'</button> ';*/
return '<a style="cursor: pointer" lay-event="areaNameEvent">'+rowData+'<i class="fa fa-lg fa-sign-in"></i></a>'
}else{
return rowData;
}