Browse Source

产品相关

XMTT 6 years ago
parent
commit
ead33e40b6

+ 50 - 0
css/model/sys/product.css

@ -0,0 +1,50 @@
1
@charset "utf-8";
2
.sys_product_index .tpl-btns .row {
3
    padding-left: 10px;
4
}
5
.sys_product_index th.opt-check {
6
    width: 35px;
7
}
8
9
.sys_product_index .table {
10
    table-layout: fixed;
11
}
12
13
.sys_product_index .orderBy .icon-close{
14
    display: none;
15
}
16
17
.sys_product_index .number {
18
    width: 4%;
19
}
20
21
.sys_product_index .table-opt .name {
22
    cursor: pointer;
23
}
24
25
.sys_product_sort {
26
    width: 600px;
27
    height: 200px;
28
}
29
30
.sys_product_keywords {
31
    width: 600px;
32
    height: 300px;
33
}
34
35
.sys_product_sort .content,.sys_product_keywords .content, .sys_product_contacts .content{
36
    font-size: 25px;
37
    font-weight: bold;
38
}
39
40
.sys_product_keywords .orgSize.dyn-mselect .icon-drop {
41
    display: none !important;
42
}
43
44
.sys_product_keywords .orgSize.dyn-mselect .dd-drop {
45
    display: none !important;
46
}
47
48
.sys_product_keywords .orgSize.dyn-mselect .placeholder {
49
    display: none !important;
50
}

+ 680 - 0
css/model/sys/productIssue.css

