-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcard.html
293 lines (291 loc) · 11.5 KB
/
card.html
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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title></title>
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport" content="width=1280, initial-scale=1">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp">
<link rel="stylesheet" href="css/amazeui.min.css">
<link rel="stylesheet" href="icon/iconfont.css">
<link rel="stylesheet" href="css/common.css">
<link rel="stylesheet" href="css/style.css">
<style type="text/css">
#ubody .uremark{height:32px; line-height:32px;}
</style>
</head>
<body id="ubody">
<!-- header -->
<header id="uheader" class="am-topbar am-topbar-fixed-top">
<div class="am-topbar-brand ulogo">
<a href=""><img src="./img/logo.jpg"></a>
</div>
<div class="am-topbar-left utitle">河南奕之堂健康管理有限公司——唐人街老店</div>
<ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right unav">
<li>
<a href="javascript:;"><span class="iconfont icon-systemprompt_fill"></span> <span>消息</span></a>
</li>
<li class="am-dropdown" data-am-dropdown>
<a class="am-dropdown-toggle" href="javascript:;" data-am-dropdown-toggle>
<span class="iconfont icon-wode"></span> <span class="udropdown">收银员</span>
</a>
<ul class="am-dropdown-content umenu1">
<li><a href="#"><span class="am-icon-user am-icon-fw"></span>资料</a></li>
<li><a href="#"><span class="am-icon-cog am-icon-fw"></span>设置</a></li>
<li><a href="#"><span class="am-icon-power-off am-icon-fw"></span>退出</a></li>
</ul>
</li>
<li class="am-dropdown" data-am-dropdown>
<a class="am-dropdown-toggle" href="javascript:;" data-am-dropdown-toggle>
<span class="iconfont icon-dianpu1"></span> <span class="udropdown">转换为管理员</span>
</a>
<ul class="am-dropdown-content umenu1">
<li><a href="#"><span class="iconfont icon-question"></span> 唐人街老店</a></li>
<li><a href="#"><span class="iconfont icon-question"></span> 伏牛路新店</a></li>
<li><a href="#"><span class="iconfont icon-question"></span> 第八号当铺</a></li>
</ul>
</li>
</ul>
<a href="#" class="am-topbar-right uad">视频教程</a>
</header>
<!-- header end -->
<!-- left bar -->
<ul id="uleftbar" class="am-nav">
<li><a href="user.html"><span class="iconfont icon-wsmp-payuser"></span> 会员</a></li>
<li><a href="detail.html"><span class="iconfont icon-ziliao"></span> 明细</a></li>
<li><a href="#"><span class="iconfont icon-baobiao-xianxing"></span> 统计</a></li>
<li class="am-dropdown" data-am-dropdown>
<a href="javascript:;" class="am-dropdown-toggle" data-am-dropdown-toggle><span class="iconfont icon-iconfont31quanbushangpin"></span> 商品</a>
<ul class="am-dropdown-content umenu2 umenu2-goods">
<li><a href="goodsinfo.html"><span class="iconfont icon-question"></span> 通用型商品</a></li>
<li><a href="shopgoods.html"><span class="iconfont icon-question"></span> 店铺型商品</a></li>
</ul>
</li>
<li><a href="employee.html"><span class="iconfont icon-baobiao-xianxing"></span> 员工</a></li>
<li class="am-dropdown" data-am-dropdown>
<a href="javascript:;" class="am-dropdown-toggle" data-am-dropdown-toggle><span class="iconfont icon-weixin"></span> 微信</a>
<ul class="am-dropdown-content umenu2 umenu2-wechat">
<li><a href="wechat.html"><span class="iconfont icon-question"></span> 公众号设置</a></li>
<li><a href="#"><span class="iconfont icon-question"></span> 微店设置</a></li>
</ul>
</li>
<li class="am-dropdown uhighlight" data-am-dropdown>
<a href="javascript:;" class="am-dropdown-toggle" data-am-dropdown-toggle><span class="iconfont icon-setup"></span> 系统</a>
<ul class="am-dropdown-content umenu2 umenu2-set">
<li><a href="baseinfo.html"><span class="iconfont icon-question"></span> 企业信息</a></li>
<li><a href="config.html"><span class="iconfont icon-question"></span> 参数设置</a></li>
<li><a href="shop.html"><span class="iconfont icon-question"></span> 分店信息</a></li>
<li><a href="operator.html"><span class="am-icon-user am-icon-fw"></span> 操作员设置</a></li>
<li><a href="card.html"><span class="iconfont icon-question"></span> 会员卡设置</a></li>
<li><a href="package.html"><span class="iconfont icon-question"></span> 套餐设置</a></li>
<li><a href="payconfig.html"><span class="iconfont icon-question"></span> 支付设置</a></li>
</ul>
</li>
</ul>
<!-- left bar end -->
<!-- main -->
<div id="ucard" class="gcontent">
<ul class="am-nav am-nav-pills ubread">
<li class="am-active"><a href="card.html">会员卡信息</a></li>
</ul>
<div class="gspace15"></div>
<div class="utools">
<form class="am-form-inline uform2">
<div class="am-form-group">
卡类型:
<select class="uselect" data-am-selected name="">
<option value="all">全部</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
</div>
<div class="am-form-group">
<button type="submit" class="am-btn ubtn-search">
<i class="iconfont icon-search"></i>查询
</button>
</div>
</form>
<button class="am-btn ubtn-sure ubtn-blue" data-am-modal="{target:'#ucardm1'}">
<i class="iconfont icon-addition"></i>
新增会员卡
</button>
</div>
<div class="gspace30"></div>
<table class="am-table am-table-bordered am-table-hover am-table-compact utable1">
<thead>
<tr>
<td>会员卡类型</td>
<td>描述</td>
<td>折扣</td>
<td style="width:12%;">操作</td>
</tr>
</thead>
<tbody>
<tr>
<td>8折卡</td>
<td>折扣卡</td>
<td>8</td>
<td>
<button class="am-btn ubtn-table ubtn-green" data-am-modal="{target:'#ucardm2'}">
<i class="iconfont icon-bianji"></i>
编辑
</button>
<button class="am-btn ubtn-table ubtn-gray cdel">
<i class="iconfont icon-shanchu"></i>
删除
</button>
</td>
</tr>
<tr>
<td>10次卡</td>
<td>次数卡</td>
<td>10</td>
<td>
<button class="am-btn ubtn-table ubtn-green" data-am-modal="{target:'#ucardm2'}">
<i class="iconfont icon-bianji"></i>
编辑
</button>
<button class="am-btn ubtn-table ubtn-gray cdel">
<i class="iconfont icon-shanchu"></i>
删除
</button>
</td>
</tr>
<tr>
<td>vip尊贵</td>
<td>一卡通</td>
<td>6</td>
<td>
<button class="am-btn ubtn-table ubtn-green" data-am-modal="{target:'#ucardm2'}">
<i class="iconfont icon-bianji"></i>
编辑
</button>
<button class="am-btn ubtn-table ubtn-gray cdel">
<i class="iconfont icon-shanchu"></i>
删除
</button>
</td>
</tr>
</tbody>
</table>
<ul class="am-pagination am-pagination-centered upages">
<li class="upagedec">共1页 3条记录</li>
<li class="am-disabled"><a href="#">«</a></li>
<li class="am-active"><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">»</a></li>
</ul>
</div>
<!-- 弹出框添加 -->
<div id="ucardm1" class="am-modal" tabindex="-1">
<div class="am-modal-dialog umodal">
<div class="am-modal-hd uhead">新增会员卡类型
<a href="javascript:void(0)" class="am-close am-close-spin uclose" data-am-modal-close><img src="img/close.jpg"></a>
</div>
<div class="am-modal-bd umain1">
<form class="am-form am-form-horizontal">
<div class="am-form-group">
<label class="am-u-lg-3 am-form-label" for="">会员卡类型</label>
<div class="am-u-lg-4 am-u-end">
<input id="" class="uinput uinput-max" type="text" placeholder="">
</div>
</div>
<div class="am-form-group">
<label class="am-u-lg-3 am-form-label" for="">折扣</label>
<div class="am-u-lg-4">
<input id="" class="uinput uinput-max" type="text" placeholder="" value="10">
</div>
<div class="uremark am-u-lg-3 am-u-end"><span class="gtext-orange">10表示为不打折</span>
</div>
</div>
<div class="am-form-group">
<label class="am-u-lg-3 am-form-label" for="">描述</label>
<div class="am-u-lg-9">
<textarea class="am-form-field utextarea utextarea-max" row="3"></textarea>
</div>
</div>
</form>
</div>
<div class="am-modal-footer ufoot">
<div class="am-btn-group">
<button type="button" class="am-btn ubtn-sure ubtn-green"><i class="iconfont icon-yuanxingxuanzhong"></i>
完成
</button>
</div>
</div>
</div>
</div>
<div id="ucardm2" class="am-modal" tabindex="-1">
<div class="am-modal-dialog umodal">
<div class="am-modal-hd uhead">修改会员卡类型
<a href="javascript:void(0)" class="am-close am-close-spin uclose" data-am-modal-close><img src="img/close.jpg"></a>
</div>
<div class="am-modal-bd umain1">
<form class="am-form am-form-horizontal">
<div class="am-form-group">
<label class="am-u-lg-3 am-form-label" for="">会员卡类型</label>
<div class="am-u-lg-4 am-u-end">
<input id="" class="uinput uinput-max" type="text" placeholder="">
</div>
</div>
<div class="am-form-group">
<label class="am-u-lg-3 am-form-label" for="">折扣</label>
<div class="am-u-lg-4">
<input id="" class="uinput uinput-max" type="text" placeholder="" value="10">
</div>
<div class="uremark am-u-lg-3 am-u-end"><span class="gtext-orange">10表示为不打折</span>
</div>
</div>
<div class="am-form-group">
<label class="am-u-lg-3 am-form-label" for="">描述</label>
<div class="am-u-lg-9">
<textarea class="am-form-field utextarea utextarea-max" row="3"></textarea>
</div>
</div>
</form>
</div>
<div class="am-modal-footer ufoot">
<div class="am-btn-group">
<button type="button" class="am-btn ubtn-sure ubtn-green"><i class="iconfont icon-yuanxingxuanzhong"></i>
完成
</button>
</div>
</div>
</div>
</div>
<!-- 删除按钮弹出框 -->
<div id="cconfirm" class="am-modal am-modal-confirm" tabindex="-1">
<div class="am-modal-dialog uconfirm">
<div class="am-modal-hd uhead"><b>删 除 提 醒</b></div>
<div class="am-modal-bd">
你,确定要删除这条记录吗?
</div>
<div class="am-modal-footer">
<span class="am-modal-btn" data-am-modal-cancel>取消</span>
<span class="am-modal-btn" data-am-modal-confirm>确定</span>
</div>
</div>
</div>
<script src="js/jquery.min.js"></script>
<script src="js/amazeui.min.js"></script>
<script type="text/javascript">
$(function() {
$('.cdel').on('click', function() {
$('#cconfirm').modal({
relatedTarget: this,
onConfirm: function(options) {
$(this.relatedTarget).parent('td').parent('tr').remove();
},
onCancel: function() {
return;
}
});
});
});
</script>
</body>
</html>