2db47680
hexiaodong
chore: 初始提交 php 遗...
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
|
<link href="/assets/addons/fastflow/plugins/card/card.css" rel="stylesheet" type="text/css"/>
<style>
.row{
margin-left: 0;
margin-right: 0;
}
body{
background: white;
overflow: hidden;
}
legend {
padding: 5px;
font-size: 15px;
font-weight: 600;
color: #0a5ba6;
}
.btn-group{
display: flex;
position: relative;
vertical-align: middle;
line-height: 32px;
}
.btn-group .btn{
margin-right: 6px;
}
.stamp-toolbar{
background: #fdfdfd;
padding: 0px 8px 8px 8px;
border-bottom: 1px solid #efefef;
}
.stamp-list{
height: calc(100vh - 136px)!important;
overflow: auto;
border: 1px solid #e9e9e9;
}
.stamp-toolbar .btn-group .btn-sm{
padding: 7px 12px;
}
.empty-hint{
width: 100%;
height: 34px;
text-align: center;
position: absolute;
text-align: center;
top:calc(50vh - 17px);
font-size: 16pt;
font-family: '黑体';
color: #c2c2c2;
}
.tree{
height: calc(100vh - 86px)!important;
border: 1px solid #e9e9e9;
overflow: auto;
}
#group_tree{
margin-top: 30px;
}
div ::-webkit-scrollbar {
/*滚动条整体*/
width: 8px;
height: 8px;
border-radius: 5px;
}
div ::-webkit-scrollbar-track {
/*滚动条轨道*/
background: #e3e3e3;
border-radius: 2px;
}
div ::-webkit-scrollbar-thumb {
/*滚动条里面的滑块*/
background: #d1d1d1;
border-radius: 2px;
}
div ::-webkit-scrollbar-thumb:hover {
/*滚动条鼠标事件,鼠标放上去出现的事件*/
background: #a8a8a8;
}
div ::-webkit-scrollbar-corner {
/*滚动条边角*/
background: #a8a8a8;
}
.contenedorCards .card {
width: 176px!important;
}
.contenedorCards .card .wrapper .imgProd {
background-position: center!important;
height: 140px!important;
padding: 8px;
}
.contenedorCards .card .wrapper .infoProd .actions .preciosGrupo {
height: 40px!important;
}
.contenedorCards .card .wrapper .infoProd {
height: 66px!important;
padding: 0px 10px 0px 10px!important;
margin-top: 4px!important;
}
.contenedorCards .card .wrapper .infoProd .actions .action {
bottom: 0px!important;
right: 4px!important;
}
.contenedorCards .card .wrapper .infoProd .actions .preciosGrupo .precio {
font-size: 15px!important;
padding-top: 8px!important;
}
.contenedorCards .card .wrapper .infoProd .extraInfo {
margin-top: 4px!important;
height: 20px!important;
}
</style>
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#stamp" data-toggle="tab" aria-expanded="true">签章管理</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="stamp">
<div class="row">
<div class="col-lg-2 col-md-2 col-sm-2 col-xs-12 tree">
<legend>选择分组/用户</legend>
<div id="group_tree"></div>
</div>
<div class="col-lg-10 col-md-10 col-sm-10 col-xs-12">
<div class="stamp-toolbar" id="stamp-toolbar">
<div class="btn-group">
<a id="add-stamp" href="javascript:;" class="btn btn-sm btn-info {:$auth->check('fastflow/flow/stamp/add')?'':'hide'}" title="添加签章" style="border-radius: 3px;"><i class="fa fa-plus"></i> 添加签章</a>
<a id="refresh-stamp" href="javascript:;" class="btn btn-sm btn-success" title="刷新" style="border-radius: 3px;"><i class="fa fa-refresh"></i> 刷新</a>
</div>
</div>
<div class="stamp-list">
<div class="contenedorCards" id="contenedorCards">
</div>
<span class="empty-hint">无印章</span>
</div>
</div>
</div>
<script id="itemTpl" type="text/html">
<% for(var i=0; i<list.length; i++){ %>
<div class="card">
<div class="wrapper">
<div class="imgProd" data-id="<%=list[i].id%>" data-title="<%=list[i].title%>">
<div style='height:100%;width:100%;background-image:url("<%=list[i].file%>");background-size:contain;background-repeat:no-repeat;background-position: center;'></div>
</div>
<div class="infoProd">
<p class="extraInfo"><%=list[i].info%></p>
<div class="actions">
<div class="preciosGrupo">
<p class="precio precioProd"><%=list[i].title%></p>
</div>
<div class="action toolbar">
<a href="javascript:;" class="btn btn-xs btn-success stamp-edit {:$auth->check('fastflow/flow/stamp/edit')?'':'hide'}" data-id="<%=list[i].id%>"><i class="fa fa-edit"></i></a>
<a href="javascript:;" class="btn btn-xs btn-danger stamp-trash {:$auth->check('fastflow/flow/stamp/del')?'':'hide'}" data-id="<%=list[i].id%>"><i class="fa fa-remove"></i></a>
</div>
</div>
</div>
</div>
</div>
<% } %>
</script>
</div>
</div>
</div>
|