@ -0,0 +1,680 @@
1
2
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary { display: block; }
3
audio, canvas, video { display: inline-block; }
4
audio:not([controls]) { display: none; height: 0px; }
5
[hidden] { display: none; }
6
html { font-family: sans-serif; text-size-adjust: 100%; }
7
body { margin: 0px; }
8
abbr[title] { border-bottom: 1px dotted; }
9
b, strong { font-weight: bold; }
10
dfn { font-style: italic; }
11
hr { height: 0px; box-sizing: content-box; }
12
mark { color: rgb(0, 0, 0); background: rgb(255, 255, 0); }
13
code, kbd, pre, samp { font-family: monospace, serif; font-size: 1em; }
14
pre { white-space: pre-wrap; }
15
q { quotes: "“" "”" "‘" "’"; }
16
small { font-size: 80%; }
17
sub, sup { position: relative; font-size: 75%; line-height: 0; vertical-align: baseline; }
18
sup { top: -0.5em; }
19
sub { bottom: -0.25em; }
20
img { border: 0px; }
21
svg:not(:root) { overflow: hidden; }
22
figure { margin: 0px; }
23
fieldset { padding: 0.35em 0.625em 0.75em; margin: 0px 2px; border: 1px solid rgb(192, 192, 192); }
24
legend { padding: 0px; border: 0px; }
25
button, input, select, textarea { margin: 0px; font-family: inherit; font-size: 100%; }
26
button, input { line-height: normal; }
27
button, select { text-transform: none; }
28
button, html input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }
29
button[disabled], html input[disabled] { cursor: default; }
30
input[type="checkbox"], input[type="radio"] { padding: 0px; box-sizing: border-box; }
31
input[type="search"] { box-sizing: content-box; -webkit-appearance: textfield; }
32
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
33
textarea { overflow: auto; vertical-align: top; }
34
table { border-collapse: collapse; border-spacing: 0px; }
35
*, ::before, ::after { box-sizing: border-box; }
36
html { font-size: 62.5%; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
37
body { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; line-height: 1.42857; color: rgb(51, 51, 51); background-color: rgb(255, 255, 255); }
38
input, button, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; }
39
button, input, select[multiple], textarea { background-image: none; }
40
img { vertical-align: middle; }
41
hr { margin-top: 20px; margin-bottom: 20px; border-width: 1px 0px 0px; border-right-style: initial; border-bottom-style: initial; border-left-style: initial; border-right-color: initial; border-bottom-color: initial; border-left-color: initial; border-image: initial; border-top-style: solid; border-top-color: rgb(238, 238, 238); }
42
p { margin: 0px 0px 10px; }
43
small { font-size: 85%; }
44
cite { font-style: normal; }
45
h1, h2, h3 { margin-top: 20px; margin-bottom: 10px; }
46
h4, h5, h6 { margin-top: 10px; margin-bottom: 10px; }
47
ul, ol { margin-top: 0px; margin-bottom: 10px; }
48
ul ul, ol ul, ul ol, ol ol { margin-bottom: 0px; }
49
dl { margin-bottom: 20px; }
50
dt, dd { line-height: 1.42857; }
51
dt { font-weight: bold; }
52
dd { margin-left: 0px; }
53
abbr[title], abbr[data-original-title] { cursor: help; border-bottom: 1px dotted rgb(153, 153, 153); }
54
blockquote { padding: 10px 20px; margin: 0px 0px 20px; border-left: 5px solid rgb(238, 238, 238); }
55
blockquote p { font-size: 17.5px; font-weight: 300; line-height: 1.25; }
56
blockquote p:last-child { margin-bottom: 0px; }
57
blockquote small { display: block; line-height: 1.42857; color: rgb(153, 153, 153); }
58
blockquote small::before { content: "— "; }
59
q::before, q::after, blockquote::before, blockquote::after { content: ""; }
60
address { display: block; margin-bottom: 20px; font-style: normal; line-height: 1.42857; }
61
code, pre { font-family: Monaco, Menlo, Consolas, "Courier New", monospace; }
62
code { padding: 2px 4px; font-size: 90%; color: rgb(199, 37, 78); white-space: nowrap; background-color: rgb(249, 242, 244); border-radius: 4px; }
63
pre { display: block; padding: 9.5px; margin: 0px 0px 10px; font-size: 13px; line-height: 1.42857; color: rgb(51, 51, 51); word-break: break-all; word-wrap: break-word; background-color: rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 4px; }
64
pre code { padding: 0px; font-size: inherit; color: inherit; white-space: pre-wrap; background-color: transparent; border: 0px; }
65
table { max-width: 100%; background-color: transparent; }
66
th { text-align: left; }
67
table col[class*="col-"] { display: table-column; float: none; }
68
table td[class*="col-"], table th[class*="col-"] { display: table-cell; float: none; }
69
fieldset { padding: 0px; margin: 0px; border: 0px; }
70
legend { display: block; width: 100%; padding: 0px; margin-bottom: 20px; font-size: 21px; line-height: inherit; color: rgb(51, 51, 51); border-width: 0px 0px 1px; border-top-style: initial; border-right-style: initial; border-left-style: initial; border-top-color: initial; border-right-color: initial; border-left-color: initial; border-image: initial; border-bottom-style: solid; border-bottom-color: rgb(229, 229, 229); }
71
label { display: inline-block; margin-bottom: 5px; font-weight: bold; }
72
input[type="search"] { box-sizing: border-box; }
73
input[type="radio"], input[type="checkbox"] { margin: 4px 0px 0px; line-height: normal; }
74
input[type="file"] { display: block; }
75
select[multiple], select[size] { height: auto; }
76
select optgroup { font-family: inherit; font-size: inherit; font-style: inherit; }
77
input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus { outline: -webkit-focus-ring-color auto 5px; outline-offset: -2px; }
78
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { height: auto; }
79
.has-warning .help-block, .has-warning .control-label { color: rgb(192, 152, 83); }
80
.has-error .help-block, .has-error .control-label { color: rgb(185, 74, 72); }
81
.has-success .help-block, .has-success .control-label { color: rgb(70, 136, 71); }
82
.help-block { display: block; margin-top: 5px; margin-bottom: 10px; color: rgb(115, 115, 115); }
83
.clearfix::before, .clearfix::after { display: table; content: " "; }
84
.clearfix::after { clear: both; }
85
.webuploader-container { position: relative; text-align: center; }
86
.webuploader-element-invisible { clip: rect(1px, 1px, 1px, 1px); position: absolute !important; }
87
.webuploader-pick { position: relative; display: inline-block; cursor: pointer; background: rgb(255, 153, 0); padding: 4px 20px; color: rgb(255, 255, 255); text-align: center; border-radius: 3px; overflow: hidden; margin-top: 15px; }
88
#uploader .uploader-list { list-style: none; margin: 0px; padding: 0px; }
89
#uploader .thumbnail { width: 240px; height: 240px; }
90
#uploader .thumbnail img { }
91
p, dl, dt, dd, ul, ol, li, a, em, div, span, th, td { margin: 0px; padding: 0px; word-break: break-all; font-family: "PingFang SC", Arial, "Microsoft Yahei", "WenQuanYi Micro Hei", "Helvetica Neue", "Hiragino Sans GB", sans-serif; }
92
form, label, button, input, select, textarea { font-size: 14px; font-family: "PingFang SC", Arial, "Microsoft Yahei", "WenQuanYi Micro Hei", "Helvetica Neue", "Hiragino Sans GB", sans-serif; }
93
h1, h2, h3, h4, h5, h6 { font-size: 100%; margin: 0px; padding: 0px; font-family: "PingFang SC", Arial, "Microsoft Yahei", "WenQuanYi Micro Hei", "Helvetica Neue", "Hiragino Sans GB", sans-serif; }
94
html, body { height: 100%; width: 100%; margin: 0px; padding: 0px; font-family: "PingFang SC", Arial, "Microsoft Yahei", "WenQuanYi Micro Hei", "Helvetica Neue", "Hiragino Sans GB", sans-serif; }
95
input { vertical-align: middle; outline: none; }
96
img { color: transparent; font-size: 0px; vertical-align: middle; border: 0px; padding: 0px; margin: 0px; }
97
small { font-size: 12px; }
98
ul, ol { list-style: none; }
99
button, input, select, textarea { font-size: 100%; }
100
table { border-collapse: collapse; border-spacing: 0px; }
101
body { height: auto; position: relative; min-height: 100%; }
102
a { text-decoration: none; color: rgb(102, 102, 102); }
103
a:focus { }
104
a:active, a:hover, a:link { outline: 0px; text-decoration: none; }
105
.col-w-1, .col-w-2, .col-w-3, .col-w-4, .col-w-5, .col-w-6, .col-w-7, .col-w-8, .col-w-9, .col-w-10, .col-w-11, .col-w-12 { float: left; }
106
.col-w-12 { width: 100%; }
107
.floatL { float: left; }
108
.floatR { float: right; }
109
.clearfix { clear: both; }
110
.clearfix::before, .clearfix::after { display: table; content: " "; }
111
.clearfix::after { clear: both; }
112
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: rgb(153, 153, 153); }
113
.displayNone { display: none; }
114
.ellipsisSty { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
115
.h1Font { font-size: 22px; line-height: 36px; color: rgb(21, 21, 32); }
116
.h2Font { font-size: 18px; line-height: 30px; color: rgb(51, 51, 51); }
117
.cmpRadius { border-radius: 4px; }
118
.bgRadius { border-radius: 6px; }
119
.msgContbox { border: 1px solid rgb(229, 229, 229); background: rgb(255, 255, 255); min-height: 120px; height: auto; position: relative; }
120
.msgContbox textarea { background: none; border: none; color: rgb(85, 99, 109); outline: none; padding: 12px; width: 100%; font-size: 16px; resize: vertical; margin-bottom: 15px; min-height: 92px; }
121
.msgContbox .msgconNum { position: absolute; bottom: 2px; right: 10px; color: rgb(153, 153, 153); font-size: 14px; line-height: 26px; }
122
.msgContbox .msgconNum > em { font-style: normal; }
123
.frmtype { border: 1px solid rgb(210, 210, 210); height: 36px; background: rgb(245, 246, 248); font-size: 14px; outline: none; padding: 6px 20px 6px 10px; border-radius: 6px; }
124
.frmtype:focus { box-shadow: none; outline: none; border: 1px solid rgb(40, 184, 250); }
125
textarea.frmtype { height: 100px; }
126
.requiredcon { color: red; font-size: 16px; margin: 0px 4px; }
127
.frmcontype { border: 1px solid rgb(229, 229, 229); width: 100%; height: 40px; background: rgb(255, 255, 255); font-size: 16px; color: rgb(102, 102, 102); line-height: 28px; outline: none; padding: 6px 12px; border-radius: 0px; }
128
.frmcontype:focus { border-color: rgb(40, 184, 250); }
129
.frmconmsg { color: rgb(253, 95, 57); margin-left: 12px; font-size: 14px; }
130
.btnModel { display: inline-block; color: rgb(255, 255, 255); border: none; padding: 6px 20px; background: rgb(40, 184, 250); }
131
.btnModel:hover { background: rgb(29, 170, 235); }
132
.authicon { display: inline-block; margin-left: 4px; background-position: center center; background-repeat: no-repeat; }
133
.authicon-staff-ok { width: 44px; height: 16px; background-image: url("../images/porfile_icon_yuangong_hig.png"); background-size: cover; }
134
#container { padding-top: 90px; }
135
.containerCon { width: 1120px; padding: 0px 10px; position: relative; margin: auto; }
136
.containerCon::before, .containerCon::after { display: table; content: " "; }
137
.containerCon::after { clear: both; }
138
footer { position: absolute; right: 0px; left: 0px; bottom: 0px; background: rgb(55, 61, 65); color: rgb(136, 136, 136); font-size: 14px; line-height: 30px; }
139
footer .containerCon { background: rgb(55, 61, 65); }
140
footer a { color: rgb(136, 136, 136); text-decoration: none; }
141
footer p .listlink { margin-right: 25px; color: rgb(136, 136, 136); }
142
footer .bottom-block { padding: 30px 0px; }
143
footer .logo-block { width: 271px; height: 60px; background: url("../images/business_icon_logo_nor.png") 0% 0% / cover; margin-bottom: 30px; }
144
footer .copy-block { color: rgb(102, 102, 102); margin-top: 10px; font-size: 12px; }
145
footer .copy-block a { color: rgb(102, 102, 102); }
146
footer .copy-block a.beianbox em { display: inline-block; width: 14px; height: 14px; background: url("../images/home_icon_beian.png") 0% 0% / cover; }
147
footer .code-block div { text-align: center; }
148
footer .code-block div:last-child { margin-left: 80px; }
149
footer .codelist { margin: 20px auto 10px; width: 118px; height: 118px; text-align: center; background-position: center center; background-repeat: no-repeat; }
150
footer .codelist span { display: inline-block; width: 94px; height: 94px; margin: 12px auto; }
151
footer .appcode { background-image: url("../images/home_bg_xiazaiapp_nor.png"); }
152
footer .appcode span { background-image: url("../images/home_code_app.jpg"); background-size: cover; }
153
footer .weixincode { background-image: url("../images/home_bg_guanzhu_nor.png"); }
154
footer .weixincode span { background-image: url("../images/home_code_weixin.jpg"); background-size: cover; }
155
header { position: fixed; top: 0px; left: 0px; right: 0px; z-index: 1000; font-size: 16px; line-height: 32px; }
156
header .navheader { background: rgb(255, 255, 255); height: 62px; border-bottom: 2px solid rgb(229, 229, 229); }
157
header .topheader { background: rgb(51, 51, 51); height: 30px; font-size: 14px; line-height: 30px; }
158
header .topheader .containerCon { background: rgb(51, 51, 51); }
159
header .topheader a { padding: 0px 10px; margin-right: 16px; color: rgb(196, 195, 195); }
160
header .topheader a:hover { color: rgb(255, 255, 255); }
161
header .topheader .downicon { background: url("../images/top_icon_shouji_nor.png") 0px center no-repeat; padding-left: 18px; }
162
header .headlogo h1 { width: 60px; height: 30px; margin: 15px 14px 15px 0px; padding: 0px; background-image: url("../images/home_icon_cmplogo.png"); background-repeat: no-repeat; background-size: contain; overflow: hidden; }
163
header .headuserimg { position: relative; padding: 10px 0px 10px 20px; width: 60px; height: 60px; }
164
header .headuser { overflow: hidden; border: 1px solid rgb(229, 229, 229); width: 42px; height: 42px; display: table-cell; vertical-align: middle; text-align: center; cursor: pointer; }
165
header .headuser img { max-width: 40px; max-height: 100%; vertical-align: middle; overflow-y: auto; height: auto !important; }
166
header .headnavbtn { margin: 14px 6px; }
167
header .headnavbtn a { color: rgb(102, 102, 102); }
168
header .headnavbtn li { float: right; margin: 0px 6px; }
169
header .navheader li a:hover { color: rgb(40, 184, 250); }
170
header .navheader li.navcurrent a { color: rgb(40, 184, 250); }
171
header .comuserSelf { width: 180px; height: 180px; position: absolute; top: 42px; right: 0px; z-index: 100; }
172
header .triangleB { display: block; width: 0px; height: 0px; border-width: 8px; border-style: solid; border-color: transparent transparent rgb(40, 184, 250); border-image: initial; float: right; margin-right: 12px; margin-top: 14px; }
173
header .personal-box { width: 100%; background: rgb(40, 184, 250); clear: both; overflow: hidden; }
174
header .personal-box a { display: block; width: 100%; height: 40px; line-height: 40px; font-size: 13px; color: rgb(255, 255, 255); }
175
header .personal-box a:hover { background: rgb(23, 164, 228); }
176
header .icon { display: block; width: 20px; height: 20px; margin-left: 15px; margin-right: 12px; margin-top: 10px; float: left; }
177
header .icon3 { background: url("../images/index-icon.png") -40px 0px no-repeat; }
178
header .icon4 { background: url("../images/index-icon.png") -20px 0px no-repeat; }
179
body, html { background: rgb(244, 246, 248); }
180
.addButton { display: none; }
181
.btnBlock .frmtype { display: block; width: 200px; }
182
.consultBasic .workinfor .h1Font { font-size: 18px; }
183
.webuploader-container { background: rgba(0, 0, 0, 0.4); bottom: 115px; }
184
.uploadInp .webuploader-pick { background: none; height: 110px; width: 100%; margin: 0px; line-height: 110px; }
185
.uploadInp .webuploader-element-invisible { height: 110px; }
186
.cmpFrmList > li .frmadd { width: auto; position: absolute; right: 0px; top: 0px; background: rgb(40, 184, 250); color: rgb(255, 255, 255); border: none; padding: 6px 25px; }
187
.cmpFrmList .msgContbox { height: 200px; }
188
.cmpFrmList .msgContbox textarea { min-height: 176px; }
189
.ulspace > li { margin-top: 16px; margin-right: 30px; padding: 6px 12px; border-width: 1px; border-style: solid; border-color: rgb(214, 214, 214); }
190
.keyResult > ul.editUlist, .keyResult > ul.editUlistC { width: 98%; margin-right: -30px; margin-bottom: 0px; }
191
.keyResult > ul.editUlistC > li, .keyResult > ul.editUlist > li { position: relative; padding: 6px 12px; background: rgb(255, 255, 255); margin-bottom: 0px; }
192
.keyResult > ul.editUlist > li { float: left; }
193
.keyResult > ul.editUlistC > li { width: 100%; margin-top: 12px; }
194
.saveBtn .frmcontype { width: 120px; margin-right: 30px; margin-top: 20px; }
195
.citybox .frmtype { border: 1px solid rgb(181, 181, 181); }
196
.uploadFile { line-height: 30px; text-align: center; }
197
.uploadFile .uploadlogo { width: 98%; padding: 16px 0px; border: 2px dashed rgb(214, 214, 214); border-radius: 6px; background: rgb(245, 250, 255); color: rgb(102, 102, 102); }
198
.uploadFile input.uploadInp[type="file"] { height: 96px; }
199
.uploadFile input.uploadFileHidden { height: 102px; position: absolute; width: 100%; top: 0px; cursor: pointer; opacity: 0; }
200
.uploadFile .uploadlogo .upBack { padding: 0px 10px; }
201
.uploadFile .uploadlogo .upBack a { color: rgb(40, 184, 250); }
202
.uploadFile .uploadlogo .upBack a:hover { color: rgb(29, 170, 235); }
203
ul.cmpAllUl.cmpBindul .frmtype { height: 40px; }
204
ul.cmpAllUl.cmpSettledul .frmtype { height: 40px; }
205
.covFrmblock .h1Font { margin-bottom: 30px; }
206
.rightRequ .requiredcon { top: 2px; right: -6px; left: auto; }
207
.contentCon { padding-top: 20px; }
208
.leftconBox { width: 820px; padding-bottom: 20px; margin-bottom: 20px; background: rgb(255, 255, 255); }
209
.conBlock .leftconBox { width: 820px; padding: 30px; position: relative; }
210
.conBlock .rightconBox { width: 260px; margin-left: 20px; }
211
.conBlock .rightconBox .conItem { padding: 15px; background: rgb(255, 255, 255); margin-bottom: 20px; }
212
.conBlock .rightconBox .conItem:first-child { padding: 30px 10px; border-top: 4px solid rgb(40, 184, 250); }
213
ul.artAbout > li { clear: both; }
214
ul.artAbout > li::before, ul.artAbout > li::after { display: table; content: " "; }
215
ul.artAbout > li::after { clear: both; }
216
ul.artAbout .uploadFile { line-height: 28px; text-align: center; font-size: 16px; color: rgb(102, 102, 102); }
217
ul.artAbout .uploadFile .uploadblock { position: relative; width: 100%; height: 190px; padding: 30px; border: 1px solid rgb(229, 229, 229); border-radius: 0px; background-position: center center; background-size: cover; background-repeat: no-repeat; }
218
ul.artAbout .uploadFile .upFront { position: relative; }
219
ul.artAbout .uploadFile .uploadtip { color: rgb(153, 153, 153); }
220
ul.artAbout .uploadFile input.upInp[type="file"] { position: absolute; height: 46px; width: 60%; bottom: 30px; left: 50%; margin-left: -30%; outline: none; opacity: 0; cursor: pointer; z-index: 20; }
221
ul.artAbout .uploadFile .upbtn { display: inline-block; padding: 7px 23px; background: rgb(229, 229, 229); color: rgb(51, 51, 51); margin-top: 30px; }
222
ul.artAbout .uploadFile .uploadblock .upBackbtn { position: absolute; bottom: 30px; left: 50%; margin-left: -55px; background: rgba(0, 0, 0, 0.5); color: rgb(255, 255, 255); z-index: 10; display: none; }
223
.conBlock .aboutTit { font-size: 16px; line-height: 40px; color: rgb(102, 102, 102); margin-top: 18px; }
224
ul.artAbout #filePicker { position: absolute; left: 50%; bottom: 22px; margin-left: -52px; opacity: 0; z-index: 88; }
225
ul.artAbout .frmadd { width: auto; position: absolute; right: 0px; top: 0px; background: rgb(40, 184, 250); color: rgb(255, 255, 255); border: none; padding: 6px 25px; z-index: 4; }
226
.conItem ul.operateBlock { overflow: hidden; margin-top: -20px; }
227
.conItem ul.operateBlock > li { font-size: 15px; color: rgb(102, 102, 102); float: left; width: 33.333%; margin-top: 20px; text-align: center; cursor: pointer; }
228
.conItem ul.operateBlock > li p { margin-top: 6px; }
229
.operateicon { display: inline-block; width: 18px; height: 18px; background-position: center center; background-repeat: no-repeat; background-size: cover; }
230
.operateicon.icon-issue { background-image: url("/images/g_article_icon_fabu_lan_hig.png"); }
231
.operateicon.icon-preview { background-image: url("/images/g_article_icon_yulan_nor.png"); }
232
.operateicon.icon-draft { background-image: url("/images/g_article_icon_caogao_nor.png"); }
233
.operateicon.icon-delete { background-image: url("/images/g_article_icon_shanchu_nor.png"); }
234
.conItem ul.operateBlock > li:hover { color: rgb(40, 184, 250); }
235
.conItem ul.operateBlock > li.goFabu { color: rgb(40, 184, 250); opacity: 0.8; }
236
.conItem ul.operateBlock > li.goFabu:hover { opacity: 1; }
237
.conItem ul.operateBlock > li:hover .operateicon.icon-timeissue { background-image: url("../images/g_article_icon_dingshi_lan_hig.png"); }
238
.conItem ul.operateBlock > li:hover .operateicon.icon-preview { background-image: url("../images/g_article_icon_yulan_lan_hig.png"); }
239
.conItem ul.operateBlock > li:hover .operateicon.icon-draft { background-image: url("../images/g_article_icon_caogao_lan_hig.png"); }
240
.conItem ul.operateBlock > li:hover .operateicon.icon-delete { background-image: url("../images/g_article_icon_shanchu_lan_hig.png"); }
241
.conItem ul.operateBlock > li.disableLi { opacity: 0.5; cursor: auto; }
242
.conItem ul.operateBlock > li.disableLi:hover { color: rgb(102, 102, 102); }
243
.conItem ul.operateBlock > li.disableLi:hover .operateicon.icon-delete { background-image: url("../../images/g_article_icon_shanchu_nor.png"); }
244
.conItem .aboutTit { margin-top: -10px; }
245
.conItem .otherBlock { padding-bottom: 30px; border-bottom: 1px dashed rgb(229, 229, 229); margin-bottom: 30px; }
246
.conItem .otherBlock:last-child { padding: 0px; margin: 0px; border: 0px; }
247
.form-item { }
248
.form-drop { position: relative; top: -1px; border-right: 1px solid rgb(229, 229, 229); border-bottom: 1px solid rgb(229, 229, 229); border-left: 1px solid rgb(229, 229, 229); border-image: initial; border-top: none; width: 100%; z-index: 0; }
249
.form-item input.frmcontype { position: relative; z-index: 2; }
250
.form-item .frmadd { z-index: 6; }
251
.form-item .madiaHead { position: absolute; width: 50px; height: 50px; top: 50%; margin-top: -25px; background-position: center center; background-size: cover; }
252
.form-item .madiaHead.useHead { background-image: url("../../images/default-photo.jpg"); border-radius: 50%; }
253
.form-item .madiaHead.resouseHead { background-image: url("../../images/default-resource.jpg"); border-radius: 0px; }
254
.form-item .madiaHead.artHead { background-image: url("../../images/default-artical.jpg"); border-radius: 0px; }
255
.form-item .madiaInfo { width: 100%; padding-left: 62px; margin: 2px 0px; }
256
.form-item ul .h1Font { font-size: 16px; color: rgb(51, 51, 51); line-height: 24px; }
257
.form-item ul .h2Font { font-size: 14px; color: rgb(102, 102, 102); line-height: 24px; }
258
.form-drop > ul > li { position: relative; min-height: 76px; padding: 12px; cursor: pointer; background: rgb(255, 255, 255); }
259
.form-drop > ul > li:hover { background: rgb(238, 238, 238); }
260
.form-drop > ul > li:active { background: rgb(40, 184, 250); color: rgb(255, 255, 255); }
261
.form-drop > ul > li:active .h1Font, .form-drop > ul > li:active .h2Font { color: rgb(255, 255, 255); }
262
.form-result { margin: 18px -15px 0px; }
263
.form-result > ul > li { position: relative; padding: 12px 15px; min-height: 76px; cursor: pointer; }
264
.form-result > ul > li .deleteThis { display: none; position: absolute; top: 50%; margin-top: -16px; right: 14px; width: 32px; height: 32px; background: url("../../images/g_article_button_shanchu_hig.png") 0% 0% / cover; cursor: pointer; }
265
.form-result > ul > li:hover { background: rgb(238, 238, 238); }
266
.form-result > ul > li:hover .deleteThis { display: block; }
267
.form-drop.keydrop > ul > li { min-height: auto; padding: 8px 12px; }
268
.form-result.keyResult { margin: 18px -20px 0px 0px; }
269
.keyResult > ul { margin-bottom: -10px; }
270
.keyResult > ul > li { float: left; margin-right: 20px; margin-bottom: 10px; padding: 2px 12px; color: rgb(153, 153, 153); border: 1px solid rgb(229, 229, 229); border-radius: 20px; min-height: auto; }
271
.keyResult > ul > li .closeThis { display: none; position: absolute; top: -8px; right: -12px; width: 28px; height: 28px; background: url("/images/g_article_button_guanbi_lan_hig.png") 0% 0% / cover; cursor: pointer; }
272
.keyResult > ul > li:hover { background: rgb(229, 229, 229); }
273
.keyResult > ul > li:hover .closeThis { display: block; }
274
.showDetail .h1Font { font-size: 20px; line-height: 32px; color: rgb(0, 0, 0); }
275
.showDetail .h2Font { font-size: 14px; color: rgb(153, 153, 153); }
276
ul.tagList > li .h2Font { color: rgb(102, 102, 102); }
277
.otherShow .aboutTit { font-size: 18px; color: rgb(102, 102, 102); }
278
.otherShow .form-result { margin: 0px -30px; }
279
.form-item.otherShow .madiaHead { width: 80px; height: 80px; }
280
.form-item.otherShow .madiaInfo { padding-left: 92px; margin: 4px 0px; }
281
.otherShow .form-result > ul > li { min-height: 104px; }
282
.form-item.otherShow .aboutRes .madiaHead { width: 118px; height: 80px; }
283
.form-item.otherShow .aboutRes .madiaInfo { padding-left: 130px; margin: 4px 0px; }
284
.rightconBox .conItem.conItemG .madiaHead { width: 100px; height: 100px; border: 1px solid rgb(229, 229, 229); margin: 0px auto 10px; background-position: center center; background-size: cover; }
285
.rightconBox .conItem.conItemG .madiaHead.useHead { background-image: url("../../images/default-photo.jpg"); border-radius: 50%; }
286
.rightconBox .conItem.conItemG .madiaHead.cmpHead { background-image: url("../../images/default-icon.jpg"); }
287
.rightconBox .conItem.conItemG .h1Font { font-size: 16px; }
288
.rightconBox .conItem.conItemG .h2Font { font-size: 14px; color: rgb(102, 102, 102); line-height: 26px; }
289
.rightconBox .conItem.conItemG .h3Font > a { color: rgb(51, 51, 51); }
290
.itemListBolck .searchAbout .frmcontype { height: 36px; font-size: 14px; line-height: 22px; }
291
.itemListBolck .frmcontype { width: 100%; border-radius: 20px; padding-left: 20px; background: rgb(245, 246, 248); }
292
.itemListBolck .itemListCon .form-result > ul > li { padding: 20px; cursor: pointer; }
293
.itemListBolck .itemListCon .form-result > ul > li::after { content: ""; position: absolute; left: 0px; right: 0px; bottom: 0px; height: 2px; background: rgb(244, 246, 248); }
294
.itemListBolck .itemListCon .form-result > ul > li:hover { background: rgb(238, 238, 238); }
295
.itemListBolck .itemListCon .form-result { position: relative; margin: 20px 0px 30px; border-top: 1px solid rgb(229, 229, 229); }
296
.itemListBolck .itemListCon .madiaHead { width: 120px; height: 80px; margin-top: -40px; }
297
.itemListBolck .itemListCon .madiaInfo > ul > li { float: left; margin-left: 20px; }
298
.itemListBolck .itemListCon .madiaInfo > ul > li:first-child { margin-left: 0px; }
299
.itemListBolck .itemListCon .madiaInfo .column { color: rgb(102, 102, 102); }
300
.itemListBolck .itemListCon .madiaInfo > ul > li > .column { border: 1px solid rgb(40, 184, 250); padding: 0px 4px; font-size: 12px; line-height: normal; color: rgb(40, 184, 250); border-radius: 4px; }
301
.itemListBolck .itemListCon .madiaInfo { padding-left: 140px; min-height: 80px; padding-top: 15px; }
302
.itemListCon.form-item ul .h1Font { font-size: 18px; margin-bottom: 6px; line-height: 24px; }
303
.itemListCon .form-result > ul > li .madiaEdit > li { float: left; margin-right: 28px; }
304
.itemListCon .form-result > ul > li .madiaEdit .editThis { display: inline-block; width: 60px; height: 32px; background: url("../images/g_article_button_xiugai_lan_hig.png") 0% 0% / cover; cursor: pointer; }
305
.itemListCon .form-result > ul > li .madiaEdit .deteleThis2 { display: inline-block; width: 32px; height: 32px; background: url("../../images/g_article_button_shanchu_hig.png") 0% 0% / cover; cursor: pointer; }
306
.itemListCon .form-result > ul > li .madiaEdit { display: none; overflow: hidden; position: absolute; top: 50%; margin-top: -16px; right: 0px; }
307
.itemListCon .form-result > ul > li:hover .madiaEdit { display: block; }
308
.itemListCon .form-result > ul > li .madiaEdit span { display: inline-block; width: 60px; height: 32px; font-size: 15px; letter-spacing: 0.1em; background: rgb(40, 184, 250); color: rgb(255, 255, 255); line-height: 32px; text-align: center; border-radius: 4px; }
309
.itemListCon li.draftList .madiaInfo { padding-top: 4px; }
310
.itemListBolck .itemListCon .form-need .madiaInfo { padding-left: 0px; }
311
.artAbout > li > dl { margin-top: -10px; margin-right: -15px; height: 200px; overflow: hidden; padding-top: 10px; }
312
.artAbout > li > dl > dd { position: relative; float: left; width: 31.2%; border: 1px solid rgb(229, 229, 229); height: 190px; margin-right: 15px; }
313
.artAbout > li > dl > dd:nth-child(2), .artAbout > li > dl > dd:nth-child(3) { background: url("/images/g_resource_bg_tianjia_nor.png") center center no-repeat; }
314
.artAbout > li > dl > dd.uploadD { background: none; }
315
.artAbout > li > dl > dd .imgItem { background: rgb(255, 255, 255); display: table-cell; text-align: center; vertical-align: middle; width: 240px; height: 188px; }
316
.artAbout > li > dl > dd .imgItem img { vertical-align: middle; max-width: 240px; max-height: 188px; }
317
.artAbout > li > dl > dd .uploadFile .uploadblock { border: none; }
318
.artAbout > li > dl > dd .file-panel { position: absolute; top: -10px; right: -10px; text-align: center; overflow: hidden; }
319
.artAbout > li > dl > dd .file-panel .cancel { display: inline-block; width: 20px; height: 20px; cursor: pointer; background: url("/images/g_resource_button_guanbi_nor.png") 0% 0% / cover; }
320
.form-item .addexpertRe { margin: 0px -15px; }
321
.form-item .addexpertRe ul.addexpert > li .madiaInfo { padding-right: 42px; }
322
.form-item .addexpertRe ul.addexpert > li .selectNull { position: absolute; right: 20px; top: 50%; margin-top: -11px; width: 22px; height: 22px; background-image: url("/images/c-sign-on_button_xuanze_nor.png"); background-size: cover; }
323
.form-item .addexpertRe ul.addexpert > li .selectAdd { background-image: url("/images/c-sign-on_button_xuanze_hig.png"); }
324
.form-item .addexpertRe ul.link-man-list { max-height: 350px; overflow-y: auto; }
325
.conBlock .leftconBox2 { background: none; padding: 0px; }
326
.conBlock .leftconBox2 .reInfoBlock { width: 320px; margin-left: 24px; position: relative; height: 270px; }
327
.conBlock .leftconBox2 .reInfoBlock .h2Font { font-size: 16px; color: rgb(102, 102, 102); line-height: 26px; margin-top: 12px; }
328
.conBlock .leftconBox2 .showReBasic { background: rgb(255, 255, 255); padding: 30px; margin-bottom: 20px; }
329
.conBlock .leftconBox2 .showReOther { background: rgb(255, 255, 255); padding: 30px; }
330
.conBlock .leftconBox2 .resShareUl { position: absolute; bottom: 0px; }
331
.conBlock .leftconBox2 .resShareUl > ul > li { float: left; margin-right: 30px; font-size: 14px; color: rgb(153, 153, 153); }
332
.conBlock .leftconBox2 .resShareUl > ul > li .operateicon { margin-left: 10px; cursor: pointer; }
333
.conBlock .leftconBox2 .resShareUl > ul > li > span { position: relative; top: -3px; }
334
.keydrop > ul > li.orgList { overflow: hidden; }
335
.keydrop > ul > li.orgList img { width: 50px; height: 50px; margin-right: 10px; }
336
.keydrop > ul > li.orgList p { line-height: 50px; font-size: 14px; }
337
.itemListBolck .itemListCon ul.importUl .madiaHead { top: 50%; margin-top: -40px; }
338
.itemListBolck .itemListCon ul.importUl .madiaInfo { min-height: auto; padding-right: 140px; padding-top: 0px; margin: 0px; }
339
.conBlock .workconG .worksamlltit.worksamlltitnow { color: rgb(40, 184, 250); border-bottom: 2px solid rgb(40, 184, 250); }
340
.footer_tools { position: fixed; z-index: 1070; left: 50%; margin-left: 562px; bottom: 20px; }
341
#scrollUp { display: none; width: 52px; height: 52px; background-image: url("/images/bottom_button_dingbu_hig.png"); background-position: center center; background-size: cover; opacity: 0.8; }
342
#scrollUp:hover { opacity: 1; }
343
.login-block .frmtype { display: block; text-align: center; line-height: 40px; padding: 0px; background: none; color: rgb(40, 184, 250); border-color: rgb(40, 184, 250); }
344
.upAttech.webuploader-container { height: 160px; background: none; bottom: 0px; }
345
.upAttech .webuploader-pick { background: none; color: rgb(40, 184, 250); width: 100%; margin: 0px; line-height: 160px; }
346
.upAttech .webuploader-element-invisible { height: 160px; }
347
.upAtteched.webuploader-container { height: 0px; text-align: right; right: 0px; top: -36px; }
348
.upAtteched .webuploader-pick { width: 80px; line-height: 30px; padding: 0px; }
349
.upAtteched .webuploader-element-invisible { height: 30px; }
350
.edui-default .edui-box { border: none; padding: 0px; margin: 0px; overflow: hidden; }
351
.edui-default a.edui-box { display: block; text-decoration: none; color: black; }
352
.edui-default a.edui-box:hover { text-decoration: none; }
353
.edui-default a.edui-box:active { text-decoration: none; }
354
.edui-default table.edui-box { border-collapse: collapse; }
355
.edui-default ul.edui-box { list-style-type: none; }
356
div.edui-box { position: relative; vertical-align: top; display: inline-block !important; }
357
.edui-default .edui-clearfix { zoom: 1; }
358
.edui-default .edui-clearfix::after { content: " "; display: block; clear: both; }
359
* html div.edui-box { display: inline !important; }
360
:first-child + html div.edui-box { display: inline !important; }
361
.edui-default .edui-button-body, .edui-splitbutton-body, .edui-menubutton-body, .edui-combox-body { position: relative; }
362
.edui-default .edui-popup { position: absolute; user-select: none; }
363
.edui-default .edui-popup .edui-shadow { position: absolute; z-index: -1; }
364
.edui-default .edui-popup .edui-bordereraser { position: absolute; overflow: hidden; }
365
.edui-default .edui-tablepicker .edui-canvas { position: relative; }
366
.edui-default .edui-tablepicker .edui-canvas .edui-overlay { position: absolute; }
367
.edui-default .edui-dialog-modalmask, .edui-dialog-dragmask { position: absolute; left: 0px; top: 0px; width: 100%; height: 100%; }
368
.edui-default .edui-toolbar { position: relative; }
369
.edui-default .edui-label { cursor: default; }
370
.edui-default span.edui-clickable { color: blue; cursor: pointer; text-decoration: underline; }
371
.edui-default span.edui-unclickable { color: gray; cursor: default; }
372
.edui-default .edui-toolbar { cursor: default; user-select: none; padding: 1px; overflow: hidden; zoom: 1; width: auto; height: auto; }
373
.edui-default .edui-toolbar .edui-button, .edui-default .edui-toolbar .edui-splitbutton, .edui-default .edui-toolbar .edui-menubutton, .edui-default .edui-toolbar .edui-combox { margin: 1px; }
374
.edui-default .edui-editor { border: 1px solid rgb(229, 229, 229); background-color: white; position: relative; overflow: visible; }
375
.edui-editor div { width: auto; height: auto; }
376
.edui-default .edui-editor-toolbarbox { position: relative; zoom: 1; box-shadow: rgba(204, 204, 204, 0.6) 0px 1px 4px; border-top-left-radius: 2px; border-top-right-radius: 2px; }
377
.edui-default .edui-editor-toolbarboxouter { border-bottom: 1px solid rgb(212, 212, 212); background-color: rgb(250, 250, 250); background-image: linear-gradient(rgb(255, 255, 255), rgb(242, 242, 242)); background-repeat: repeat-x; border-radius: 4px 4px 0px 0px; box-shadow: rgba(0, 0, 0, 0.067) 0px 1px 4px; }
378
.edui-default .edui-editor-toolbarboxinner { padding: 2px; }
379
.edui-default .edui-editor-iframeholder { position: relative; }
380
.edui-default .edui-editor-bottomContainer { overflow: hidden; }
381
.edui-default .edui-editor-bottomContainer table { width: 100%; height: 0px; overflow: hidden; border-spacing: 0px; }
382
.edui-default .edui-editor-bottomContainer td { white-space: nowrap; border-top: 1px solid rgb(204, 204, 204); line-height: 20px; font-size: 12px; font-family: Arial, Helvetica, Tahoma, Verdana, sans-serif; }
383
.edui-default .edui-editor-wordcount { text-align: right; margin-right: 5px; color: rgb(170, 170, 170); }
384
.edui-default .edui-editor-scale { width: 12px; }
385
.edui-default .edui-editor-scale .edui-editor-icon { float: right; width: 100%; height: 12px; margin-top: 10px; background: url("../images/scale.png") no-repeat; cursor: se-resize; }
386
.edui-default .edui-editor-breadcrumb { margin: 2px 0px 0px 3px; }
387
.edui-default .edui-editor-breadcrumb span { cursor: pointer; text-decoration: underline; color: blue; }
388
.edui-default .edui-toolbar .edui-for-fullscreen { float: right; }
389
.edui-default .edui-bubble .edui-popup-content { border: 1px solid rgb(220, 172, 108); background-color: rgb(255, 246, 217); padding: 5px; font-size: 10pt; font-family: 宋体; }
390
.edui-default .edui-bubble .edui-shadow { }
391
.edui-default .edui-editor-toolbarmsg { background-color: rgb(255, 246, 217); border-bottom: 1px solid rgb(204, 204, 204); position: absolute; bottom: -25px; left: 0px; z-index: 1009; width: 99.9%; }
392
.edui-default .edui-editor-toolbarmsg-upload { font-size: 14px; color: blue; width: 100px; height: 16px; line-height: 16px; cursor: pointer; position: absolute; top: 5px; left: 350px; }
393
.edui-default .edui-editor-toolbarmsg-label { font-size: 12px; line-height: 16px; padding: 4px; }
394
.edui-default .edui-editor-toolbarmsg-close { float: right; width: 20px; height: 16px; line-height: 16px; cursor: pointer; color: red; }
395
.edui-default .edui-list .edui-bordereraser { display: none; }
396
.edui-default .edui-listitem { padding: 1px; white-space: nowrap; }
397
.edui-default .edui-list .edui-state-hover { position: relative; background-color: rgb(255, 245, 212); border: 1px solid rgb(220, 172, 108); padding: 0px; }
398
.edui-default .edui-for-fontfamily .edui-listitem-label { min-width: 130px; font-size: 12px; height: 22px; line-height: 22px; padding-left: 5px; }
399
.edui-default .edui-for-insertcode .edui-listitem-label { min-width: 120px; font-size: 12px; height: 22px; line-height: 22px; padding-left: 5px; }
400
.edui-default .edui-for-underline .edui-listitem-label { min-width: 120px; padding: 3px 5px; font-size: 12px; }
401
.edui-default .edui-for-fontsize .edui-listitem-label { min-width: 120px; padding: 3px 5px; }
402
.edui-default .edui-for-paragraph .edui-listitem-label { min-width: 200px; padding: 2px 5px; }
403
.edui-default .edui-for-rowspacingtop .edui-listitem-label, .edui-default .edui-for-rowspacingbottom .edui-listitem-label { min-width: 53px; padding: 2px 5px; }
404
.edui-default .edui-for-lineheight .edui-listitem-label { min-width: 53px; padding: 2px 5px; }
405
.edui-default .edui-for-customstyle .edui-listitem-label { min-width: 200px; padding: 2px 5px; width: 200px !important; }
406
.edui-default .edui-menu { z-index: 3000; }
407
.edui-default .edui-menu .edui-popup-content { padding: 3px; }
408
.edui-default .edui-menu-body { min-width: 170px; background: url("../images/sparator_v.png") 25px center repeat-y; }
409
.edui-default .edui-menuitem-body { }
410
.edui-default .edui-menuitem { height: 20px; cursor: default; vertical-align: top; }
411
.edui-default .edui-menuitem .edui-icon { background: url("../images/icons.png") 0px -4000px; width: 20px !important; height: 20px !important; }
412
.edui-default .edui-menuitem .edui-label { font-size: 12px; line-height: 20px; height: 20px; padding-left: 10px; }
413
.edui-default .edui-state-checked .edui-menuitem-body { background: url("../images/icons-all.gif") 6px -205px no-repeat; }
414
.edui-default .edui-state-disabled .edui-menuitem-label { color: gray; }
415
.edui-default .edui-toolbar .edui-combox-body .edui-button-body { width: 60px; font-size: 12px; height: 20px; line-height: 20px; padding-left: 5px; white-space: nowrap; margin: 0px 3px 0px 0px; }
416
.edui-default .edui-toolbar .edui-combox-body .edui-arrow { background: url("../images/icons.png") -741px 0px; height: 20px; width: 9px; }
417
.edui-default .edui-toolbar .edui-combox .edui-combox-body { border: 1px solid rgb(204, 204, 204); background-color: white; border-radius: 2px; }
418
.edui-default .edui-toolbar .edui-combox-body .edui-splitborder { display: none; }
419
.edui-default .edui-toolbar .edui-combox-body .edui-arrow { border-left: 1px solid rgb(204, 204, 204); }
420
.edui-default .edui-toolbar .edui-state-hover .edui-combox-body { background-color: rgb(255, 245, 212); border: 1px solid rgb(220, 172, 108); }
421
.edui-default .edui-toolbar .edui-state-hover .edui-combox-body .edui-arrow { border-left: 1px solid rgb(220, 172, 108); }
422
.edui-default .edui-toolbar .edui-state-checked .edui-combox-body { background-color: rgb(255, 230, 159); border: 1px solid rgb(220, 172, 108); }
423
.edui-toolbar .edui-state-checked .edui-combox-body .edui-arrow { border-left: 1px solid rgb(220, 172, 108); }
424
.edui-toolbar .edui-state-disabled .edui-combox-body { background-color: rgb(240, 240, 238); opacity: 0.3; }
425
.edui-toolbar .edui-state-opened .edui-combox-body { background-color: white; border: 1px solid gray; }
426
.edui-default .edui-toolbar .edui-button .edui-icon, .edui-default .edui-toolbar .edui-menubutton .edui-icon, .edui-default .edui-toolbar .edui-splitbutton .edui-icon { background-image: url("../images/icons.png"); height: 20px !important; width: 20px !important; }
427
.edui-default .edui-toolbar .edui-button .edui-button-wrap { padding: 1px; position: relative; }
428
.edui-default .edui-toolbar .edui-button .edui-state-hover .edui-button-wrap { background-color: rgb(255, 245, 212); padding: 0px; border: 1px solid rgb(220, 172, 108); }
429
.edui-default .edui-toolbar .edui-button .edui-state-checked .edui-button-wrap { background-color: rgb(255, 230, 159); padding: 0px; border: 1px solid rgb(220, 172, 108); border-radius: 2px; }
430
.edui-default .edui-toolbar .edui-button .edui-state-active .edui-button-wrap { background-color: rgb(255, 255, 255); padding: 0px; border: 1px solid gray; }
431
.edui-default .edui-toolbar .edui-state-disabled .edui-label { color: rgb(204, 204, 204); }
432
.edui-default .edui-toolbar .edui-state-disabled .edui-icon { opacity: 0.3; }
433
.edui-default .edui-for-undo .edui-icon { background-position: -160px 0px; }
434
.edui-default .edui-for-redo .edui-icon { background-position: -100px 0px; }
435
.edui-default .edui-for-bold .edui-icon { background-position: 0px 0px; }
436
.edui-default .edui-for-italic .edui-icon { background-position: -60px 0px; }
437
.edui-default .edui-for-fontborder .edui-icon { background-position: -160px -40px; }
438
.edui-default .edui-for-underline .edui-icon { background-position: -140px 0px; }
439
.edui-default .edui-for-strikethrough .edui-icon { background-position: -120px 0px; }
440
.edui-default .edui-for-subscript .edui-icon { background-position: -600px 0px; }
441
.edui-default .edui-for-superscript .edui-icon { background-position: -620px 0px; }
442
.edui-default .edui-for-blockquote .edui-icon { background-position: -220px 0px; }
443
.edui-default .edui-for-forecolor .edui-icon { background-position: -720px 0px; }
444
.edui-default .edui-for-backcolor .edui-icon { background-position: -760px 0px; }
445
.edui-default .edui-for-inserttable .edui-icon { background-position: -580px -20px; }
446
.edui-default .edui-for-autotypeset .edui-icon { background-position: -640px -40px; }
447
.edui-default .edui-for-justifyleft .edui-icon { background-position: -460px 0px; }
448
.edui-default .edui-for-justifycenter .edui-icon { background-position: -420px 0px; }
449
.edui-default .edui-for-justifyright .edui-icon { background-position: -480px 0px; }
450
.edui-default .edui-for-justifyjustify .edui-icon { background-position: -440px 0px; }
451
.edui-default .edui-for-insertorderedlist .edui-icon { background-position: -80px 0px; }
452
.edui-default .edui-for-insertunorderedlist .edui-icon { background-position: -20px 0px; }
453
.edui-default .edui-for-lineheight .edui-icon { background-position: -725px -40px; }
454
.edui-default .edui-for-rowspacingbottom .edui-icon { background-position: -745px -40px; }
455
.edui-default .edui-for-rowspacingtop .edui-icon { background-position: -765px -40px; }
456
.edui-default .edui-for-horizontal .edui-icon { background-position: -360px 0px; }
457
.edui-default .edui-for-link .edui-icon { background-position: -500px 0px; }
458
.edui-default .edui-for-code .edui-icon { background-position: -440px -40px; }
459
.edui-default .edui-for-insertimage .edui-icon { background-position: -726px -77px; }
460
.edui-default .edui-for-insertframe .edui-icon { background-position: -240px -40px; }
461
.edui-default .edui-for-emoticon .edui-icon { background-position: -60px -20px; }
462
.edui-default .edui-for-spechars .edui-icon { background-position: -240px 0px; }
463
.edui-default .edui-for-help .edui-icon { background-position: -340px 0px; }
464
.edui-default .edui-for-print .edui-icon { background-position: -440px -20px; }
465
.edui-default .edui-for-preview .edui-icon { background-position: -420px -20px; }
466
.edui-default .edui-for-selectall .edui-icon { background-position: -400px -20px; }
467
.edui-default .edui-for-searchreplace .edui-icon { background-position: -520px -20px; }
468
.edui-default .edui-for-map .edui-icon { background-position: -40px -40px; }
469
.edui-default .edui-for-gmap .edui-icon { background-position: -260px -40px; }
470
.edui-default .edui-for-insertvideo .edui-icon { background-position: -320px -20px; }
471
.edui-default .edui-for-time .edui-icon { background-position: -160px -20px; }
472
.edui-default .edui-for-date .edui-icon { background-position: -140px -20px; }
473
.edui-default .edui-for-cut .edui-icon { background-position: -680px 0px; }
474
.edui-default .edui-for-copy .edui-icon { background-position: -700px 0px; }
475
.edui-default .edui-for-paste .edui-icon { background-position: -560px 0px; }
476
.edui-default .edui-for-formatmatch .edui-icon { background-position: -40px 0px; }
477
.edui-default .edui-for-pasteplain .edui-icon { background-position: -360px -20px; }
478
.edui-default .edui-for-directionalityltr .edui-icon { background-position: -20px -20px; }
479
.edui-default .edui-for-directionalityrtl .edui-icon { background-position: -40px -20px; }
480
.edui-default .edui-for-source .edui-icon { background-position: -261px 0px; }
481
.edui-default .edui-for-removeformat .edui-icon { background-position: -580px 0px; }
482
.edui-default .edui-for-unlink .edui-icon { background-position: -640px 0px; }
483
.edui-default .edui-for-touppercase .edui-icon { background-position: -786px 0px; }
484
.edui-default .edui-for-tolowercase .edui-icon { background-position: -806px 0px; }
485
.edui-default .edui-for-insertrow .edui-icon { background-position: -478px -76px; }
486
.edui-default .edui-for-insertrownext .edui-icon { background-position: -498px -76px; }
487
.edui-default .edui-for-insertcol .edui-icon { background-position: -455px -76px; }
488
.edui-default .edui-for-insertcolnext .edui-icon { background-position: -429px -76px; }
489
.edui-default .edui-for-mergeright .edui-icon { background-position: -60px -40px; }
490
.edui-default .edui-for-mergedown .edui-icon { background-position: -80px -40px; }
491
.edui-default .edui-for-splittorows .edui-icon { background-position: -100px -40px; }
492
.edui-default .edui-for-splittocols .edui-icon { background-position: -120px -40px; }
493
.edui-default .edui-for-insertparagraphbeforetable .edui-icon { background-position: -140px -40px; }
494
.edui-default .edui-for-deleterow .edui-icon { background-position: -660px -20px; }
495
.edui-default .edui-for-deletecol .edui-icon { background-position: -640px -20px; }
496
.edui-default .edui-for-splittocells .edui-icon { background-position: -800px -20px; }
497
.edui-default .edui-for-mergecells .edui-icon { background-position: -760px -20px; }
498
.edui-default .edui-for-deletetable .edui-icon { background-position: -620px -20px; }
499
.edui-default .edui-for-cleardoc .edui-icon { background-position: -520px 0px; }
500
.edui-default .edui-for-fullscreen .edui-icon { background-position: -100px -20px; }
501
.edui-default .edui-for-anchor .edui-icon { background-position: -200px 0px; }
502
.edui-default .edui-for-pagebreak .edui-icon { background-position: -460px -40px; }
503
.edui-default .edui-for-imagenone .edui-icon { background-position: -480px -40px; }
504
.edui-default .edui-for-imageleft .edui-icon { background-position: -500px -40px; }
505
.edui-default .edui-for-wordimage .edui-icon { background-position: -660px -40px; }
506
.edui-default .edui-for-imageright .edui-icon { background-position: -520px -40px; }
507
.edui-default .edui-for-imagecenter .edui-icon { background-position: -540px -40px; }
508
.edui-default .edui-for-indent .edui-icon { background-position: -400px 0px; }
509
.edui-default .edui-for-outdent .edui-icon { background-position: -540px 0px; }
510
.edui-default .edui-for-webapp .edui-icon { background-position: -601px -40px; }
511
.edui-default .edui-for-table .edui-icon { background-position: -580px -20px; }
512
.edui-default .edui-for-edittable .edui-icon { background-position: -420px -40px; }
513
.edui-default .edui-for-template .edui-icon { background-position: -339px -40px; }
514
.edui-default .edui-for-delete .edui-icon { background-position: -360px -40px; }
515
.edui-default .edui-for-attachment .edui-icon { background-position: -620px -40px; }
516
.edui-default .edui-for-edittd .edui-icon { background-position: -700px -40px; }
517
.edui-default .edui-for-snapscreen .edui-icon { background-position: -581px -40px; }
518
.edui-default .edui-for-scrawl .edui-icon { background-position: -801px -41px; }
519
.edui-default .edui-for-background .edui-icon { background-position: -680px -40px; }
520
.edui-default .edui-for-music .edui-icon { background-position: -18px -40px; }
521
.edui-default .edui-for-formula .edui-icon { background-position: -200px -40px; }
522
.edui-default .edui-for-aligntd .edui-icon { background-position: -236px -76px; }
523
.edui-default .edui-for-insertparagraphtrue .edui-icon { background-position: -625px -76px; }
524
.edui-default .edui-for-insertparagraph .edui-icon { background-position: -602px -76px; }
525
.edui-default .edui-for-insertcaption .edui-icon { background-position: -336px -76px; }
526
.edui-default .edui-for-deletecaption .edui-icon { background-position: -362px -76px; }
527
.edui-default .edui-for-inserttitle .edui-icon { background-position: -286px -76px; }
528
.edui-default .edui-for-deletetitle .edui-icon { background-position: -311px -76px; }
529
.edui-default .edui-for-aligntable .edui-icon { background-position: -440px 0px; }
530
.edui-default .edui-for-tablealignment-left .edui-icon { background-position: -460px 0px; }
531
.edui-default .edui-for-tablealignment-center .edui-icon { background-position: -420px 0px; }
532
.edui-default .edui-for-tablealignment-right .edui-icon { background-position: -480px 0px; }
533
.edui-default .edui-for-drafts .edui-icon { background-position: -560px 0px; }
534
.edui-default .edui-for-charts .edui-icon { background: url("../images/charts.png") 2px 3px no-repeat !important; }
535
.edui-default .edui-for-inserttitlecol .edui-icon { background-position: -673px -76px; }
536
.edui-default .edui-for-deletetitlecol .edui-icon { background-position: -698px -76px; }
537
.edui-default .edui-for-simpleupload .edui-icon { background-position: -380px 0px; }
538
.edui-default .edui-toolbar .edui-splitbutton-body .edui-arrow, .edui-default .edui-toolbar .edui-menubutton-body .edui-arrow { background: url("../images/icons.png") -741px 0px; height: 20px; width: 9px; }
539
.edui-default .edui-toolbar .edui-splitbutton .edui-splitbutton-body, .edui-default .edui-toolbar .edui-menubutton .edui-menubutton-body { padding: 1px; }
540
.edui-default .edui-toolbar .edui-splitborder { width: 1px; height: 20px; }
541
.edui-default .edui-toolbar .edui-state-hover .edui-splitborder { width: 1px; border-left: 0px solid rgb(220, 172, 108); }
542
.edui-default .edui-toolbar .edui-state-active .edui-splitborder { width: 0px; border-left: 1px solid gray; }
543
.edui-default .edui-toolbar .edui-state-opened .edui-splitborder { width: 1px; border: 0px; }
544
.edui-default .edui-toolbar .edui-splitbutton .edui-state-hover .edui-splitbutton-body, .edui-default .edui-toolbar .edui-menubutton .edui-state-hover .edui-menubutton-body { background-color: rgb(255, 245, 212); border: 1px solid rgb(220, 172, 108); padding: 0px; }
545
.edui-default .edui-toolbar .edui-splitbutton .edui-state-checked .edui-splitbutton-body, .edui-default .edui-toolbar .edui-menubutton .edui-state-checked .edui-menubutton-body { background-color: rgb(255, 230, 159); border: 1px solid rgb(220, 172, 108); padding: 0px; }
546
.edui-default .edui-toolbar .edui-splitbutton .edui-state-active .edui-splitbutton-body, .edui-default .edui-toolbar .edui-menubutton .edui-state-active .edui-menubutton-body { background-color: rgb(255, 255, 255); border: 1px solid gray; padding: 0px; }
547
.edui-default .edui-state-disabled .edui-arrow { opacity: 0.3; }
548
.edui-default .edui-toolbar .edui-splitbutton .edui-state-opened .edui-splitbutton-body, .edui-default .edui-toolbar .edui-menubutton .edui-state-opened .edui-menubutton-body { background-color: white; border: 1px solid gray; padding: 0px; }
549
.edui-default .edui-for-insertorderedlist .edui-bordereraser, .edui-default .edui-for-lineheight .edui-bordereraser, .edui-default .edui-for-rowspacingtop .edui-bordereraser, .edui-default .edui-for-rowspacingbottom .edui-bordereraser, .edui-default .edui-for-insertunorderedlist .edui-bordereraser { background-color: white; }
550
.edui-default .edui-for-insertorderedlist .edui-popup-body .edui-icon, .edui-default .edui-for-lineheight .edui-popup-body .edui-icon, .edui-default .edui-for-rowspacingtop .edui-popup-body .edui-icon, .edui-default .edui-for-rowspacingbottom .edui-popup-body .edui-icon, .edui-default .edui-for-insertunorderedlist .edui-popup-body .edui-icon { background-image: none; }
551
.edui-default .edui-popup { z-index: 3000; background-color: rgb(255, 255, 255); width: auto; height: auto; }
552
.edui-default .edui-popup .edui-shadow { left: 0px; top: 0px; width: 100%; height: 100%; }
553
.edui-default .edui-popup-content { border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 6px; box-shadow: rgba(0, 0, 0, 0.2) 0px 3px 4px; padding: 5px; background: rgb(255, 255, 255); }
554
.edui-default .edui-popup .edui-bordereraser { background-color: white; height: 3px; }
555
.edui-default .edui-menu .edui-bordereraser { height: 3px; }
556
.edui-default .edui-anchor-topleft .edui-bordereraser { left: 1px; top: -2px; }
557
.edui-default .edui-anchor-topright .edui-bordereraser { right: 1px; top: -2px; }
558
.edui-default .edui-anchor-bottomleft .edui-bordereraser { left: 0px; bottom: -6px; height: 7px; border-left: 1px solid gray; border-right: 1px solid gray; }
559
.edui-default .edui-anchor-bottomright .edui-bordereraser { right: 0px; bottom: -6px; height: 7px; border-left: 1px solid gray; border-right: 1px solid gray; }
560
.edui-popup div { width: auto; height: auto; }
561
.edui-default .edui-editor-messageholder { display: block; width: 150px; height: auto; border: 0px; margin: 0px; padding: 0px; position: absolute; top: 28px; right: 3px; }
562
.edui-default .edui-message { min-height: 10px; text-shadow: rgba(255, 255, 255, 0.5) 0px 1px 0px; padding: 0px; margin-bottom: 3px; position: relative; }
563
.edui-default .edui-message-body { border-radius: 3px; padding: 8px 15px 8px 8px; color: rgb(192, 152, 83); background-color: rgb(252, 248, 227); border: 1px solid rgb(251, 238, 213); }
564
.edui-default .edui-message-type-info { color: rgb(58, 135, 173); background-color: rgb(217, 237, 247); border-color: rgb(188, 232, 241); }
565
.edui-default .edui-message-type-success { color: rgb(70, 136, 71); background-color: rgb(223, 240, 216); border-color: rgb(214, 233, 198); }
566
.edui-default .edui-message-type-danger, .edui-default .edui-message-type-error { color: rgb(185, 74, 72); background-color: rgb(242, 222, 222); border-color: rgb(238, 211, 215); }
567
.edui-default .edui-message .edui-message-closer { display: block; width: 16px; height: 16px; line-height: 16px; position: absolute; top: 0px; right: 0px; padding: 0px; cursor: pointer; background: transparent; border: 0px; float: right; font-size: 20px; font-weight: bold; color: rgb(153, 153, 153); text-shadow: rgb(255, 255, 255) 0px 1px 0px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
568
.edui-default .edui-message .edui-message-content { font-size: 10pt; word-wrap: break-word; word-break: normal; }
569
.edui-default .edui-dialog { z-index: 2000; position: absolute; }
570
.edui-default .edui-dialog-wrap { margin-right: 6px; margin-bottom: 6px; }
571
.edui-default .edui-dialog-fullscreen-flag { margin-right: 0px; margin-bottom: 0px; }
572
.edui-default .edui-dialog-body { position: relative; padding: 2px 0px 0px 2px; }
573
.edui-default .edui-dialog-fullscreen-flag .edui-dialog-body { padding: 0px; }
574
.edui-default .edui-dialog-shadow { position: absolute; z-index: -1; left: 0px; top: 0px; width: 100%; height: 100%; background-color: rgb(255, 255, 255); border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 6px; box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 10px; background-clip: padding-box; }
575
.edui-default .edui-dialog-foot { background-color: white; }
576
.edui-default .edui-dialog-titlebar { height: 26px; border-bottom: 1px solid rgb(198, 198, 198); background: url("../images/dialog-title-bg.png") center bottom repeat-x; position: relative; cursor: move; }
577
.edui-default .edui-dialog-caption { font-weight: bold; font-size: 12px; line-height: 26px; padding-left: 5px; }
578
.edui-default .edui-dialog-draghandle { height: 26px; }
579
.edui-default .edui-dialog-closebutton { right: 5px; top: 3px; position: absolute !important; }
580
.edui-default .edui-dialog-closebutton .edui-button-body { height: 20px; width: 20px; cursor: pointer; background: url("../images/icons-all.gif") 0px -59px no-repeat; }
581
.edui-default .edui-dialog-closebutton .edui-state-hover .edui-button-body { background: url("../images/icons-all.gif") 0px -89px no-repeat; }
582
.edui-default .edui-dialog-foot { height: 40px; }
583
.edui-default .edui-dialog-buttons { position: absolute; right: 0px; }
584
.edui-default .edui-dialog-buttons .edui-button { margin-right: 10px; }
585
.edui-default .edui-dialog-buttons .edui-button .edui-button-body { background: url("../images/icons-all.gif") no-repeat; height: 24px; width: 96px; font-size: 12px; line-height: 24px; text-align: center; cursor: default; }
586
.edui-default .edui-dialog-buttons .edui-button .edui-state-hover .edui-button-body { background: url("../images/icons-all.gif") 0px -30px no-repeat; }
587
.edui-default .edui-dialog iframe { border: 0px; padding: 0px; margin: 0px; vertical-align: top; }
588
.edui-default .edui-dialog-modalmask { opacity: 0.3; background-color: rgb(204, 204, 204); position: absolute; }
589
.edui-default .edui-dialog-dragmask { position: absolute; background-color: transparent; cursor: move; }
590
.edui-default .edui-dialog-content { position: relative; }
591
.edui-default .dialogcontmask { cursor: move; visibility: hidden; display: block; position: absolute; width: 100%; height: 100%; opacity: 0; }
592
.edui-default .edui-for-link .edui-dialog-content { width: 420px; height: 200px; overflow: hidden; }
593
.edui-default .edui-for-background .edui-dialog-content { width: 440px; height: 280px; overflow: hidden; }
594
.edui-default .edui-for-template .edui-dialog-content { width: 630px; height: 390px; overflow: hidden; }
595
.edui-default .edui-for-scrawl .edui-dialog-content { width: 515px; height: 360px; }
596
.edui-default .edui-for-spechars .edui-dialog-content { width: 620px; height: 500px; }
597
.edui-default .edui-for-insertimage .edui-dialog-content { width: 650px; height: 400px; overflow: hidden; }
598
.edui-default .edui-for-webapp .edui-dialog-content { width: 560px; height: 450px; overflow: hidden; }
599
.edui-default .edui-for-insertframe .edui-dialog-content { width: 350px; height: 200px; overflow: hidden; }
600
.edui-default .edui-for-wordimage .edui-dialog-content { width: 620px; height: 380px; overflow: hidden; }
601
.edui-default .edui-for-attachment .edui-dialog-content { width: 650px; height: 400px; overflow: hidden; }
602
.edui-default .edui-for-map .edui-dialog-content { width: 550px; height: 400px; }
603
.edui-default .edui-for-gmap .edui-dialog-content { width: 550px; height: 400px; }
604
.edui-default .edui-for-insertvideo .edui-dialog-content { width: 590px; height: 390px; }
605
.edui-default .edui-for-anchor .edui-dialog-content { width: 320px; height: 60px; overflow: hidden; }
606
.edui-default .edui-for-searchreplace .edui-dialog-content { width: 400px; height: 220px; }
607
.edui-default .edui-for-help .edui-dialog-content { width: 400px; height: 420px; }
608
.edui-default .edui-for-edittable .edui-dialog-content { width: 540px; height: 335px; }
609
.edui-default .edui-for-edittip .edui-dialog-content { width: 225px; height: 60px; }
610
.edui-default .edui-for-edittd .edui-dialog-content { width: 240px; height: 50px; }
611
.edui-default .edui-for-snapscreen .edui-dialog-content { width: 400px; height: 220px; }
612
.edui-default .edui-for-music .edui-dialog-content { width: 515px; height: 360px; }
613
.edui-default .edui-for-paragraph .edui-listitem-label { font-family: Tahoma, Verdana, Arial, Helvetica; }
614
.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-p { font-size: 22px; line-height: 27px; }
615
.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h1 { font-weight: bolder; font-size: 32px; line-height: 36px; }
616
.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h2 { font-weight: bolder; font-size: 27px; line-height: 29px; }
617
.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h3 { font-weight: bolder; font-size: 19px; line-height: 23px; }
618
.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h4 { font-weight: bolder; font-size: 16px; line-height: 19px; }
619
.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h5 { font-weight: bolder; font-size: 13px; line-height: 16px; }
620
.edui-default .edui-for-paragraph .edui-listitem-label .edui-for-h6 { font-weight: bolder; font-size: 12px; line-height: 14px; }
621
.edui-default .edui-for-inserttable .edui-splitborder { display: none; }
622
.edui-default .edui-for-inserttable .edui-splitbutton-body .edui-arrow { width: 0px; }
623
.edui-default .edui-toolbar .edui-for-inserttable .edui-state-active .edui-splitborder { border-left: 1px solid transparent; }
624
.edui-default .edui-tablepicker .edui-infoarea { height: 14px; line-height: 14px; font-size: 12px; width: 220px; margin-bottom: 3px; clear: both; }
625
.edui-default .edui-tablepicker .edui-infoarea .edui-label { float: left; }
626
.edui-default .edui-dialog-buttons .edui-label { line-height: 24px; }
627
.edui-default .edui-tablepicker .edui-infoarea .edui-clickable { float: right; }
628
.edui-default .edui-tablepicker .edui-pickarea { background: url("../images/unhighlighted.gif") repeat; height: 220px; width: 220px; }
629
.edui-default .edui-tablepicker .edui-pickarea .edui-overlay { background: url("../images/highlighted.gif") repeat; }
630
.edui-default .edui-colorpicker-topbar { height: 27px; width: 200px; }
631
.edui-default .edui-colorpicker-preview { height: 20px; border: 1px inset black; margin-left: 1px; width: 128px; float: left; }
632
.edui-default .edui-colorpicker-nocolor { float: right; margin-right: 1px; font-size: 12px; line-height: 14px; height: 14px; border: 1px solid rgb(51, 51, 51); padding: 3px 5px; cursor: pointer; }
633
.edui-default .edui-colorpicker-tablefirstrow { height: 30px; }
634
.edui-default .edui-colorpicker-colorcell { width: 14px; height: 14px; display: block; margin: 0px; cursor: pointer; }
635
.edui-default .edui-colorpicker-colorcell:hover { width: 14px; height: 14px; margin: 0px; }
636
.edui-default .edui-colorpicker-advbtn { display: block; text-align: center; cursor: pointer; height: 20px; }
637
.edui-default .edui-autotypesetpicker .edui-autotypesetpicker-body { font-size: 12px; margin-bottom: 3px; clear: both; }
638
.edui-default .edui-autotypesetpicker-body table { border-collapse: separate; border-spacing: 2px; }
639
.edui-default .edui-autotypesetpicker-body td { font-size: 12px; word-wrap: break-word; }
640
.edui-default .edui-autotypesetpicker-body td input { margin: 3px 3px 3px 4px; }
641
.edui-default .edui-cellalignpicker .edui-cellalignpicker-body { width: 70px; font-size: 12px; cursor: default; }
642
.edui-default .edui-cellalignpicker-body table { border-collapse: separate; border-spacing: 0px; }
643
.edui-default .edui-cellalignpicker-body td { padding: 1px; }
644
.edui-default .edui-cellalignpicker-body .edui-icon { height: 20px; width: 20px; padding: 1px; background-image: url("../images/table-cell-align.png"); }
645
.edui-default .edui-cellalignpicker-body .edui-left { background-position: 0px 0px; }
646
.edui-default .edui-cellalignpicker-body .edui-center { background-position: -25px 0px; }
647
.edui-default .edui-cellalignpicker-body .edui-right { background-position: -51px 0px; }
648
.edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-left { background-position: -73px 0px; }
649
.edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-center { background-position: -98px 0px; }
650
.edui-default .edui-cellalignpicker-body td.edui-state-hover .edui-right { background-position: -124px 0px; }
651
.edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-left { background-position: -146px 0px; background-color: rgb(241, 244, 245); }
652
.edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-center { background-position: -245px 0px; }
653
.edui-default .edui-cellalignpicker-body td.edui-cellalign-selected .edui-right { background-position: -271px 0px; }
654
.edui-default .edui-toolbar .edui-separator { width: 2px; height: 20px; margin: 2px 4px 2px 3px; background: url("../images/icons.png") -181px 0px; }
655
.edui-default .edui-toolbar .edui-colorbutton .edui-colorlump { position: absolute; overflow: hidden; bottom: 1px; left: 1px; width: 18px; height: 4px; }
656
.edui-default .edui-for-emotion .edui-icon { background-position: -60px -20px; }
657
.edui-default .edui-for-emotion .edui-popup-content iframe { width: 514px; height: 380px; overflow: hidden; }
658
.edui-default .edui-for-emotion .edui-popup-content { position: relative; z-index: 555; }
659
.edui-default .edui-for-emotion .edui-splitborder { display: none; }
660
.edui-default .edui-for-emotion .edui-splitbutton-body .edui-arrow { width: 0px; }
661
.edui-default .edui-toolbar .edui-for-emotion .edui-state-active .edui-splitborder { border-left: 1px solid transparent; }
662
.edui-default .edui-hassubmenu .edui-arrow { height: 20px; width: 20px; float: right; background: url("../images/icons-all.gif") 10px -233px no-repeat; }
663
.edui-default .edui-menu-body .edui-menuitem { padding: 1px; }
664
.edui-default .edui-menuseparator { margin: 2px 0px; height: 1px; overflow: hidden; }
665
.edui-default .edui-menuseparator-inner { border-bottom: 1px solid rgb(226, 227, 227); margin-left: 29px; margin-right: 1px; }
666
.edui-default .edui-menu-body .edui-state-hover { background-color: rgb(255, 245, 212); border: 1px solid rgb(220, 172, 108); padding: 0px !important; }
667
.edui-default .edui-shortcutmenu { padding: 2px; width: 190px; height: 50px; background-color: rgb(255, 255, 255); border: 1px solid rgb(204, 204, 204); border-radius: 5px; }
668
.edui-default .edui-wordpastepop .edui-popup-content { border: none; padding: 0px; width: 54px; height: 21px; }
669
.edui-default .edui-pasteicon { width: 100%; height: 100%; background-image: url("../images/wordpaste.png"); background-position: 0px 0px; }
670
.edui-default .edui-pasteicon.edui-state-opened { background-position: 0px -34px; }
671
.edui-default .edui-pastecontainer { position: relative; visibility: hidden; width: 97px; background: rgb(255, 255, 255); border: 1px solid rgb(204, 204, 204); }
672
.edui-default .edui-pastecontainer .edui-title { font-weight: bold; background: rgb(248, 248, 255); height: 25px; line-height: 25px; font-size: 12px; padding-left: 5px; }
673
.edui-default .edui-pastecontainer .edui-button { overflow: hidden; margin: 3px 0px; }
674
.edui-default .edui-pastecontainer .edui-button .edui-richtxticon, .edui-default .edui-pastecontainer .edui-button .edui-tagicon, .edui-default .edui-pastecontainer .edui-button .edui-plaintxticon { float: left; cursor: pointer; width: 29px; height: 29px; margin-left: 5px; background-image: url("../images/wordpaste.png"); background-repeat: no-repeat; }
675
.edui-default .edui-pastecontainer .edui-button .edui-richtxticon { margin-left: 0px; background-position: -109px 0px; }
676
.edui-default .edui-pastecontainer .edui-button .edui-tagicon { background-position: -148px 1px; }
677
.edui-default .edui-pastecontainer .edui-button .edui-plaintxticon { background-position: -72px 0px; }
678
.edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-richtxticon { background-position: -109px -34px; }
679
.edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-tagicon { background-position: -148px -34px; }
680
.edui-default .edui-pastecontainer .edui-button .edui-state-hover .edui-plaintxticon { background-position: -72px -34px; }

+ 97 - 0
html/model/sys/product/index.html

@ -0,0 +1,97 @@
1
<div class="sys_product_index" loadUri="../ajax/product/pq" pageSize="20" pageNo="1" pageIndex="pi">
2
    <div class="modal-ctrl">
3
        <i class="icon icon-times"></i>
4
    </div>
5
    <div class="container dt-form">
6
        <div class="row">
7
            <div class="col-1"></div>
8
            <div class="col-1 item-caption ">名称</div>
9
            <div class="col-2">
10
                <div class="form-item text" defVal="" name="name"></div>
11
            </div>
12
            <div class="col-2 item-caption ">发布时间</div>
13
            <div class="col-2">
14
                <div class="form-item date" defVal="" name="bt"></div>
15
            </div>
16
            <div class="col-1 item-caption center">至</div>
17
            <div class="col-2">
18
                <div class="form-item date" defVal="" name="et"></div>
19
            </div>
20
        </div>
21
        <div class="row">
22
            <div class="col-1"></div>
23
            <div class="col-1 item-caption">发布者</div>
24
            <div class="col-2">
25
                <div class="form-item text" defVal="" name="ownerName"></div>
26
            </div>
27
            <div class="col-4"></div>
28
            <div class="col-2">
29
                <div class="btn opt-query pull-right">
30
                    <i class="icon-search"></i> 查询
31
                </div>
32
            </div>
33
        </div>
34
    </div>
35
36
    <div class="container page-split"></div>
37
    <div class="container tpl-btns">
38
        <div class="row">
39
            <div class="btn opt-view">
40
                查看
41
            </div>
42
            <div class="btn opt-sort-num">
43
                设置权重
44
            </div>
45
            <div class="btn opt-keywords">
46
                设置关键词
47
            </div>
48
            <!--<div class="btn opt-edit">-->
49
                <!--编辑资源-->
50
            <!--</div>-->
51
            <!--<div class="btn opt-contacts">-->
52
                <!--设置联系人-->
53
            <!--</div>-->
54
            <div class="btn opt-del">
55
                删除
56
            </div>
57
        </div>
58
    </div>
59
    <div class="container dt-tpl">
60
        <table class="table table-bordered">
61
            <thead>
62
            <tr>
63
                <th class="opt-check" ><i class="icon icon-st-check"></i> </th>
64
                <th class="number">序号</th>
65
                <th>产品名称</th>
66
                <th>发布者</th>
67
                <th>关键词</th>
68
                <th>联系人</th>
69
                <th>发布时间</th>
70
                <th class="number">权重</th>
71
                <th class="number">浏览量</th>
72
                <th class="number">收藏量</th>
73
            </tr>
74
            </thead>
75
            <tbody>
76
            <tr ch-dir="list">
77
                <td class="opt-check" ><i class="icon icon-st-check" productId="{{id}}" owner="{{ownerId}}" ></i></td>
78
                <td>{{pi}}</td>
79
                <td class="table-opt" productId="{{id}}"><a class="name">{{name}}</a></td>
80
                <td>{{professorName}}{{orgName}}</td>
81
                <td>{{keywords}}</td>
82
                <td class="hand-contacts" productId="{{id}}"></td>
83
                <td>{{modifyTime-showDay}}</td>
84
                <td>{{sortFirst}}</td>
85
                <td>{{pageViews}}</td>
86
                <td class="hand-collectionid" collectionid="{{id}}"></td>
87
            </tr>
88
            </tbody>
89
            <tbody ch-dir="array.empty">
90
            <tr>
91
                <td class="empty-desc" colspan="10">表格暂无数据</td>
92
            </tr>
93
            </tbody>
94
        </table>
95
    </div>
96
    <ul class="dt-pager"></ul>
97
</div>

+ 38 - 0
html/model/sys/product/keywords.html

@ -0,0 +1,38 @@
1
<div class="sys_product_keywords centerModal">
2
    <div class="modal-ctrl">
3
        <i class="icon icon-times"></i>
4
    </div>
5
    <div class="container newForm">
6
        <div class="row">
7
            <div class="col-2"></div>
8
            <div class="col-4 item-caption content ">设置关键词</div>
9
10
        </div>
11
        <div class="row">
12
            <div class="col-2 item-caption">关键词</div>
13
            <div class="col-4">
14
                <div class="form-item text trim" placeholder="添加内容不能超过15个字" name="newKeyword"></div>
15
            </div>
16
            <div class="col-2">
17
                <div class="btn pull-right opt-keyword">
18
                    <i class="icon-check"></i> 添加
19
                </div>
20
            </div>
21
        </div>
22
        <div class="row">
23
            <div class="col-2"></div>
24
            <div class="col-6">
25
                <div class="form-item dyn-mselect orgSize" name="keywordList"></div>
26
            </div>
27
        </div>
28
        <div class="row">
29
            <div class="col-10"></div>
30
            <div class="col-2">
31
                <div class="btn pull-right opt-save">
32
                    <i class="icon-check"></i> SAVE
33
                </div>
34
            </div>
35
        </div>
36
37
    </div>
38
</div>

+ 160 - 0
html/model/sys/product/productIssue.html

@ -0,0 +1,160 @@
1
<!DOCTYPE html>
2
<html>
3
<head>
4
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
7
    <title>产品编辑-科袖网</title>
8
    <link rel="shortcut icon" href="images/favicon.ico "/>
9
    <!--<link href="../css/bootstrap.min.css" rel="stylesheet">-->
10
    <!--<link type="text/css" href="../css/webuploader/webuploader.css" rel="stylesheet">-->
11
    <!--<link type="text/css" href="css/common.css" rel="stylesheet">-->
12
    <!--<link type="text/css" href="css/cmpindex.css" rel="stylesheet">-->
13
    <link rel="stylesheet" type="text/css" href="/css/model/sys/productIssue.css"/>
14
15
</head>
16
17
<body>
18
<header id="header">
19
    <!--<script src="js/public/cmpHeader.js"></script>-->
20
</header>
21
<div id="container">
22
    <div class="containerCon">
23
        <div class="contentCon clearfix conBlock" style="padding-top:20px">
24
            <div class="leftconBox floatL">
25
                <ul class="artAbout">
26
                    <li>
27
                        <dl class="clearfix" id="fileList">
28
                            <dd class="uploadD" id="uploadDd">
29
                                <div class="uploadFile">
30
                                    <div class="uploadblock">
31
                                        <span class="" id="filePicker">上传图片</span>
32
                                        <!--未上传图片时-->
33
                                        <div class="upFront" id="uploader">
34
                                            <p>产品图片<em class="requiredcon">*</em></p>
35
                                            <p class="uploadtip">JPG/JPEG/PNG格式,<br/>2M以内</p>
36
                                            <span class="upbtn" style="margin-top:8px">上传图片</span>
37
                                        </div>
38
                                    </div>
39
                                </div>
40
                            </dd>
41
                            <dd></dd>
42
                            <dd></dd>
43
                        </dl>
44
                    </li>
45
                    <li>
46
                        <div class="aboutTit">产品名称<em class="requiredcon">*</em><span class="frmconmsg" id="resourceNamePrompt" style="display:none;">30字以内</span></div>
47
                        <input type="text" class="frmtype frmcontype" id="resourceName" value="" placeholder="请填写产品名称" />
48
                    </li>
49
                    <li class="form-item">
50
                        <div class="aboutTit">关键词<span class="frmconmsg" id="keyPrompt"></span></div>
51
                        <div class="col-w-12" style="position: relative;">
52
                            <input type="text" class="frmcontype oinput" placeholder="请填写相关的关键词,如:腐蚀防护、石墨烯、纳米材料" data-pro="关键词不得超过15个字"  data-num="5" data-fontSizeN="15" id="KeyWord" />
53
                            <button type="button" class="frmcontype btnModel frmadd addButton">添加</button>
54
                            <div class="form-drop keydrop">
55
                                <ul>
56
57
                                </ul>
58
                            </div>
59
                        </div>
60
                        <div class="form-result keyResult" style="margin-top: -10px;">
61
                            <ul class="ulspace editUlist clearfix" id="keyWordlist">
62
                                <!--<li>dd<div class="closeThis"></div></li>-->
63
                            </ul>
64
                        </div>
65
                    </li>
66
                    <li>
67
                        <div class="aboutTit">产品简介<em class="requiredcon">*</em><span class="frmconmsg" id="applicationPrompt" style="display:none;">250字以内</span></div>
68
                        <div class="msgContbox">
69
                            <textarea class="msgCont" placeholder="请填写简介" id="application"></textarea>
70
                            <span class="msgconNum"><em>0</em>/250</span>
71
                        </div>
72
                    </li>
73
                    <li>
74
                        <div class="aboutTit">厂商型号<span class="frmconmsg" id="model" style="display:none;">50字以内</span></div>
75
                        <input type="text" class="frmtype frmcontype" id="modelNumber" value="" placeholder="请填写厂商型号" />
76
                    </li>
77
                    <li>
78
                        <div class="aboutTit">产地<span class="frmconmsg" id="productAddress" style="display:none;">50字以内</span></div>
79
                        <input type="text" class="frmtype frmcontype" id="productAddressInput" value="" placeholder="请填写产地" />
80
                    </li>
81
                    <li>
82
                        <div class="aboutTit">官方价格<span class="frmconmsg" id="price" style="display:none;">50字以内</span></div>
83
                        <input type="text" class="frmtype frmcontype" id="priceInput" value="" placeholder="请填写官方指导价格" />
84
                    </li>
85
                    <li>
86
                        <div class="aboutTit">性能参数<span class="frmconmsg" id="performance" style="display:none;">1000字以内</span></div>
87
                        <div class="msgContbox">
88
                            <textarea class="msgCont" placeholder="请输入性能参数" id="performancePa"></textarea>
89
                            <span class="msgconNum"><em>0</em>/1000</span>
90
                        </div>
91
                    </li>
92
                    <li>
93
                        <div class="aboutTit">详细介绍<span class="frmconmsg"></span></div>
94
                        <!--这块还是使用编辑框插件-->
95
                        <div class="editBlock">
96
                            <script id="editor" name="content" type="text/plain" style="height:500px;"></script>
97
                        </div>
98
                    </li>
99
                </ul>
100
            </div>
101
            <div class="rightconBox floatR">
102
                <div class="conItem">
103
                    <ul class="operateBlock" id="operateBlocko">
104
                        <li class="goFabu">
105
                            <em class="operateicon icon-issue"></em>
106
                            <p>发布</p>
107
                        </li>
108
                    </ul>
109
                </div>
110
                <!--<div class="conItem">-->
111
                    <!--<div class="form-item otherBlock">-->
112
                        <!--<div class="aboutTit">联系人<em class="requiredcon">*</em><span class="frmconmsg" id="linkman"></span></div>-->
113
                        <!--<div class="form-result addexpertRe">-->
114
                            <!--<ul class="addexpert" id="expertli" style="overflow-y:auto;max-height:380px;">-->
115
116
117
                            <!--</ul>-->
118
                        <!--</div>-->
119
                    <!--</div>-->
120
121
                <!--</div>-->
122
            </div>
123
        </div>
124
    </div>
125
</div>
126
<div class="footer_tools">
127
    <a id="scrollUp" href="javascript:;" title="返回顶部"></a>
128
</div>
129
<footer>
130
    <!--<script type="text/javascript" src="js/public/cmpFooter.js"></script>-->
131
</footer>
132
<script type="text/javascript" src="/js/jquery-1.12.4.js"></script>
133
<!--<script type="text/javascript"src="js/public/jquery.cookie.js"></script>-->
134
<script type="text/javascript" src="/js/jquery.similar.msgbox.js"></script>
135
<!--<script type="text/javascript" src="../js/public/baseUtil.js"></script>-->
136
<!--<script type="text/javascript" src="js/public/cmpCom.js"></script>-->
137
<!--<script type="text/javascript" src="../js/jquery.page.js"></script>-->
138
<script type="text/javascript" src="/js/ueditor/ueditor.config.js"></script>
139
<script type="text/javascript" src="/js/ueditor/ueditor.all.js"></script>
140
<script type="text/javascript" src="/js/webuploader.js"></script>
141
<script type="text/javascript" src="/js/model/sys/product/productIssue.js"></script>
142
<script type="text/javascript">
143
    //回到顶部
144
    var $body = $(document.body);
145
    var $bottomTools = $('.footer_tools');
146
    $(window).scroll(function () {
147
        var scrollHeight = $(document).height();
148
        var scrollTop = $(window).scrollTop();
149
        var $footerHeight = $('footer').outerHeight(true);
150
        var $windowHeight = $(window).innerHeight();
151
        scrollTop > 50 ? $("#scrollUp").fadeIn(200).css("display","block") : $("#scrollUp").fadeOut(200);
152
        $bottomTools.css("bottom", scrollHeight - scrollTop - $footerHeight > $windowHeight ? 20 : $windowHeight + scrollTop + $footerHeight + 20 - scrollHeight);
153
    });
154
    $('#scrollUp').click(function (e) {
155
        e.preventDefault();
156
        $('html,body').animate({ scrollTop:0});
157
    });
158
</script>
159
</body>
160
</html>

+ 28 - 0
html/model/sys/product/sort.html

@ -0,0 +1,28 @@
1
<div class="sys_product_sort centerModal">
2
    <div class="modal-ctrl">
3
        <i class="icon icon-times"></i>
4
    </div>
5
    <div class="container newForm">
6
        <div class="row">
7
            <div class="col-2"></div>
8
            <div class="col-4 item-caption content ">设置权重</div>
9
10
        </div>
11
        <div class="row">
12
            <div class="col-2 item-caption">权重值</div>
13
            <div class="col-6">
14
                <div class="form-item text" defVal="" name="sortFirst"></div>
15
            </div>
16
        </div>
17
18
        <div class="row">
19
            <div class="col-10"></div>
20
            <div class="col-2">
21
                <div class="btn pull-right opt-save">
22
                    <i class="icon-check"></i> SAVE
23
                </div>
24
            </div>
25
        </div>
26
27
    </div>
28
</div>

+ 1 - 1
html/model/sys/ware/serviceIssue.html

@ -4,7 +4,7 @@
4 4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 5
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
6 6
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7
<title>服务发布-科袖网</title>
7
<title>服务编辑-科袖网</title>
8 8
<link rel="shortcut icon" href="images/favicon.ico "/>
9 9
<!--<link href="../css/bootstrap.min.css" rel="stylesheet">-->
10 10
<!--<link type="text/css" href="../css/webuploader/webuploader.css" rel="stylesheet">-->

+ 207 - 0
js/model/sys/product/index.js

@ -0,0 +1,207 @@
1
/**
2
 * Created by TT on 2018/7/17.
3
 */
4
;
5
spa_define(function () {
6
    return $.use(["spa", "pagedatagrid", "util"], function (spa, pdgf, util) {
7
        return {
8
            main: function () {
9
                var root = spa.findInMain(".sys_product_index");
10
                var pdg = pdgf.build(root);
11
                pdg.code.shell("showDay", function (env) {
12
                    if (env.cd && env.cd[this.k]) {
13
                        var day = env.cd[this.k];
14
                        return day.substring(0, 4) + "年" + day.substring(4, 6) + "月" + day.substring(6, 8) + "日  " + day.substring(8, 10) + ":" + day.substring(10, 12);
15
                    }
16
                    return "";
17
                });
18
                pdg.code.listen($.dict.doTransfer);
19
                pdg.code.listen(function(){
20
21
                    root.find(".hand-contacts").each(function () {
22
                        var $e = $(this);
23
                        var productId = $e.attr("productId");
24
                        util.get("../ajax/product/linkman", {id: productId}, function (data) {
25
                            var proName = [];
26
                            data.forEach(function (item) {
27
                                util.get("../ajax/sys/professor/getName/" + item.professorId, null, function (data) {
28
                                    // proName = proName + data;
29
                                    proName.push(data);
30
                                    $e.text(proName);
31
                                })
32
                            });
33
                        });
34
                        $e.removeClass("hand-contacts");
35
                    });
36
37
                    root.find(".hand-collectionid").each(function() {
38
                        var $e = $(this);
39
                        var collectionid = $e.attr("collectionid");
40
                        util.get("/ajax/content/countProfessor",{id:collectionid,type:11},function(data){
41
                            $e.text(data);
42
                        },{});
43
                        $e.removeClass("hand-collectionid");
44
                    });
45
                    root.find(".table-opt a.name").on("click",function () {
46
                        var productId = $(this).parent().attr("productId");
47
                        window.open('http://www.ekexiu.com/productShow.html?productId=' + productId);
48
                    })
49
                });
50
51
                root.find(".opt-query").on("click", function () {
52
                    pdg.load();
53
                    console.log("sdf");
54
                });
55
                pdg.load();
56
                console.log(pdg);
57
                root.find(".dt-tpl").on("click", "th.opt-check>i.icon-st-check", function () {
58
                    var $this = $(this);
59
                    $this.toggleClass("checked");
60
                    if ($this.hasClass("checked")) {
61
                        root.find(".dt-tpl td.opt-check>i.icon-st-check").addClass("checked");
62
                    } else {
63
                        root.find(".dt-tpl td.opt-check>i.icon-st-check").removeClass("checked");
64
                    }
65
                });
66
                root.find(".dt-tpl").on("click", "td.opt-check>i.icon-st-check", function () {
67
                    var $this = $(this);
68
                    $this.toggleClass("checked");
69
                });
70
                root.find(".opt-del").on("click", function() {
71
                    var $product = root.find("td.opt-check>i.checked");
72
                    if ($product.length) {
73
                        if($product.length>1){
74
                            util.alert("只能选择一个产品");
75
                        }else {
76
                            util.boxMsg({
77
                                title: "确认删除",
78
                                content: "您是否要删除选中的产品?",
79
                                btns: [{
80
                                    caption: "删除",
81
                                    hand: function () {
82
                                        util.post("../ajax/product/delete", {id: $product.attr("productId")}, function () {
83
                                            pdg.reload()
84
                                        }, {});
85
                                    }
86
                                },
87
                                    {caption: "取消"}
88
                                ]
89
                            });
90
                        }
91
                    } else {
92
                        util.alert("请选择一个产品");
93
                    }
94
                });
95
96
                root.find(".opt-sort-num").on("click", function() {
97
                    var $product = root.find("td.opt-check>i.checked");
98
                    if($product.length) {
99
                        if($product.length > 1) {
100
                            util.alert("只能选择一个产品");
101
                        } else {
102
                            $.util.get("../ajax/product/id/"+$product.attr("productId"),null,function(rd){
103
                                if(rd){
104
                                    console.log(rd);
105
                                    spa.showModal("sys_product_sort", { data:rd, hand: function() { pdg.reload() } })
106
                                }else{
107
                                    util.alertMsg("产品不存在", function(){pdg.reload();});
108
                                }
109
                            },{});
110
                        }
111
                    } else {
112
                        util.alert("请选择一个产品");
113
                    }
114
                });
115
                root.find(".opt-keywords").on("click", function() {
116
                    var $product = root.find("td.opt-check>i.checked");
117
                    if($product.length) {
118
                        if($product.length > 1) {
119
                            util.alert("只能选择一个产品");
120
                        } else {
121
                            $.util.get("../ajax/product/id/"+$product.attr("productId"),null,function(rd){
122
                                if(rd){
123
                                    spa.showModal("sys_product_keywords", { data:rd, hand: function() { pdg.reload() } })
124
                                }else{
125
                                    util.alertMsg("产品不存在", function(){pdg.reload();});
126
                                }
127
                            },{});
128
                        }
129
                    } else {
130
                        util.alert("请选择一个产品");
131
                    }
132
                });
133
                root.find(".opt-view").on("click", function () {
134
                    var $product = root.find("td.opt-check>i.checked");
135
                    if ($product.length) {
136
                        if ($product.length > 1) {
137
                            util.alert("只能选择一个产品");
138
                        } else {
139
                            window.open('http://www.ekexiu.com/productShow.html?productId=' + $product.attr("productId"));
140
                        }
141
                    } else {
142
                        util.alert("请选择一个产品");
143
                    }
144
                });
145
                root.find(".opt-edit").on("click", function() {
146
                    var $product = root.find("td.opt-check>i.checked");
147
                    if($product.length) {
148
                        if($product.length > 1) {
149
                            util.alert("只能选择一个产品");
150
                        } else {
151
                            // $.util.get("../ajax/article/id/"+$product.attr("articleId"),null,function(rd){
152
                            //     if(rd){
153
                            //         window.open('http://www.ekexiu.com:81/html/model/product/resourceIssue.html?productId=' + $product.attr("productId"));
154
                            window.open('http://'+window.location.host+'/html/model/sys/product/productIssue.html?productId=' + $product.attr("productId"));
155
                            //     }else{
156
                            //         util.alertMsg("文章不存在", function(){pdg.reload();});
157
                            //     }
158
                            // },{});
159
                        }
160
                    } else {
161
                        util.alert("请选择一个产品");
162
                    }
163
                });
164
165
                // root.find(".opt-contacts").on("click", function() {
166
                //     var $product = root.find("td.opt-check>i.checked");
167
                //     if ($product.length) {
168
                //         var ret = {ids:[],orgIds:[],category:[]};
169
                //         $product.each(function() {
170
                //             ret.ids.push($(this).attr("productId"));
171
                //             ret.orgIds.push($(this).attr("owner"));
172
                //             ret.category.push($(this).attr("category"));
173
                //         });
174
                //         var nary=ret.orgIds.sort();
175
                //         var narc=ret.category;
176
                //         for(var j=0;j<ret.category.length;j++){
177
                //             if (narc[j]!="2"){
178
                //                 util.alert("列表中有非企业发布的产品");
179
                //                 return;
180
                //             }
181
                //         }
182
                //         if(ret.orgIds.length>1) {
183
                //             for (var i = 0; i < ret.orgIds.length-1; i++) {
184
                //                 if (nary[i] != nary[i + 1]) {
185
                //                     util.alert("列表中的企业不一致");
186
                //                     return;
187
                //                 }
188
                //             }
189
                //         }
190
                //         spa.showModal("sys_product_contacts", {
191
                //             data: {orgId:ret.orgIds[0],ids:ret.ids}, hand: function () {
192
                //                 pdg.reload()
193
                //             }
194
                //         });
195
                //
196
                //     } else {
197
                //         util.alert("请选择一个产品");
198
                //     }
199
                // });
200
201
202
            }, mainDestory: function () {
203
204
            }
205
        };
206
    });
207
});

+ 147 - 0
js/model/sys/product/keywords.js

@ -0,0 +1,147 @@
1
/**
2
 * Created by TT on 2018/7/23.
3
 */
4
;
5
spa_define(function () {
6
    return $.use(["spa", "util", "form"], function (spa, util, fb) {
7
        return {
8
            modal: function (data) {
9
                var root = spa.findInModal(".sys_product_keywords");
10
                var ca = {ready: true, items: []};
11
                var form = fb.build(root.find(".newForm"), {
12
                    keywordList: ca
13
                });
14
                var oValue;
15
                var oJudge;
16
17
                var saveBtn = root.find(".opt-save"),
18
                    save = function () {
19
                        if (form.val().keywordList) {
20
                            form.val({
21
                                keywords: oString(form.val().keywordList)
22
                            });
23
                        } else {
24
                            form.val({keywords: null});
25
                        }
26
                        util.post("../ajax/product/kw", {
27
                            id: data.data.id,
28
                            kw: form.val().keywords
29
                        }, function () {
30
                            spa.closeModal();
31
                            if (data.hand) {
32
                                data.hand();
33
                            }
34
                        }, {});
35
                    };
36
37
                var trim = function (str) { //删除左右两端的空格			  
38
                    return str.replace(/(^\s*)|(\s*$)/g, "");
39
                };
40
41
                var part = function (one, list, num) {
42
                    oValue = one;
43
                    oJudge = list || [];
44
                    if (oJudge.length >= num) {
45
                        util.alert("最多" + num + "个");
46
                        return;
47
                    }
48
                    var repeat,
49
                        b;
50
                    if (!oValue) {
51
                        util.alert('提示', '请先填写内容');
52
                        return;
53
                    }
54
                    if (oValue.length > 15) {
55
                        util.alert('提示', '添加内容不能超过15个字');
56
                        return;
57
                    } else {
58
                        var oValueList = oValue.split(","),
59
                            length = oValueList.length;
60
                        for (var m = 0;m<oValueList.length;m++) {
61
                            oValueList[m] = trim(oValueList[m]);
62
                        }
63
                        for (var j = 0; j < length; j++) {
64
                            for (var n = j + 1; n < oValueList.length + 1;) {
65
                                if (oValueList[j] == oValueList[n]) {
66
                                    oValueList.remove(n);
67
                                    repeat = false;
68
                                } else {
69
                                    n++;
70
                                }
71
                            }
72
                        }
73
                        for (var j = 0; j < oValueList.length;) {
74
                            for (var i = 0; i < oJudge.length; i++) {
75
                                if (oValueList[j] == oJudge[i]) {
76
                                    oValueList.remove(j);
77
                                    repeat = false;
78
                                    b = true;
79
                                }
80
                            }
81
                            if (b) {
82
                                b = false
83
                            } else j++;
84
                        }
85
                        if (repeat == false) {
86
                            util.alert('提示', '添加内容不能重复');
87
                        }
88
                        for (var m = 0; m < oValueList.length; m++) {
89
                            ca.items.push({code: oValueList[m], caption: oValueList[m]});
90
                            oJudge.push(oValueList[m]);
91
                        }
92
                    }
93
                };
94
95
                Array.prototype.remove = function (obj) {
96
                    for (var i = 0; i < this.length; i++) {
97
                        var temp = this[i];
98
                        if (!isNaN(obj)) {
99
                            temp = i;
100
                        }
101
                        if (temp == obj) {
102
                            for (var j = i; j < this.length; j++) {
103
                                this[j] = this[j + 1];
104
                            }
105
                            this.length = this.length - 1;
106
                        }
107
                    }
108
                };
109
110
                function oString(data) {
111
                    var arry = new Array();
112
                    if (data) {
113
                        for (var i = 0; i < data.length; i++) {
114
                            arry.push(data[i]);
115
                        }
116
                    }
117
                    return arry.join(",");
118
                }
119
120
                var split = function (data) {
121
                    var index = data.split(",");
122
                    var arr = [];
123
                    for (var m = 0; m < index.length; m++) {
124
                        ca.items.push({code: index[m], caption: index[m]});
125
                        arr.push(index[m]);
126
                    }
127
                    return arr;
128
                };
129
130
                if (data.data.keywords) {
131
                    form.val({keywordList: split(data.data.keywords)});
132
                }
133
134
                root.find(".opt-keyword").on("click", function () {
135
                    part(form.val().newKeyword, form.val().keywordList, 5);
136
                    form.val({newKeyword: "", keywordList: oJudge});
137
                });
138
139
                root.find(".modal-ctrl .icon-times").on("click", function () {
140
                    spa.closeModal();
141
                });
142
143
                saveBtn.on("click", save);
144
            }
145
        }
146
    });
147
});

+ 881 - 0
js/model/sys/product/productIssue.js

@ -0,0 +1,881 @@
1
/**
2
 * Created by TT on 2018/7/23.
3
 */
4
$(document).ready(function() {
5
    var baseUrl = "http://192.168.3.233:81";
6
    loginStatus();
7
    var productId = GetQueryString("productId");
8
    if(productId) {
9
        $("#deleteResource").removeClass("disableLi").addClass("deleteResource");
10
        getRecourceMe();
11
    }
12
    // var orgId = $.cookie('orgId');
13
    // if(orgId == "" || orgId == null || orgId == "null"){
14
    //     location.href = "cmp-settled-log.html";
15
    // }
16
    var temp = [];
17
    var array = [];
18
    var oProfessor=[];
19
    var hbur,hburEnd;
20
    var ue = UE.getEditor('editor', {});
21
    function loginStatus() {
22
        $.ajax({
23
            type: "get",
24
            async:false,
25
            url:"/ajax/sys/user",
26
            success:function (data) {
27
                if(data.success == true) {
28
                    var userid = data.data.id;
29
                    if (userid == undefined || userid.length == 0 || userid == "null") {
30
                        location.href = "http://"+window.location.host+"/html/index.html";
31
                    }
32
                }else {
33
                    location.href = "http://"+window.location.host+"/html/index.html";
34
                }
35
            }
36
        });
37
    }
38
39
    function GetQueryString(name) {
40
        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
41
        var r = window.location.search.substr(1).match(reg);
42
43
        var context = "";
44
        if(r != null)
45
            context = r[2];
46
        reg = null;
47
        r = null;
48
        return context == null || context == "" || context == "undefined" ? "" : decodeURI(context);
49
    }
50
51
    function hotKey(sel, num) {
52
        $(sel).bind({
53
            paste: function(e) {
54
                var pastedText;
55
                if (window.clipboardData  &&  window.clipboardData.getData)  {  // IE
56
                    pastedText  = $(this).val() +  window.clipboardData.getData('Text');
57
                }else{
58
                    pastedText  = $(this).val() +  e.originalEvent.clipboardData.getData('Text'); //e.clipboardData.getData('text/plain');
59
                }
60
                $(this).val(pastedText);
61
62
                var $this = $(this);
63
                setTimeout(function() {
64
                    if($this.val().trim()) {
65
                        $this.siblings("button").show();
66
                    } else {
67
                        $this.siblings("button").hide();
68
                    }
69
                }, 1);
70
                e.preventDefault();
71
            },
72
            cut: function(e) {
73
                var $this = $(this);
74
                setTimeout(function() {
75
                    if($this.val().trim()) {
76
                        $this.siblings("button").show();
77
                    } else {
78
                        $this.siblings("button").hide();
79
                    }
80
                }, 1);
81
            },
82
            blur: function() {
83
                var $this = $(this);
84
                setTimeout(function() {
85
                    $this.siblings(".keydrop").hide();
86
                }, 500)
87
            },
88
            focus: function() {
89
                $(this).siblings(".keydrop").show();
90
            },
91
            keyup: function(e) {
92
                var ti=$(this).val();
93
                var $t=this;
94
                $t.comr=ti;
95
                var $this=$(this);
96
                if($(this).val().trim()) {
97
                    $(this).siblings("button").show();
98
                    var lNum = $.trim($(this).val()).length;
99
                    if(0 < lNum) {
100
                        setTimeout(function(){
101
                            if( ti===$t.comr && ti!== $t.comrEnd) {
102
                                var tt=ti;
103
                                $t.comrEnd=tt;
104
                                $("#addKeyword").show();
105
                                $.ajax({
106
                                    "url": "/ajax/article/qaHotKey",
107
                                    "type": "GET",
108
                                    "success": function(data) {
109
                                        console.log(data);
110
                                        if(data.success) {
111
                                            if($t.comrEnd==tt) {
112
                                                if(data.data.length == 0) {
113
                                                    $this.siblings(".keydrop").addClass("displayNone");
114
                                                    $this.siblings(".keydrop").find("ul").html("");
115
                                                } else {
116
                                                    $this.siblings(".keydrop").removeClass("displayNone");
117
                                                    var oSr = "";
118
                                                    for(var i = 0; i < Math.min(data.data.length,5); i++) {
119
                                                        oSr += '<li>' + data.data[i].caption + '<div class="closeThis"></div></li>';
120
                                                    }
121
                                                    $this.siblings(".keydrop").find("ul").html(oSr);
122
                                                }
123
                                            }
124
                                        } else {
125
                                            $this.siblings(".keydrop").addClass("displayNone");
126
                                            $this.siblings(".keydrop").find("ul").html("");
127
                                        }
128
                                    },
129
                                    "data": {
130
                                        "key": $this.val()
131
                                    },
132
                                    dataType: "json",
133
                                    'error': function() {
134
                                        $.MsgBox.Alert('提示', '服务器连接超时!');
135
                                    }
136
                                });
137
                            }
138
                        },500);
139
                    }
140
                } else {
141
                    $(this).siblings("button").hide();
142
                    $(this).siblings(".keydrop").addClass("displayNone");
143
                    $(this).siblings(".keydrop").find("ul").html("");
144
                }
145
            }
146
        })
147
        $(".keydrop").on("click", "li", function() {
148
            var oValue = $(this).text();
149
            var oJudge = $(this).parents(".col-w-12").siblings().find("ul.ulspace li");
150
            var addNum = $(this).parents(".keydrop").siblings("input").attr("data-num");
151
152
            for(var i = 0; i < oJudge.length; i++) {
153
                if(oValue == oJudge[i].innerText) {
154
                    $.MsgBox.Alert('提示', '添加内容不能重复');
155
                    return;
156
                }
157
            }
158
            $(this).parents(".col-w-12").siblings().find("ul.ulspace").append('<li>' + oValue + '<div class="closeThis"></div></li>');
159
            $(this).parents(".keydrop").siblings("input").val("");
160
            $(this).parents(".keydrop").siblings("button").hide();
161
            if(oJudge.length == addNum - 1) {
162
                $(this).parents(".keydrop").siblings("input").val("");
163
                $(this).parents(".col-w-12").hide();
164
            }
165
            $(this).parent("ul").html("")
166
        })
167
        if(num == 1) {
168
            return;
169
        } else {
170
            $(".addButton").siblings("input").keypress(function(){/*添加*/
171
                var e = event || window.event;
172
                if(e.keyCode == 13) {
173
                    var oValue = $(this).val().trim();
174
                    var oJudge = $(this).parent().siblings().find("ul.ulspace li");
175
                    var addContent = $(this).attr("data-pro");
176
                    var addNum = $(this).attr("data-num");
177
                    var addfontSizeNum = $(this).attr("data-fontSizeN");
178
                    if(!oValue) {
179
                        $.MsgBox.Alert('提示', '请先填写内容');
180
                        return;
181
                    }
182
                    if(oValue.length > addfontSizeNum) {
183
                        $.MsgBox.Alert('提示', addContent);
184
                        return;
185
                    }
186
                    for(var i = 0; i < oJudge.length; i++) {
187
                        if(oValue == oJudge[i].innerText) {
188
                            $.MsgBox.Alert('提示', '添加内容不能重复');
189
                            return;
190
                        }
191
                    }
192
                    $(this).parent().siblings().find("ul.ulspace").append('<li>' + oValue + '<div class="closeThis"></div></li>');
193
                    $(this).siblings(".addButton").hide();
194
                    $(this).val("");
195
                    if(oJudge.length == addNum - 1) {
196
                        $(this).val("").parents(".col-w-12").hide();
197
                    }
198
                    $(this).siblings(".keydrop").find("ul").html("");
199
                }
200
            })
201
            $(".addButton").click(function() {
202
                var oValue = $(this).siblings("input").val().trim();
203
                var oJudge = $(this).parent().siblings().find("ul.ulspace li");
204
                var addContent = $(this).siblings("input").attr("data-pro");
205
                var addNum = $(this).siblings("input").attr("data-num");
206
                var addfontSizeNum = $(this).siblings("input").attr("data-fontSizeN");
207
                if(!oValue) {
208
                    $.MsgBox.Alert('提示', '请先填写内容');
209
                    return;
210
                }
211
                if(oValue.length > addfontSizeNum) {
212
                    $.MsgBox.Alert('提示', addContent);
213
                    return;
214
                }
215
                for(var i = 0; i < oJudge.length; i++) {
216
                    if(oValue == oJudge[i].innerText) {
217
                        $.MsgBox.Alert('提示', '添加内容不能重复');
218
                        return;
219
                    }
220
                }
221
                $(this).parent().siblings().find("ul.ulspace").append('<li>' + oValue + '<div class="closeThis"></div></li>');
222
                $(this).hide();
223
                $(this).siblings("input").val("");
224
                if(oJudge.length == addNum - 1) {
225
                    $(this).val("").parents(".col-w-12").hide();
226
                }
227
                $(this).siblings(".keydrop").find("ul").html("");
228
            })
229
        }
230
    }
231
232
    function limitObj(obj,maxNum){
233
        $(obj).bind({
234
            paste: function(e) {
235
                if($(this).val().length==""){
236
                    $(this).parent().siblings(".btnModel").attr("disabled", true);
237
                }else{
238
                    $(this).parent().siblings(".btnModel").attr("disabled", false);
239
                }
240
                var pastedText;
241
                if (window.clipboardData  &&  window.clipboardData.getData)  {  // IE
242
                    pastedText  = $(this).val() +  window.clipboardData.getData('Text');
243
                }
244
                else  {
245
                    pastedText  = $(this).val() +  e.originalEvent.clipboardData.getData('Text'); //e.clipboardData.getData('text/plain');
246
                }
247
                $(this).val(pastedText);
248
                setTimeout(function() {
249
                    $(this).siblings().find("em").text($(obj).val().length);
250
                }, 1);
251
                e.preventDefault();
252
            },
253
            cut: function(e) {
254
                if($(this).val().length==""){
255
                    $(this).parent().siblings(".btnModel").attr("disabled", true);
256
                }else{
257
                    $(this).parent().siblings(".btnModel").attr("disabled", false);
258
                }
259
                setTimeout(function() {
260
                    $(obj).siblings().find("em").text($(obj).val().length);
261
                }, 1);
262
            },
263
            focus: function(e) {
264
                $(obj).parents("li").find(".frmconmsg").show();
265
                $(obj).siblings().find("em").text($(obj).val().length);
266
            },
267
            blur: function(e) {
268
                $(obj).parents("li").find(".frmconmsg").hide();
269
            },
270
            keyup: function(e) {
271
                if($(this).val().length==""){
272
                    $(this).parent().siblings(".btnModel").attr("disabled", true);
273
                }else{
274
                    $(this).parent().siblings(".btnModel").attr("disabled", false);
275
                }
276
                if($(this).val().length > maxNum) {
277
                    $(obj).val($(obj).val().substring(0, maxNum));
278
                    e.preventDefault();
279
                }
280
                setTimeout(function() {
281
                    $(obj).siblings().find("em").text($(obj).val().length);
282
                }, 1);
283
            }
284
        });
285
    }
286
287
    function ajaxRequist(url, obj, type, fn) {
288
        $.ajax({
289
            url: url,
290
            data: obj,
291
            dataType: 'json', //服务器返回json格式数据
292
            type: type, //支持'GET'和'POST'
293
            traditional: true,
294
            success: function(data) {
295
                if(data.success) {
296
                    fn(data)
297
                }
298
            },
299
            error: function(xhr, type, errorThrown) {
300
                $.MsgBox.Alert('提示', '服务器请求失败');
301
            }
302
        });
303
    }
304
    /*获取资源信息*/
305
    function getRecourceMe() {
306
        $.ajax({
307
            "url": baseUrl+"/ajax/product/qo",
308
            "type": "GET",
309
            "success": function(data) {
310
                console.log(data);
311
                if(data.success) {
312
                    $("#uploadDd").siblings().remove();
313
                    $("#fileList").append("<dd></dd><dd></dd>");
314
                    temp=[];
315
                    resourceHtml(data.data);
316
                }
317
            },
318
            "data": {
319
                "id": productId
320
            },
321
            dataType: "json",
322
            'error': function() {
323
                $.MsgBox.Alert('提示', '服务器连接超时!');
324
            }
325
        });
326
    }
327
    /*处理资源html代码*/
328
    function resourceHtml($da) {
329
        $("#resourceName").val($da.name); //名字
330
        $("#application").val($da.cnt); //应用用途
331
        if($da.spec) { //厂商型号
332
            $("#modelNumber").val($da.spec);
333
        }
334
        if($da.parameter) { //性能参数
335
            $("#performancePa").val($da.parameter);
336
        }
337
        if($da.keywords) {
338
            var oSub = $da.keywords.split(",");
339
            var oSt = "";
340
            for(var i = 0; i < oSub.length; i++) {
341
                oSt += '<li>' + oSub[i] + '<div class="closeThis"></div></li>'
342
            }
343
            $("#keyWordlist").html(oSt);
344
            if(oSub.length>4){
345
                $("#KeyWord").parent().addClass("displayNone");
346
            }
347
        } else {
348
            $("#keyWordlist").html("");
349
        }
350
        if($da.descp) { //编辑器
351
            ue.ready(function() {
352
                ue.setContent($da.descp);
353
            });
354
355
        }
356
        if($da.price) {
357
            $("#priceInput").val($da.price);
358
        }
359
        if($da.producingArea) {
360
            $("#productAddressInput").val($da.producingArea);
361
        }
362
        if($da.images) {
363
            var arr = [];
364
            var oImg = $da.images.split(",");
365
            for(var i = 0; i < oImg.length; i++) {
366
                var oString = '<dd>' +
367
                    '<div class="imgItem">' +
368
                    '<img src="' + baseUrl+  "/data/product" + oImg[i] + '"/>' +
369
                    '</div>' +
370
                    '<div class="file-panel">' +
371
                    '<span class="cancel" flag=1></span>' +
372
                    '</div>' +
373
                    '</dd>'
374
                arr[i] = oString;
375
                temp[i] = oImg[i];
376
            }
377
            $("#fileList dd").eq(2).remove();
378
            if(oImg.length == 1) {
379
                $("#fileList").prepend(arr[0]);
380
            } else if(oImg.length == 2) {
381
                $("#fileList dd").eq(1).remove();
382
                $("#fileList").prepend(arr[1]);
383
                $("#fileList").prepend(arr[0]);
384
            } else if(oImg.length == 3) {
385
                $("#fileList dd").eq(1).remove();
386
                $("#fileList").prepend(arr[2]);
387
                $("#fileList").prepend(arr[1]);
388
                $("#fileList").prepend(arr[0]);
389
            }
390
391
        }
392
    }
393
    var uploader = WebUploader.create({
394
        auto: true,
395
        fileNumLimit: 3,
396
        swf: '../js/webuploader/Uploader.swf',
397
        server: '/ajax/product/upload',
398
        fileSingleSizeLimit: 2 * 1024 * 1024,
399
        pick: {
400
            id: "#filePicker",
401
            multiple: false
402
        },
403
        accept: {
404
            title: 'Images',
405
            extensions: 'jpg,jpeg,png',
406
            mimeTypes: 'image/jpg,image/png'
407
        }
408
409
    });
410
411
    // 当有文件添加进来的时候
412
    uploader.on('fileQueued', function(file) {
413
        fileId = file.id;
414
        var $len = $("#fileList").find("img").length;
415
        if($len == 0 || $len == 1) {
416
            var oRemove = $("#fileList").find("dd");
417
            oRemove.eq(oRemove.length - 1).remove();
418
        }
419
        var $li = $(
420
                '<dd>' +
421
                '<div class="imgItem" id="' + file.id + '">' +
422
                '<img />' +
423
                '</div>' +
424
                //'<div class="info">' + file.name + '</div>' +
425
                '</dd>'
426
            ),
427
            $btns = $('<div class="file-panel">' +
428
                '<span class="cancel"></span>' +
429
                '</div>').appendTo($li),
430
            $img = $li.find('img');
431
        var $list = $("#fileList");
432
        if($len == 1) {
433
            $list.find("dd").eq(0).after($li)
434
        } else if($len == 2) {
435
            $list.find("dd").eq(1).after($li)
436
        } else {
437
            $list.prepend($li);
438
        }
439
        uploader.makeThumb(file, function(error, src) {
440
            if(error) {
441
                $img.replaceWith('<span>不能预览</span>');
442
                return;
443
            }
444
            $img.attr('src', src);
445
        }, 1, 1);
446
    });
447
    uploader.onError = function(code) {
448
        console.log(code)
449
        $.MsgBox.Alert('提示', '请上传jpg、jpeg、png格式的图片,大小不超过2M')
450
    };
451
    uploader.on('uploadSuccess', function(file, data) {
452
        if(data.success) {
453
            temp.push(data.data[0].uri);
454
            console.log(temp)
455
            uploader.removeFile(fileId);
456
457
        }else{
458
            $.MsgBox.Alert('提示', '只支持jpeg/jpg/png格式的图片');
459
        }
460
    });
461
    /*删除图片*/
462
    $("#fileList").on("click", ".cancel", function() {
463
        var flag = $(this).attr("flag");
464
        var oNum = $(this).parents("dd").index();
465
        temp.splice(oNum, 1);
466
        $(this).parent().parent().remove();
467
468
        var $len = $("#fileList").find("img").length;
469
        if($len != 2) {
470
            $("#fileList").append("<dd></dd>")
471
        }
472
473
    });
474
    /*资源名称*/
475
    $("#resourceName").bind({
476
        focus: function() {
477
            $("#resourceNamePrompt").show();
478
        },
479
        blur: function() {
480
            $("#resourceNamePrompt").hide();
481
        },
482
        keyup: function() {
483
            if($(this).val().length > 30) {
484
                $(this).val($(this).val().substr(0, 30));
485
            }
486
        }
487
    })
488
    hotKey(".oinput");
489
    //校验关键字
490
    $("#KeyWord").on({
491
        focus: function() {
492
            $("#keyPrompt").text("最多可添加5个关键词,每个关键词15字以内");
493
        },
494
        blur: function() {
495
            $("#keyPrompt").text("");
496
        }
497
    })
498
    $("#keyWordlist").on("click", ".closeThis", function() {
499
        $(this).parent().remove();
500
        var liNum = $("#keyWordlist").find("li").length;
501
        if(liNum < 5) {
502
            $("#keyWordlist").parents(".keyResult").siblings("div.col-w-12").show();
503
        }
504
    })
505
    /*厂商型号*/
506
    $("#modelNumber").bind({
507
        focus: function() {
508
            $("#model").show();
509
        },
510
        blur: function() {
511
            $("#model").hide();
512
        },
513
        keyup: function() {
514
            if($(this).val().length > 50) {
515
                $(this).val($(this).val().substr(0, 50));
516
            }
517
        }
518
519
    });
520
    $("#productAddressInput").bind({
521
        focus: function() {
522
            $("#productAddress").show();
523
        },
524
        blur: function() {
525
            $("#productAddress").hide();
526
        },
527
        keyup: function() {
528
            if($(this).val().length > 50) {
529
                $(this).val($(this).val().substr(0, 50));
530
            }
531
        }
532
533
    });
534
    $("#priceInput").bind({
535
        focus: function() {
536
            $("#price").show();
537
        },
538
        blur: function() {
539
            $("#price").hide();
540
        },
541
        keyup: function() {
542
            if($(this).val().length > 50) {
543
                $(this).val($(this).val().substr(0, 50));
544
            }
545
        }
546
547
    });
548
    /*应用用途*/
549
    limitObj("#application",250)
550
    /*性能参数*/
551
    limitObj("#performancePa",1000)
552
    /*发布*/
553
    $(".goFabu").click(function() {
554
        if($(this).hasClass("disableLi")){
555
            return;
556
        }
557
        var oYes = term();
558
        if(oYes == 0) {
559
            return;
560
        }
561
        $.MsgBox.Confirm("提示", "确认发布该产品?", ajsPost);
562
    })
563
    /*预览*/
564
    // $("#oPreview").click(function() {
565
    //     if($(this).hasClass("disableLi")){
566
    //         return;
567
    //     }
568
    //     var oYes = term();
569
    //     if(oYes == 0) {
570
    //         return;
571
    //     }
572
    //     if(resourceId) {
573
    //         ajsPost(baseUrl+"/ajax/product/draft/update", 1);
574
    //     }else {
575
    //         ajsPost(baseUrl+"/ajax/product/draft", 1);
576
    //     }
577
    //
578
    // })
579
    // /*存草稿*/
580
    // $("#oDraft").click(function() {
581
    //     if($(this).hasClass("disableLi")){
582
    //         return;
583
    //     }
584
    //     var oYes = term();
585
    //     if(oYes == 0) {
586
    //         return;
587
    //     }
588
    //     if(resourceId) {
589
    //         ajsPost(baseUrl+"/ajax/product/draft/update", 2);
590
    //     }else {
591
    //         ajsPost(baseUrl+"/ajax/product/draft", 2);
592
    //     }
593
    // })
594
    // /*删除*/
595
    // $("#operateBlocko").on("click", ".deleteResource", function() {
596
    //     $.MsgBox.Confirm("提示", "确认删除该产品?", deleResource);
597
    // })
598
    // /*删除函数*/
599
    // function deleResource() {
600
    //     $.ajax({
601
    //         "url": baseUrl+"/ajax/product/delete",
602
    //         "type": "POST",
603
    //         "success": function(data) {
604
    //             console.log(data)
605
    //             if(data.success) {
606
    //                 location.href = "cmp-productList.html"
607
    //             }
608
    //         },
609
    //         "data": {
610
    //             "id": resourceId
611
    //         },
612
    //         "beforeSend": function() { /*console.log(this.data)*/ },
613
    //         "contentType": "application/x-www-form-urlencoded",
614
    //         dataType: "json"
615
    //     });
616
    // }
617
    /*条件是否匹配*/
618
    function term() {
619
        var $len = $("#fileList").find("img").length;
620
        var reName = $("#resourceName").val();
621
        var oIndustry = $("#application").val();
622
        var oLen=$("#expertli").find(".selectAdd").length
623
        if($len == 0) {
624
            $.MsgBox.Alert('提示', '请上传产品图片。');
625
            return 0;
626
        }
627
        if(reName == "") {
628
            $.MsgBox.Alert('提示', '请填写产品名称。');
629
            return 0;
630
        }
631
        if(oIndustry == "") {
632
            $.MsgBox.Alert('提示', '请填写产品简介。');
633
            return 0;
634
        }
635
        if(oLen==0) {
636
            $.MsgBox.Alert('提示', '至少选择一个联系人');
637
            return 0;
638
        }
639
    }
640
    /*发布函数*/
641
    function ajsPost(pa1, pa2) {
642
643
        var sdd=[];
644
        var sdf = $("#expertli").find(".selectAdd");
645
        for(var i=0;i<sdf.length;i++) {
646
            sdd.push(sdf.eq(i).parents("li").attr("id"));
647
        }
648
        var industrys = $("#keyWordlist li");
649
        var industryAll = "";
650
        if(industrys.size() > 0) {
651
            for(var i = 0; i < industrys.size(); i++) {
652
                industryAll += industrys[i].innerText.trim();
653
                industryAll += ',';
654
            };
655
            industryAll = industryAll.substring(0, industryAll.length - 1);
656
        }
657
        $(".operateBlock").find("li").addClass("disableLi");
658
        var oUrl = baseUrl+"/ajax/product/publish";
659
        if(productId) {
660
            oUrl = baseUrl+"/ajax/product/conUpdate";
661
        }
662
        if(pa1) {
663
            oUrl = pa1
664
        }
665
        var $data = {};
666
        if(productId) {
667
            $data.id = productId;
668
        }
669
        // $data.owner = orgId;
670
        $data.name = $("#resourceName").val(); //资源名字
671
        $data.keywords = industryAll;
672
        $data.cnt = $("#application").val();
673
        $data.spec = $("#modelNumber").val();
674
        $data.parameter = $("#performancePa").val();
675
        $data.descp = ue.getContent();
676
        $data.images = temp.join(",");
677
        $data.professor=sdd;
678
        $data.producingArea=$("#productAddressInput").val();
679
        $data.price = $("#priceInput").val()
680
        $.ajax({
681
            "url": oUrl,
682
            "type": "POST",
683
            "complete":function(){
684
                $(".operateBlock").find("li").removeClass("disableLi");
685
            },
686
            "success": function(data) {
687
                console.log(data)
688
                if(data.success) {
689
                    if(pa2 == 1) {
690
                        productId = data.data;
691
                        $("#deleteResource").removeClass("disableLi").addClass("deleteResource");
692
                        window.open("../productPreview.html?productId=" + data.data);
693
                        getRecourceMe();
694
                        //弹出预览
695
                    } else if(pa2 == 2) {
696
                        $("#deleteResource").removeClass("disableLi").addClass("deleteResource");
697
                        if(!productId)
698
                            productId = data.data;
699
                        $.MsgBox.Alert('提示', '产品已保存草稿。');
700
                        $("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
701
                        getRecourceMe();
702
                    } else {
703
                        $.MsgBox.Alert('提示', '产品发布成功!');
704
                        $("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
705
                        location.href = "cmp-productList.html"
706
                    }
707
708
                }else {
709
                    if(data.code==90) {
710
                        $.MsgBox.Alert('提示', '由于操作时间过久,上传图片已失效,请重新上传。');
711
                    }
712
                }
713
            },
714
            "data": $data,
715
            "beforeSend": function() { /*console.log(this.data)*/ },
716
            "contentType": "application/x-www-form-urlencoded",
717
            "traditional": true,
718
            dataType: "json"
719
        });
720
    }
721
    // DefaultContact()
722
    // function DefaultContact() {
723
    //     $.ajax({
724
    //         url: "/ajax/org/linkman/queryAll",
725
    //         type: "GET",
726
    //         timeout: 10000,
727
    //         dataType: "json",
728
    //         async:"true",
729
    //         data: {
730
    //             "oid": orgId
731
    //         },
732
    //         success: function(data, textState) {
733
    //             if(data.success) {
734
    //                 var $data = data.data;
735
    //                 if($data.length) {
736
    //                     oProfessor.push($data[0].pid);
737
    //                     var oLength=$("#expertli").find("li");
738
    //                     for(var i=0;i<oLength.length;i++) {
739
    //                         var sid = oLength.eq(i).attr("id");
740
    //                         if($data[0].pid ===sid) {
741
    //                             oLength.eq(i).find("[flag]").addClass("selectAdd");
742
    //                             break;
743
    //                         }
744
    //                     }
745
    //                 }
746
    //
747
    //             }
748
    //         },
749
    //         error: function(XMLHttpRequest, textStats, errorThrown) {
750
    //             $.MsgBox.Alert('提示', '服务器请求失败')
751
    //         }
752
    //     })
753
    // }
754
    // function UnauthorizedUser() {
755
    //     $.ajax({
756
    //         url: "/ajax/professor/qaOrgAuth",
757
    //         type: "GET",
758
    //         timeout: 10000,
759
    //         dataType: "json",
760
    //         async:"false",
761
    //         data: {
762
    //             "orgId": orgId,
763
    //             "orgAuth": 1
764
    //         },
765
    //         success: function(data, textState) {
766
    //             if(data.success) {
767
    //                 console.log(data);
768
    //                 unauthUser(data.data);
769
    //             }
770
    //         },
771
    //         error: function(XMLHttpRequest, textStats, errorThrown) {
772
    //             $.MsgBox.Alert('提示', '服务器请求失败')
773
    //         }
774
    //     })
775
    // }
776
    // UnauthorizedUser();
777
    // function unauthUser($res) {
778
    //     if(resourceId) {
779
    //         selUse();
780
    //     }
781
    //     var osting=""
782
    //     for(var i = 0; i < $res.length; i++) {
783
    //         var img;
784
    //         //var styC="";
785
    //         var oClass = autho($res[i].authType, $res[i].orgAuth, $res[i].authStatus);
786
    //         var oTitle="";
787
    //         if(!resourceId) {
788
    //             /*if(i<5) {
789
    //              styC="selectAdd";
790
    //              oProfessor.push($res[i].id);
791
    //              }*/
792
    //         }
793
    //
794
    //         if($res[i].title) {
795
    //             oTitle=$res[i].title;
796
    //         }else{
797
    //             if($res[i].office) {
798
    //                 oTitle=$res[i].office;
799
    //             }
800
    //         }
801
    //         if($res[i].hasHeadImage) {
802
    //             img = "/images/head/" + $res[i].id + "_l.jpg";
803
    //         } else {
804
    //             img = "../images/default-photo.jpg"
805
    //         }
806
    //         var oSt = '<li class="flexCenter" style="cursor:pointer;" id="'+$res[i].id+'">'
807
    //         oSt += '<div class="madiaHead useHead" id="userimg" style="background-image: url('+img+');"></div>'
808
    //         oSt += '<div class = "madiaInfo">'
809
    //         oSt += '<p class = "ellipsisSty">'
810
    //         oSt += '<span class = "h1Font" id="name">'+$res[i].name+'</span><em class="authicon '+oClass.sty+'" title="'+oClass.title+'"></em >'
811
    //         oSt += '</p>'
812
    //         oSt += '<p class="h2Font ellipsisSty">'+oTitle+'</p>'
813
    //         oSt += '</div>'
814
    //         oSt += '<div class="selectNull " flag=1></div>'
815
    //         oSt += '</li>'
816
    //         osting+=oSt;
817
    //     }
818
    //     $("#expertli").html(osting);
819
    //     if(!resourceId) {
820
    //         DefaultContact()
821
    //     }
822
    // }
823
    // /*选择用户*/
824
    // $("#expertli").on("click","li",function(){
825
    //     var userL=$("#expertli").find(".selectAdd").length;
826
    //     var oSel=$(this).find(".selectAdd").length;
827
    //     var oId=$(this).attr("id");
828
    //     $("#linkman").text("");
829
    //
830
    //     if(oSel == 0) {
831
    //         if(userL == 5) {
832
    //             $("#linkman").text("最多可选5位联系人");
833
    //             return;
834
    //         }
835
    //         $(this).find('[flag]').addClass("selectAdd");
836
    //         oProfessor.push(oId);
837
    //     } else {
838
    //         $(this).find('[flag]').removeClass("selectAdd");
839
    //         for(var i=0;i<oProfessor.length;i++) {
840
    //             if(oId==oProfessor[i]) {
841
    //                 oProfessor.splice(i, 1);
842
    //             }
843
    //         }
844
    //     }
845
    // });
846
    //
847
    // function selUse() {
848
    //     $.ajax({
849
    //         url: "/ajax/product/pro",
850
    //         type: "GET",
851
    //         timeout: 10000,
852
    //         dataType: "json",
853
    //         async:true,
854
    //         data: {
855
    //             "id": resourceId,
856
    //         },
857
    //         success: function(data, textState) {
858
    //             console.log(data)
859
    //             if(data.success) {
860
    //                 var arr=[];
861
    //                 var arr1=[];
862
    //                 var oLength=$("#expertli").find("li");
863
    //                 for(var i=0;i<data.data.length;i++) {
864
    //                     arr1.push(data.data[i].professor);
865
    //                 }
866
    //                 for(var i=0;i<oLength.length;i++) {
867
    //                     arr.push(oLength.eq(i).attr("id"));
868
    //                 }
869
    //                 for(var i=0;i<arr1.length;i++) {
870
    //                     oProfessor.push(arr1[i]);
871
    //                     oLength.eq(arr.indexOf(arr1[i])).find("[flag]").addClass("selectAdd")
872
    //                 }
873
    //             }
874
    //         },
875
    //         error: function(XMLHttpRequest, textStats, errorThrown) {
876
    //             $.MsgBox.Alert('提示', '服务器请求失败')
877
    //         }
878
    //     })
879
    // }
880
881
})

+ 44 - 0
js/model/sys/product/sort.js

@ -0,0 +1,44 @@
1
/**
2
 * Created by TT on 2018/7/23.
3
 */
4
;
5
spa_define(function () {
6
    return $.use(["spa", "util", "form"], function (spa, util, fb) {
7
        return {
8
            modal: function (data) {
9
                var root = spa.findInModal(".sys_product_sort");
10
                var form = fb.build(root.find(".newForm"));
11
                form.val({sortFirst: data.data.sortFirst, id: data.data.id});
12
13
                var saveBtn = root.find(".opt-save"),
14
                    save = function () {
15
                        if (form.val().sortFirst) {
16
                            var sortFirst = form.val().sortFirst;
17
                            var reg = new RegExp("^(\\d|[1-9]\\d|100)$");
18
                            if (!reg.test(sortFirst)) {
19
                                util.alert("权重值必须是0-100的正整数");
20
                                return;
21
                            }
22
                        } else {
23
                            form.val({sortFirst: 0});
24
                        }
25
                        util.post("../ajax/product/sortFirst", {
26
                            id: data.data.id,
27
                            sortFirst: form.val().sortFirst
28
                        }, function () {
29
                            spa.closeModal();
30
                            if (data.hand) {
31
                                data.hand();
32
                            }
33
                        }, {});
34
                    };
35
36
                root.find(".modal-ctrl .icon-times").on("click", function () {
37
                    spa.closeModal();
38
                });
39
40
                saveBtn.on("click", save);
41
            }
42
        }
43
    });
44
});