layout.html
6.84 KB
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
<!Doctype html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>手店商城管理系统</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<!-- Apple devices fullscreen -->
<meta name="apple-mobile-web-app-capable" content="yes">
<!-- Apple devices fullscreen -->
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link href="__WEBPUBLIC__/static/css/main.css?v=__CSSVERSION__" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/static/css/page.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/static/font/css/font-awesome.min.css" rel="stylesheet" />
<!--[if IE 7]>
<link rel="stylesheet" href="__PUBLIC__/static/font/css/font-awesome-ie7.min.css">
<![endif]-->
<link href="__PUBLIC__/static/js/jquery-ui/jquery-ui.min.css" rel="stylesheet" type="text/css"/>
<link href="__PUBLIC__/static/js/perfect-scrollbar.min.css" rel="stylesheet" type="text/css"/>
<!--新增 20170405-->
<link href="__PUBLIC__/static/font/font-awesome/css/font-awesome.min.css" rel="stylesheet" />
<!--[if IE 7]>
<link rel="stylesheet" href="__PUBLIC__/static/font/font-awesome/css/font-awesome-ie7.min.css">
<![endif]-->
<!--<link href="__PUBLIC__/static/css/base_add.css" rel="stylesheet" type="text/css">
<link href="__PUBLIC__/static/css/seller_center_add.css" rel="stylesheet" type="text/css">-->
<!--新增 end-->
<script type="text/javascript" src="__PUBLIC__/static/js/jquery.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/js/jquery-ui/jquery-ui.min.js?v=__CSSVERSION__"></script>
<script type="text/javascript" src="__PUBLIC__/static/js/layer/layer.js"></script><!-- 弹窗js 参考文档 http://layer.layui.com/-->
<script type="text/javascript" src="__PUBLIC__/static/js/admin.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/js/flexigrid.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/js/jquery.validation.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/js/common.js?v=__CSSVERSION__"></script>
<script type="text/javascript" src="__PUBLIC__/static/js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/static/js/jquery.mousewheel.js"></script>
<script src="__PUBLIC__/js/myFormValidate.js"></script>
<script src="__PUBLIC__/js/myAjax2.js?v=__CSSVERSION__"></script>
<script src="__PUBLIC__/js/global.js?v=__CSSVERSION__"></script>
<script type="text/javascript">
function delfunc(obj){
layer.confirm('确认删除?', {
btn: ['确定','取消'] //按钮
}, function(){
// 确定
$.ajax({
type : 'post',
url : $(obj).attr('data-url'),
data : {act:'del',del_id:$(obj).attr('data-id')},
dataType : 'json',
success : function(data){
if(data==1){
layer.msg('操作成功', {icon: 1});
$(obj).parent().parent().parent().remove();
}else{
layer.msg(data, {icon: 2,time: 2000});
}
// layer.closeAll();
}
})
}, function(index){
layer.close(index);
return false;// 取消
}
);
}
function selectAll(name,obj){
$('input[name*='+name+']').prop('checked', $(obj).checked);
}
function get_help(obj){
layer.open({
type: 2,
title: '帮助手册',
shadeClose: true,
shade: 0.3,
area: ['70%', '80%'],
content: $(obj).attr('data-url'),
});
}
function delAll(obj,name){
var a = [];
$('input[name*='+name+']').each(function(i,o){
if($(o).is(':checked')){
a.push($(o).val());
}
})
if(a.length == 0){
layer.alert('请选择删除项', {icon: 2});
return;
}
layer.confirm('确认删除?', {btn: ['确定','取消'] }, function(){
$.ajax({
type : 'get',
url : $(obj).attr('data-url'),
data : {act:'del',del_id:a},
dataType : 'json',
success : function(data){
if(data == 1){
layer.msg('操作成功', {icon: 1});
$('input[name*='+name+']').each(function(i,o){
if($(o).is(':checked')){
$(o).parent().parent().remove();
}
})
}else{
layer.msg(data, {icon: 2,time: 2000});
}
layer.closeAll();
}
})
}, function(index){
layer.close(index);
return false;// 取消
}
);
}
function decoding(obj) {
$(obj).each(function () {
var url=$(this).attr('href');
$(this).attr('href',decodeURIComponent(url).replace('+',' ').replace('+',' '));
});
}
</script>
<!--上传图片的样式 新增 20170422-->
<style type="text/css">
html, body { overflow: visible;}
/*新增 透明背景*/
.laydate_body .laydate_tab{background: rgba(0, 0, 0, 0) none repeat scroll 0 0 !important;}
.ncsc-goods-default-pic{display: inherit;}
.ncsc-goods-default-pic .goodspic-uplaod .upload-thumb{ line-height: 20px;margin-right: 6px; display: inline-block;height: 180px;width: 180px;background-color: #fff;border: 1px solid #f5f5f5; overflow: hidden;text-align: center;vertical-align: middle;}
.ncsc-goods-default-pic .goodspic-uplaod .upload-thumb img{width: 160px;height: 160px;border: medium none;vertical-align: middle;}
.hint{clear: both;color: #bbb;font-size: 12px;line-height: 16px;margin-top: 10px;}
.ncsc-goods-default-pic .goodspic-uplaod .handle{ height: 30px;margin: 10px 0;}
.ncsc-upload-btn{ display: inline-block;height: 30px;margin: 5px 5px 0 0;vertical-align: top;width: 80px;}
.ncsc-upload-btn a{display: block;position: relative;z-index: 1;}
.ncsc-upload-btn a:hover p{background-color: #E6E6E6;border-color: #CFCFCF #CFCFCF #B3B3B3;color: #333333;}
.ncsc-upload-btn p{-moz-border-bottom-colors: none;
-moz-border-left-colors: none;
-moz-border-right-colors: none;
-moz-border-top-colors: none;
background-color: #f5f5f5;
border-color: #dcdcdc #dcdcdc #b3b3b3;
border-image: none;
border-style: solid;
border-width: 1px;
color: #666;
font-size: 12px;
height: 20px;
left: 0;
line-height: 20px;
padding: 4px 0;
position: absolute;
text-align: center;
top: 0;
width: 78px;
z-index: 1;}
.ncsc-upload-btn p i{margin-right: 4px;vertical-align: middle;}
</style>
</head>