From a2a4dd75b0c0e51b325c4fbe89da80dfa4a5d24f Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Mon, 20 Feb 2023 17:13:57 +0800
Subject: [PATCH] 滑动条
---
src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html | 37 +++++++++++++++++++++++--------------
1 files changed, 23 insertions(+), 14 deletions(-)
diff --git a/src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html b/src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html
index 9f82c41..df0777d 100644
--- a/src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html
+++ b/src/main/resources/templates/febs/views/modules/mallMember/mallAgentRecord.html
@@ -1,4 +1,4 @@
-<div class="layui-fluid layui-anim febs-anim" id="febs-agent-apply-list" lay-title="代理申请列表">
+<div class="layui-fluid layui-anim febs-anim" id="febs-agent-apply-list" lay-title="合伙人申请列表">
<div class="layui-row febs-container">
<div class="layui-col-md12">
<div class="layui-card">
@@ -8,16 +8,19 @@
<div class="layui-col-md10">
<div class="layui-form-item">
<div class="layui-inline">
+ <label class="layui-form-label layui-form-label-sm">微信昵称</label>
<div class="layui-input-inline">
<input type="text" placeholder="微信昵称" name="memberName" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-inline">
+ <label class="layui-form-label layui-form-label-sm">姓名</label>
<div class="layui-input-inline">
<input type="text" placeholder="姓名" name="name" autocomplete="off" class="layui-input">
</div>
</div>
<div class="layui-inline">
+ <label class="layui-form-label layui-form-label-sm">电话</label>
<div class="layui-input-inline">
<input type="text" placeholder="电话" name="phone" autocomplete="off" class="layui-input">
</div>
@@ -46,6 +49,12 @@
</div>
</form>
<table lay-filter="agentApplyTable" lay-data="{id: 'agentApplyTable'}"></table>
+ <style type="text/css">
+ ::-webkit-scrollbar {
+ height: 20px !important;
+ background-color: #f4f4f4;
+ }
+ </style>
</div>
</div>
</div>
@@ -132,7 +141,7 @@
url: ctx + 'admin/mallMember/getAgentApplyList',
defaultToolbar:[],
cols: [[
- {field:'memberName', title:'微信昵称', width:100, rowspan: 3,align: 'center'}
+ {field:'memberName', title:'微信昵称', width:100, rowspan: 2,align: 'center'}
,{align: 'center', title: '基本信息', colspan: 7}
,{field: 'state', title: '申请状态',
templet: function (d) {
@@ -145,8 +154,18 @@
}else{
return ''
}
- }, minWidth: 100,rowspan: 3,align:'center'},
- ,{field:'createdTime', title:'申请时间', width:100,rowspan: 3,align: 'center'}
+ }, minWidth: 100,rowspan: 2,align:'center'},
+ ,{field:'createdTime', title:'申请时间', width:100,rowspan: 2,align: 'center'}
+ ,{title: '操作',
+ templet: function (d) {
+ if(d.state === 1 ){
+ return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agree" shiro:hasPermission="user:update">同意</button>'
+ +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="disagree" shiro:hasPermission="user:update">拒绝</button>'
+ }else{
+ return ''
+ }
+ },width:200,rowspan: 2,align:'center', fixed:"right"
+ }
],[
// {field: 'memberName', title: '微信昵称', minWidth: 150,align:'left'},
{field: 'name', title: '姓名', minWidth: 100,align:'left'},
@@ -169,16 +188,6 @@
// }
// }, minWidth: 100,align:'center'},
// {field: 'createdTime', title: '申请时间', minWidth: 180,align:'center'},
- {title: '操作',
- templet: function (d) {
- if(d.state === 1 ){
- return '<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="agree" shiro:hasPermission="user:update">同意</button>'
- +'<button class="layui-btn layui-btn-normal layui-btn-xs" lay-event="disagree" shiro:hasPermission="user:update">拒绝</button>'
- }else{
- return ''
- }
- },minWidth: 200,align:'center', fixed:"right"
- }
]]
});
}
--
Gitblit v1.9.1