Explorar el Código

Merge branch 'test'

zzy.zhiyuan.foxmail %!s(int64=7) %!d(string=hace) años
padre
commit
57d439f936
Se han modificado 102 ficheros con 3909 adiciones y 2317 borrados
  1. 386 0
      articalIssue.html
  2. 106 0
      articalList.html
  3. 151 0
      articalPreview.html
  4. 307 0
      articalShow.html
  5. 67 74
      bind-mail.html
  6. 4 4
      css/common.css
  7. 253 6
      css/genindex.css
  8. 42 1
      css/share.css
  9. 65 44
      ekexiu/Invitation.html
  10. 95 0
      ekexiu/InvitationNew.html
  11. 77 0
      emaiFindPwdOk.html
  12. 115 0
      fillinfo-select.html
  13. 148 0
      fillinfoNew.html
  14. BIN
      images/default-artical.jpg
  15. BIN
      images/default-icon.jpg
  16. BIN
      images/default-photo.jpg
  17. BIN
      images/default-resource.jpg
  18. BIN
      images/frmPageBg.jpg
  19. BIN
      images/g_article_button_dingbu_hig.png
  20. BIN
      images/g_article_button_dingbu_nor.png
  21. BIN
      images/g_article_button_guanbi_hig.png
  22. BIN
      images/g_article_button_huifu_nor.png
  23. BIN
      images/g_article_button_liuyan_hig.png
  24. BIN
      images/g_article_button_liuyan_nor.png
  25. BIN
      images/g_article_button_shanchu_hig.png
  26. BIN
      images/g_article_button_shoucang_hig.png
  27. BIN
      images/g_article_button_shoucang_nor.png
  28. BIN
      images/g_article_button_weixin_hig.png
  29. BIN
      images/g_article_button_weixin_nor.png
  30. BIN
      images/g_article_button_xiugai_hig.png
  31. BIN
      images/g_article_icon_caogao_hig.png
  32. BIN
      images/g_article_icon_caogao_nor.png
  33. BIN
      images/g_article_icon_dianzan_nor.png
  34. BIN
      images/g_article_icon_dingshi_hig.png
  35. BIN
      images/g_article_icon_dingshi_nor.png
  36. BIN
      images/g_article_icon_fabu_hig.png
  37. BIN
      images/g_article_icon_fabu_nor.png
  38. BIN
      images/g_article_icon_fanbu_nor.png
  39. BIN
      images/g_article_icon_jia_nor.png
  40. BIN
      images/g_article_icon_shanchu_hig.png
  41. BIN
      images/g_article_icon_shanchu_nor.png
  42. BIN
      images/g_article_icon_sousuo_nor.png
  43. BIN
      images/g_article_icon_yulan_hig.png
  44. BIN
      images/g_article_icon_yulan_nor.png
  45. BIN
      images/sign_bg_tishi_1_nor.png
  46. BIN
      images/sign_icon_hr_nor.png
  47. BIN
      images/sign_icon_jishu_nor.png
  48. BIN
      images/sign_icon_keyan_nor.png
  49. BIN
      images/sign_icon_putong_nor.png
  50. BIN
      images/sign_icon_qiyegaoguan_nor.png
  51. BIN
      images/sign_icon_touzifang_nor.png
  52. BIN
      images/sign_icon_xiaoshou_nor.png
  53. BIN
      images/sign_icon_xuanze_hig.png
  54. BIN
      images/sign_icon_xuesheng_nor.png
  55. BIN
      images/sign_icon_zixun_nor.png
  56. BIN
      images/wechat_bg_img_nor@3x.png
  57. BIN
      images/wechat_bg_img_wenben_nor@3x.png
  58. BIN
      images/wechat_icon_logo_nor@3x.png
  59. BIN
      images/wechat_icon_mima_nor@3x.png
  60. BIN
      images/wechat_icon_pro_nor@3x.png
  61. BIN
      images/wechat_icon_shouji_nor@3x.png
  62. BIN
      images/wechat_icon_xingming_nor@3x.png
  63. BIN
      images/wechat_icon_xuqiu_nor@3x.png
  64. BIN
      images/wechat_icon_yanzhengma_nor@3x.png
  65. BIN
      images/wechat_icon_yaoqing_nor@3x.png
  66. 0 168
      information-add.html
  67. 2 2
      js/city.min.js
  68. 12 10
      js/common.js
  69. 80 0
      js/emaiFindPwdOk.js
  70. 81 0
      js/fillinfoNew.js
  71. 0 88
      js/information-add.js
  72. 18 12
      js/invite-friends.js
  73. 0 76
      js/login-email-find01.js
  74. 0 43
      js/login-email-find02.js
  75. 0 106
      js/login-email-find03.js
  76. 0 89
      js/login-first.js
  77. 0 86
      js/login-invite-code.js
  78. 0 138
      js/login-phone-find01.js
  79. 0 75
      js/login-phone-find02.js
  80. 0 150
      js/login.js
  81. 89 0
      js/loginInviteFirst.js
  82. 325 0
      js/loginNew.js
  83. 364 0
      js/pwdFindNew.js
  84. 342 361
      js/register.js
  85. 1 1
      js/scrollfix.js
  86. 2 2
      js/ueditor/ueditor.all.js
  87. 1 1
      js/ueditor/ueditor.config.js
  88. 0 77
      login-email-find01.html
  89. 0 62
      login-email-find02.html
  90. 0 73
      login-email-find03.html
  91. 0 58
      login-first.html
  92. 0 56
      login-invite-code.html
  93. 0 76
      login-phone-find01.html
  94. 0 68
      login-phone-find02.html
  95. 84 71
      login.html
  96. 62 0
      loginInviteFirst.html
  97. 0 99
      loginNew.html
  98. 172 0
      pwdFindNew.html
  99. 76 0
      pwdResult.html
  100. 81 0
      regResult.html
  101. 97 140
      register.html
  102. 204 0
      searchNew.html

+ 386 - 0
articalIssue.html

@ -0,0 +1,386 @@
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" type="image/x-icon" href="images/favicon.png" media="screen" />
9
<link href="css/bootstrap.min.css" rel="stylesheet">
10
<link type="text/css" href="css/common.css" rel="stylesheet">
11
<link type="text/css" href="css/genindex.css" rel="stylesheet">
12
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
13

14
</head>
15

16
<body>
17
<header id="header">
18
	<script src="js/header.js"></script>
19
</header>
20
<div id="container">
21
	<div class="containerCon">
22
		<div class="contentCon clearfix conBlock">
23
			<div class="leftconBox floatL">
24
				<ul class="artAbout">
25
					<li>
26
						<div class="uploadFile">
27
	        				<div class="uploadblock">
28
	        					<input type="file" name= "file" class="upInp uploadFileHidden" id="fileone1" data-id="" />
29
	        					<!--未上传图片时-->
30
	        					<div class="upFront">
31
		        					<p>文章封面大图</p>
32
		        					<p>JPG/PNG格式,2M以内。</p>
33
		            				<span class="upbtn">上传图片</span>
34
	        					</div>
35
	        					<!--已上传图片时-->
36
	        					<span class="upbtn upBackbtn">更换图片</span>
37
		            		</div>
38
	        			</div>
39
					</li>
40
					<li>
41
						<div class="aboutTit">标题<span class="frmconmsg">30字以内</span></div>
42
						<div class="frmtype frmcontype textareabox textareaboxEmp" placeholder="请输入标题" contenteditable="true"></div>
43
					</li>
44
					<li class="form-item">
45
						<div class="aboutTit">关键词<span class="frmconmsg">最多可添加5个关键词、每个关键词最多10个字</span></div>
46
						<div style="position: relative;">
47
							<input type="text" class="frmtype frmcontype" id="" value="" placeholder="请输入关键词" />
48
							<!--输入框中键入内容时按钮显示,添加内容出现在结果标签中时按钮隐藏-->
49
							<button class="frmcontype frmadd">添加</button>
50
						</div>
51
						<div class="form-drop keydrop">
52
							<ul>
53
								<li>
54
									<p class="h2Font">金属材料工程与腐蚀</p>
55
								</li>
56
								<li>
57
									<p class="h2Font">金属材料工程与腐蚀</p>
58
								</li>
59
								<li>
60
									<p class="h2Font">金属材料工程与腐蚀</p>
61
								</li>
62
							</ul>
63
						</div>
64
						<div class="form-result keyResult">
65
							<ul class="clearfix">
66
								<li>
67
									<p class="h2Font">金属材料工程与腐蚀蚀</p>
68
									<div class="closeThis"></div>
69
								</li>
70
								<li>
71
									<p class="h2Font">金属材料工程与腐蚀蚀</p>
72
									<div class="closeThis"></div>
73
								</li>
74
								<li>
75
									<p class="h2Font">金属材料工程与腐蚀蚀</p>
76
									<div class="closeThis"></div>
77
								</li>
78
								<li>
79
									<p class="h2Font">金属材料工程与腐蚀蚀</p>
80
									<div class="closeThis"></div>
81
								</li>
82
								<li>
83
									<p class="h2Font">金属材料工程与腐蚀蚀</p>
84
									<div class="closeThis"></div>
85
								</li>
86
							</ul>
87
						</div>
88
					</li>
89
					<li>
90
						<div class="aboutTit">文章内容<span class="frmconmsg"></span></div>
91
						<!--这块还是使用编辑框插件-->
92
						<div class="editBlock">
93
							<textarea class="frmtype frmcontype" style="border:none;height:318px;" name="" placeholder="请输入文章内容"></textarea>
94
						</div>
95
					</li>
96
				</ul>
97
			</div>
98
			<div class="rightconBox floatR">
99
				<div class="conItem">
100
					<ul class="operateBlock">
101
						<li class="goFabu">
102
							<em class="operateicon icon-issue"></em>
103
							<p>发布</p>
104
						</li>
105
						<li>
106
							<em class="operateicon icon-timeissue"></em>
107
							<p>定时发布</p>
108
						</li>
109
						<li class="articalPreview">
110
							<em class="operateicon icon-preview"></em>
111
							<p>预览</p>
112
						</li>
113
						<li>
114
							<em class="operateicon icon-draft"></em>
115
							<p>存草稿</p>
116
						</li>
117
						<li>
118
							<em class="operateicon icon-delete"></em>
119
							<p>删除</p>
120
						</li>
121
						
122
					</ul>
123
				</div>
124
				<div class="conItem">
125
					<div class="form-item otherBlock">
126
						<div class="aboutTit">相关专家<span class="frmconmsg">最多选择3位专家</span></div>
127
						<input type="text" class="frmtype frmcontype" placeholder="请输入专家姓名" id="" value="" />
128
						<div class="form-drop">
129
							<ul>
130
								<li>
131
									<div class="madiaHead useHead"></div>
132
									<div class="madiaInfo">
133
										<p class="ellipsisSty"><span class="h1Font">张某某</span><span class="h2Font" style="margin-left:10px;">教授高工、董事长兼CEO</span></p>
134
										<p class="h2Font ellipsisSty">北京科袖科技有限公司</p>
135
									</div>
136
								</li>
137
								<li>
138
									<div class="madiaHead useHead"></div>
139
									<div class="madiaInfo">
140
										<p class="ellipsisSty"><span class="h1Font">张某某</span><span class="h2Font" style="margin-left:10px;">教授高工、董事长兼CEO</span></p>
141
										<p class="h2Font ellipsisSty">北京科袖科技有限公司</p>
142
									</div>
143
								</li>
144
								<li>
145
									<div class="madiaHead useHead"></div>
146
									<div class="madiaInfo">
147
										<p class="ellipsisSty"><span class="h1Font">张某某</span><span class="h2Font" style="margin-left:10px;">教授高工、董事长兼CEO</span></p>
148
										<p class="h2Font ellipsisSty">北京科袖科技有限公司</p>
149
									</div>
150
								</li>
151
							</ul>
152
						</div>
153
						<div class="form-result">
154
							<ul>
155
								<li>
156
									<div class="madiaHead useHead"></div>
157
									<div class="madiaInfo">
158
										<p class="ellipsisSty"><span class="h1Font">张某某</span><span class="h2Font" style="margin-left:10px;">教授高工、董事长兼CEO</span></p>
159
										<p class="h2Font ellipsisSty">北京科袖科技有限公司</p>
160
									</div>
161
									<div class="deleteThis"></div>
162
								</li>
163
								<li>
164
									<div class="madiaHead useHead"></div>
165
									<div class="madiaInfo">
166
										<p class="ellipsisSty"><span class="h1Font">张某某</span><span class="h2Font" style="margin-left:10px;">教授高工、董事长兼CEO</span></p>
167
										<p class="h2Font ellipsisSty">北京科袖科技有限公司</p>
168
									</div>
169
									<div class="deleteThis"></div>
170
								</li>
171
							</ul>
172
						</div>
173
					</div>
174
					<div class="form-item otherBlock">
175
						<div class="aboutTit">相关资源<span class="frmconmsg">最多选择3条资源</span></div>
176
						<input type="text" class="frmtype frmcontype" placeholder="请输入资源名称" id="" value="" />
177
						<div class="form-drop">
178
							<ul>
179
								<li>
180
									<div class="madiaHead resouseHead"></div>
181
									<div class="madiaInfo">
182
										<p class="h2Font ellipsisSty">资源名称资源名称资源名称资源名称资源名称</p>
183
										<p class="h1Font">李大大</p>
184
									</div>
185
								</li>
186
								<li>
187
									<div class="madiaHead resouseHead"></div>
188
									<div class="madiaInfo">
189
										<p class="h2Font ellipsisSty">资源名称资源名称资源名称资源名称资源名称</p>
190
										<p class="h1Font">李大大</p>
191
									</div>
192
								</li>
193
								<li>
194
									<div class="madiaHead resouseHead"></div>
195
									<div class="madiaInfo">
196
										<p class="h2Font ellipsisSty">资源名称资源名称资源名称资源名称资源名称</p>
197
										<p class="h1Font">李大大</p>
198
									</div>
199
								</li>
200
							</ul>
201
						</div>
202
						<div class="form-result">
203
							<ul>
204
								<li>
205
									<div class="madiaHead resouseHead"></div>
206
									<div class="madiaInfo">
207
										<p class="h2Font ellipsisSty">资源名称资源名称资源名称资源名称资源名称</p>
208
										<p class="h1Font">李大大</p>
209
									</div>
210
									<div class="deleteThis"></div>
211
								</li>
212
								<li>
213
									<div class="madiaHead resouseHead"></div>
214
									<div class="madiaInfo">
215
										<p class="h2Font ellipsisSty">资源名称资源名称资源名称资源名称资源名称</p>
216
										<p class="h1Font">李大大</p>
217
									</div>
218
									<div class="deleteThis"></div>
219
								</li>
220
							</ul>
221
						</div>
222
					</div>
223
				</div>
224
			</div>
225
		</div>
226
	</div>
227
</div>
228
<footer>
229
	<script type="text/javascript" src="js/footer.js"></script>
230
</footer>
231
<!--文章预览-->
232
<div class="blackcover">
233
	<div class="modelContain modelContain2">
234
		<div class="containerCon clearfix conBlock" style="padding:10px 10px 0;">
235
			<div class="leftconBox floatL">
236
				<div class="showDetail">
237
					<div class="h1Font">福福福福福福福福福付4福福福福福福福福福付4福福福福福福福福福付4福福福福福福福福福付4</div>
238
					<div class="h2Font"><span id="creTime">2月23日 14:38</span> <span class="readNum">阅读量10000</span></div>
239
					<div class="showBigOpen" style="background-image: url(images/banner/banner01.jpg);"></div>
240
					<!--文章内容区-->
241
					<div class="showMain">
242
<p>分享,是我觉得对我熟人圈的亲戚朋友同事们有用,所以发布出来让大家看到的内容,最简单的就是鸡汤、各种鸡汤,养生,各种养生,因为这是关乎心灵和身体健康的东西。位居其后的,是我认为重要的信息。什么是重要的信息,后面我会专门展开来讲。
243
以展示和分享为主要目的的传播特征,使得社交媒体上发布的信息很像是美图秀,是无意中被刻意挑选过的。</p><p>因为朋友圈中发布的信息其实是有某种强烈的筛选机制。虽然理论上任意两个人都可以通过非常有限的朋友圈建立联系,它看上去像是开发的,但实际上,每个人的朋友圈基本上都是处于半开放的,因为虽然互相关注,但你可以选择他是否可以看你发布的内容,以及你是否看他发布的内容。
244
所以,任意一个朋友圈都是特定观念和偏好的集合,信息是在特定人群中间传播。一个坚持买《环球时报》的人,很少看到南方系的内容,反之亦然,一个热爱中医养生的人,很少看到科普党人反中医的文章,反之亦然,一个热爱唐装盘手串的人,很少看到整天攻击中国传统文化的内容,反之亦然。</p>
245
<p><img src="images/banner/banner01.jpg" /></p>
246
<p>所谓展示,指的是我通过信息的发布,展示我的生活方式生活态度和精神面目,一个人展示出来的东西,其实是他希望和想象的理想状态,通常是比实际情况要高一档次,比如一个人一周要吃五次卤煮,他肯定不会秀自己整天吃卤煮,但是,他要吃了一次日本料理,就一定会秀出来。去动物园服装批发市场买衣服,他不会秀,但他去了一次东京银座,即使不购物也会展示出来。他跑了五公里会秀,但宅在家里两天不出门灰头土脑一定不会秀。同样的,晒娃、晒猫狗、秀恩爱也是基于同样的心理,我希望通过这些信息,来展示我是一个多么热爱生活,当然,重要是生活品质很高,并且关心社会的一个面貌。</p>
247
					</div>
248
					<!--标签模块-->
249
					<ul class="tagList">
250
						<li>
251
							<p class="h2Font">金属材料工程与腐蚀蚀</p>
252
						</li>
253
						<li>
254
							<p class="h2Font">金属材料工程与腐蚀蚀</p>
255
						</li>
256
						<li>
257
							<p class="h2Font">金属材料工程与腐蚀蚀</p>
258
						</li>
259
						<li>
260
							<p class="h2Font">金属材料工程与腐蚀蚀</p>
261
						</li>
262
						<li>
263
							<p class="h2Font">金属材料工程与腐蚀蚀</p>
264
						</li>
265
					</ul>
266
					<!--相关专家-->
267
					<div class="form-item otherShow otherShowFirst">
268
						<div class="aboutTit">相关专家</div>
269
						<div class="form-result">
270
							<ul>
271
								<li>
272
									<div class="madiaHead useHead"></div>
273
									<div class="madiaInfo">
274
										<p><span class="h1Font">张某某</span><em class="authiconNew authicon-pro" title="科袖认证专家"></em></p>
275
										<p class="ellipsisSty h2Font">教授高工、董事长兼CEO</p>
276
										<p class="h2Font ellipsisSty">研究方向:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
277
									</div>
278
								</li>
279
								<li>
280
									<div class="madiaHead useHead"></div>
281
									<div class="madiaInfo">
282
										<p><span class="h1Font">张某某</span><em class="authiconNew authicon-pro" title="科袖认证专家"></em></p>
283
										<p class="ellipsisSty h2Font">教授高工、董事长兼CEO</p>
284
										<p class="h2Font ellipsisSty">研究方向:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
285
									</div>
286
								</li>
287
								<li>
288
									<div class="madiaHead useHead"></div>
289
									<div class="madiaInfo">
290
										<p><span class="h1Font">张某某</span><em class="authiconNew authicon-pro" title="科袖认证专家"></em></p>
291
										<p class="ellipsisSty h2Font">教授高工、董事长兼CEO</p>
292
										<p class="h2Font ellipsisSty">研究方向:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
293
									</div>
294
								</li>
295
							</ul>
296
						</div>
297
					</div>
298
					<!--相关资源-->
299
					<div class="form-item otherShow">
300
						<div class="aboutTit">相关资源</div>
301
						<div class="form-result aboutRes">
302
							<ul>
303
								<li>
304
									<div class="madiaHead resouseHead"></div>
305
									<div class="madiaInfo">
306
										<p class="h1Font">资源名称资源名称资源名称</p>
307
										<p class="h2Font ellipsisSty-2">用途:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
308
									</div>
309
								</li>
310
								<li>
311
									<div class="madiaHead resouseHead"></div>
312
									<div class="madiaInfo">
313
										<p class="h1Font">资源名称资源名称资源名称</p>
314
										<p class="h2Font ellipsisSty-2">用途:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
315
									</div>
316
								</li>
317
								<li>
318
									<div class="madiaHead resouseHead"></div>
319
									<div class="madiaInfo">
320
										<p class="h1Font">资源名称资源名称资源名称</p>
321
										<p class="h2Font ellipsisSty-2">用途:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
322
									</div>
323
								</li>
324
							</ul>
325
						</div>
326
					</div>
327
				</div>
328
			</div>
329
			<div class="rightconBox floatR">
330
				<div class="conItem conItemG alignCenter" style="border:none;padding:30px;">
331
					<div class="madiaHead useHead"></div>
332
					<div class="proInfo">
333
						<div class="h3Font clearfix">
334
							<span class="h1Font" id="nameS">张某某</span>
335
							<span class="authiconNew authicon-pro" title="科袖认证专家" id="authFlag"></span>
336
						</div>
337
						<p class="h2Font">教授高工、董事长兼CEO</p>
338
						<p class="h2Font" id="orgType">北京科袖科技有限公司</p>
339
					</div>
340
				</div>
341
				<div class="conItem conItemG" style="border:none;padding:30px;">
342
					<div class="madiaHead cmpHead"></div>
343
					<div class="proInfo alignCenter">
344
						<div class="h3Font clearfix">
345
							<span class="h1Font" id="nameS">北京科袖科技有限公司</span>
346
							<span class="authiconNew authicon-com-ok" title="科袖认证企业" id="authFlag"></span>
347
						</div>
348
						<p class="h2Font">所属行业 | 企业类型</p>
349
					</div>
350
				</div>
351
			</div>
352
		</div>
353
		<span class="modelClosebtn"></span>	
354
	</div>
355
</div>
356

357

358
<script type="text/javascript" src="js/jquery.cookie.js"></script>
359
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
360
<script type="text/javascript" src="js/jquery.page.js"></script>
361
<script type="text/javascript" src="js/common.js"></script>
362
<script type="text/javascript">
363
	$(".textareaboxEmp").keyup(function(){
364
		$(this).css("content","none");
365
	})
366
	
367
//Model模态框打开关闭
368
function modelOpen(){
369
	$(".blackcover").fadeIn();
370
	$(".modelContain").slideDown();
371
	$("body").addClass("modelOpen");
372
}
373
function modelClose(){
374
	$(".modelContain").slideUp();
375
	$(".blackcover").fadeOut();
376
	$("body").removeClass("modelOpen");
377
}
378
	$(".articalPreview").click(function() {
379
		modelOpen();
380
	})
381
	$(".modelClosebtn").click(function() {
382
		modelClose();
383
	})
384
</script>
385
</body>
386
</html>

+ 106 - 0
articalList.html

@ -0,0 +1,106 @@
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" type="image/x-icon" href="images/favicon.png" media="screen" />
9
<link href="css/bootstrap.min.css" rel="stylesheet">
10
<link type="text/css" href="css/common.css" rel="stylesheet">
11
<link type="text/css" href="css/workspace.css" rel="stylesheet">
12
<link type="text/css" href="css/genindex.css" rel="stylesheet">
13
<style type="text/css">
14
	.workmenu{background: #FFFFFF;}
15
	.workcon{background: #FFFFFF;}
16
</style>
17
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
18

19
</head>
20

21
<body>
22
<header id="header">
23
	<script src="js/header.js"></script>
24
</header>
25
<!--中间-->
26
<div id="container">
27
	<div class="con-center contentCon clearfix conBlock">
28
        <div class="workmenu" >
29
            <a href="workspaces.html" class="workmenutit">我的工作台</a>
30
            <a class="worksubmenu" id="gozixu">咨询</a>
31
            <a href="newsciresource.html"  class="worksubmenu" >资源</a>
32
            <a href="news-list.html"  class="worksubmenu subcolor" >文章</a>
33
            <a href="needList.html"  class="worksubmenu" >需求</a>
34
        </div>
35
        <div class="workcon">
36
			<div class="workconitem">
37
				<div class="workcontit">科研文章</div>
38
				<div class="worksubcon">
39
					<div class="itemListBolck">
40
						<div class="topOperaBlock clearfix">
41
							<div class="searchAbout col-w-8">
42
								<input class="frmcontype" type="search" name="" placeholder="输入文章标题">
43
								<span class="searchSpan"></span>
44
							</div>
45
							<div class="issueSpanBlock col-w-4">
46
								<span class="issueSpan">发布文章</span>
47
							</div>
48
						</div>
49
						<div class="form-item itemListCon">
50
							<div class="form-result aboutRes">
51
								<ul>
52
									<li>
53
										<div class="madiaHead artHead"></div>
54
										<div class="madiaInfo">
55
											<p class="h1Font ellipsisSty">材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护</p>
56
											<ul class="h2Font clearfix">
57
												<li><span>8月20日 4:00</span></li>
58
												<li><span>阅读量100</span></li>
59
												<li><span>点赞20</span></li>
60
												<li><span>评论30</span></li>
61
											</ul>
62
										</div>
63
										<ul class="madiaEdit">
64
											<li><span class="deteleThis2"></span></li>
65
										</ul>
66
									</li>
67
									<li class="draftList"><!--存为草稿时添加draftList类-->
68
										<div class="madiaHead artHead"></div>
69
										<div class="madiaInfo">
70
											<p class="h1Font ellipsisSty">材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护</p>
71
											<ul class="h2Font clearfix">
72
												<li><span>8月20日 4:00</span></li>
73
											</ul>
74
											<span class="draftLable">草稿</span>
75
										</div>
76
										<ul class="madiaEdit">
77
											<li><span class="deteleThis2"></span></li>
78
											<li><span class="editThis"></span></li><!--存为草稿时才会有编辑按钮-->
79
										</ul>
80
									</li>
81
								</ul>
82
								<div class="tcdPageCode"></div>
83
							</div>
84
						</div>
85
					</div>
86
				</div>
87
			</div>
88
        </div>
89
    </div>
90
</div>
91
<footer>
92
	<script type="text/javascript" src="js/footer.js"></script>
93
</footer>
94

95
<script type="text/javascript" src="js/jquery.cookie.js"></script>
96
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
97
<script type="text/javascript" src="js/jquery.page.js"></script>
98
<script type="text/javascript" src="js/common.js"></script>
99
<script type="text/javascript">
100
	$(".tcdPageCode").createPage({
101
		pageCount: Math.ceil(4 / 16),
102
		current: 3,
103
	});
104
</script>
105
</body>
106
</html>

+ 151 - 0
articalPreview.html

@ -0,0 +1,151 @@
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" type="image/x-icon" href="images/favicon.png" media="screen" />
9
<link href="css/bootstrap.min.css" rel="stylesheet">
10
<link type="text/css" href="css/common.css" rel="stylesheet">
11
<link type="text/css" href="css/genindex.css" rel="stylesheet">
12
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
13

14
</head>
15

16
<body>
17
<header id="header">
18
	<script src="js/header.js"></script>
19
</header>
20
<div id="container">
21
	
22
	<div class="containerCon">
23
		<div class="contentCon clearfix conBlock">
24
			<div class="leftconBox floatL">
25
				<div class="showDetail">
26
					<div class="h1Font">福福福福福福福福福付4福福福福福福福福福付4福福福福福福福福福付4福福福福福福福福福付4</div>
27
					<div class="h2Font"><span id="creTime">2月23日 14:38</span> <span class="readNum">阅读量10000</span></div>
28
					<div class="showBigOpen" style="background-image: url(images/banner/banner01.jpg);"></div>
29
					<!--文章内容区-->
30
					<div class="showMain">
31
<p>分享,是我觉得对我熟人圈的亲戚朋友同事们有用,所以发布出来让大家看到的内容,最简单的就是鸡汤、各种鸡汤,养生,各种养生,因为这是关乎心灵和身体健康的东西。位居其后的,是我认为重要的信息。什么是重要的信息,后面我会专门展开来讲。
32
以展示和分享为主要目的的传播特征,使得社交媒体上发布的信息很像是美图秀,是无意中被刻意挑选过的。</p><p>因为朋友圈中发布的信息其实是有某种强烈的筛选机制。虽然理论上任意两个人都可以通过非常有限的朋友圈建立联系,它看上去像是开发的,但实际上,每个人的朋友圈基本上都是处于半开放的,因为虽然互相关注,但你可以选择他是否可以看你发布的内容,以及你是否看他发布的内容。
33
所以,任意一个朋友圈都是特定观念和偏好的集合,信息是在特定人群中间传播。一个坚持买《环球时报》的人,很少看到南方系的内容,反之亦然,一个热爱中医养生的人,很少看到科普党人反中医的文章,反之亦然,一个热爱唐装盘手串的人,很少看到整天攻击中国传统文化的内容,反之亦然。</p>
34
<p><img src="images/banner/banner01.jpg" /></p>
35
<p>所谓展示,指的是我通过信息的发布,展示我的生活方式生活态度和精神面目,一个人展示出来的东西,其实是他希望和想象的理想状态,通常是比实际情况要高一档次,比如一个人一周要吃五次卤煮,他肯定不会秀自己整天吃卤煮,但是,他要吃了一次日本料理,就一定会秀出来。去动物园服装批发市场买衣服,他不会秀,但他去了一次东京银座,即使不购物也会展示出来。他跑了五公里会秀,但宅在家里两天不出门灰头土脑一定不会秀。同样的,晒娃、晒猫狗、秀恩爱也是基于同样的心理,我希望通过这些信息,来展示我是一个多么热爱生活,当然,重要是生活品质很高,并且关心社会的一个面貌。</p>
36
					</div>
37
					<!--标签模块-->
38
					<ul class="tagList">
39
						<li>
40
							<p class="h2Font">金属材料工程与腐蚀蚀</p>
41
						</li>
42
						<li>
43
							<p class="h2Font">金属材料工程与腐蚀蚀</p>
44
						</li>
45
						<li>
46
							<p class="h2Font">金属材料工程与腐蚀蚀</p>
47
						</li>
48
						<li>
49
							<p class="h2Font">金属材料工程与腐蚀蚀</p>
50
						</li>
51
						<li>
52
							<p class="h2Font">金属材料工程与腐蚀蚀</p>
53
						</li>
54
					</ul>
55
					<!--相关专家-->
56
					<div class="form-item otherShow otherShowFirst">
57
						<div class="aboutTit">相关专家</div>
58
						<div class="form-result">
59
							<ul>
60
								<li>
61
									<div class="madiaHead useHead"></div>
62
									<div class="madiaInfo">
63
										<p><span class="h1Font">张某某</span><em class="authiconNew authicon-pro" title="科袖认证专家"></em></p>
64
										<p class="ellipsisSty h2Font">教授高工、董事长兼CEO</p>
65
										<p class="h2Font ellipsisSty">研究方向:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
66
									</div>
67
								</li>
68
								<li>
69
									<div class="madiaHead useHead"></div>
70
									<div class="madiaInfo">
71
										<p><span class="h1Font">张某某</span><em class="authiconNew authicon-pro" title="科袖认证专家"></em></p>
72
										<p class="ellipsisSty h2Font">教授高工、董事长兼CEO</p>
73
										<p class="h2Font ellipsisSty">研究方向:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
74
									</div>
75
								</li>
76
								<li>
77
									<div class="madiaHead useHead"></div>
78
									<div class="madiaInfo">
79
										<p><span class="h1Font">张某某</span><em class="authiconNew authicon-pro" title="科袖认证专家"></em></p>
80
										<p class="ellipsisSty h2Font">教授高工、董事长兼CEO</p>
81
										<p class="h2Font ellipsisSty">研究方向:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
82
									</div>
83
								</li>
84
							</ul>
85
						</div>
86
					</div>
87
					<!--相关资源-->
88
					<div class="form-item otherShow">
89
						<div class="aboutTit">相关资源</div>
90
						<div class="form-result aboutRes">
91
							<ul>
92
								<li>
93
									<div class="madiaHead resouseHead"></div>
94
									<div class="madiaInfo">
95
										<p class="h1Font">资源名称资源名称资源名称</p>
96
										<p class="h2Font ellipsisSty-2">用途:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
97
									</div>
98
								</li>
99
								<li>
100
									<div class="madiaHead resouseHead"></div>
101
									<div class="madiaInfo">
102
										<p class="h1Font">资源名称资源名称资源名称</p>
103
										<p class="h2Font ellipsisSty-2">用途:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
104
									</div>
105
								</li>
106
								<li>
107
									<div class="madiaHead resouseHead"></div>
108
									<div class="madiaInfo">
109
										<p class="h1Font">资源名称资源名称资源名称</p>
110
										<p class="h2Font ellipsisSty-2">用途:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
111
									</div>
112
								</li>
113
							</ul>
114
						</div>
115
					</div>
116
				</div>
117
			</div>
118
			<div class="rightconBox floatR">
119
				<div class="conItem conItemG alignCenter" style="border:none;padding:30px;">
120
					<div class="madiaHead useHead"></div>
121
					<div class="proInfo">
122
						<div class="h3Font clearfix">
123
							<span class="h1Font" id="nameS">张某某</span>
124
							<span class="authiconNew authicon-pro" title="科袖认证专家" id="authFlag"></span>
125
						</div>
126
						<p class="h2Font">教授高工、董事长兼CEO</p>
127
						<p class="h2Font" id="orgType">北京科袖科技有限公司</p>
128
					</div>
129
				</div>
130
				<div class="conItem conItemG" style="border:none;padding:30px;">
131
					<div class="madiaHead cmpHead"></div>
132
					<div class="proInfo alignCenter">
133
						<div class="h3Font clearfix">
134
							<span class="h1Font" id="nameS">北京科袖科技有限公司</span>
135
							<span class="authiconNew authicon-com-ok" title="科袖认证企业" id="authFlag"></span>
136
						</div>
137
						<p class="h2Font">所属行业 | 企业类型</p>
138
					</div>
139
				</div>
140
			</div>
141
		</div>
142
	</div>
143
	
144
</div>
145
<footer>
146
	<script type="text/javascript" src="js/footer.js"></script>
147
</footer>
148
<script type="text/javascript" src="js/jquery.cookie.js"></script>
149
<script type="text/javascript" src="js/common.js"></script>
150
</body>
151
</html>

+ 307 - 0
articalShow.html

@ -0,0 +1,307 @@
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" type="image/x-icon" href="images/favicon.png" media="screen" />
9
<link href="css/bootstrap.min.css" rel="stylesheet">
10
<link type="text/css" href="css/common.css" rel="stylesheet">
11
<link type="text/css" href="css/genindex.css" rel="stylesheet">
12
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
13

14
</head>
15

16
<body>
17
<header id="header">
18
	<script src="js/header.js"></script>
19
</header>
20
<div id="container">
21
	<div class="containerCon">
22
		<div class="contentCon clearfix conBlock">
23
			<div class="leftconBox floatL">
24
				<div class="showDetail">
25
					<div class="h1Font">福福福福福福福福福付4福福福福福福福福福付4福福福福福福福福福付4福福福福福福福福福付4</div>
26
					<div class="h2Font"><span id="creTime">2月23日 14:38</span> <span class="readNum">阅读量10000</span></div>
27
					<div class="showBigOpen" style="background-image: url(images/banner/banner01.jpg);"></div>
28
					<!--文章内容区-->
29
					<div class="showMain">
30
<p>分享,是我觉得对我熟人圈的亲戚朋友同事们有用,所以发布出来让大家看到的内容,最简单的就是鸡汤、各种鸡汤,养生,各种养生,因为这是关乎心灵和身体健康的东西。位居其后的,是我认为重要的信息。什么是重要的信息,后面我会专门展开来讲。
31
以展示和分享为主要目的的传播特征,使得社交媒体上发布的信息很像是美图秀,是无意中被刻意挑选过的。</p><p>因为朋友圈中发布的信息其实是有某种强烈的筛选机制。虽然理论上任意两个人都可以通过非常有限的朋友圈建立联系,它看上去像是开发的,但实际上,每个人的朋友圈基本上都是处于半开放的,因为虽然互相关注,但你可以选择他是否可以看你发布的内容,以及你是否看他发布的内容。
32
所以,任意一个朋友圈都是特定观念和偏好的集合,信息是在特定人群中间传播。一个坚持买《环球时报》的人,很少看到南方系的内容,反之亦然,一个热爱中医养生的人,很少看到科普党人反中医的文章,反之亦然,一个热爱唐装盘手串的人,很少看到整天攻击中国传统文化的内容,反之亦然。</p>
33
<p><img src="images/banner/banner01.jpg" /></p>
34
<p>所谓展示,指的是我通过信息的发布,展示我的生活方式生活态度和精神面目,一个人展示出来的东西,其实是他希望和想象的理想状态,通常是比实际情况要高一档次,比如一个人一周要吃五次卤煮,他肯定不会秀自己整天吃卤煮,但是,他要吃了一次日本料理,就一定会秀出来。去动物园服装批发市场买衣服,他不会秀,但他去了一次东京银座,即使不购物也会展示出来。他跑了五公里会秀,但宅在家里两天不出门灰头土脑一定不会秀。同样的,晒娃、晒猫狗、秀恩爱也是基于同样的心理,我希望通过这些信息,来展示我是一个多么热爱生活,当然,重要是生活品质很高,并且关心社会的一个面貌。</p>
35
					</div>
36
					<!--标签模块-->
37
					<ul class="tagList">
38
						<li>
39
							<p class="h2Font">金属材料工程与腐蚀蚀</p>
40
						</li>
41
						<li>
42
							<p class="h2Font">金属材料工程与腐蚀蚀</p>
43
						</li>
44
						<li>
45
							<p class="h2Font">金属材料工程与腐蚀蚀</p>
46
						</li>
47
						<li>
48
							<p class="h2Font">金属材料工程与腐蚀蚀</p>
49
						</li>
50
						<li>
51
							<p class="h2Font">金属材料工程与腐蚀蚀</p>
52
						</li>
53
					</ul>
54
					<!--相关专家-->
55
					<div class="form-item otherShow otherShowFirst">
56
						<div class="aboutTit">相关专家</div>
57
						<div class="form-result">
58
							<ul>
59
								<li>
60
									<div class="madiaHead useHead"></div>
61
									<div class="madiaInfo">
62
										<p><span class="h1Font">张某某</span><em class="authiconNew authicon-pro" title="科袖认证专家"></em></p>
63
										<p class="ellipsisSty h2Font">教授高工、董事长兼CEO</p>
64
										<p class="h2Font ellipsisSty">研究方向:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
65
									</div>
66
								</li>
67
								<li>
68
									<div class="madiaHead useHead"></div>
69
									<div class="madiaInfo">
70
										<p><span class="h1Font">张某某</span><em class="authiconNew authicon-pro" title="科袖认证专家"></em></p>
71
										<p class="ellipsisSty h2Font">教授高工、董事长兼CEO</p>
72
										<p class="h2Font ellipsisSty">研究方向:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
73
									</div>
74
								</li>
75
								<li>
76
									<div class="madiaHead useHead"></div>
77
									<div class="madiaInfo">
78
										<p><span class="h1Font">张某某</span><em class="authiconNew authicon-pro" title="科袖认证专家"></em></p>
79
										<p class="ellipsisSty h2Font">教授高工、董事长兼CEO</p>
80
										<p class="h2Font ellipsisSty">研究方向:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
81
									</div>
82
								</li>
83
							</ul>
84
						</div>
85
					</div>
86
					<!--相关资源-->
87
					<div class="form-item otherShow">
88
						<div class="aboutTit">相关资源</div>
89
						<div class="form-result aboutRes">
90
							<ul>
91
								<li>
92
									<div class="madiaHead resouseHead"></div>
93
									<div class="madiaInfo">
94
										<p class="h1Font">资源名称资源名称资源名称</p>
95
										<p class="h2Font ellipsisSty-2">用途:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
96
									</div>
97
								</li>
98
								<li>
99
									<div class="madiaHead resouseHead"></div>
100
									<div class="madiaInfo">
101
										<p class="h1Font">资源名称资源名称资源名称</p>
102
										<p class="h2Font ellipsisSty-2">用途:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
103
									</div>
104
								</li>
105
								<li>
106
									<div class="madiaHead resouseHead"></div>
107
									<div class="madiaInfo">
108
										<p class="h1Font">资源名称资源名称资源名称</p>
109
										<p class="h2Font ellipsisSty-2">用途:材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;材料腐蚀防护;</p>
110
									</div>
111
								</li>
112
							</ul>
113
						</div>
114
					</div>
115
					<!--点赞模块-->
116
					<div class="thumbBlock">
117
						<span class="thumbBtn">赞200</span>
118
					</div>
119
					<!--分享操作栏-->
120
					<div class="shareBlock clearfix">
121
						<div class="form-item shareInfo floatL">
122
							<div class="madiaHead useHead"></div>
123
							<div class="madiaInfo">
124
								<span class="h1Font ellipsisSty">张大大张大大张大大张大大张大大张大大张大大张大大张大大</span>
125
								<em class="authiconNew authicon-pro" title="科袖认证专家"></em>
126
							</div>
127
						</div>
128
						<ul class="shareWays floatR">
129
							<li><em class="operateicon icon-message"></em><span class="message">240</span></li>
130
							<li id="attention"><em class="operateicon icon-collect"></em></li>
131
							<li>
132
								<em class="operateicon icon-wechat shareWeixin">
133
									<div class="shareCode clearfix">
134
										<div class="floatL" id="qrcode"></div>
135
										<div class="shareWord floatR">
136
											<p>打开微信“扫一扫”,<br/>打开网页后点击屏幕右上角“分享”按钮</p>
137
										</div>
138
									</div>
139
								</em>
140
							</li>
141
							<li><em class="operateicon icon-sina"></em></li>
142
							<li><em class="operateicon icon-qq"></em></li>
143
							<li><em class="operateicon icon-totop upTop"></em></li>
144
						</ul>
145
					</div>
146
					<div class="share-bottom"></div>
147
					<div class="ifLogin">
148
					    <!--未登录-->
149
					    <div class="ifLoginUn">
150
					    	<span class="floaL">大牛,别默默的看了,快登录给我留言吧!</span>
151
					    	<ul class="floatR">
152
					    		<li><a href="register.html">注册</a></li>
153
					    		<li><a>|</a></li>
154
					    		<li id="login"><a href="login.html">登录</a></li>
155
					    	</ul>
156
					    </div>
157
					    <!--登录可留言-->
158
					    <form class="ifLoginOn clearfix">
159
					    	<div class="msgContbox">
160
					    		<textarea class="msgCont" placeholder="请输入您的留言内容..."></textarea>
161
					    		<span class="msgconNum">0/250</span>
162
					    	</div>
163
					    	<button class="frmconbtn btnModel floatR" disabled id="meSend">留言</button>
164
					    </form>
165
					</div>
166
					<div class="form-item commentsArea">
167
						<ul class="commentList">
168
							<li>
169
								<div class="madiaHead useHead"></div>
170
								<div class="madiaInfo">
171
									<p>
172
										<span class="h1Font">张某某</span>
173
										<em class="authiconNew authicon-pro" title="科袖认证专家"></em>
174
										<span class="commenttime">9月30号 12:00</span>
175
									</p>
176
									<p class="h2Font">材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护
177
										材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护
178
									</p>
179
									<div class="operateSpan">
180
										<span class="callBack">回复</span>
181
										<span>删除</span>
182
									</div>
183
								</div>
184
							</li>
185
							<li>
186
								<div class="madiaHead useHead"></div>
187
								<div class="madiaInfo">
188
									<p>
189
										<span class="h1Font">张某某</span>
190
										<em class="authiconNew authicon-pro" title="科袖认证专家"></em>
191
										<span class="commenttime">9月30号 12:00</span>
192
									</p>
193
									<p class="h2Font">材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护
194
									</p>
195
									<div class="operateSpan">
196
										<span class="callBack">回复</span>
197
										<span>删除</span>
198
									</div>
199
								</div>
200
							</li>
201
							<li>
202
								<div class="madiaHead useHead"></div>
203
								<div class="madiaInfo">
204
									<p>
205
										<span class="h1Font">张某某</span>
206
										<em class="authiconNew authicon-pro" title="科袖认证专家"></em>
207
										<span class="commenttime">9月30号 12:00</span>
208
									</p>
209
									<p class="h2Font">材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护
210
									</p>
211
									<div class="operateSpan">
212
										<span class="callBack">回复</span>
213
										<span>删除</span>
214
									</div>
215
								</div>
216
							</li>
217
						</ul>
218
						<button class="frmconbtn btnCancel">查看更多留言</button>
219
					</div>
220
					<!--相关文章-->
221
					<div class="form-item otherShow">
222
						<div class="aboutTit">相关文章</div>
223
						<div class="form-result aboutRes">
224
							<ul>
225
								<li>
226
									<div class="madiaHead artHead"></div>
227
									<div class="madiaInfo">
228
										<p class="h1Font ellipsisSty-2">材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护</p>
229
										<p><span class="h1Font">张某某</span><em class="authiconNew authicon-pro" title="科袖认证专家"></em></p>
230
									</div>
231
								</li>
232
								<li>
233
									<div class="madiaHead artHead"></div>
234
									<div class="madiaInfo">
235
										<p class="h1Font ellipsisSty-2">材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护</p>
236
										<p><span class="h1Font">张某某</span><em class="authiconNew authicon-pro" title="科袖认证专家"></em></p>
237
									</div>
238
								</li>
239
								<li>
240
									<div class="madiaHead artHead"></div>
241
									<div class="madiaInfo">
242
										<p class="h1Font ellipsisSty-2">材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护材料腐蚀防护</p>
243
										<p><span class="h1Font">张某某</span><em class="authiconNew authicon-pro" title="科袖认证专家"></em></p>
244
									</div>
245
								</li>
246
							</ul>
247
						</div>
248
					</div>
249
				</div>
250
			</div>
251
			<div class="rightconBox floatR">
252
				<div class="conItem conItemG alignCenter" style="border:none;padding:30px;">
253
					<div class="madiaHead useHead"></div>
254
					<div class="proInfo">
255
						<div class="h3Font clearfix">
256
							<span class="h1Font" id="nameS">张某某</span>
257
							<span class="authiconNew authicon-pro" title="科袖认证专家" id="authFlag"></span>
258
						</div>
259
						<p class="h2Font">教授高工、董事长兼CEO</p>
260
						<p class="h2Font" id="orgType">北京科袖科技有限公司</p>
261
					</div>
262
					<span class="attenSpan">关注</span>
263
				</div>
264
				<div class="conItem conItemG" style="border:none;padding:30px;">
265
					<div class="madiaHead cmpHead"></div>
266
					<div class="proInfo alignCenter">
267
						<div class="h3Font clearfix">
268
							<span class="h1Font" id="nameS">北京科袖科技有限公司</span>
269
							<span class="authiconNew authicon-com-ok" title="科袖认证企业" id="authFlag"></span>
270
						</div>
271
						<p class="h2Font">所属行业 | 企业类型</p>
272
					</div>
273
				</div>
274
			</div>
275
		</div>
276
	</div>
277
</div>
278
<footer>
279
	<script type="text/javascript" src="js/footer.js"></script>
280
</footer>
281

282
<script type="text/javascript" src="js/jquery.cookie.js"></script>
283
<script type="text/javascript" src="js/scrollfix.js"></script>
284
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
285
<script type="text/javascript" src="js/jquery.page.js"></script>
286
<script type="text/javascript" src="js/common.js"></script>
287
<script type="text/javascript">
288
	$(".textareaboxEmp").keyup(function(){
289
		$(this).css("content","none");
290
	})
291
	$('.upTop').click(function(){$('html,body').animate({scrollTop: '0px'}, 800);}); 
292
	$('.wordHave').click(function(){$('html,body').animate({scrollTop: ($('.resTop').height()+80)+'px'}, 800);}); 
293
	$('.shareWeixin').hover(function(){$('.shareCode').stop(true,false).fadeToggle();});
294
	//留言分享操作栏		
295
	setTimeout(function() {
296
		var oShareW = $('.share-nav').outerWidth(true);
297
		$('.shareBlock').scrollFix( {
298
	        startTop:'body',
299
	        bottom: '0',
300
	        endPos : '.share-bottom',
301
			width: oShareW ,
302
	        zIndex : 997
303
	    });	
304
	}, 1000);	
305
</script>
306
</body>
307
</html>

+ 67 - 74
bind-mail.html

@ -1,88 +1,81 @@
1 1
<!DOCTYPE html>
2 2
<html>
3 3
<head>
4
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">
5
-->
6 4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7 5
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
8

9 6
<meta http-equiv="X-UA-Compatible" content="IE=edge">
10
<title>邮箱验证-科袖网</title>
11
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" />
12
<link href="css/bootstrap.min.css" rel="stylesheet">
13
<link rel="stylesheet" href="css/reset.css" />
14
<link type="text/css" href="css/login.css" rel="stylesheet">
15
<link type="text/css" href="css/common.css" rel="stylesheet">
7
<title>科袖网-搭建企业与专家的桥梁</title>
8
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css">
9
<link type="text/css" rel="stylesheet" href="css/reset.css">
10
<link type="text/css" rel="stylesheet" href="css/common.css">
11
<link type="text/css" rel="stylesheet" href="css/genindex.css">
16 12
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
17
<style type="text/css">
18
	#header.Nosear {
19
    position: static;
20
}
21
#header {
22
    width: 100%;
23
    min-width: 1100px;
24
    height: 60px;
25
    background: #FFFFFF;
26
    position: fixed;
27
    top: 0;
28
    z-index: 999;
29
}
30
</style>
31 13
</head>
32

33
<body>
34

35
<div class="completedcover" id="completedcover">
36
    <!--/*是否完善信息提示*/-->
37
    <div class="vercompleted">
38
        <h3>已经完成注册,是否现在去完善个人信息?</h3>
39
        <div class="verbtnbox">
40
            <a href="javascript:void(0)" class="verbtn" onClick="goPersonal()" >现在完善</a>
41
        </div>
42
    </div>
14
<body class="covbodyBg">
15
<div class="containerCon">
16
	<a href="index.html" class="headlogo signLogo"></a>
43 17
</div>
44

45
<header id="header" class="Nosear">
46
	<div class="containerCon">
47
		<div class="headlogo">
48
			<a href="index.html"><h1></h1></a>
18
<!--中间-->
19
<div id="container">
20
	<div class="containerCon contConP">
21
		<div class="covFrmblock">
22
			<form class="cmpAllFrm">
23
				<p class="h1Font alignCenter mainColor">注册科袖</p>
24
				<div class="waysBlock">
25
					<div class="loginWays">
26
						<!--注册成功-->
27
						<ul class="cmpAllUl cmpCoverUl displayNone" id="success">
28
							<li class="successImg"></li>
29
							<li class="alignCenter">
30
								<p class="importTip">注册成功,快去登录吧!</p>
31
							</li>
32
							<!--验证激活成功-已登录时隐藏按钮-->
33
							<li>
34
								<a href="login.html"><button type="button" class="frmtype frmtypeW btnModel headRadius save-block">登录</button></a>
35
							</li>
36
						</ul>
37
						<!--邮箱链接失效-->
38
						<ul class="cmpAllUl cmpCoverUl displayNone" id="fail">
39
							<li class="failImg"></li>
40
							<li class="alignCenter">
41
								<p class="importTip">很抱歉,当前的链接已失效</p>
42
								<p class="smalltip alignCenter" id="smalltip">小提醒:邮件内的链接有效时长为10分钟。</p>
43
							</li>
44
							<!--验证激活成功-已登录时隐藏按钮-->
45
							<li>
46
								<a href="register.html"><button type="button" class="frmtype frmtypeW btnModel headRadius save-block">重新注册</button></a>
47
							</li>
48
						</ul>
49
					</div>
50
				</div>
51
			</form>
49 52
		</div>
50 53
	</div>
51
</header>
52
<div class="containerFrm" id="container">
53
	<div class="contentmid">
54
    	<!--/*邮箱验证提示*/-->
55
    	<dl class="mailsection">
56
            <dt class="statelable">
57
                <h2>注册邮箱验证</h2>
58
            </dt>
59
            <dd class="msgnotice">
60
                <h4 class="noticecon">验证邮箱,完成注册</h4>
61
                <div class="emailus">
62
                    我们已将验证邮件发送至邮箱:<a id='receiveMail'></a>
63
                    <br> 点击邮件内的链接即可完成注册,完善信息即可使用科袖网所有功能。
64
                </div>
65
                <a href="https://mail.qq.com/" class="maillink" target="_blank">登录邮箱验证</a>
66
            </dd>
67
            <dd class="msgnotice">
68
                <h5>没有收到验证邮件,怎么办?</h5>
69
                <div class="contacttip">
70
                    邮箱填写错误? <a href="register.html">换个邮箱</a>
71
                    <br> 看看是否在邮箱的垃圾邮件、广告邮件目录里
72
                    <!--<br> 稍等几分钟,若还未收到验证邮件, <a href="javascript:void(0)" id="resend_main">重新发送验证邮件</a>-->
73
                </div>
74
            </dd>
75
        </dl>
76
    </div>
77 54
</div>
78

79
<footer>
80
	<script type="text/javascript" src="js/footer.js"></script>
81
</footer>
82

83
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
84
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
55
<script type="text/javascript"src="js/jquery.cookie.js"></script>
56
<script type="text/javascript"src="js/jquery.similar.msgbox.js"></script>
85 57
<script type="text/javascript" src="js/common.js"></script>
86
<script type="text/javascript" src="js/bind-mail.js"></script>
58
<script type="text/javascript">
59
	$(document).ready(function(){
60
		var oFlag=GetQueryString("sc");
61
		$.ajax("/ajax/mailReg?key=" + oFlag, {
62
			type: "GET",
63
			async: true,
64
			success: function(data) {
65
				console.log(data);
66
				if(data.success) {
67
					$("#success").show();
68
				} else {
69
					$("#fail").show();
70
				}
71
			},
72
			error: function(x) {
73
				$("#fail").show();
74
			},
75
			dataType: 'json'
76
		});
77
	})
78
	
79
</script>
87 80
</body>
88
</html>
81
</html>

+ 4 - 4
css/common.css

@ -45,10 +45,10 @@ a,a:active,a:hover{outline:0;text-decoration:none;}
45 45
.clearfix:before,.clearfix:after{display:table;content:" "}
46 46
.clearfix:after{clear:both}
47 47
/*更改placeholder的颜色*/
48
:-moz-placeholder {color: #c0c0c6;}
49
::-moz-placeholder {color: #c0c0c6;}
50
input:-ms-input-placeholder,textarea:-ms-input-placeholder {color: #c0c0c6;}
51
input::-webkit-input-placeholder,textarea::-webkit-input-placeholder {color: #c0c0c6;}
48
:-moz-placeholder {color: #999999;}
49
::-moz-placeholder {color: #999999;}
50
input:-ms-input-placeholder,textarea:-ms-input-placeholder {color: #999999;}
51
input::-webkit-input-placeholder,textarea::-webkit-input-placeholder {color: #999999;}
52 52
/* 显示和隐藏样式 */
53 53
.inline {display:inline-block;}
54 54
.displayNone{display:none;}

+ 253 - 6
css/genindex.css

@ -2,25 +2,47 @@
2 2
/* CSS Document */
3 3
html,body{background: #f4f6f8;}
4 4
.userRadius{ border-radius: 50%;border:1px solid #E5E5E5;}
5
.otherRadius{ border-radius:0;border:1px solid #E5E5E5;}
5 6
.cmpRadius{border-radius:4px;border:1px solid #E5E5E5;}
6 7
.con-center{padding:20px 10px 40px; margin:10px auto;}
8
/*弹出模态框*/
9
.blackcover{display:none;overflow-x: hidden;overflow-y:auto;position:fixed;top:0;right:0;bottom:0;left:0; background:rgba(0,0,0,.6);z-index: 1050;}
10
.modelContain{display:none;position:relative;clear:both;margin:40px auto;z-index:1056; 
11
 		 box-shadow: 2px 4px 10px 4px #555;
12
  -webkit-box-shadow: 2px 4px 10px 4px #555;}
13
.modelContain:before,.modelContain:after{display:table;content:" "}
14
.modelContain:after{clear: both;}
15
.modelContain2{width:1120px;background:#f4f6f8;}
16
.modelClosebtn{position:absolute; top:0; right:-50px; display:block; width:20px; height:20px; background:url(../images/workclose.png) center center no-repeat; padding:20px;cursor:pointer; z-index:1055;}  
17
.modelOpen{overflow: hidden;}
7 18
/*/////////////////////表单样式/////////////////////// */
19
/*div模拟textarea多行文本框*/
20
div.textareaboxEmp{min-height:40px;height:auto;-webkit-user-select:text;-webkit-user-modify: read-write-plaintext-only;cursor: text;}
21
div.textareaboxEmp:empty:before {content: attr(placeholder);font-size:16px;display: block;color: #AAAAAA;}
22
/*div.textareaboxEmp:focus{content:none;}
23
div.textareaboxEmp:focus:before{content:none;}*/
24
/*登录注册外部表单样式*/
8 25
.frmtype{border:none;height:36px;background:#edeff4;font-size:14px;outline: none; padding:6px 20px 6px 10px;border-radius: 6px;}
9 26
.frmtype:focus{box-shadow: none;outline:none; border:1px solid #ff8500;}
10 27
.frmtypeW{width:98%;margin: auto;}
11 28
textarea.frmtype{height:100px;}
12 29
input.frmtype[readonly]{background:#EFEFEF;color:#AAAAAA;}
13 30
input.frmtype[readonly]:focus{border:1px transparent solid;}
31
/*网站内部表单样式*/
32
.frmcontype{border:1px solid #E5E5E5;height:40px;background:#FFFFFF;font-size:16px;color:#666;line-height:28px;outline: none; padding:6px 12px;border-radius:0;}
33
.frmcontype:focus{border-color:#ff9900;}
34
.frmconbtn{width:100%;height:40px;background:#ff9900;font-size:16px;color:#666;line-height:28px;outline:none;border:none;padding:6px 12px;border-radius:0;}
35
.frmconmsg{color:#fd5f39;margin-left:12px;font-size: 14px;}
14 36
/*小按钮*/
15 37
.btnModel{display:inline-block;color:#FFFFFF;border:none;background: #FFFFFF; padding:6px 20px;background:#ff9900;}
16 38
.btnModel:hover{background:#ff8f00;}
17 39
/*取消按钮*/
18 40
.btnCancel{background:#edeff4;}
19
.btnCancel:hover{background:#d6d8de;}
41
.btnCancel:hover,.btnCancel:active,.btnCancel:link{background:#d6d8de;border:none;}
20 42
/*按钮不可用状态*/
21 43
button.btnModel[disabled]{background:#d6d8de;}
22 44
button.btnModel[disabled]:hover{background:#d6d8de;}
23
.save-block{margin:20px auto 40px;padding:6px 40px;}/*保存按钮*/
45
.save-block{margin:20px auto 40px;padding:0 40px;}/*保存按钮*/
24 46
.fontLink{background:none;border:none;color:#ff9900;}/*字体链接按钮*/
25 47
/*表单消息提示*/
26 48
.frmmsg{background:url(../images/con_icon_info_warn.png) 0 center no-repeat;background-size: auto 50%;padding-left:18px;line-height:28px;color: #fd5f39;}
@ -40,10 +62,10 @@ ul.cmpAllUl li .col-w-10{position: relative;}
40 62
.signLogo{display:block;height:64px;width:274px;background:url(../images/c-sign-on_icon_logo_nor.png);background-size:cover;margin: 30px 20px 20px 0}
41 63
.covbodyBg{background:url(../images/c-sign-on_bg_img_nor.png) 0 bottom no-repeat;background-size:cover;}
42 64
.contConP{position:static}
43
.covFrmblock{position:absolute;top:50%; left:50%; transform:translate(-50%,-50%);overflow:hidden;padding:40px 30px 30px 30px;/*margin:10% auto 40px;*/width:420px;max-width:420px;background:#fff;border-radius:8px;z-index:1056; 
65
.covFrmblock{position:absolute;top:50%; left:50%; transform:translate(-50%,-50%);padding:40px 30px 30px 30px;width:420px;max-width:420px;background:#fff;border-radius:8px;z-index:1056; 
44 66
 		 box-shadow: 2px 6px 30px #d68203;
45 67
  -webkit-box-shadow: 2px 6px 30px #d68203;}
46
.covFrmblock .h1Font{margin-bottom:24px;}
68
.covFrmblock .h1Font{margin-bottom:24px;font-size:22px;}
47 69
.cmpOrgName{font-size: 24px;line-height: 60px;}
48 70
ul.cmpAllUl.cmpCoverUl{width:100%;margin:10px auto 20px;}
49 71
ul.cmpAllUl.cmpCoverUl>li .frmtypeW{width:100%;height:40px;}
@ -64,13 +86,66 @@ ul.cmpAllUl.cmpCoverUl .importTip{font-size:18px;color:#333;margin:10px 0;}
64 86
ul.loginWaySort{overflow: hidden;border-bottom:1px solid #e5e5e5;margin-bottom:30px;}
65 87
ul.loginWaySort li{text-align: center;line-height: 36px;font-size:14px;color:#333;cursor: pointer;}
66 88
ul.loginWaySort li.liactive{border-bottom: 2px solid #ff9900;}
89
/*客服电话*/
90
.serviceBox{position: relative;}
91
.serviceBox .serviceTel{position:absolute;padding:14px 20px;width:240px;bottom:32px;left:-20px;border-radius:6px;background:rgba(0,0,0,.4);color: #FFFFFF;}
92
.serviceBox .triangleB{position:absolute;width: 0;height: 0;border:14px solid transparent;left:14%;border-top-color: rgba(0,0,0,.4);margin-top: 14px;}
93
/*身份选择*/
94
.bindtip{text-align: center; margin:-4px auto 32px;}
95
.bindtip img{height:16px;width: auto;}
96
.selectSortBox ul{margin:20px 0;overflow: hidden;}
97
.selectSortBox li{padding:20px;position: relative;text-align: center;cursor: pointer;}
98
.selectSortBox li .sortbody{font-size:14px;color:#666;}
99
.selectSortBox li.selectNow{background: #E5E5E5;}
100
.selectSortBox li .selectNowicon{display:inline-block;position:absolute;width: 16px;height: 16px;bottom:46px;right:30px;background: url(../images/sign_icon_xuanze_hig.png);}
101
.selectSort{display: inline-block;width: 74px;height: 74px;background-repeat:no-repeat;background-position: center;background-size: cover;}
102
.selectSort.sort-pro{background-image: url(../images/sign_icon_keyan_nor.png);}
103
.selectSort.sort-mana{background-image: url(../images/sign_icon_qiyegaoguan_nor.png);}
104
.selectSort.sort-stu{background-image: url(../images/sign_icon_xuesheng_nor.png);}
105
.selectSort.sort-skill{background-image: url(../images/sign_icon_jishu_nor.png);}
106
.selectSort.sort-hr{background-image: url(../images/sign_icon_hr_nor.png);}
107
.selectSort.sort-sale{background-image: url(../images/sign_icon_xiaoshou_nor.png);}
108
.selectSort.sort-invest{background-image: url(../images/sign_icon_touzifang_nor.png);}
109
.selectSort.sort-consult{background-image: url(../images/sign_icon_zixun_nor.png);}
110
.selectSort.sort-user{background-image: url(../images/sign_icon_putong_nor.png);}
111
.selectSortBox .frmboxNew .save-block{padding:0 40px;margin:10px auto 20px;}
112
/*完善信息*/
113
.fillMoreHead{padding:0 16px 8px 16px;}
114
.fillMore .fillHead{ position: relative;width:100px; height:100px; margin:0 auto; overflow: hidden;background: url(../images/default-photo.jpg); background-size:cover;}
115
.fillMore .h1Font{color:#666666;line-height:40px;font-size: 16px;}
116
.fillMore .fillShow>ul>li{clear:both;margin:6px 0;font-size: 15px;line-height:40px;color:#666666;}
117
.fillMore .fillShow>ul>li:before,.fillMore .fillShow ul>li:after{display:table;content:" "}
118
.fillMore .fillShow>ul>li:after{clear:both}
119
.fillMore div[contentEditable]{-webkit-user-modify: read-write;
120
					word-wrap: break-word;outline: 0;
121
					-webkit-line-break: after-white-space;
122
					-webkit-tap-highlight-color: rgba(225,225,225,.5);}
123
.fillMore div[contentEditable]:focus{border-color:#ff9900;}
124
.fillMore .textinput{margin-left:2%;width:98%;padding:5px 10px;min-height:40px;font-size: 16px;line-height:26px;color: #222;cursor: text;
125
    border: 1px solid #ddd;border-radius: 6px;box-sizing: border-box;background: #fff;}
126
.fillMore .textinput.frmmsg-warning{border:1px solid #fd5f39;}
127
.fillMore .fillShow .emspace{letter-spacing: 2em;}
128
.fillMore .fillShow .downarrow{ position:absolute; right:10px; top:50%; margin-top:-10px; color: #999999;}
129
.fillMore .btnModel{width: 80%;margin: 20px auto 0;}
130
/*<!--城市选择器-->*/
131
.citybox{margin-left:2%;width:98%;}
132
.infolist{width:100%;}
133
.infolist .liststyle span{position:relative;line-height:26px;width:49%;display:inline-block;cursor:pointer;float:left;margin:0;background:#fff;border:1px solid #CCCCCC;border-radius: 6px;}
134
.infolist .liststyle span .mr_show{color:#AAAAAA;font-style:normal;width:100%;display:inline-block;line-height:26px;padding:6px 10px;position:relative;}
135
.infolist .liststyle span .mr_show.mr_select{color:#333;}
136
.infolist .liststyle span .mr_sj{position: absolute;right:8px;top:50%;margin-top:-4px;border: 6px solid #fff;border-color: #ff9900 transparent transparent;display: block;font-size: 0;height: 0;width: 0;}
137
138
.infolist .liststyle span ul{width:100%;border-radius:0 0 5px 5px;position:absolute;border:1px solid #E8E8E8;background:white;left:-1px;top:40px;margin-bottom:10px;display:none;z-index:10;max-height:160px; overflow:auto;}
139
.infolist .liststyle span ul li{width:100%;float:left;overflow:hidden;border-top:1px solid #E8E8E8;}
140
.infolist .liststyle span ul li:first-child{border-top:0;}
141
.infolist .liststyle span ul li a{display:block;height:30px;line-height:30px;font-size:14px;padding:0 8px;color:#494949;}
67 142
68 143
/*--------------发现--------------*/
69 144
.contentCon{padding-top:80px;}
70 145
.leftconBox{width:820px;padding-bottom:20px;margin-bottom:20px;background: #FFFFFF;}
71 146
.table-item{/*padding:10px;*/}
72
.table-item li{position:relative;padding:25px 20px;}
73
.table-item li:after{content:"";position:absolute; left:0; right:0; bottom:0;height: 2px;background: #f7f7f8;}
147
.table-item>li{position:relative;padding:25px 20px;}
148
.table-item>li:after{content:"";position:absolute; left:0; right:0; bottom:0;height: 2px;background: #f7f7f8;}
74 149
.table-item-media{height: 40px;margin-bottom:20px;}
75 150
.table-item-media .table-item-logo{position:absolute;border:1px solid #f2f3f4;display: inline-block;width: 40px; height:40px;z-index:4;}
76 151
.table-item-media .table-item-name{position:relative;width:90%;padding-left:50px;}
@ -146,3 +221,175 @@ ul.listitemdiv.listmorediv .centercon{padding-left:184px;padding-right: 10px;mar
146 221
ul.listitemdiv.listmorediv .ellipsisSty-2{height:50px;}
147 222
148 223
ul.listitemdiv.listmorediv .articalhead{width: 164px;height: 110px;margin-top:-55px;background-image: url(../images/default-artical.jpg);}
224
225
/*--------------新版文章--------------*/
226
/*文章发布*/
227
.conBlock .leftconBox{width:764px;padding:30px;}
228
.conBlock .rightconBox{width: 315px;}
229
.conBlock .rightconBox .conItem{padding:30px;background: #FFFFFF;margin-bottom: 20px;}
230
.conBlock .rightconBox .conItem:first-child{padding:30px 10px;border-top:4px #ff9900 solid;}
231
ul.artAbout>li{overflow: hidden;}
232
ul.artAbout .uploadFile{line-height:28px;text-align: center;font-size: 16px;color:#666666;}
233
ul.artAbout .uploadFile .uploadblock{position:relative;width:100%;height:190px;padding:30px;border:1px solid #E5E5E5; border-radius: 0;
234
	background-position:center;background-size:cover;background-repeat:no-repeat;}
235
ul.artAbout .uploadFile .upFront{position:relative;}
236
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;}
237
ul.artAbout .uploadFile .upbtn{display:inline-block;padding:7px 23px;background: #E5E5E5;color:#333333;margin-top:30px;}
238
ul.artAbout .uploadFile .uploadblock .upBackbtn{position:absolute;bottom:30px;left:50%;margin-left:-55px;background:rgba(0,0,0,.5);color:#FFFFFF;z-index:10;display: none;}
239
.conBlock .aboutTit{font-size:16px;line-height:40px;color:#666666;margin-top:18px;}
240
ul.artAbout .editBlock{height:320px;border:1px solid #E5E5E5;}
241
ul.artAbout .frmadd{display:none;position:absolute;right:0;background: #ff9900;color:#fff;border:none;padding:6px 25px;}
242
243
.conItem ul.operateBlock{overflow: hidden;margin-top:-20px;}
244
.conItem ul.operateBlock>li{font-size:16px; color:#666666;float:left;width:33.333%;margin-top:20px;text-align: center;cursor: pointer;}
245
.conItem ul.operateBlock>li p{margin-top:6px;}
246
.operateicon{display:inline-block;width:22px;height:22px;background-position: center;background-repeat: no-repeat;}
247
.operateicon.icon-issue{background-image:url(../images/g_article_icon_fabu_hig.png);}
248
.operateicon.icon-timeissue{background-image:url(../images/g_article_icon_dingshi_nor.png);}
249
.operateicon.icon-preview{background-image:url(../images/g_article_icon_yulan_nor.png);}
250
.operateicon.icon-draft{background-image:url(../images/g_article_icon_caogao_nor.png);}
251
.operateicon.icon-delete{background-image:url(../images/g_article_icon_shanchu_nor.png);}
252
253
.conItem ul.operateBlock>li:hover{color:#ff9900;}
254
.conItem ul.operateBlock>li.goFabu{color:#ff9900;opacity:0.8;}
255
.conItem ul.operateBlock>li.goFabu:hover{opacity:1;}
256
.conItem ul.operateBlock>li:hover .operateicon.icon-timeissue{background-image:url(../images/g_article_icon_dingshi_hig.png);}
257
.conItem ul.operateBlock>li:hover .operateicon.icon-preview{background-image:url(../images/g_article_icon_yulan_hig.png);}
258
.conItem ul.operateBlock>li:hover .operateicon.icon-draft{background-image:url(../images/g_article_icon_caogao_hig.png);}
259
.conItem ul.operateBlock>li:hover .operateicon.icon-delete{background-image:url(../images/g_article_icon_shanchu_hig.png);}
260
.conItem .aboutTit{margin-top:-10px;}
261
.conItem .otherBlock{padding-bottom: 30px;border-bottom:1px dashed #E5E5E5;margin-bottom: 30px;}
262
.conItem .otherBlock:last-child{padding:0;margin:0;border: 0;}
263
264
.form-item{}
265
.form-drop{position:relative;top:0;border:1px solid #E5E5E5;border-top:none;width: 100%;}
266
.form-item .madiaHead{position:absolute;border:1px solid #E5E5E5;width: 50px;height:50px;background-position: center;background-size: cover;}
267
.form-item .madiaHead.useHead{background-image: url(../images/default-photo.jpg);border-radius: 50%;}
268
.form-item .madiaHead.resouseHead{background-image: url(../images/default-resource.jpg);border-radius:0;}
269
.form-item .madiaHead.artHead{background-image: url(../images/default-artical.jpg);border-radius:0;}
270
.form-item .madiaInfo{padding-left:62px;margin:2px 0;}
271
.form-item ul .h1Font{font-size:16px;color:#333;line-height: 24px;}
272
.form-item ul .h2Font{font-size:14px;color:#666;line-height: 24px;}
273
.form-drop>ul>li{position:relative;min-height: 50px;padding:12px;cursor:pointer;}
274
.form-drop>ul>li:hover{background: #EEEEEE;}
275
.form-drop>ul>li:active{background: #ff9900;color:#fff;}
276
.form-drop>ul>li:active .h1Font,.form-drop>ul>li:active .h2Font{color:#fff;}
277
278
.form-result{margin:18px -30px 0 -30px;}
279
.form-result>ul>li{position:relative;padding:12px 30px;}
280
.form-result>ul>li .deleteThis{display:none;position:absolute;top:50%;margin-top:-20px;right:28px;width:40px;height:40px;background:url(../images/g_article_button_shanchu_hig.png);background-size:cover;cursor:pointer;}
281
.form-result>ul>li:hover{background: #EEEEEE;}
282
.form-result>ul>li:hover .deleteThis{display:block;}
283
284
.form-drop.keydrop>ul>li{min-height:auto;padding:8px 12px;}
285
.form-result.keyResult{margin:18px 0 0;margin-right: -20px;}
286
.keyResult>ul{margin-bottom:-10px;}
287
.keyResult>ul>li{float: left;margin-right:20px;margin-bottom:10px;padding:2px 12px;color: #999;border: 1px solid #E5E5E5;border-radius: 20px;}
288
.keyResult>ul>li .closeThis{display:none;position:absolute;top:-8px;right:-12px;width:28px;height:28px;background:url(../images/g_article_button_guanbi_hig.png);background-size:cover;cursor:pointer;}
289
.keyResult>ul>li:hover{background: #E5E5E5;}
290
.keyResult>ul>li:hover .closeThis{display:block;}
291
/*文章浏览*/
292
.showDetail .h1Font{font-size: 20px;line-height:32px;color:#000;}
293
.showDetail .h2Font{font-size:14px;color:#999;}
294
.showDetail .readNum{margin-left: 20px;}
295
.showDetail .showBigOpen{width:100%;height:190px;margin:24px 0;background-position:center;background-size:cover;background-repeat:no-repeat;}
296
.showDetail .showMain{font-size:16px;color:#333;line-height: 30px;text-indent: 2em;}
297
.showDetail .showMain img{max-width: 100%;margin-left:-32px;}
298
.showDetail .showMain p{margin-bottom:10px;}
299
ul.tagList{margin:20px 0 -10px;overflow: hidden;}
300
ul.tagList>li{float: left;margin-right:10px;margin-bottom:10px;padding:0 12px;color: #999;border: 1px solid #E5E5E5;border-radius: 20px;}
301
ul.tagList>li .h2Font{color:#666}
302
.otherShow{}
303
.otherShow.otherShowFirst{padding-bottom:12px;border-bottom:2px dashed #E5E5E5;}
304
.otherShow .aboutTit{font-size:18px;color:#666;}
305
.otherShow .form-result{margin:0 -30px;}
306
.form-item.otherShow .madiaHead{width: 80px;height: 80px;}
307
.form-item.otherShow .madiaInfo{padding-left:92px;margin:4px 0;}
308
.otherShow .form-result>ul>li{min-height:104px;}
309
.form-item.otherShow .aboutRes .madiaHead{width:118px;height: 80px;}
310
.form-item.otherShow .aboutRes .madiaInfo{padding-left:130px;margin:4px 0;}
311
.form-item.otherShow .aboutRes .ellipsisSty-2{height:48px;}
312
/*点赞模块*/
313
.thumbBlock{text-align: center;margin:30px 0;}
314
.thumbBlock .thumbBtn{display:inline-block;position:relative;padding:10px 24px;padding-left:44px;font-size:16px;color:#fff;background:#ff9900;border-radius:30px;
315
      box-shadow: 1px 2px 13px 0px rgba(255, 153, 0, 0.6);
316
    -webkit-box-shadow: 1px 2px 13px 0px rgba(255, 153, 0, 0.6);cursor: pointer;}
317
.thumbBlock .thumbBtn:before{position:absolute;content:url(../images/g_article_icon_dianzan_nor.png);top:50%;left:24px;margin-top:-9px;}
318
.thumbBlock .thumbBtn:hover{background: #ff9000;}
319
/*分享操作栏*/
320
.shareBlock{background:rgba(60,62,81,.5);margin:0 -30px;padding:26px 30px;}
321
.shareInfo .madiaInfo{margin-top:12px;}
322
.shareInfo .madiaInfo .h1Font{display:inline-block;max-width: 200px;padding-right:14px;font-size: 16px;color:#fff;}
323
.shareInfo .madiaInfo .authiconNew{top:-8px;}
324
.shareBlock>ul.shareWays{width:50%;cursor: pointer;text-align:right;}
325
.shareBlock>ul.shareWays>li{float:left;padding:16px 0 10px;width:16%;color:#fff;}
326
.shareBlock>ul.shareWays>li .message{position:relative;top:-5px;left:6px;}
327
.operateicon.icon-message{background-image:url(../images/g_article_button_liuyan_nor.png);}
328
.operateicon.icon-collect{background-image:url(../images/g_article_button_shoucang_nor.png);}
329
.operateicon.icon-wechat{width:24px;background-image:url(../images/g_article_button_weixin_nor.png);}
330
.operateicon.icon-sina{background-image:url(../images/g_article_button_liuyan_nor.png);}
331
.operateicon.icon-qq{background-image:url(../images/g_article_button_liuyan_nor.png);}
332
.operateicon.icon-totop{background-image:url(../images/g_article_button_dingbu_nor.png);}
333
.operateicon.icon-message:hover{background-image:url(../images/g_article_button_liuyan_hig.png);}
334
.operateicon.icon-collect:hover{background-image:url(../images/g_article_button_shoucang_hig.png);}
335
.operateicon.icon-wechat:hover{background-image:url(../images/g_article_button_weixin_hig.png);}
336
.operateicon.icon-sina:hover{background-image:url(../images/g_article_button_liuyan_hig.png);}
337
.operateicon.icon-qq:hover{background-image:url(../images/g_article_button_liuyan_hig.png);}
338
.operateicon.icon-totop:hover{background-image:url(../images/g_article_button_dingbu_hig.png);}
339
.shareWeixin{font-style: normal;position: relative;}
340
.shareWeixin .shareCode{display:none;position: absolute;bottom: 40px;left:-24px;background:rgba(0,0,0,.6);padding: 8px;width: 260px;}
341
.shareWeixin .shareCode:after{display: block;width: 0;height: 0;border:12px solid transparent;border-top-color:rgba(0,0,0,.6);
342
position: absolute;bottom:-24px;left:22px;}
343
.shareWeixin .shareCode .shareWord {width: 126px;margin: 10px;color: #FFF;text-align: left;font-size: 14px;line-height: 20px;}
344
.shareWeixin .shareCode img {width: 80px;height: 80px;}
345
346
.ifLogin{margin:30px 0;}
347
.ifLogin .ifLoginUn{background: #fff7e7;border:1px solid #E5E5E5;line-height:18px;padding:25px;color:#7b4b2b;font-size:14px;}
348
.ifLogin .ifLoginUn>ul>li{float: right;padding:0 6px;}
349
.ifLogin .ifLoginUn a{color:#666;}
350
.ifLogin .ifLoginOn .btnModel{margin:12px 0;padding:4px 12px;width: 80px;border-radius:0;}
351
.ifLogin .ifLoginOn .msgContbox{border: 1px solid #E5E5E5;height:120px;position: relative;}
352
.ifLogin .ifLoginOn textarea{background:none;border:none;color: #55636D;outline: none;padding:12px;
353
   width: 100%;font-size: 14px;resize: none;margin-bottom: 15px;height:92px;}
354
.ifLogin .ifLoginOn .msgconNum{position:absolute;bottom:2px;right:10px;color:#999;font-size:14px;}
355
.commentsArea .btnCancel{height:auto;border-radius:0;color: #ff9900;}
356
.commentsArea ul.commentList{margin-top:-20px;}
357
.commentsArea ul.commentList>li{padding:10px 0 20px;}
358
.commentsArea ul.commentList>li .h2Font{font-size: 16px;color: #666;line-height: 26px;}
359
.commentsArea ul.commentList>li .commenttime{font-size: 14px;color: #999;margin-left:18px;}
360
.commentsArea ul.commentList>li .operateSpan{margin:10px 0 0;color:#9d9ea8;font-size:14px;cursor: pointer;}
361
.commentsArea ul.commentList>li .operateSpan .callBack{position:relative;padding-left:20px;margin-right:40px;}
362
.commentsArea ul.commentList>li .operateSpan .callBack:before{position:absolute;content:url(../images/g_article_button_huifu_nor.png);top:50%;left:0;margin-top:-8px;}
363
364
.rightconBox .conItem.conItemG .madiaHead{width: 120px; height: 120px;border:1px solid #E5E5E5;margin:0 auto 10px;background-position:center;background-size:cover;}
365
.rightconBox .conItem.conItemG .madiaHead.useHead{background-image:url(../images/default-photo.jpg);border-radius: 50%;}
366
.rightconBox .conItem.conItemG .madiaHead.cmpHead{background-image:url(../images/default-icon.jpg);}
367
.rightconBox .conItem.conItemG .h2Font{font-size:16px;color:#666;line-height:26px;}
368
.rightconBox .conItem.conItemG .attenSpan{position: relative;display:inline-block;background: #ff9900;cursor:pointer;padding:9px 25px;padding-left:42px;color:#fff;font-size:16px;margin:20px auto 0;}
369
.rightconBox .conItem.conItemG .attenSpan:before{position:absolute;content:url(../images/g_article_icon_jia_nor.png);top:50%;left:20px;margin-top:-8px;}
370
371
/*文章列表*/
372
.itemListBolck .searchAbout{position: relative;}
373
.itemListBolck .searchAbout .searchSpan{position:absolute;top:50%;margin-top:-9px;right:18px;display:inline-block;width:18px;height:18px;background: url(../images/g_article_icon_sousuo_nor.png);}
374
.itemListBolck .frmcontype{width:100%;border-radius: 20px;padding-left:20px;background: #fff;}
375
.itemListBolck .issueSpanBlock{text-align: right;}
376
.itemListBolck .issueSpan{position:relative;display:inline-block;background:#e03b43;color:#fff;font-size:18px;cursor:pointer;padding:8px 25px 7px;padding-left:50px;border-radius: 20px 0 0 20px;}
377
.itemListBolck .issueSpan:before{position:absolute;content:url(../images/g_article_icon_fanbu_nor.png);top:50%;left:26px;margin-top:-12px;}
378
.itemListBolck .itemListCon .form-result>ul>li{padding:20px;cursor:pointer;}
379
.itemListBolck .itemListCon .form-result>ul>li:after{content: "";position: absolute;left: 0;right: 0;bottom: 0;height: 2px;background: #f4f6f8;}
380
.itemListBolck .itemListCon .form-result>ul>li:hover{background:#EEEEEE;}
381
.itemListBolck .itemListCon .form-result{margin:30px 0;}
382
.itemListBolck .itemListCon .madiaHead{width:120px;height:80px;}
383
.itemListBolck .itemListCon .madiaInfo{padding-left:140px;}
384
.itemListBolck .itemListCon .madiaInfo>ul>li{float: left;margin-left:20px;}
385
.itemListBolck .itemListCon .madiaInfo>ul>li:first-child{margin-left:0;}
386
.itemListBolck .itemListCon .madiaInfo{min-height: 80px;padding-top:15px;}
387
.itemListCon.form-item ul .h1Font{font-size:18px;}
388
.itemListCon .draftLable{font-size:16px; color:#e03b43;line-height: 30px;}
389
.itemListCon .form-result>ul>li .madiaEdit>li{float: left;margin-right: 28px;}
390
.itemListCon .form-result>ul>li .madiaEdit .editThis{display:inline-block;width:72px;height:46px;background:url(../images/g_article_button_xiugai_hig.png);background-size:cover;cursor:pointer;}
391
.itemListCon .form-result>ul>li .madiaEdit .deteleThis2{display:inline-block;width:46px;height:46px;background:url(../images/g_article_button_shanchu_hig.png);background-size:cover;cursor:pointer;}
392
.itemListCon .form-result>ul>li .madiaEdit{display:none;overflow:hidden;position:absolute;top:50%;margin-top:-23px;right:0;}
393
.itemListCon .form-result>ul>li:hover .madiaEdit{display: block;}
394
395
.itemListCon li.draftList .madiaInfo{padding-top:0;}

+ 42 - 1
css/share.css

@ -79,6 +79,47 @@ html,body {background: #efeff4;}
79 79
#artical_sth {font-size: 12px;line-height: 14px;color: #999999;}
80 80
.articalBox {max-width: 640px;margin: 6px auto 26px;padding: 4px 16px;color: #555555;}
81 81
			
82
			
82
/*--------------------邀请好友注册科袖2017.4.28--------------*/	
83
@media (min-width: 768px){
84
	.invitebody .form-inline .form-group {display:block;margin-bottom: 15px;vertical-align: middle;}
85
}		
86
.invitebody .form-control:-moz-placeholder {color: rgba(256,256,256,1);}
87
.invitebody .form-control::-moz-placeholder {color: rgba(256,256,256,1);}
88
.invitebody input.form-control:-ms-input-placeholder,textarea:-ms-input-placeholder {color: rgba(256,256,256,1)}
89
.invitebody input.form-control::-webkit-input-placeholder,textarea::-webkit-input-placeholder {color: rgba(256,256,256,1)}
90
91
.invitebody .form-group{overflow: hidden;}
92
.invitebody .input-group{position:relative;width:100%;border:1px solid #FFFFFF;margin:16px 0;border-radius:6px;}
93
.invitebody .form-control{width:100%;border:none;background:none;box-shadow: none;height: 42px;font-size: 16px;line-height: 20px;color:#FFFFFF;
94
 padding-left:44px;background-position:14px center;background-repeat: no-repeat;background-size:auto 20px;}
95
.invitebody .form-control:focus{box-shadow: none;}
96
.invitebody .form-control.input_name{background-image: url(../images/wechat_icon_xingming_nor@3x.png);}
97
.invitebody .form-control.input_phone{background-image: url(../images/wechat_icon_shouji_nor@3x.png);}
98
.invitebody .form-control.input_code{background-image: url(../images/wechat_icon_yanzhengma_nor@3x.png);}
99
.invitebody .form-control.input_pwd{background-image: url(../images/wechat_icon_mima_nor@3x.png);}
100
101
.invitebody .btn{font-size: 16px;line-height: 1;color:#FFFFFF;margin: 30px 0;padding: 12px 16px;}
102
.invitebody .btn[disabled]{opacity: 0.65;color:#AAAAAA;}
103
.invitebody .btn.input-group-addon{width:auto;border:none;position: absolute;right: 0;top:50%;margin-top:-21px;cursor: pointer;padding: 14px 24px 13px;border-radius:6px;}
104
.invitebody .input-group-addon:not(:first-child):not(:last-child), .input-group-btn:not(:first-child):not(:last-child), .input-group .form-control:not(:first-child):not(:last-child){border-radius:5px;}
105
.invitebody .protocollink{ color: #FFFFFF;}
106
.invitebody .checkReg.checkboxT{padding:0;margin-top:-22px;color: #FFFFFF;font-size: 14px;}
107
.invitebody .checkBg{background: url(../images/checkApp.png) 0 center no-repeat;padding-left:18px;line-height: 24px; background-size:auto 14px;}
108
.invitebody .canPoint{background: rgba(256,256,256,1);color:#ff9900;opacity: 0.8;}/*按钮可点击状态*/
109
.invitebody .canPoint:hover{box-shadow: 0px 0px 16px rgba(255,255,255,0.4) inset;color:#ff9900;outline: none;}
110
/*logo盒子的相关*/
111
.invitebody .logobox{ padding:6% 6% 3% 6%; margin:14% auto 10px; }
112
.invitebody .logolink{display: block;max-width:36%;min-width:100px;margin: auto;}
113
.invitebody .logoimg{ width: 100%; margin: auto; text-align:center;}
114
.invitebody .inviteTit{text-align: center; font-size: 18px;line-height: 30px;margin:30px 0;color:#FFFFFF;}
115
.invitebody .inviteTit span{font-size:18px;line-height: 44px; padding:0 6px;}
116
.invitebody .bomb-box{background-color:rgba(000,000,000,0.5); padding:5px 15px; border-radius:50px; font-size: 12px; color: #fff; text-align:center; position: absolute; display: inline; left:50%; top:25%}
117
.invitebody .inforbox{padding:20px 0 10px;}
118
.invitebody .inforbox ul{padding:10px 0;}
119
.invitebody .inforbox ul li{position: relative;margin:12px 0;}
120
.invitebody .inforbox .lefticon{position: absolute;top:4px;width: 24px;height: 24px;} 
121
.invitebody .inforbox .rightcon{padding-left:36px;color: #FFFFFF;}
122
.invitebody .inforbox .rightcon h2{font-size:16px;line-height:26px;}
123
.invitebody .inforbox .rightcon p{font-size:14px;line-height:20px;}
83 124
			
84 125
			

+ 65 - 44
ekexiu/Invitation.html

@ -7,60 +7,81 @@
7 7
<link rel="stylesheet" href="../css/bootstrap.min.css">
8 8
<link rel="stylesheet" href="../css/reset.css">
9 9
<link rel="stylesheet" href="../css/common.css">
10
<style>
11
body{background: url(../images/frmPageBg.jpg) no-repeat;background-size:cover;background-attachment: fixed;}
12
.form-group{border-radius:4px;overflow: hidden;background:#FFFFFF;padding:2%;}
13
.form-control{width:98%;border:none;border-radius:0;margin:4px;box-shadow: none;border-bottom:1px solid #efefef;}
14
.form-control:focus{box-shadow: none;border-bottom:1px solid #efefef;}
15
.form-control:last-child{border:none;}
16
.input-group-addon{border:none;cursor: pointer;color:#FFFFFF;}
17
.input-group-addon:last-child{border:none;}
18
.btn{font-size: 16px;line-height: 1;color:#FFFFFF;margin: 30px 0;}
19
.protocollink{ color: #FF9900;}
20
.checkBg{background: url(../images/checkApp.png) 0 center no-repeat;padding-left:18px;line-height: 24px; background-size:auto 60%}
21
.canPoint{background:#ff9900;color:#FFFFFF;}/*按钮可点击状态*/
22
.canPoint2{background:#ccc;color:#FFFFFF;}/*按钮可点击状态*/
23
.canPoint:hover{color:#FFFFFF;box-shadow: 0px 0px 16px rgba(255,255,255,0.4) inset;}
24
/*logo盒子的相关*/
25
.logobox{ padding:6% 6% 3% 6%; margin:20% auto 6% ; }
26
.logolink{display: block;max-width:28%;min-width:100px;margin: auto;}
27
.logoimg{ width: 100%; margin: auto; text-align:center;}
28
.inviteTit{text-align: center; font-size: 18px;line-height: 40px;margin-top:30px;}
29
.inviteTit span{font-size:20px;line-height: 44px; padding:0 6px; color:#FF9900}
30
.bomb-box{background-color:rgba(000,000,000,0.5); padding:5px 15px; border-radius:50px; font-size: 12px; color: #fff; text-align:center; position: absolute; display: inline; left:50%; top:25%}
31

10
<link rel="stylesheet" href="../css/share.css">
11
<style type="text/css">
12
	html,body{min-height: auto;background: url(../images/wechat_bg_img_nor@3x.png) no-repeat;background-size:cover;background-attachment: fixed;}
32 13
</style>
33 14
</head>
34
<body>
15
<body class="invitebody">
35 16
<div class="contentBody2" style="max-width: 640px;margin:auto;">
36 17
	<div class="logobox">
37 18
		<a class="logolink" href="javascript:;">
38
			<img class="logoimg" src="../images/logo4.png" />
19
			<img class="logoimg" src="../images/wechat_icon_logo_nor@3x.png" />
39 20
		</a>
40
		<div class="inviteTit">
41
			<span></span> 邀请您加入科袖
42
		</div>
43 21
	</div>
44 22
	
45 23
	<form class="form-inline" role="form" style="width: 90%;margin:auto">
46
		<div class="form-group">
47
		    <input type="phone" class="form-control" placeholder="请输入您的手机号码" id="userphone" autocomplete="off">
48
		    <div class="input-group" style="margin:6px 0;">
49
		      <input class="form-control" style="width: 97%;" type="text" placeholder="请输入验证码" id="code" autocomplete="off">
50
		      <div class="input-group-addon canPoint" id="obtain-code" >获取验证码</div>
51
		      <div class="input-group-addon canPoint2" id="getcodeoff" style="display: none;"></div>
52
		    </div>
53
		    <input type="password" class="form-control" placeholder="请设置您的登录密码" id="password" autocomplete="off">
24
		<!--填写表单信息-->
25
		<div class="formblock">
26
			<div class="inviteTit">
27
				<span></span> 邀请您加入「科袖」
28
			</div>
29
			<div class="form-group">
30
				<div class="input-group">
31
			    	<input type="text" class="form-control input_name" placeholder="请输入您的姓名" id="username" autocomplete="off">
32
			    </div>
33
				<div class="input-group">
34
			    	<input type="phone" class="form-control input_phone" placeholder="请输入您的手机号码" id="userphone" autocomplete="off">
35
			    </div>
36
			    <div class="input-group">
37
			      <input class="form-control input_code" type="text" placeholder="请输入验证码" id="code" autocomplete="off">
38
			      <button type="button" class="btn input-group-addon canPoint" id="obtain-code">获取验证码</button>
39
			    </div>
40
			    <div class="input-group">
41
			    	<input type="password" class="form-control input_pwd" placeholder="请设置您的登录密码" id="password" autocomplete="off">
42
			    </div>
43
			</div>
44
			<div class="checkboxT checkReg">
45
		        <div class="checkBg">
46
		        	已同意 <a href="privacyApp.html" class="protocollink" target="_blank">科袖网用户协议</a>
47
		        </div>
48
			</div>
49
		    <button type="button" class="btn btn-lg btn-block canPoint" disabled id="regbtn">注册</button>
50
	    </div>
51
	    <!--注册成功时显示-->
52
	    <div class="inviteSucceed displayNone">
53
	    	<div class="inviteTit">
54
				注册成功!<br/>欢迎您加入「科袖」
55
			</div>
56
			<a style="margin:60px 0 54px;" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.ekexiu.app" class="btn btn-lg btn-block canPoint">点击下载「科袖」app</a>
57
	    </div>
58
	    <!--文档信息-->
59
		<div class="inforbox">
60
			<img src="../images/wechat_bg_img_wenben_nor@3x.png" width="100%"/>
61
			<ul>
62
				<li>
63
					<img class="lefticon" src="../images/wechat_icon_pro_nor@3x.png"/>
64
					<div class="rightcon">
65
						<h2>认证成为「科袖」专家</h2>
66
						<p>寻找企业合作,将您的科研价值变现!</p>
67
					</div>
68
				</li>
69
				<li>
70
					<img class="lefticon" src="../images/wechat_icon_xuqiu_nor@3x.png"/>
71
					<div class="rightcon">
72
						<h2>发布研发需求</h2>
73
						<p>寻找专家帮您解决研发难题!</p>
74
					</div>
75
				</li>
76
				<li>
77
					<img class="lefticon" src="../images/wechat_icon_yaoqing_nor@3x.png"/>
78
					<div class="rightcon">
79
						<h2>邀请好友加入</h2>
80
						<p>获取丰厚积分奖励,好礼随意换!</p>
81
					</div>
82
				</li>
83
			</ul>
54 84
		</div>
55
	  <div class="checkbox" style="padding:0">
56
	    <label style="font-size:13px;color:#efefef;">
57
	        <div class="checkBg">
58
	        	已同意 <a href="privacyApp.html" class="protocollink" target="_blank">科袖网用户协议</a>
59
	        </div>
60
	      	
61
	    </label>
62
	  </div>
63
	  <button type="button" class="btn btn-lg btn-block canPoint" id="regbtn" disabled="disabled">注册</button>
64 85
	</form>
65 86
</div>
66 87


+ 95 - 0
ekexiu/InvitationNew.html

@ -0,0 +1,95 @@
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<meta charset="UTF-8">
5
<title>科袖网,搭建企业与专家的桥梁</title>
6
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
7
<link rel="stylesheet" href="../css/bootstrap.min.css">
8
<link rel="stylesheet" href="../css/reset.css">
9
<link rel="stylesheet" href="../css/common.css">
10
<link rel="stylesheet" href="../css/share.css">
11
<style type="text/css">
12
	html,body{min-height: auto;background: url(../images/wechat_bg_img_nor@3x.png) no-repeat;background-size:cover;background-attachment: fixed;}
13
</style>
14
</head>
15
<body class="invitebody">
16
<div class="contentBody2" style="max-width: 640px;margin:auto;">
17
	<div class="logobox">
18
		<a class="logolink" href="javascript:;">
19
			<img class="logoimg" src="../images/wechat_icon_logo_nor@3x.png" />
20
		</a>
21
	</div>
22
	
23
	<form class="form-inline" role="form" style="width: 90%;margin:auto">
24
		<!--填写表单信息-->
25
		<div class="formblock">
26
			<div class="inviteTit">
27
				<span></span> 邀请您加入「科袖」
28
			</div>
29
			<div class="form-group">
30
				<div class="input-group">
31
			    	<input type="text" class="form-control input_name" placeholder="请输入您的姓名" id="username" autocomplete="off">
32
			    </div>
33
				<div class="input-group">
34
			    	<input type="phone" class="form-control input_phone" placeholder="请输入您的手机号码" id="userphone" autocomplete="off">
35
			    </div>
36
			    <div class="input-group">
37
			      <input class="form-control input_code" type="text" placeholder="请输入验证码" id="code" autocomplete="off">
38
			      <button type="button" class="btn input-group-addon canPoint" id="obtain-code">获取验证码</button>
39
			    </div>
40
			    <div class="input-group">
41
			    	<input type="password" class="form-control input_pwd" placeholder="请设置您的登录密码" id="password" autocomplete="off">
42
			    </div>
43
			</div>
44
			<div class="checkboxT checkReg">
45
		        <div class="checkBg">
46
		        	已同意 <a href="privacyApp.html" class="protocollink" target="_blank">科袖网用户协议</a>
47
		        </div>
48
			</div>
49
		    <button type="button" class="btn btn-lg btn-block canPoint" disabled id="regbtn">注册</button>
50
	    </div>
51
	    <!--注册成功时显示-->
52
	    <div class="inviteSucceed displayNone">
53
	    	<div class="inviteTit">
54
				注册成功!<br/>欢迎您加入「科袖」
55
			</div>
56
			<a style="margin:60px 0 54px;" href="http://a.app.qq.com/o/simple.jsp?pkgname=com.ekexiu.app" class="btn btn-lg btn-block canPoint">点击下载「科袖」app</a>
57
	    </div>
58
	    <!--文档信息-->
59
		<div class="inforbox">
60
			<img src="../images/wechat_bg_img_wenben_nor@3x.png" width="100%"/>
61
			<ul>
62
				<li>
63
					<img class="lefticon" src="../images/wechat_icon_pro_nor@3x.png"/>
64
					<div class="rightcon">
65
						<h2>认证成为「科袖」专家</h2>
66
						<p>寻找企业合作,将您的科研价值变现!</p>
67
					</div>
68
				</li>
69
				<li>
70
					<img class="lefticon" src="../images/wechat_icon_xuqiu_nor@3x.png"/>
71
					<div class="rightcon">
72
						<h2>发布研发需求</h2>
73
						<p>寻找专家帮您解决研发难题!</p>
74
					</div>
75
				</li>
76
				<li>
77
					<img class="lefticon" src="../images/wechat_icon_yaoqing_nor@3x.png"/>
78
					<div class="rightcon">
79
						<h2>邀请好友加入</h2>
80
						<p>获取丰厚积分奖励,好礼随意换!</p>
81
					</div>
82
				</li>
83
			</ul>
84
		</div>
85
	</form>
86
</div>
87

88
<div class="bomb-box" style="display: none;"></div>
89
<script type="text/javascript" src="../js/jquery-1.11.1.js" ></script>
90
<script type="text/javascript" src="../js/jquery.cookie.js" ></script>
91
<script type="text/javascript" src="../js/common.js" ></script>
92
<script type="text/javascript" src="../js/invite-friends.js" ></script>
93

94
</body>
95
</html>

+ 77 - 0
emaiFindPwdOk.html

@ -0,0 +1,77 @@
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 type="text/css" rel="stylesheet" href="css/bootstrap.min.css">
9
<link type="text/css" rel="stylesheet" href="css/reset.css">
10
<link type="text/css" rel="stylesheet" href="css/common.css">
11
<link type="text/css" rel="stylesheet" href="css/genindex.css">
12
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
13
</head>
14
<body class="covbodyBg">
15
<div class="containerCon">
16
	<a href="index.html" class="headlogo signLogo"></a>
17
</div>
18
<!--中间-->
19
<div id="container">
20
	<div class="containerCon contConP">
21
		<div class="covFrmblock">
22
			<form class="cmpAllFrm">
23
				<p class="h1Font alignCenter mainColor">密码找回</p>
24
				<ul class="loginWaySort">
25
					<li class="col-w-6 liactive">通过邮箱找回</li>
26
					<li class="col-w-6" id="gophone">通过手机找回</li>
27
				</ul>
28
				<div class="waysBlock">
29
					<div class="loginWays">
30
						<!--通过邮箱找回-->
31
						<div class="waysThis">
32
							<!--邮箱找回第三步-->
33
							<ul class="cmpAllUl cmpCoverUl unreset">
34
								<li>
35
									<ul class="form_head clearfix">
36
										<li class="col-w-4 stepActive">
37
											<span class="icon_step step1"></span>
38
											输入邮箱
39
										</li>
40
										<li class="col-w-4 stepActive">
41
											<span class="icon_step step2g"></span>
42
											接收密码找回邮件
43
										</li>
44
										<li class="col-w-4 stepActive">
45
											<span class="icon_step step3g"></span>
46
											重置密码
47
										</li>
48
									</ul>
49
								</li>
50
								<li>
51
									<input type="password" class="frmtype frmtypeW" placeholder="请设置您的新密码"  id="newPassword" onBlur="passwordVal(this)" onfocus="getFocus(this)" onkeyup="checkLoginButtn(this)"/>
52
				    				<div class="frmmsg msgReset1"><span></span></div>
53
								</li>
54
								<li>
55
									<input type="password" class="frmtype frmtypeW" placeholder="请再次输入密码确认" id="newPasswordok" onBlur="passwordVal(this)" onfocus="getFocus(this)" onkeyup="checkLoginButtn(this)"/>
56
				    				<div class="frmmsg msgReset2"><span></span></div>
57
								</li>
58
								<li>
59
									<button type="button" class="frmtype frmtypeW btnModel headRadius save-block" disabled id="paswSubmit" onclick="resetPassword(this)">重置密码</button>
60
									<div class="frmmsg msgReset2"><span></span></div>
61
								</li>
62
							</ul>
63
						</div>
64
					</div>
65
				</div>
66
					
67
			</form>
68
		</div>
69
	</div>
70
</div>
71
<script type="text/javascript"src="js/jquery.cookie.js"></script>
72
<script type="text/javascript"src="js/jquery.similar.msgbox.js"></script>
73
<script type="text/javascript" src="js/common.js"></script>
74
<script type="text/javascript" src="js/emaiFindPwdOk.js"></script>
75

76
</body>
77
</html>

+ 115 - 0
fillinfo-select.html

@ -0,0 +1,115 @@
1
<!doctype html>
2
<html>
3
4
<head>
5
<meta charset="UTF-8">
6
<title>完善个人信息</title>
7
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
8
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css">
9
<link type="text/css" rel="stylesheet" href="css/reset.css">
10
<link type="text/css" rel="stylesheet" href="css/common.css">
11
<link type="text/css" rel="stylesheet" href="css/genindex.css">
12
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
13
</head>
14
<body class="covbodyBg">
15
<div class="containerCon">
16
	<a href="index.html" class="headlogo signLogo"></a>
17
</div>
18
<!--中间-->
19
<div id="container">
20
	<div class="containerCon contConP">
21
		<div class="covFrmblock">
22
			<form class="cmpAllFrm">
23
				<p class="h1Font alignCenter mainColor">完善个人信息</p>
24
				<div class="selectSortBox">
25
					<div class="bindtip"><img src="images/sign_bg_tishi_1_nor.png" width="100%" /></div>
26
					<ul class="mui-table-view mui-grid-view mui-grid-9">
27
						<li class="col-w-4" data-num="1">
28
					        <span class="selectSort sort-pro"></span>
29
					        <div class="sortbody">科研工作者</div>
30
						</li>
31
						<li class="col-w-4" data-num="2">
32
						    <span class="selectSort sort-mana"></span>
33
						    <div class="sortbody">企业高管</div>
34
						</li>
35
						<li class="col-w-4" data-num="3">
36
						    <span class="selectSort sort-stu"></span>
37
					        <div class="sortbody">在校生</div>
38
						</li>
39
						<li class="col-w-4" data-num="4">
40
						    <span class="selectSort sort-skill"></span>
41
					        <div class="sortbody">技术人员</div>
42
						</li>
43
						<li class="col-w-4" data-num="5">
44
						    <span class="selectSort sort-hr"></span>
45
					        <div class="sortbody">HR/猎头</div>
46
						</li>
47
						<li class="col-w-4" data-num="6">
48
						    <span class="selectSort sort-sale"></span>
49
					        <div class="sortbody">销售人员</div>
50
						</li>
51
						<li class="col-w-4" data-num="7">
52
						    <span class="selectSort sort-invest"></span>
53
					        <div class="sortbody">投资方</div>
54
						</li>
55
						<li class="col-w-4" data-num="8">
56
						    <span class="selectSort sort-consult"></span>
57
					        <div class="sortbody">咨询顾问</div>
58
						</li>
59
						<li class="col-w-4 selectNow" data-num="0">
60
						    <span class="selectSort sort-user"></span>
61
					        <div class="sortbody">普通用户</div>
62
					        <span class="selectNowicon"></span>
63
						</li>
64
					</ul>
65
					<div class="frmboxNew">
66
						<button type="button" class="frmtype btnModel save-block headRadius" id="nextbut">下一步</button>
67
					</div>
68
				</div>
69
			</form>
70
		</div>
71
	</div>
72
</div>
73
<script type="text/javascript" src="js/jquery.cookie.js"></script>
74
<script type="text/javascript">
75
$(function(){
76
	var id=$.cookie('userid')
77
	$(".selectSortBox").on("click","li",function(){
78
		
79
		var liAll = document.getElementsByTagName('li');
80
		var slescted =document.createElement("span")
81
		slescted.className = "selectNowicon";
82
		for(var i = 0;i <liAll.length;i++){
83
			if(liAll[i].classList.contains("selectNow")){
84
				liAll[i].classList.remove("selectNow");
85
				liAll[i].removeChild(liAll[i].getElementsByTagName("span")[1]);
86
			}
87
		}
88
		this.classList.add("selectNow");
89
		this.appendChild(slescted);
90
	})
91
	
92
	$("#nextbut").on("click",function(){
93
		var authentication = $(".selectNow").attr("data-num");
94
		$.ajax({	
95
			"url":"../ajax/professor/authen",
96
			"type":"POST",
97
			"data":{"id":id,"authentication":authentication},
98
			"success":function(data){
99
				console.log(data);
100
				if(data.success){
101
					$.cookie('authentication', authentication, {path: "/"});
102
					location.href = "fillinfoNew.html";
103
				}
104
			},
105
			"error":function(){
106
				$.MsgBox.Alert('消息', '服务器请求失败');
107
			}
108
		})	
109
	})
110
	
111
})	
112
</script>
113
</body>
114
115
</html>

+ 148 - 0
fillinfoNew.html

@ -0,0 +1,148 @@
1
<!doctype html>
2
<html>
3
<meta charset="UTF-8">
4
<title>完善个人信息</title>
5
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
6
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css">
7
<link type="text/css" rel="stylesheet" href="css/reset.css">
8
<link type="text/css" rel="stylesheet" href="css/common.css">
9
<link type="text/css" rel="stylesheet" href="css/genindex.css">
10
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
11
</head>
12
<body class="covbodyBg">
13
<div class="containerCon">
14
	<a href="index.html" class="headlogo signLogo"></a>
15
</div>
16
<!--中间-->
17
<div id="container">
18
	<div class="containerCon contConP">
19
		<div class="covFrmblock" style="min-width: 440px;">
20
			<form class="cmpAllFrm">
21
				<p class="h1Font alignCenter mainColor">完善个人信息</p>
22
		<div class="fillMore">
23
			<div class="alignCenter fillMoreHead">
24
				<div class="fillHead userRadius">
25
					<a href="photo-set.html" id="userimg" style=" display:block;width:100px;height: 100px;"></a>
26
				</div>
27
				<span class="h1Font" id="username"></span>
28
			</div>
29
			<div class="fillShow">
30
				<ul>
31
			        <li>
32
			        	<div class="col-w-2"><em class="emspace">职</em>称</div>
33
			        	<div class="col-w-10">
34
			        		<div class="textinput " contenteditable="true" onBlur="nameVal(this,40)" onfocus="getFocus(this)" id="title"></div>
35
			        		<div class="frmmsg msgLog1"><span></span></div>
36
			        	</div>
37
			        </li>
38
			        <li>
39
			        	<div class="col-w-2">所在机构</div>
40
			        	<div class="col-w-10">
41
			        		<div class="textinput" contenteditable="true" onBlur="nameVal(this,100)" onfocus="getFocus(this)" id="orgName"></div>
42
			        		<div class="frmmsg msgLog1"><span></span></div>
43
			        	</div>
44
			        </li>
45
			        <li>
46
			        	<div class="col-w-2">所属部门</div>
47
			        	<div class="col-w-10">
48
			        		<div class="textinput" contenteditable="true" onBlur="nameVal(this,40)" onfocus="getFocus(this)" id="department"></div>
49
			        		<div class="frmmsg msgLog1"><span></span></div>
50
			        	</div>
51
			        </li>
52
			        <li>
53
			        	<div class="col-w-2"><em class="emspace">职</em>位</div>
54
			        	<div class="col-w-10">
55
			        		<div class="textinput" contenteditable="true" onBlur="nameVal(this,40)" onfocus="getFocus(this)" id="office"></div>
56
			        		<div class="frmmsg msgLog1"><span></span></div>
57
			        	</div>
58
			        </li>
59
			        <li>
60
			        	<div class="col-w-2">所在城市</div>
61
			        	<div class="col-w-10">
62
			       			<div class="citybox">
63
                                <form action="" name="form1">
64
                                    <div class="infolist">
65
                                        <div class="liststyle clearfix">
66
                                            <span id="Province">
67
                                                <em class="mr_sj"></em>
68
                                                <i class="mr_show" id="oprovince">请选择省/直辖市</i>
69
                                                <ul>
70
                                                    <li><a href="javascript:void(0)" alt="请选择省/直辖市">请选择省/直辖市</a></li>
71
                                                </ul>
72
                                                <input type="hidden" name="cho_Province" value="请选择省/直辖市">
73
                                            </span>
74
                                            <span id="City" style="margin-left:2%;">
75
                                                <em class="mr_sj"></em>
76
                                                <i class="mr_show" id="ocity">请选择城市</i>
77
                                                <ul>
78
                                                    <li><a href="javascript:void(0)" alt="请选择城市">请选择城市</a></li>
79
                                                </ul>
80
                                                <input type="hidden" name="cho_City" value="请选择城市">
81
                                            </span>
82
                                        </div>
83
                                    </div>
84
                                </form> 
85
                            </div>
86
                        </div>
87
			        </li>
88
			        <li class="alignCenter">
89
			        	<div class="col-w-6">
90
			        		<a href="fillinfo-select.html"><button type="button" class="frmtype btnModel btnCancel save-block headRadius">返回</button></a>
91
			        	</div>
92
			        	<div class="col-w-6">
93
			        		<button type="button" class="frmtype btnModel save-block headRadius" onclick="modifyUserInformation()">进入科袖</button>
94
			        	</div>
95
			        </li>
96
			    </ul>
97
			</div>
98
		</div>
99
		</div>
100
			</form>
101
		</div>
102
	</div>
103
</div>
104
<script type="text/javascript" src="js/jquery.cookie.js"></script>
105
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
106
<script type="text/javascript" src="js/city.min.js"></script>
107
<script type="text/javascript" src="js/common.js"></script>
108
<script type="text/javascript" src="js/fillinfoNew.js"></script>
109
<script type="text/javascript">
110
	//省份城市颜色
111
	if($("#oprovince").text()=="请选择省/直辖市"){
112
		$("#oprovince").removeClass("mr_select");
113
	}else{
114
		$("#oprovince").addClass("mr_select");
115
	}
116
	if($("#ocity").text()=="请选择城市"){
117
		$("#ocity").removeClass("mr_select");
118
	}else{
119
		$("#ocity").addClass("mr_select");
120
	}
121
	/*选择省份*/
122
	$(document).on("click", "#Province li a", function() {
123
		var aVal = $(this).text();
124
		$(this).parent().parent().parent().find('.mr_show').text(aVal);
125
		$(this).parent().parent().parent().find('input[name=cho_Province]').val(aVal);
126
		
127
		if($("#oprovince").text()=="请选择省/直辖市"){
128
			$("#oprovince").removeClass("mr_select");
129
			$("#ocity").removeClass("mr_select");
130
		}else{
131
			$("#oprovince").addClass("mr_select");
132
			$("#ocity").removeClass("mr_select");
133
		}
134
	});
135
	/*选择城市填充js	*/
136
	$(document).on("click", "#City li a", function() {
137
		var aVal = $(this).text();
138
		$(this).parent().parent().parent().find('.mr_show').text(aVal);
139
		$(this).parent().parent().parent().find('input[name=cho_City]').val(aVal);
140
		if($("#ocity").text()=="请选择城市"){
141
			$("#ocity").removeClass("mr_select");
142
		}else{
143
			$("#ocity").addClass("mr_select");
144
		}
145
	});
146
</script>
147
</body>
148
</html>

BIN
images/default-artical.jpg


BIN
images/default-icon.jpg


BIN
images/default-photo.jpg


BIN
images/default-resource.jpg


BIN
images/frmPageBg.jpg


BIN
images/g_article_button_dingbu_hig.png


BIN
images/g_article_button_dingbu_nor.png


BIN
images/g_article_button_guanbi_hig.png


BIN
images/g_article_button_huifu_nor.png


BIN
images/g_article_button_liuyan_hig.png


BIN
images/g_article_button_liuyan_nor.png


BIN
images/g_article_button_shanchu_hig.png


BIN
images/g_article_button_shoucang_hig.png


BIN
images/g_article_button_shoucang_nor.png


BIN
images/g_article_button_weixin_hig.png


BIN
images/g_article_button_weixin_nor.png


BIN
images/g_article_button_xiugai_hig.png


BIN
images/g_article_icon_caogao_hig.png


BIN
images/g_article_icon_caogao_nor.png


BIN
images/g_article_icon_dianzan_nor.png


BIN
images/g_article_icon_dingshi_hig.png


BIN
images/g_article_icon_dingshi_nor.png


BIN
images/g_article_icon_fabu_hig.png


BIN
images/g_article_icon_fabu_nor.png


BIN
images/g_article_icon_fanbu_nor.png


BIN
images/g_article_icon_jia_nor.png


BIN
images/g_article_icon_shanchu_hig.png


BIN
images/g_article_icon_shanchu_nor.png


BIN
images/g_article_icon_sousuo_nor.png


BIN
images/g_article_icon_yulan_hig.png


BIN
images/g_article_icon_yulan_nor.png


BIN
images/sign_bg_tishi_1_nor.png


BIN
images/sign_icon_hr_nor.png


BIN
images/sign_icon_jishu_nor.png


BIN
images/sign_icon_keyan_nor.png


BIN
images/sign_icon_putong_nor.png


BIN
images/sign_icon_qiyegaoguan_nor.png


BIN
images/sign_icon_touzifang_nor.png


BIN
images/sign_icon_xiaoshou_nor.png


BIN
images/sign_icon_xuanze_hig.png


BIN
images/sign_icon_xuesheng_nor.png


BIN
images/sign_icon_zixun_nor.png


BIN
images/wechat_bg_img_nor@3x.png


BIN
images/wechat_bg_img_wenben_nor@3x.png


BIN
images/wechat_icon_logo_nor@3x.png


BIN
images/wechat_icon_mima_nor@3x.png


BIN
images/wechat_icon_pro_nor@3x.png


BIN
images/wechat_icon_shouji_nor@3x.png


BIN
images/wechat_icon_xingming_nor@3x.png


BIN
images/wechat_icon_xuqiu_nor@3x.png


BIN
images/wechat_icon_yanzhengma_nor@3x.png


BIN
images/wechat_icon_yaoqing_nor@3x.png


+ 0 - 168
information-add.html

@ -1,168 +0,0 @@
1
<!DOCTYPE html>
2
<html>
3
<head>
4
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">
5
-->
6
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
8

9
<meta http-equiv="X-UA-Compatible" content="IE=edge">
10
<title>科袖网-搭建企业与专家的桥梁</title>
11
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" />
12
<link href="css/bootstrap.min.css" rel="stylesheet">
13
<link rel="stylesheet" href="css/reset.css" />
14
<link type="text/css" href="css/common.css" rel="stylesheet">
15
<link type="text/css" href="css/index.css" rel="stylesheet">
16
<link type="text/css" href="css/login.css" rel="stylesheet">
17
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
18
<style type="text/css">
19
	#header.Nosear {
20
    position: static;
21
}
22
#header {
23
    width: 100%;
24
    min-width: 1100px;
25
    height: 60px;
26
    background: #FFFFFF;
27
    position: fixed;
28
    top: 0;
29
    z-index: 999;
30
}
31
</style>
32
</head>
33

34
<body>
35
<header id="header" class="Nosear">
36
	<div class="containerCon">
37
		<div class="headlogo">
38
			<a href="index.html"><h1></h1></a>
39
		</div>
40
	</div>
41
</header>
42
<div class="containerFrm" style="padding-bottom: 0;">
43
	<div id="container">
44
	<div class="contentmid" style="width:600px;background: #FFFFFF;">
45
    	<!--/*完善信息*/-->
46
        <div class="basicinforbox">
47
        	<div class="basicinfor">
48
            	<!--默认头像!-->
49
				<div class="default-photo"><a href="photo-set.html"></a></div>
50
            	<div class="IdentityChoice">
51
            		<h3 class="boxnav-title">请先选择您现在的身份<b class="required_star" style="top:12px;"></b></h3>
52
					<ul class="boxnav">
53
						<li class="set" id="boxnav1"><span data-num="1">科研工作者</span></li>
54
						<li id="boxnav2"><span data-num="2">在企人员</span></li>
55
						<li id="boxnav3"><span data-num="3">在校生</span></li>
56
					</ul>
57
            	</div>
58
            	<!--科研工作者  -->
59
            	<table class="inforAdd_tab">
60
                	<tr>
61
                    	<td><div class="txtType basictype"><b class="required_star"></b><em class="emspace">姓</em>名</div></td>
62
                        <td><div class="basiccon"><input type="text" class="inputtxt txtgo" id="name"></div></td>
63
                    </tr>
64
                    
65
                    <tr class="basicmsgbox"><td></td><td><div class="basiccon"><div class="basicmsg basicmsg1"></div></div></td></tr>   
66
                    <tr>
67
                    	<td><div class="txtType basictype"><b class="required_star"></b><span class="label1">所在机构</span></div></td>
68
                        <td><div class="basiccon"><input type="text" class="inputtxt txtgo" id="orgName"></div></td>
69
                    </tr>
70
                   
71
                     <tr class="basicmsgbox"><td></td><td><div class="basiccon"><div class="basicmsg basicmsg2"></div></div></td></tr>   
72
                    <tr >
73
                    	<td><div class="basictype " ><span class="label2">所属部门</span></div></td>
74
                        <td><div class="basiccon"><input type="text" class="inputtxt txtgo" id="department"></div></td>
75
                    </tr>
76
                    <tr class="divbox1">
77
                    	<td><div class="basictype"><em class="emspace">职</em>称</div></td>
78
                        <td><div class="basiccon"><input type="text" class="inputtxt txtgo" id="title"></div></td>
79
                    </tr>
80
                    <tr class="divbox2">
81
                    	<td><div class="basictype"><em class="emspace">职</em>位</div></td>
82
                        <td><div class="basiccon"><input type="text" class="inputtxt txtgo" id="office"></div></td>
83
                    </tr>
84
                     <tr>
85
                    	<td><div class="basictype">所在城市</div></td>
86
                        <td>
87
                            <div class="basiccon">
88
                                <div class="citybox" style="margin:4px 0;">
89
                                    <form action="" name="form1">
90
                                        <div class="infolist">
91
                                            <div class="liststyle clearfix">
92
                                                <span class="inputtxt txtgo" id="Province">
93
                                                    <em class="mr_sj mr_sj2"></em>
94
                                                    <i class="mr_show mr_show2">请选择省份</i>
95
                                                    <ul>
96
                                                        <li><a href="javascript:void(0)" alt="请选择省份">请选择省份</a></li>
97
                                                    </ul>
98
                                                    <input type="hidden" name="cho_Province" value="请选择省份">
99
                                                </span>
100
                                                <span id="City" class="inputtxt txtgo" style="margin-left:8px;">
101
                                                    <em class="mr_sj mr_sj2"></em>
102
                                                    <i class="mr_show mr_show2">请选择城市</i>
103
                                                    <ul>
104
                                                        <li><a href="javascript:void(0)" alt="请选择城市">请选择城市</a></li>
105
                                                    </ul>
106
                                                    <input type="hidden" name="cho_City" value="请选择城市">
107
                                                </span>
108
                                                
109
                                            </div>
110
                                        </div>
111
                                    </form> 
112
                                </div>
113
                            </div>
114
                        </td>
115
                    </tr>
116
                    
117
                    <tr>
118
                    	<td colspan="2">
119
                            <div class="addrebtn" style="text-align:center;width:364px;">
120
                                <input type="button" value="保存" class="inputtxt txtgo submitBtn" id="saveProfessor">
121
                           </div>
122
                        </td>
123
                    </tr>
124
                </table>
125
                <!--科研工作者  -->
126
            </div>
127
        </div>
128
    </div>
129
    </div>
130
</div>
131

132

133
<script type="text/javascript" src="js/jquery.cookie.js"></script>
134
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
135
<script type="text/javascript" src="js/city.min.js"></script>
136
<script type="text/javascript" src="js/common.js"></script>
137
<script type="text/javascript" src="js/information-add.js"></script>
138
<script type="text/javascript">
139
	$(".IdentityChoice").on("click",".boxnav li",function(){
140
		$(this).addClass("set").siblings().removeClass("set");
141
	})
142
	var labelbox1 = '<td><div class="basictype"><em class="emspace">职</em>称</div></td><td><div class="basiccon"><input type="text" class="inputtxt txtgo" id="title"></div></td>';
143
	var labelbox2 = '<td><div class="basictype"><em class="emspace">职</em>位</div></td><td><div class="basiccon"><input type="text" class="inputtxt txtgo" id="office"></div></td>';
144
	$("#boxnav1").on("click",function(){
145
		$(".label1").text("所在机构");
146
		$(".label2").text("所属部门");
147
		$(".divbox1,.divbox2").show();
148
		$(".divbox1").html(labelbox1);
149
		$(".divbox2").html(labelbox2);
150
		$(".inforAdd_tab input:not('#name,#saveProfessor')").val("");
151
	})
152
	$("#boxnav2").on("click",function(){
153
		$(".label1").text("所在企业");
154
		$(".label2").text("所属部门");
155
		$(".divbox1,.divbox2").show();
156
		$(".divbox1").html(labelbox2);
157
		$(".divbox2").html(labelbox1);
158
		$(".inforAdd_tab input:not('#name,#saveProfessor')").val("");
159
	})
160
	$("#boxnav3").on("click",function(){
161
		$(".label1").text("所在高校");
162
		$(".label2").text("所属学院");
163
		$(".divbox1,.divbox2").hide();
164
		$(".inforAdd_tab input:not('#name,#saveProfessor')").val("");
165
	})
166
</script>
167
</body>
168
</html>

+ 2 - 2
js/city.min.js

@ -6,7 +6,7 @@ $(function() {
6 6
		prev = $('input[name=cho_Province]', form1),
7 7
		city = $('input[name=cho_City]', form1),
8 8
		area = $('input[name=cho_Area]', form1),
9
		vale = ['请选择省', '请选择城市', '请选择地区'];
9
		vale = ['请选择省/直辖市', '请选择城市', '请选择地区'];
10 10
	form1.submit(function() {
11 11
		if(prev.val() == vale[0]) {
12 12
			alert(vale[0]);
@ -47,7 +47,7 @@ function(a) {
47 47
		}
48 48
		var d, e = {
49 49
				setId: ["#Province", "#City", "#Area"],
50
				stval: ["请选择省", "请选择城市", "请选择地区"],
50
				stval: ["请选择省/直辖市", "请选择城市", "请选择地区"],
51 51
				czemt: "i",
52 52
				inpvt: 'input[name^="cho"]',
53 53
				intva: !0

+ 12 - 10
js/common.js

@ -140,16 +140,15 @@ function valUser(){
140 140
function loginStatus(){
141 141
	userid = $.cookie('userid');
142 142
	userAuth = $.cookie('userAuth');
143
	userName = $.cookie('userName');
144
	if(userid == null && userName == null && userAuth == "false"){
145
		$(".unlogin").show();
146
		$(".onlogin").hide();
147
	}else if(userid != null && userAuth == "false" && userName != null){
148
		location.href="login-first.html";
149
	}else if(userid != null && userAuth == "true" && userName == ""){
150
		location.href="information-add.html";
151
	}else{
152
		if (userid && userid != "null" && userid != null) {
143
	authentication = $.cookie('authentication');
144
	if(userid && userid != "null" && userid != null){
145
		if(userAuth == "false" && authentication == "null"){
146
			location.href="loginInviteFirst.html";
147
		}
148
		if(userAuth == "true" && authentication == "null"){
149
			location.href="fillinfo-select.html";
150
		}
151
		if(userAuth == "true" && authentication != "null"){
153 152
			$(".onlogin").show();
154 153
			$(".unlogin").hide();
155 154
	 		$(".portrait-p").attr("src","/images/head/"+userid+"_m.jpg");
@ -159,6 +158,9 @@ function loginStatus(){
159 158
				$(".portrait-p").attr("src","/images/default-photo.jpg");
160 159
			});
161 160
		}
161
	}else{
162
		$(".unlogin").show();
163
		$(".onlogin").hide();
162 164
	}
163 165
}
164 166

+ 80 - 0
js/emaiFindPwdOk.js

@ -0,0 +1,80 @@
1
$(function() {
2
	loginStatus(); //判断个人是否登录
3
	$("#gophone").on("click",function(){
4
		location.href = "pwdFindNew.html?slef=1";
5
	})
6
})
7

8
var passwordPass = false;
9
var passwordPass2 = false;
10

11
/*校验密码找回按钮显示状态*/
12
function checkLoginButtn(_this) {
13
	var newPassword = $(_this).parents(".cmpCoverUl").find("#newPassword").val();
14
	var newPasswordok = $(_this).parents(".cmpCoverUl").find("#newPasswordok").val();
15
	if(newPassword == "" || newPasswordok == "") {
16
		$(_this).parents(".cmpCoverUl").find("#paswSubmit").attr("disabled", true);
17
	} else {
18
		$(_this).parents(".cmpCoverUl").find("#paswSubmit").attr("disabled", false);
19
	}
20
}
21

22
/*获取焦点*/
23
function getFocus(_this) {
24
	$(_this).next().find("span").text("");
25
	$(_this).removeClass("frmmsg-warning");
26
}
27

28
//校验登录密码
29
function passwordVal(_this) {
30
	var passwd = $(_this).val();
31
	var passwd2 = $("#newPassword").val();
32
	if(passwd.length == "") {
33
		$(_this).next().find("span").text("请设置您的登录密码");
34
		$(_this).addClass("frmmsg-warning");
35
	} else if(passwd.length < 6) {
36
		$(_this).next().find("span").text("密码由6-24个字符组成,区分大小写");
37
		$(_this).addClass("frmmsg-warning");
38
	} else if(passwd != passwd2) {
39
		$(_this).next().find("span").text("两次输入不一致,请重新输入");
40
		$(_this).addClass("frmmsg-warning");
41
	} else {
42
		$(_this).next().find("span").text("");
43
		$(_this).removeClass("frmmsg-warning");
44
		passwordPass = true;
45
	}
46
}
47

48
function resetPassword(_this) {
49
	console.log(passwordPass)
50
	if(passwordPass ==false) {
51
		return;
52
	}
53
	var mailCode = GetQueryString('sc');
54
	var oldPassword = $("#newPasswordok").val();
55
	if(passwordPass) {
56
		$.ajax("/ajax/resetPasswordWith", {
57
			type: "post",
58
			success: function(data) {
59
				console.log(data);
60
				if(data.success) {
61
					if(data.data == true) {
62
						location.href = "pwdResult.html?num=1";
63
					} else {
64
						$(_this).next().find("span").text("重置密码失败");
65
					}
66
				} else {
67
					location.href = "pwdResult.html?num=0";
68
				}
69
			},
70
			error: function() {
71
				$.MsgBox.Alert('消息', '服务器链接失败');
72
			},
73
			data: {
74
				"state": mailCode,
75
				"pw": oldPassword
76
			},
77
			dataType: 'json'
78
		});
79
	}
80
}

+ 81 - 0
js/fillinfoNew.js

@ -0,0 +1,81 @@
1
$(function() {
2
	var userid = $.cookie('userid');
3
	userInformation(userid);
4
	//获取用户信息
5
	function userInformation(userid) {
6
		$.ajax("/ajax/professor/baseInfo/" + userid, {
7
			type: "GET",
8
			async: true,
9
			success: function($data) {
10
				console.log($data)
11
				if($data.success) {
12
					$("#username").text($data.data.name);
13
					if($data.data.hasHeadImage == 1) {
14
						var imgvar = '<img src="/images/head/' + userid + '_l.jpg" style="width:100%"/>';
15
						$("#userimg").append(imgvar);
16
					}
17
				}
18
			},
19
			error: function() {
20
				$.MsgBox.Alert('消息', '服务器请求失败')
21
			},
22
		});
23
	}
24

25
})
26

27
//校验信息
28
function nameVal(_this, num) {
29
	var inputval = $(_this).text().replace(/[^\u0000-\u00ff]/g, "aa").length;
30
	if(inputval > num) {
31
		$(_this).next().find("span").text("最多输入" + num / 2 + "个字");
32
		$(_this).addClass("frmmsg-warning");
33
	} else {
34
		$(_this).next().find("span").text("");
35
		$(_this).removeClass("frmmsg-warning");
36
	}
37
}
38

39
/*获取焦点*/
40
function getFocus(_this) {
41
	$(_this).next().find("span").text("");
42
	$(_this).removeClass("frmmsg-warning");
43
}
44

45
//进入科袖按钮
46
function modifyUserInformation() {
47
	var $data = {};
48
	$data.name = $("#username").text(); //名字				
49
	$data.orgName = $("#orgName").text(); //机构名称
50
	$data.title = $("#title").text(); //职称
51
	$data.office = $("#office").text(); //职位
52
	$data.department = $("#department").text(); //部门
53
	var province = $("#oprovince").text();
54
	var address = $("#ocity").text(); //市
55
	if(province == "请选择省/直辖市") {
56
		$data.province = "";
57
	} else {
58
		$data.province = province; //省
59
	}
60
	if(address == "请选择城市") {
61
		$data.address = "";
62
	} else {
63
		$data.address = address; //省
64
	}
65
	$data.id = $.cookie('userid');
66
	console.log($data);
67
	$.ajax("/ajax/professor/updatePro", {
68
		type: "POST",
69
		dataType: "json",
70
		data: $data,
71
		success: function($data) {
72
			console.log($data)
73
			if($data.success) {
74
				location.href = "index.html";
75
			}
76
		},
77
		error: function() {
78
			$.MsgBox.Alert('消息', '服务器请求失败')
79
		},
80
	});
81
}

+ 0 - 88
js/information-add.js

@ -1,88 +0,0 @@
1
function GetQueryString(name)
2
{ 
3
		var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); 	
4
		var r = window.location.search.substr(1).match(reg);  
5
		var context = ""; 
6
		if (r != null) 
7
			 context = r[2]; 
8
		reg = null; 
9
		r = null; 
10
		return context == null || context == "" || context == "undefined" ? "" : decodeURI(context); 
11
}
12
var id=GetQueryString("id");
13
var namePass=false;
14
var orgPass=false;
15

16
$("#name").blur(function(){
17
	var name=$("#name").val();
18
	if(name.length==0 && name==""){
19
		$(".basicmsg1").text("请输入您的真实姓名");
20
	}else{
21
		$(".basicmsg1").text("");
22
		 namePass=true;
23
	}
24
});
25

26
$("#orgName").blur(function(){
27
	var num = $(".boxnav li.set span").attr("data-num");
28
	var org=$("#orgName").val();
29
	if(org.length==0 && org==""){
30
		if(num==1){
31
			$(".basicmsg2").text("请输入您的机构");
32
		}else if(num==2){
33
			$(".basicmsg2").text("请输入您的企业");
34
		}else{
35
			$(".basicmsg2").text("请输入您的高校");
36
		}
37
		
38
	}else{
39
		$(".basicmsg2").text("");
40
		orgPass=true;
41
	}
42
});
43
	
44
$("#saveProfessor").on("click",	function() {
45
	
46
	var $data = {};
47
	$data.name = $("#name").val();				
48
	$data.orgName = $("#orgName").val();//机构名称
49
	$data.title = $("#title").val();//职称
50
	$data.office = $("#office").val();//职位
51
	$data.department = $("#department").val();//部门
52
	var province = $("#Province input[name=cho_Province]").val();
53
	var address = $("#City input[name=cho_City]").val();//市
54
	if(province=="请选择省份"){
55
		$data.province = "";
56
	}else{
57
		$data.province = province;//省
58
	}
59
	if(address=="请选择城市"){
60
		$data.address = "";
61
	}else{
62
		$data.address = address;//省
63
	}
64
	$data.id = id;
65
	$data.authentication = $(".boxnav li.set span").attr("data-num");//用户角色
66
	//console.log($data);
67
	if(orgPass&&namePass){
68
			$.ajax({"url" : "../ajax/professor",
69
				"type" :  "POST",
70
				"success" : function(rdata) {
71
					
72
					if (rdata.success) {
73
							$.cookie('userName', $data.name,{path:"/"}); 
74
							location.href="index.html";								
75
					} else {
76
						$.MsgBox.Alert("message",rdata.msg);
77
					}
78
				},
79
				"data" : $data,
80
				"contentType" :"application/x-www-form-urlencoded",
81
				dataType : "json"
82
			});
83
	}else{
84
		$(".basicmsg1").text('请输入您的真实姓名');
85
		var label1 = $(".label1").text();
86
		$(".basicmsg2").text('请输入您的'+label1);
87
	}
88
});	

+ 18 - 12
js/invite-friends.js

@ -17,14 +17,14 @@ $(function(){
17 17
		$(".bomb-box").text(textt);
18 18
		var bombwidth = $(".bomb-box").width();
19 19
	    $(".bomb-box").css({"marginLeft": -(bombwidth+25)/2 + "px"});
20
		setInterval (function(){
20
		setTimeout(function(){
21 21
			$(".bomb-box").fadeOut("slow");
22 22
		},4000);
23 23
	}
24 24
	
25 25
	/*校验提交按钮显示状态*/
26
	$('.form-group').on('keyup', "#userphone,#code,#password", function() {
27
		if($("#userphone").val() == "" || $("#code").val() == "" || $("#password").val() == "") {
26
	$('.form-group').on('keyup', "#userphone,#code,#password,#username", function() {
27
		if($("#userphone").val() == "" || $("#code").val() == "" || $("#password").val() == "" || $("#username").val() == "") {
28 28
			$("#regbtn").attr("disabled",true);
29 29
		} else {
30 30
			$("#regbtn").attr("disabled",false);
@ -33,6 +33,11 @@ $(function(){
33 33
	
34 34
	/*注册按钮*/
35 35
	$("#regbtn").on('click',function() {
36
		var oStringLength=$("#username").val().length;
37
		if(oStringLength>10){
38
			bombox("请输入您的真实姓名");
39
			return;
40
		}
36 41
		codeVal();
37 42
		if(ifpassword && ifCode){
38 43
			completeReg();
@ -107,23 +112,22 @@ $(function(){
107 112
	
108 113
	/*30s后重新获取验证码*/
109 114
	function doClick() {
110
		$("#obtain-code").hide();
111
		$("#getcodeoff").show();
112
		$("#getcodeoff").text("30s后重新获取");
115
		$("#obtain-code").attr("disabled",true);
116
		$("#obtain-code").text("30s后重新获取");
113 117
		var clickTime = new Date().getTime();
114 118
		var Timer = setInterval(function() {
115 119
			var nowTime = new Date().getTime();
116 120
			var second = Math.ceil(30 - (nowTime - clickTime) / 1000);
117 121
			if(second > 0) {
118
				$("#getcodeoff").text(second + "s后重新获取");
122
				$("#obtain-code").text(second + "s后重新获取");
119 123
			} else {
120 124
				clearInterval(Timer);
121
				$("#obtain-code").show();
122
				$("#getcodeoff").hide();
125
				$("#obtain-code").attr("disabled",false);
123 126
				$("#obtain-code").text("获取验证码");
124 127
			}
125 128
		}, 1000);
126 129
	}
130

127 131
	
128 132
	/*校验验证码*/
129 133
	function codeVal() {
@ -182,13 +186,14 @@ $(function(){
182 186
	//注册提交
183 187
	function completeReg() {
184 188
		$.ajax({
185
			url:"/ajax/regmobile",
189
			url:"/ajax/mobileReg",
186 190
			data: {
187 191
				state: state,
188 192
				mobilePhone: $("#userphone").val(),
189 193
				validateCode: $("#code").val(),
190 194
				password: $("#password").val(),
191
				inviterId:inviterId
195
				inviterId:inviterId,
196
				name:$("#username").val()
192 197
			},
193 198
			dataType: 'json', //数据格式类型
194 199
			type: 'post', //http请求类型
@ -196,7 +201,8 @@ $(function(){
196 201
			success: function(data) {
197 202
				if(data.success) {
198 203
					bombox("注册成功");
199
					location.href="invitSucceed.html";
204
					$(".formblock").hide();
205
					$(".inviteSucceed").show();
200 206
				}
201 207
			},
202 208
			error: function() {

+ 0 - 76
js/login-email-find01.js

@ -1,76 +0,0 @@
1
loginStatus();//判断个人是否登录
2
//	var _widht = document.documentElement.clientWidth;  //屏幕宽
3
	var _height = document.documentElement.clientHeight; //屏幕高
4
//	var boxWidth = $(".email-find1").width();
5
	var boxHeight = $(".email-find1").height();
6
	$(".email-find1").css({ top: (_height - boxHeight) / 2 +"px" });
7

8

9
	var isPass = false;
10
	function valEmail() {
11
		var email=$("#email").val();
12
		if(email.length==0){
13
			$(".msg1").text("请输入您的邮箱地址");
14
		}else{
15
			var hun=/\s+/;
16
			if(hun.test(email.trim())){
17
				$(".msg1").text("请输入");
18
			}else{
19
				//var gunf=/^\w+@\w+\.((cn)|(com)|(com\.cn))$/;
20
				var gunf= /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/; 
21
				if(gunf.test(email.trim())){
22
					isPass=true;
23
					$(".msg1").text("");
24
					userRegisterOk();
25
				}else{
26
					$(".msg1").text("输入的Email格式不对");
27
				}
28
			}
29
		}
30
	} 
31
	function findBack(){
32
		valEmail();
33
		if(isPass){
34
		$.ajax("/ajax/reqRpWithEmail",{
35
				type:"GET",
36
				 async: false,
37
				success:function(data){  
38

39
					if(data.success){
40
						if(data.data){
41
							location.href="login-email-find02.html?email="+$("#email").val();
42
						}else{
43
							$(".msg2").text("发送重置密码失败!");
44
						}
45
					}else{
46
						$(".msg2").text("系统异常!");
47
						// alert("系统异常!");
48
					}
49
				},
50
				error:function(){$.MsgBox.Alert('message','fail')},
51
				data:{"mail":$("#email").val()},
52
				dataType: 'json'
53
			});
54
		}
55
	}
56
	
57
	//判断账号是否注册
58
	function userRegisterOk(){
59
		var loginName= $("#email").val();
60
		//console.log(loginName);
61
		$.ajax("/ajax/isReg?key="+loginName,{
62
			type:"GET",
63
			async: true,
64
			success:function($data){ 
65
				//console.log($data);
66
			    if($data.data==true){
67
			    	 $(".msg2").text("该邮箱地址未绑定科袖账户");
68
			    	 return false; 
69
			    }
70
			},
71
			error:function(){
72
				$.MsgBox.Alert('消息','服务器请求失败')},
73
			}
74
		);
75
	}
76
	

+ 0 - 43
js/login-email-find02.js

@ -1,43 +0,0 @@
1
loginStatus();//判断个人是否登录
2
/**
3
 * 邮箱找密码第二步
4
 */
5
$(function (){
6
	//var _widht = document.documentElement.clientWidth;  //屏幕宽
7
	var _height = document.documentElement.clientHeight; //屏幕高
8
	//var boxWidth = $(".email-find2").width();
9
	var boxHeight = $(".email-find2").height();
10
	$(".email-find2").css({ top: (_height - boxHeight) / 2 +"px"});
11
	
12
	$("#email").text(GetQueryString("email")); 
13
    $("#emailGo").on("click", function(){
14
		 var url = GetQueryString("email").split('@')[1];
15
        for (var j in hash){  
16
            if(hash[url]==undefined){
17
        		location.href="http://mail." + url; 	
18
        	}else{
19
        	 	$(this).attr("href", hash[url]); 
20
           		location.href=hash[url];	
21
        	}
22
        }  
23
	});
24
	
25
	//邮箱发验证码链接,校验是否正确
26
	function sendPassword(){
27
		$.ajax("/ajax/validMailState",{
28
			type:"GET",
29
			async: false,
30
			success:function(data){  
31
				$.cookie('mailVal',mailVal); 
32
				$.cookie('userId',data.data); 
33
			    location.href="bind-mail.html";
34
			},
35
			error:function(){
36
				$.MsgBox.Alert('消息','邮箱发送失败')
37
			},
38
			data:{"mail":mailVal,"password":passwordVal},		
39
		 	dataType: 'json'}
40
		);	
41
	}
42
	
43
});

+ 0 - 106
js/login-email-find03.js

@ -1,106 +0,0 @@
1
loginStatus();//判断个人是否登录
2
/**
3
 * 邮箱找回密码第三步
4
 */
5
$(function (){
6
	
7
	//var _widht = document.documentElement.clientWidth;  //屏幕宽
8
	var _height = document.documentElement.clientHeight; //屏幕高
9
	//var boxWidth = $(".email-find3").width();
10
	var boxHeight = $(".email-find3").height();
11
	$(".email-find3").css({top: (_height - boxHeight) / 2 +"px"});
12

13
	//输入密码及确认密码获取
14
	var oldPass = false;
15
	var isPass = false;
16
	//校验第一个密码
17
	$("#mail_password").blur(function(){
18
		valOld();
19
	})
20
	
21
	//校验确认密码
22
	$("#mail_password1").blur(function(){
23
		valNew();
24
	})
25
	
26
	//提交重置密码
27
	$("#reset_password").click(function(){
28
		resetPassword();
29
	});
30
	
31
});
32

33

34
function valOld()
35
{
36
	var newPassword = $("#mail_password").val();
37
	if(newPassword.length==0)
38
	{
39
		$(".msg1 span").text("密码不能为空");
40
		oldPass = false;
41
	}else if(newPassword.length < 6)
42
	{
43
		$(".msg1 span").text("密码不少于6位,请输入正确的密码");
44
	}else
45
	{
46
		$(".msg1 span").text("");
47
		oldPass = true;
48
	}
49
}
50

51
function valNew()
52
{
53
	var newPassword = $("#mail_password").val();
54
	var oldPassword = $("#mail_password1").val();
55
	if(oldPassword.length==0)
56
	{
57
		 $(".msg2 span").text("密码不能为空");
58
	}
59
	else if(oldPassword.length<6)
60
	{
61
		$(".msg2 span").text("密码长度过短,至少六位");
62
	}else if(oldPassword != newPassword)
63
	{
64
		$(".msg2 span").text("两次密码不一致");
65
	} else
66
	{
67
		isPass = true;
68
		$(".msg2 span").text("");
69
	}
70
}
71

72

73

74
function resetPassword()
75
{
76
	valOld();
77
	valNew();
78
	var mailCode = GetQueryString('sc');
79
	var oldPassword = $("#mail_password1").val();
80
	$.ajax("/ajax/resetPasswordWith",{
81
			type:"post",
82
			success:function(data){ 
83
			   // console.log(data);
84
				if(data.success){
85
					if(data.data == true){
86
						$.MsgBox.Alert("消息","密码重置成功,3秒后自动调转登录页面!");
87
						$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
88
						 window.setTimeout(function(){    
89
		                     location.href="login.html";
90
		                 }, 3000); 
91
					}else{
92
						$(".msg3").text("设置失败,验证码超时");
93
					}
94
				}else{
95
					$(".msg2").text("系统异常!");
96
				} 
97
			},
98
			error:function(){
99
				$.MsgBox.Alert('消息','服务器链接失败')
100
			},
101
			data:{"state":mailCode,"pw":oldPassword},		
102
		 	dataType: 'json'}
103
  );	
104
}
105

106


+ 0 - 89
js/login-first.js

@ -1,89 +0,0 @@
1

2
	//var _widht = document.documentElement.clientWidth;  //屏幕宽
3
	var _height = document.documentElement.clientHeight; //屏幕高
4
	//var boxWidth = $(".login-first").width();
5
	var boxHeight = $(".login-first").height();
6
	$(".login-first").css({ top: (_height - boxHeight) / 2 +"px" });
7

8
//检查用户是否登陆
9
	$(function(){  
10
	    if($.cookie("userAuth") == true){
11
	    	
12
	    	location.href="index.html";
13
	    }else{
14
	    	var userid=$.cookie("userid");
15
	    	$.ajax({
16
	    		
17
	    		"url":"/ajax/professor/info/" + userid,
18
	    		"data":{"id":userid},
19
	    		"beforeSend":function(response){
20
	    			//alert("110");
21
	    			//console.log(response);
22
	    		},
23
	    		"success":function(response){
24
	    			
25
	    			$("#name").text(response.data.name);
26
	    			//console.log(response.data.name);
27
	    		},
28
	    		"error":function(error){
29
	    			$.MsgBox.Alert('message','fail');
30
	    		}
31
	    	})
32

33
	    }
34
	}); 
35
	var isPass = false;
36
	var isPass1=false;
37
	function valPassword(){
38
		var password = $("#password").val();
39
		if(password.length==0){
40
			 $(".msg1").text("密码不能为空");
41
		}else if(password.length<6){
42
			$(".msg1").text("密码长度过短,至少六位");
43
		}else{
44
			$(".msg1").text("");
45
			isPass1=true;
46
		}
47
	}
48

49
	function valPassword2(){
50
		var password = $("#password").val();
51
		var password2 = $("#password2").val();
52
		if(password2.length==0){
53
			 $(".msg2").text("密码不能为空");
54
		}else if(password2 != password){
55
			$(".msg2").text("两次输入密码不一致");
56
		}else{
57
			isPass = true;
58
			$(".msg2").text("");
59
		}
60
	}
61
	function savePassword(){
62
		valPassword();
63
		valPassword2();
64
		if(isPass&&isPass1){
65
			location.href = "index.html";
66
			$.ajax("/ajax/cp",{
67
					type:"POST",
68
					 async: false,
69
					success:function(data){  
70

71
						if(data.success){
72
							if(data.data == true){								
73
								$.cookie("userAuth","true");
74
//								location.href = "index.html";
75
							}else{
76
								$(".msg3").text("设置错误!");
77
							}
78
						}else{
79
							$(".msg3").text("系统异常!");
80
							// alert("系统异常!");
81
						}
82
					},
83
					error:function(){$.MsgBox.Alert('message','fail')},
84
					data:{"id":$.cookie("userid"),"npw":$("#password").val() ,"onw":""},
85
				 	dataType: 'json'
86
				});
87
		}
88

89
	}

+ 0 - 86
js/login-invite-code.js

@ -1,86 +0,0 @@
1
	loginStatus();//判断个人是否登录
2
	var _height = document.documentElement.clientHeight; //屏幕高
3
	var boxHeight = $(".loginbox-invite").height();
4
	$(".loginbox-invite").css({ top: (_height - boxHeight) / 2 +"px" });
5

6
	//验证手机号
7
	var phonePass = false;
8
	
9
	function phoneVal(){
10
		var phone= $("#phone").val();
11
		if(phone.length==0){
12
	        $(".msg1").text("请输入您的手机号码或邮箱地址");
13
	    }else{
14
	    	
15
    	    var hun=/\s+/;
16
	        if(hun.test(phone.trim()))
17
	        {
18
	            $(".msg1").text("请输入");
19
	            phonePass = false;
20
	        }else{
21
	            //var gunf=/^\w+@\w+\.((cn)|(com)|(com\.cn))$/;
22
	            var gunf= /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/; 
23
	            if(gunf.test(phone.trim()))
24
	            { 
25
	               $(".msg1").text("");
26
	               phonePass = true;
27
	            }else{
28
	            	var hunPhone=/^1[3|4|5|7|8]\d{9}$/;
29
	    			if(hunPhone.test(phone.trim())){
30
	    				$(".msg1").text("");
31
	    				phonePass = true;
32
	    			}else{
33
	    				phonePass = false;
34
	    				$(".msg1").text("格式不对,请输入正确的格式");
35
	    			}
36
	            }
37
	        }
38
	    }
39
	    
40
	}
41
	//验证验证邀请码
42
	var codePass = false;
43
	function codeVal(){
44
		var code = $("#code").val();
45
		if(code.length==0){
46
			$(".msg2").text("请输入正确的邀请码");
47
			codePass = false;
48
		}else{
49
			$(".msg2").text("");
50
			codePass = true;
51
		}
52
	}	
53
	function loginSub(){
54
		phoneVal();
55
		codeVal();
56
		if(phonePass && codePass){
57
			$.ajax("/ajax/invitelogin",{
58
					type:"POST",
59
					 async: false,
60
					success:function(data){  
61
						//console.log(data)
62
						if(data.success){
63
							if(data.data != "null" && data.data != null){
64
								if(data.data.auth == true){
65
									location.href="index.html";
66
								}else{
67
									location.href="login-first.html";
68
								}
69
							}else{
70
								$(".msg3").text("手机或邮箱和邀请码不匹配,请确认后登录!");
71
							}
72
						}else{
73
							$(".msg3").text("系统异常!");
74
							// alert("系统异常!");
75
						}
76
					},
77
					error:function(){$.MsgBox.Alert('message','fail')},
78
					data:{"code":$("#code").val(),"key":$("#phone").val()},
79
				 	dataType: 'json'
80
				});
81
			}
82

83
	}
84
	function restSub(data) {  
85
         $(".msg3").text("");
86
     } 

+ 0 - 138
js/login-phone-find01.js

@ -1,138 +0,0 @@
1
loginStatus();//判断个人是否登录
2
//$(function(){
3
//	var _widht = document.documentElement.clientWidth;  //屏幕宽
4
	var _height = document.documentElement.clientHeight; //屏幕高
5
//	var boxWidth = $(".phone-find1").width();
6
	var boxHeight = $(".phone-find1").height();
7
	$(".phone-find1").css({ top: (_height - boxHeight) / 2 +"px"});
8
//
9
//		 
10
//	});
11
	var phonePass = false;
12
	function valPhone(){
13
		var phoneVal = $("#phone").val();
14
		if(phoneVal.length == 0){
15
	        $(".msg1").text("请输入您的手机号码");
16
	    }else{
17
        	var hunPhone=/^1[3|4|5|7|8]\d{9}$/;
18
			if(hunPhone.test(phoneVal.trim())){
19
				$(".msg1").text("");
20
				phonePass = true;
21
			}else{
22
				phonePass = false;
23
				$(".msg1").text("手机格式正确,请输入正确的手机号码");
24
			}
25
	    }
26
	}
27
	var phoneState;
28
	function sendPhoneCode(){
29
		valPhone();
30
		if(phonePass == true){
31
			$.ajax("/ajax/vcWithRP",{
32
					type:"GET",
33
					 async: false,
34
					success:function(data){ 
35
						if(data.success){
36
							if(data.data == null){
37
								$(".msg2").text("验证码发送失败,请确认手机号码正确!");
38
							}else{
39
								phoneState = data.data;
40
								userRegisterOk();
41
							}
42
						}else{
43

44
							$(".msg2").text("服务器链接超时!");
45
							// alert("系统异常!");
46
						}
47
					},
48
					error:function(){$.MsgBox.Alert('message','fail')},
49
					data:{"mobilePhone":$("#phone").val()},
50
				 	dataType: 'json'
51
				});
52
		}
53
	}
54
	
55
	//
56
	function doClick(){
57
		$('.gain').hide();
58
	    $('.gainon').show();
59
	    var clickTime = new Date().getTime();
60
	    var Timer = setInterval(function(){
61
	        var nowTime = new Date().getTime();
62
	        var second  = Math.ceil(60-(nowTime-clickTime)/1000);
63
	        if(second>0){
64
	        	$('.gainon').val(second+"s后重新获取");
65
	        }else{
66
	            clearInterval(Timer);
67
	            $('.gain').show();
68
	    	    $('.gainon').hide();
69
	        }
70
	    },1000);
71
	}
72
	
73

74
	//校验手机验证码
75
	var codePass = false;
76
	function valCode(){
77
		var phoneCode = $("#phoneCode").val();
78
		if(phoneCode.length==0){
79
	        $(".msg2").text("请输入验证码");
80
	    }else{
81
		    if(!isNaN(phoneCode)){
82
				codePass = true;
83
				 $(".msg2").text("");
84
			}else{
85
				codePass=false;
86
				 $(".msg2").text("请填写数字");
87
			}
88
	    }
89
	}
90

91
	function submitCodeVal(){
92
		valPhone();
93
		valCode();
94
		if(phonePass == true && codePass == true){
95
			$.ajax("/ajax/validCode",{
96
					type:"POST",
97
					 async: false,
98
					success:function(data){ 
99
						if(data.success){
100
							if(data.data == true){
101
								location.href="login-phone-find02.html?mobilePhone="+$("#phone").val()+"&vc="+$("#phoneCode").val()+"&state="+phoneState;
102
							}
103
						}else{
104
							$(".msg3").text("验证码错误");
105
						}
106
					},
107
					error:function(){$.MsgBox.Alert('message','fail')},
108
					data:{"vc":$("#phoneCode").val(),"state":phoneState},
109
				 	dataType: 'json'
110
				});
111
		}
112
	}
113
	
114
	//判断账号是否注册
115
	function userRegisterOk(){
116
		var loginName= $("#phone").val();
117
		//console.log(loginName);
118
		$.ajax("/ajax/isReg?key="+loginName,{
119
			type:"GET",
120
			async: true,
121
			success:function($data){ 
122
				//console.log($data);
123
			    if($data.data==true){
124
			    	 $(".msg1").text("该手机号码未绑定科袖账户");
125
			    	 return false; 
126
			    }else{
127
			    	$.MsgBox.Alert("消息","发送成功,请查看手机验证码!");
128
			    	$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
129
					$(".msg2").text("");
130
			    	doClick();
131
			    }
132
			},
133
			error:function(){
134
				$.MsgBox.Alert('消息','服务器链接超时')},
135
			}
136
		);
137
	}
138
	

+ 0 - 75
js/login-phone-find02.js

@ -1,75 +0,0 @@
1
$(function (){
2
	loginStatus();//判断个人是否登录
3
//	var _widht = document.documentElement.clientWidth;  //屏幕宽
4
	var _height = document.documentElement.clientHeight; //屏幕高
5
//	var boxWidth = $(".phone-find2").width();
6
	var boxHeight = $(".phone-find2").height();
7
	$(".phone-find2").css({ top: (_height - boxHeight) / 2 +"px"});
8

9
		var vc = GetQueryString("vc");
10
		var state = GetQueryString("state");
11
		var mobilePhone = GetQueryString("mobilePhone");
12
		var isPass = false;
13
		if(mobilePhone.length != 11 || vc.length != 4 ){
14
			location.href="login.html";
15
		}
16
		var valPassword = function (){
17
			var password = $("#password").val();
18
			if(password.length==0){
19
				 $(".msg1").text("密码不能为空");
20
			}else if(password.length<6){
21
				$(".msg1").text("密码长度过短,至少六位");
22
			}else{
23
				$(".msg1").text("");
24
			}
25
		}
26

27
		var valPassword2 = function (){
28
			var password = $("#password").val();
29
			var password2 = $("#password2").val();
30
			if(password2.length==0){
31
				 $(".msg2").text("密码不能为空");
32
			}else if(password2 != password){
33
				 $(".msg2").text("两次输入密码不一致");
34
			}else{
35
				isPass = true;
36
				 $(".msg2").text("");
37
			}
38
		}
39
		$("#password").blur(function (){
40
			valPassword();
41
		});
42
		$("#password2").blur(function (){
43
			valPassword2();
44
		});
45
		
46
		$("#resetPw").click(function (){
47
			valPassword();
48
			valPassword2();
49
			if(isPass == true){
50
				$.ajax("/ajax/resetPasswordWithMobilePhone",{
51
					type:"POST",
52
					 async: false,
53
					success:function(data){ 
54
						if(data.success){
55
							if(data.data == true){
56
								$.MsgBox.Alert("消息","密码重置成功,3秒后自动调转登录页面!");
57
								$("#mb_msgicon").css("background", 'url("images/sign_icon_chenggong_nor.png") 0% 0% / contain');
58
								 window.setTimeout(function(){    
59
				                     location.href="login.html";
60
				                 }, 3000); 
61
							}else{
62
								$(".msg3").text("设置失败,验证码超时");
63
							}
64
						}else{
65
							$(".msg2").text("服务器链接超时!");
66
							// alert("系统异常!");
67
						}
68
					},
69
					error:function(){$.MsgBox.Alert('message','fail')},
70
					data:{"vc":vc,"state":state,"mobilePhone":mobilePhone,"pw":$("#password2").val()},
71
				 	dataType: 'json'
72
				});
73
			}
74
		});
75
	});

+ 0 - 150
js/login.js

@ -1,150 +0,0 @@
1
$(function(){
2
	//var _widht = document.documentElement.clientWidth;  //屏幕宽
3
	var _height = document.documentElement.clientHeight; //屏幕高
4
	//var boxWidth = $(".loginbox").width();
5
	var boxHeight = $(".loginbox").height();
6
	$(".loginbox").css({ top: (_height - boxHeight) / 2 +"px"});
7
//	console.log(_widht);
8
//	console.log(_height);	
9
//	console.log(boxWidth);	
10
//	console.log(boxHeight);
11
})
12
	var namePass = false;
13
	var passwordPass = false;
14
	//校验登录账户
15
	function nameVal()
16
	{
17
		var loginName= $("#loginName").val();
18
		
19
		if(loginName.length==0)
20
		{
21
	        $(".msg1").text("请输入您的手机号码或邮箱地址");
22
	    }else
23
	    {
24
	        var hun=/\s+/;
25
	        if(hun.test(loginName.trim()))
26
	        {
27
	            $(".msg1").text("请输入");
28
	            namePass = false;
29
	        }else
30
	        {
31

32
	            //var gunf=/^\w+@\w+\.((cn)|(com)|(com\.cn))$/;
33
	            var gunf= /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/; 
34
	            if(gunf.test(loginName.trim()))
35
	            { 
36
	               userRegisterOk()
37
	               $(".msg1").text("");
38
	               namePass = true;
39
	            }
40
	            else
41
	            {
42
	            	var hunPhone=/^1[3|4|5|7|8]\d{9}$/;
43
					if(hunPhone.test(loginName.trim()))
44
					{
45
						userRegisterOk()
46
						$(".msg1").text("");
47
						namePass = true;
48
					}
49
					else
50
					{
51
						namePass = false;
52
						$(".msg1").text("格式不对,请输入正确的格式");
53
					}
54
	            }
55
	        }
56
	    }
57
		
58
		
59
	    
60
	}
61
	
62
	//校验登录密码
63
	function passwordVal(){
64
		var password = $("#password").val();
65
		if(password.length==0){
66
			$(".msg3").text("请输入密码");
67
			passwordPass = false;
68
		}else if(password.length < 6){
69
			$(".msg3").text("密码不少于6位,请输入正确的密码");
70
		}else{
71
			$(".msg3").text("");
72
			passwordPass = true;
73
		}
74
	}	
75
   
76
	//判断账号是否注册
77
	function userRegisterOk(){
78
		var loginName= $("#loginName").val();
79
		//console.log(loginName);
80
		$.ajax("/ajax/isReg?key="+loginName,{
81
			type:"GET",
82
			async: true,
83
			success:function($data){ 
84
				//console.log($data);
85
			    if($data.data==true){
86
			    	 $(".msg1").text("账户不存在,请先注册");
87
			    	 return false; 
88
			    }
89
			},
90
			error:function(){
91
				$.MsgBox.Alert('消息','服务器请求失败')},
92
			}
93
		);
94
	}	
95
	//判断用户第一次登录,是否填写了个人信息
96
	function firstLogin(){
97
		var professorId = $.cookie('userid');
98
		//console.log(professorId);
99
		$.ajax({	
100
			"url":"ajax/professor/"+professorId,
101
			"type":"get",
102
			"async": false,
103
			"success":function(data){
104
				if(data.data!=null)
105
				{	
106
					location.href="index.html";
107
					//console.log(data);
108
				}
109
				else
110
				{
111
					//console.log(data);
112
					location.href="information-add.html?id="+ professorId;
113
				}
114
			},
115
			"error":function(){$.MsgBox.Alert('message','failed')}
116
		})	
117
	}
118
	
119
	//提交登录
120
	function login(){
121
		nameVal();
122
		passwordVal();
123
		if(namePass && passwordPass){
124
			$.ajax("/ajax/login",{
125
					type:"POST",
126
					 async: false,
127
					success:function(data){  
128

129
						if(data.success){
130
							if(data.data != "null" && data.data != null){
131
								firstLogin();
132
							}else{
133
								$(".msg5").text("登录账号和密码不匹配!");
134
							}
135
						}else{
136
							$(".msg5").text("系统异常!");
137
							// alert("系统异常!");
138
						}
139
					},
140
					error:function(){$.MsgBox.Alert('message','fail')},
141
					data:{"pw":$("#password").val(),"lk":$("#loginName").val()},
142
				 	dataType: 'json'
143
				});
144
			}
145

146
	}	
147
	
148
	function restSub(data) {  
149
         $(".msg5").text("");
150
     } 

+ 89 - 0
js/loginInviteFirst.js

@ -0,0 +1,89 @@
1
//邀请码登录设置密码页面
2
$(function(){  
3
	$(".serviceBox").hover(function(){
4
		$(".serviceTel").fadeToggle();
5
	})
6
	var userid=$.cookie("userid");
7
	$.ajax({
8
		"url":"/ajax/professor/info/" + userid,
9
		"data":{"id":userid},
10
		"success":function(response){
11
			$("#name").text(response.data.name);
12
		},
13
		"error":function(error){
14
			$.MsgBox.Alert('消息', '服务器请求失败');
15
		}
16
	})
17
}); 
18

19
/*校验登录按钮显示状态*/
20
function checkLoginButtn(_this) {
21
	var passwordVal = $(_this).parents(".waysBlock").find("#password").val();
22
	var passwordokVal = $(_this).parents(".waysBlock").find("#passwordok").val();
23
	if(passwordVal == "" || passwordokVal == "") {
24
		$(_this).parents(".waysBlock").find("#ButSubmit").attr("disabled", true);
25
	} else {
26
		$(_this).parents(".waysBlock").find("#ButSubmit").attr("disabled", false);
27
	}
28
}
29
/*获取焦点*/
30
function getFocus(_this) {
31
	$(_this).next().find("span").text("");
32
	$(_this).removeClass("frmmsg-warning");
33
}
34

35
var isPass = false;
36
var isPass1=false;
37
function valPassword(_this){
38
	if($(_this).val().length==0){
39
		 $(_this).next().find("span").text("请设置您的登录密码");
40
		 $(_this).addClass("frmmsg-warning");
41
	}else if($(_this).val().length<6){
42
		 $(_this).next().find("span").text("密码由6-24个字符组成,区分大小写");
43
		 $(_this).addClass("frmmsg-warning");
44
	}else{
45
		$(_this).next().find("span").text("");
46
		$(_this).removeClass("frmmsg-warning");
47
		isPass1=true;
48
	}
49
}
50

51
function valPassword2(_this){
52
	var passwordval = $("#password").val();
53
	var password2 = $("#password2").val();
54
	if($(_this).val().length==0){
55
		 $(_this).next().find("span").text("请设置您的登录密码");
56
		 $(_this).addClass("frmmsg-warning");
57
	}else if($(_this).val().length<6){
58
		 $(_this).next().find("span").text("密码由6-24个字符组成,区分大小写");
59
		 $(_this).addClass("frmmsg-warning");
60
	}else if($(_this).val() != passwordval){
61
		 $(_this).next().find("span").text("两次输入不一致,请重新输入");
62
		 $(_this).addClass("frmmsg-warning");
63
	}else{
64
		isPass = true;
65
		 $(_this).next().find("span").text("");
66
		 $(_this).removeClass("frmmsg-warning");
67
	}
68
}
69
function savePassword(){
70
	if(isPass&&isPass1){
71
		$.ajax("/ajax/cp",{
72
			type:"POST",
73
			async: false,
74
			success:function(data){
75
				console.log(data)
76
				if(data.success){
77
					if(data.data == true){	
78
						$.cookie("userAuth","true");
79
						location.href = "index.html";
80
					}
81
				}
82
			},
83
			error:function(){$.MsgBox.Alert('消息', '服务器请求失败');},
84
			data:{"id":$.cookie("userid"),"npw":$("#passwordok").val() },
85
		 	dataType: 'json'
86
		});
87
	}
88

89
}

+ 325 - 0
js/loginNew.js

@ -0,0 +1,325 @@
1
$(function() {
2
	$(".loginWaySort").on("click", "li", function() {
3
		$(this).parents("#container").find("input").val("");
4
		$(this).parents("#container").find(".frmmsg span").text("");
5
		$(this).parents("#container").find("input").removeClass("frmmsg-warning");
6
		$(this).parents("#container").find(".loginSubmit").attr("disabled", true);
7
		$(this).addClass("liactive").siblings().removeClass("liactive");
8
		$(".loginWays ul").eq($(this).index()).removeClass("displayNone").siblings().addClass("displayNone");
9
	})
10
})
11
var namePass = false;
12
var passwordPass = false;
13
var codePass = false;
14
var verification = false;
15
var namePasstt = false;
16
/*校验登录按钮显示状态*/
17
function checkLoginButtn(_this) {
18
	var username = $(_this).parents(".cmpCoverUl").find(".username").val();
19
	var passwd = $(_this).parents(".cmpCoverUl").find(".passwd").val();
20
	if(username == "" || passwd == "") {
21
		$(_this).parents(".cmpCoverUl").find(".loginSubmit").attr("disabled", true);
22
	} else {
23
		$(_this).parents(".cmpCoverUl").find(".loginSubmit").attr("disabled", false);
24
	}
25
}
26

27
/*获取焦点*/
28
function getFocus(_this) {
29
	$(_this).next().find("span").text("");
30
	$(_this).removeClass("frmmsg-warning");
31
}
32

33
//校验登录手机和邮箱账户
34
function nameVal(_this) {
35
	var loginName = $(_this).val();
36
	var gunf = /^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;
37
	var hunPhone = /^1[3|4|5|7|8]\d{9}$/;
38
	if(loginName.length == "") {
39
		$(_this).next().find("span").text("请输入您的手机或邮箱");
40
		$(_this).addClass("frmmsg-warning");
41
	} else if(gunf.test(loginName.trim())) {
42
		userRegisterOk(_this);
43
		$(_this).next().find("span").text("");
44
		$(_this).removeClass("frmmsg-warning");
45
		namePass = true;
46
	} else if(hunPhone.test(loginName.trim())) {
47
		userRegisterOk(_this);
48
		$(_this).next().find("span").text("");
49
		$(_this).removeClass("frmmsg-warning");
50
		namePass = true;
51
	} else {
52
		$(_this).next().find("span").text("请输入正确的手机或邮箱");
53
		$(_this).addClass("frmmsg-warning");
54
	}
55
}
56

57
//校验登录手机账户
58
function phoneVal(_this,org) {
59
	var loginName = $(_this).val();
60
	var hunPhone = /^1[3|4|5|7|8]\d{9}$/;
61
	if(loginName.length == "") {
62
		$(_this).next().find("span").text("请输入您的手机号码");
63
		$(_this).addClass("frmmsg-warning");
64
	} else if(hunPhone.test(loginName.trim())) {
65
		userRegisterOk(_this,org);
66
		$(_this).next().find("span").text("");
67
		$(_this).removeClass("frmmsg-warning");
68
		namePass = true;
69
	} else {
70
		$(_this).next().find("span").text("请输入正确的手机号码");
71
		$(_this).addClass("frmmsg-warning");
72
	}
73
}
74

75
//判断账号是否注册
76
function userRegisterOk(_this,org) {
77
	var loginName = $(_this).val();
78
	$.ajax("/ajax/isReg?key=" + loginName, {
79
		type: "GET",
80
		async: true,
81
		success: function($data) {
82
			if($data.data == true) {
83
				$(_this).next().find("span").text("该账号不存在,请检查后重试");
84
				$(_this).addClass("frmmsg-warning");
85
			} else {
86
				$(_this).next().find("span").text("");
87
				$(_this).removeClass("frmmsg-warning");
88
				if(org==1){
89
					doClick("#getcode");
90
					phoneVerificationCode("#getcode");
91
				}
92
			}
93
		},
94
		error: function() {
95
			$.MsgBox.Alert('消息', '服务器请求失败')
96
		},
97
	});
98
}
99

100
//校验登录密码
101
function passwordVal(_this) {
102
	var passwd = $(_this).val();
103
	if(passwd.length == "") {
104
		$(_this).next().find("span").text("请输入您的登录密码");
105
		$(_this).addClass("frmmsg-warning");
106
	} else if(passwd.length < 6) {
107
		$(_this).next().find("span").text("密码由6-24个字符组成,区分大小写");
108
		$(_this).addClass("frmmsg-warning");
109
	} else {
110
		$(_this).next().find("span").text("");
111
		$(_this).removeClass("frmmsg-warning");
112
		passwordPass = true;
113
	}
114
}
115

116
//验证短信验证码
117
function codeVerification(_this) {
118
	var code = $(_this).val();
119
	var reg = /^\d{4}$/;
120
	if(code.length == "") {
121
		$(_this).next().find("span").text("请输入您收到的短信验证码");
122
		$(_this).addClass("frmmsg-warning");
123
	} else if(!reg.test(code)) {
124
		$(_this).next().find("span").text("验证码为4位数字");
125
		$(_this).addClass("frmmsg-warning");
126
	} else {
127
		$(_this).next().find("span").text("");
128
		$(_this).removeClass("frmmsg-warning");
129
		verification = true;
130
	}
131
}
132

133
//手机发送验证码
134
function phoneSend(_this) {
135
	phoneVal(".phoneuser",1)
136
}
137

138
function doClick(_this) {
139
	$(_this).attr("disabled", true);
140
	$(_this).text("60s后重新获取");
141
	var clickTime = new Date().getTime();
142
	var Timer = setInterval(function() {
143
		var nowTime = new Date().getTime();
144
		var second = Math.ceil(60 - (nowTime - clickTime) / 1000);
145
		if(second > 0) {
146
			$(_this).text(second + "s后重新获取");
147
		} else {
148
			clearInterval(Timer);
149
			$(_this).text("获取验证码");
150
			$(_this).attr("disabled", false);
151
		}
152
	}, 1000);
153
}
154

155
//手机发送验证码结束
156
var state;
157

158
function phoneVerificationCode(_this) {
159
	var lp_phone = $(_this).parents(".cmpCoverUl").find(".username").val();
160
	$.ajax("/ajax/sendMobileForLogin", {
161
		type: "get",
162
		dataType: 'json',
163
		data: {
164
			"mobilePhone": lp_phone
165
		},
166
		async: true,
167
		success: function(data) {
168
			console.log(JSON.stringify(data))
169
			if(data.success) {
170
				state = data.data;
171
			}
172
		},
173
		error: function() {
174
			$.MsgBox.Alert('消息', '服务器请求失败')
175
		}
176
	});
177
};
178

179
//验证邀请码
180
function codeVal(_this) {
181
	var code = $(_this).val();
182
	var reg = /^\d{6}$/;
183
	if(code.length == "") {
184
		$(_this).next().find("span").text("请输入您收到的邀请码");
185
		$(_this).addClass("frmmsg-warning");
186
	} else if(!reg.test(code)) {
187
		$(_this).next().find("span").text("邀请码为6位数字");
188
		$(_this).addClass("frmmsg-warning");
189
	} else {
190
		$(_this).next().find("span").text("");
191
		$(_this).removeClass("frmmsg-warning");
192
		codePass = true;
193
	}
194
}
195

196
//判断用户第一次登录,是否填写了个人信息
197
function firstLogin() {
198
	var professorId = $.cookie('userid');
199
	$.ajax({
200
		"url": "ajax/professor/" + professorId,
201
		"type": "get",
202
		"async": false,
203
		"success": function(data) {
204
			console.log(data)
205
			if(data.success) {
206
				if(data.data.authentication || data.data.authentication===0){
207
					location.href = "index.html";	
208
				}else{
209
					location.href = "fillinfo-select.html?id=" + professorId;	
210
				}
211
			}	
212
		},
213
		"error": function() {
214
			$.MsgBox.Alert('消息', '服务器请求失败')
215
		}
216
	})
217
}
218

219
//密码登录
220
function passwdLogin(_this) {
221
	var loginName = $(_this).parents(".cmpCoverUl").find(".username");
222
	var passwordd = $(_this).parents(".cmpCoverUl").find(".passwd");
223
	if(namePass && passwordPass) {
224
		$.ajax("/ajax/login", {
225
			type: "POST",
226
			data: {
227
				"pw": passwordd.val(),
228
				"lk": loginName.val()
229
			},
230
			dataType: 'json',
231
			async: false,
232
			success: function(data) {
233
				if(data.success) {
234
					if(data.data != "null" && data.data != null) {
235
						firstLogin();
236
					} else {
237
						$(_this).parents(".cmpCoverUl").find(".msgLog2 span").text("登录账号和密码不匹配");
238
					}
239
				}
240
			},
241
			error: function() {
242
				$.MsgBox.Alert('消息', '服务器请求失败');
243
			}
244
		});
245
	}
246
}
247

248
//手机验证码登录
249
function VerificationLogin(_this) {
250
	var loginName = $(_this).parents(".cmpCoverUl").find(".username");
251
	var code = $(_this).parents(".cmpCoverUl").find(".passwd");
252
	if(namePass && verification) {
253
		$.ajax("/ajax/mobileLogin", {
254
			type: "POST",
255
			dataType: 'json',
256
			data: {
257
				"state": state,
258
				"mobilePhone": loginName.val(),
259
				"validateCode": code.val()
260
			},
261
			async: false,
262
			success: function(data) {
263
				console.log(data)
264
				if(data.success) {
265
					if(data.data != "null" && data.data != null) {
266
						firstLogin();
267
					}
268
				} else {
269
					if(data.code == -1) {
270
						$(_this).parents(".cmpCoverUl").find(".msgCmp03 span").text("验证码已过期,请重新获取");
271
					} else if(data.code == -3 || data.code == 0) {
272
						$(_this).parents(".cmpCoverUl").find(".msgCmp03 span").text("验证码错误,请检查后重试");
273
					}
274
				}
275
			},
276
			error: function() {
277
				$.MsgBox.Alert('消息', '服务器请求失败');
278
			},
279
		});
280
	}
281
}
282

283
//邀请码登录
284
function InvitationLogin(_this) {
285
	var loginName = $(_this).parents(".cmpCoverUl").find(".username");
286
	var code = $(_this).parents(".cmpCoverUl").find(".passwd");
287
	if(namePass && codePass) {
288
		$.ajax("/ajax/invitelogin", {
289
			type: "POST",
290
			dataType: 'json',
291
			data: {
292
				"code": code.val(),
293
				"key": loginName.val()
294
			},
295
			async: false,
296
			success: function(data) {
297
				if(data.success) {
298
					if(data.data != "null" && data.data != null) {
299
						if(data.data.auth == true) {
300
							location.href = "index.html";
301
						} else {
302
							location.href = "loginInviteFirst.html";
303
						}
304
					} else {
305
						$(_this).parents(".cmpCoverUl").find(".msgLog2 span").text("邀请码错误,请检查后重试");
306
					}
307
				}
308
			},
309
			error: function() {
310
				$.MsgBox.Alert('消息', '服务器请求失败');
311
			},
312
		});
313
	}
314
}
315

316
//提交登录
317
function login(_this, num) {
318
	if(num == 1) {
319
		passwdLogin(_this);
320
	} else if(num == 2) {
321
		InvitationLogin(_this);
322
	} else if(num == 3) {
323
		VerificationLogin(_this);
324
	}
325
}

+ 364 - 0
js/pwdFindNew.js

@ -0,0 +1,364 @@
1
$(function() {
2
	loginStatus();//判断个人是否登录
3
	var slef = GetQueryString("slef");
4
	if(slef==1){
5
		$("#gophone").addClass("liactive").prev().removeClass("liactive");
6
		$(".emailmain").addClass("displayNone");
7
		$(".phonemain").removeClass("displayNone");
8
	}
9
	$(".loginWaySort").on("click", "li", function() {
10
		$(this).parents("#container").find("input").val("");
11
		$(this).parents("#container").find(".frmmsg span").text("");
12
		$(this).parents("#container").find("input").removeClass("frmmsg-warning");
13
		$(this).parents("#container").find(".loginSubmit").attr("disabled", true);
14
		$(this).addClass("liactive").siblings().removeClass("liactive");
15
		$(".loginWays .waysThis").eq($(this).index()).removeClass("displayNone").siblings().addClass("displayNone");
16
	})
17
	
18
})
19
var isEmail = false;
20
var passwordPass = false;
21
var codePass = false;
22
var verification = false;
23
var namePass = false;
24

25
/*校验通过邮箱找回点击下一步*/
26
function checkEmailButtn(_this) {
27
	var email = $(_this).parents(".cmpCoverUl").find("#email").val();
28
	if(email == "") {
29
		$(_this).parents(".cmpCoverUl").find(".loginSubmit").attr("disabled", true);
30
	} else {
31
		$(_this).parents(".cmpCoverUl").find(".loginSubmit").attr("disabled", false);
32
	}
33
}
34

35
/*校验登录按钮显示状态*/
36
function checkLoginButtn(_this) {
37
	var username = $(_this).parents(".cmpCoverUl").find(".username").val();
38
	var companysc = $(_this).parents(".cmpCoverUl").find(".companysc").val();
39
	if(username == "" || companysc == "") {
40
		$(_this).parents(".cmpCoverUl").find(".loginSubmit").attr("disabled", true);
41
	} else {
42
		$(_this).parents(".cmpCoverUl").find(".loginSubmit").attr("disabled", false);
43
	}
44
}
45
/*获取焦点*/
46
function getFocus(_this) {
47
	$(_this).next().find("span").text("");
48
	$(_this).removeClass("frmmsg-warning");
49
}
50

51
//校验邮箱账户
52
function emailVal(_this,org) {
53
	var loginName = $(_this).val();
54
	var gunf = /^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;
55
	if(loginName.length == "") {
56
		$(_this).next().find("span").text("请输入您的邮箱地址");
57
		$(_this).addClass("frmmsg-warning");
58
	} else if(gunf.test(loginName.trim())) {
59
		userRegisterOk(_this,org);
60
		$(_this).next().find("span").text("");
61
		$(_this).removeClass("frmmsg-warning");
62
		isEmail = true;
63
	}else {
64
		$(_this).next().find("span").text("请输入正确的邮箱地址");
65
		$(_this).addClass("frmmsg-warning");
66
	}
67
}
68

69
//校验登录手机账户
70
function phoneVal(_this,org) {
71
	var loginName = $(_this).val();
72
	var hunPhone = /^1[3|4|5|7|8]\d{9}$/;
73
	if(loginName.length == "") {
74
		$(_this).next().find("span").text("请输入您的手机号码");
75
		$(_this).addClass("frmmsg-warning");
76
	} else if(hunPhone.test(loginName.trim())) {
77
		userRegisterOk(_this,org);
78
		$(_this).next().find("span").text("");
79
		$(_this).removeClass("frmmsg-warning");
80
		namePass = true;
81
	} else {
82
		$(_this).next().find("span").text("请输入正确的手机号码");
83
		$(_this).addClass("frmmsg-warning");
84
	}
85
}
86

87
//判断账号是否注册
88
function userRegisterOk(_this,org) {
89
	var loginName = $(_this).val();
90
	$.ajax("/ajax/isReg?key=" + loginName, {
91
		type: "GET",
92
		async: true,
93
		success: function($data) {
94
			if($data.data == true) {
95
				$(_this).next().find("span").text("该账号不存在,请检查后重试");
96
				$(_this).addClass("frmmsg-warning");
97
			} else {
98
				$(_this).next().find("span").text("");
99
				$(_this).removeClass("frmmsg-warning");
100
				if(org==1){
101
					doClick("#getcode");
102
					phoneVerificationCode("#getcode");
103
				}
104
				if(org==2){
105
					findBack();
106
				}
107
			}
108
		},
109
		error: function() {
110
			$.MsgBox.Alert('消息', '服务器请求失败')
111
		},
112
	});
113
}
114

115
//校验登录密码
116
function passwordVal(_this) {
117
	var passwd = $(_this).val();
118
	var passwd2 = $("#newPassword").val();
119
	if(passwd.length == "") {
120
		$(_this).next().find("span").text("请设置您的登录密码");
121
		$(_this).addClass("frmmsg-warning");
122
		passwordPass = false;
123
	} else if(passwd.length < 6) {
124
		$(_this).next().find("span").text("密码由6-24个字符组成,区分大小写");
125
		$(_this).addClass("frmmsg-warning");
126
		passwordPass = false;
127
	} else if(passwd != passwd2) {
128
		$(_this).next().find("span").text("两次输入不一致,请重新输入");
129
		$(_this).addClass("frmmsg-warning");
130
		passwordPass = false;
131
	} else {
132
		$(_this).next().find("span").text("");
133
		$(_this).removeClass("frmmsg-warning");
134
		passwordPass = true;
135
	}
136
}
137

138
//验证短信验证码
139
function codeVerification(_this) {
140
	var code = $(_this).val();
141
	var reg = /^\d{4}$/;
142
	if(code.length == "") {
143
		$(_this).next().find("span").text("请输入您收到的短信验证码");
144
		$(_this).addClass("frmmsg-warning");
145
	} else if(!reg.test(code)) {
146
		$(_this).next().find("span").text("验证码为4位数字");
147
		$(_this).addClass("frmmsg-warning");
148
	} else {
149
		$(_this).next().find("span").text("");
150
		$(_this).removeClass("frmmsg-warning");
151
		verification = true;
152
	}
153
}
154

155
//手机发送验证码
156
function phoneSend(_this) {
157
	phoneVal(".username",1)
158
}
159

160
function doClick(_this) {
161
	$(_this).attr("disabled", true);
162
	$(_this).text("60s后重新获取");
163
	var clickTime = new Date().getTime();
164
	var Timer = setInterval(function() {
165
		var nowTime = new Date().getTime();
166
		var second = Math.ceil(60 - (nowTime - clickTime) / 1000);
167
		if(second > 0) {
168
			$(_this).text(second + "s后重新获取");
169
		} else {
170
			clearInterval(Timer);
171
			$(_this).text("获取验证码");
172
			$(_this).attr("disabled", false);
173
		}
174
	}, 1000);
175
}
176

177
//手机发送验证码结束
178
var state;
179

180
function phoneVerificationCode(_this) {
181
	var lp_phone = $(_this).parents(".cmpCoverUl").find(".username").val();
182
	$.ajax("/ajax/vcWithRP", {
183
		type: "get",
184
		dataType: 'json',
185
		data: {
186
			"mobilePhone": lp_phone
187
		},
188
		async: true,
189
		success: function(data) {
190
			console.log(JSON.stringify(data))
191
			if(data.success) {
192
				state = data.data;
193
			}
194
		},
195
		error: function() {
196
			$.MsgBox.Alert('消息', '服务器请求失败')
197
		}
198
	});
199
};
200

201
//验证邀请码
202
function codeVal(_this) {
203
	var code = $(_this).val();
204
	var reg = /^\d{6}$/;
205
	if(code.length == "") {
206
		$(_this).next().find("span").text("请输入您收到的邀请码");
207
		$(_this).addClass("frmmsg-warning");
208
	} else if(!reg.test(code)) {
209
		$(_this).next().find("span").text("邀请码为6位数字");
210
		$(_this).addClass("frmmsg-warning");
211
	} else {
212
		$(_this).next().find("span").text("");
213
		$(_this).removeClass("frmmsg-warning");
214
		codePass = true;
215
	}
216
}
217

218
//判断用户第一次登录,是否填写了个人信息
219
function firstLogin() {
220
	var professorId = $.cookie('userid');
221
	$.ajax({
222
		"url": "ajax/professor/" + professorId,
223
		"type": "get",
224
		"async": false,
225
		"success": function(data) {
226
			if(data.success) {
227
				if(data.data.authentication != undefined || data.data.authentication != null){
228
					window.history.back();
229
				}else{
230
					location.href = "fillinfo-select.html?id=" + professorId;	
231
				}
232
			}	
233
		},
234
		"error": function() {
235
			$.MsgBox.Alert('消息', '服务器请求失败')
236
		}
237
	})
238
}
239

240
//手机验证码登录
241
function VerificationLogin(_this) {
242
	var loginName = $(_this).parents(".cmpCoverUl").find(".username");
243
	var code = $(_this).parents(".cmpCoverUl").find(".passwd");
244
	if(namePass && verification) {
245
		$.ajax("/ajax/mobileLogin", {
246
			type: "POST",
247
			dataType: 'json',
248
			data: {
249
				"state": state,
250
				"mobilePhone": loginName.val(),
251
				"validateCode": code.val()
252
			},
253
			async: false,
254
			success: function(data) {
255
				console.log(data)
256
				if(data.success) {
257
					if(data.data != "null" && data.data != null) {
258
						submitCodeVal();
259
					}
260
				} else {
261
					if(data.code == -1) {
262
						$(_this).parents(".cmpCoverUl").find(".msgCmp03 span").text("验证码已过期,请重新获取");
263
					} else if(data.code == -3 || data.code == 0) {
264
						$(_this).parents(".cmpCoverUl").find(".msgCmp03 span").text("验证码错误,请检查后重试");
265
					}
266
				}
267
			},
268
			error: function() {
269
				$.MsgBox.Alert('消息', '服务器请求失败');
270
			},
271
		});
272
	}
273
}
274

275
//手机找回密码提交发送
276
function submitCodeVal(_this){
277
	if(namePass && verification){
278
		$.ajax("/ajax/validCode",{
279
			type:"POST",
280
			async: false,
281
			success:function(data){ 
282
				if(data.success){
283
					if(data.data == true){
284
						$(".phoneTwo").removeClass("displayNone");
285
						$(".phoneOne").addClass("displayNone");
286
						$("#pstate").val(state);
287
						$("#pmobilePhone").val($(".username").val());
288
						$("#pvc").val($("#companysc").val());
289
					}else{
290
						$(_this).parents(".cmpCoverUl").find(".msgCmp03 span").text("验证码错误,请检查后重试");
291
					}
292
				}else{
293
					$(_this).parents(".cmpCoverUl").find(".msgCmp03 span").text("验证码已过期,请重新获取");
294
				}
295
			},
296
			error:function(){$.MsgBox.Alert('消息', '服务器请求失败');},
297
			data:{"vc":$("#companysc").val(),"state":state},
298
		 	dataType: 'json'
299
		});
300
	}
301
}
302

303
//邮箱发送
304
function findBack(){
305
	$.ajax("/ajax/reqRpWithEmail",{
306
		type:"GET",
307
		async: false,
308
		success:function(data){  
309
			if(data.success){
310
				$(".emailOne").addClass("displayNone");
311
				$(".emailTow").removeClass("displayNone");
312
				$("#emailShow").text($("#email").val());
313
			}
314
		},
315
		error:function(){$.MsgBox.Alert('消息', '服务器请求失败')},
316
		data:{"mail":$("#email").val()},
317
		dataType: 'json'
318
	});
319
}
320

321
function findphone(_this){
322
	if(passwordPass){
323
		$.ajax("/ajax/resetPasswordWithMobilePhone",{
324
				type:"POST",
325
				async: false,
326
				success:function(data){ 
327
					console.log(data)
328
					if(data.success){
329
						if(data.data == true){
330
							location.href = "pwdResult.html?num=1";
331
						}else{
332
							$(_this).parents(".cmpCoverUl").find(".msgCmp4 span").text("验证码错误,请检查后重试");
333
						}
334
					}else{
335
						$(_this).parents(".cmpCoverUl").find(".msgCmp4 span").text("验证码已过期,请重新获取");
336
					}
337
				},
338
				error:function(){$.MsgBox.Alert('消息', '服务器请求失败')},
339
				data:{"vc":$("#pvc").val(),"state":$("#pstate").val(),"mobilePhone":$("#pmobilePhone").val(),"pw":$("#newPasswordok").val()},
340
			 	dataType: 'json'
341
		});
342
	}
343
}
344

345
//提交登录
346
function backPassword(_this, num) {
347
	if(num == 1) {
348
		emailVal("#email",2)
349
	} else if(num == 2) {
350
		var url = $("#emailShow").text().split('@')[1];
351
        for (var j in hash){  
352
            if(hash[url]==undefined){
353
        		location.href="http://mail." + url; 	
354
        	}else{
355
        	 	$(_this).attr("href", hash[url]); 
356
           		location.href=hash[url];	
357
        	}
358
        }  
359
	} else if(num == 3) {
360
		submitCodeVal(_this);
361
	}else if(num==4){
362
		findphone(_this);
363
	}
364
}

+ 342 - 361
js/register.js

@ -1,296 +1,215 @@
1
loginStatus();//判断个人是否登录	
2
	// JavaScript Document
3
//var _widht = document.documentElement.clientWidth;  //屏幕宽
4
var _height = document.documentElement.clientHeight; //屏幕高
5
//var boxWidth = $(".registerbox").width();
6
var boxHeight = $(".registerbox").height();
7
$(".registerbox").css({
8
	top: "80px"
9
});
10

11
/**复选框**/
12
//  $('.agreeNotice').click(function(){
13
//    var formbox = $(this).closest("form");
14
//      if(formbox.find('.gree').prop('checked')){
15
//        formbox.find('.agreeNotice em').css('background-position','0px 0px');
16
//        formbox.find('.gree').prop('checked',false);
17
//        formbox.find('.agreeNotice').next('span').show();
18
//      }else{
19
//        formbox.find('.gree').prop('checked',true);
20
//        formbox.find('.agreeNotice').next('span').hide();
21
//        formbox.find('.agreeNotice em').css('background-position','0px -12px');
22
//          
23
//      }
24
//  });
25

26
//手机、邮箱切换
27
$(".phone").click(function() {
28
	$(this).find("img").attr("src", "images/phoneIcon2.png");
29
	$(".mail").find("img").attr("src", "images/mailIcon.png");
30
	$(".mail").removeClass("active");
31
	$(this).addClass("active");
32
	$(".styleline").animate({
33
		left: "0px"
34
	});
35
	$("#mail_form").hide();
36
	$('#phone_form').show();
37
});
38
$(".mail").click(function() {
39
	$(this).find("img").attr("src", "images/mailIcon2.png");
40
	$(".phone").find("img").attr("src", "images/phoneIcon.png");
41
	$(".phone").removeClass("active");
42
	$(this).addClass("active");
43
	$(".styleline").animate({
44
		left: "121px"
1
$(document).ready(function(){
2
	var userName=false;
3
	var phoneNumber=false;
4
	var phoneMa=false;
5
	var regNumber=false;
6
	var state;
7
	/*点击切换手机注册或者邮箱注册*/
8
	$(".loginWaySort").on("click","li",function(){
9
		$(this).addClass("liactive").siblings().removeClass("liactive");
10
		$(".loginWays ul").eq($(this).index()).removeClass("displayNone").siblings().addClass("displayNone");
11
		$(".cmpAllFrm").find("input").val("").find("button").attr("disabled","disabled");
12
		$(".frmmsg").find("span").text("");
13
	})
14
	/*校验名字*/
15
	//失去焦点后校验:1、输入框为空,提示:请输入您的真实姓名
16
	$("#yourName").blur(function(){
17
		if($("#yourName").val().length==0){
18
			$(".msgLog0").find("span").text("请输入您的真实姓名");
19
			userName=false;
20
			$(this).addClass("frmmsg-warning");
21
		}else{
22
			var inputval = $("#yourName").val().replace(/[^\u0000-\u00ff]/g, "aa").length;
23
			if(inputval > 20) {
24
				$(".msgLog0").find("span").text("姓名最长为10个汉字或20个英文字符");
25
				userName=false;
26
				$(this).addClass("frmmsg-warning");
27
			}else{
28
				$(".msgLog0").find("span").text("");
29
				$(this).removeClass("frmmsg-warning");
30
				userName=true;
31
			}
32
			
33
		}
34
	})
35
	$("#yourName").focus(function(){
36
		$(".msgLog0").find("span").text("");
37
		$(this).removeClass("frmmsg-warning");
38
	})
39
	/*校验手机号*/
40
	$("#lp_phone").blur(function(){
41
		phoneYesOrNo($(this));
45 42
	});
46
	$("#phone_form").hide();
47
	$("#mail_form").show();
48
});
49
//手机注册模块
50
//验证手机号
51
var phonePass = false;
52

53
function phoneVal() {
54
	var phone = $("#lp_phone").val();
55
	$.ajax("/ajax/isReg?key=" + phone, {
56
		type: "GET",
57
		async: true,
58
		success: function($data) {
59
			if(phone.length == 0) {
60
				$(".msgphone1").text("请输入您的手机号码");
61
			} else {
62
				var hunPhone = /^1[3|4|5|7|8]\d{9}$/;
63
				if(hunPhone.test(phone.trim())) {
43
	$("#lp_phone").focus(function(){
44
		$(".msgLog1").find("span").text("");
45
		$(this).removeClass("frmmsg-warning");
46
	})
47
	/*校验手机是否已经注册函数*/
48
	function phoneYesOrNo($this) {
49
		var arg2=arguments[1];
50
		var phone = $("#lp_phone").val();
51
		if(phone.length==0) {
52
			$(".msgLog1").find("span").text("请输入您的手机号码");
53
			phoneNumber=false;
54
			$this.addClass("frmmsg-warning");
55
			return;
56
		}else{
57
			var hunPhone = /^1[3|4|5|7|8]\d{9}$/;
58
				if(!hunPhone.test(phone.trim())) {
59
					$(".msgLog1").find("span").text("请输入正确的手机号码");
60
					phoneNumber=false;
61
					$this.addClass("frmmsg-warning");
62
					return;
63
				}
64
		}
65
		$.ajax("/ajax/isReg?key=" + phone, {
66
			type: "GET",
67
			async: false,
68
			success: function($data) {
69
				if($data.success) {
64 70
					if($data.data == false) {
65
						$(".msgphone1").text("您的手机已被注册");
66

71
						$(".msgLog1").find("span").text("该账号已存在,请直接登录");
72
						phoneNumber=false;
73
						$this.addClass("frmmsg-warning");
74
						return;
67 75
					} else {
68
						$(".msgphone1").text("");
69
						phonePass = true;
70
						addEvent(btn, "click", handler); //手机必须验证正确,才执行
76
						$(".msgLog1").find("span").text("");
77
						phoneNumber=true;
78
						$this.removeClass("frmmsg-warning");
79
						if(arg2==1) {
80
							doClick();
81
							getPhoneCode();
82
						}
71 83
					}
72
				} else {
73
					phonePass = false;
74
					$(".msgphone1").text("手机格式有误,请输入正确的手机号码");
75 84
				}
76
			}
77
		},
78
		error: function() {
79
			$.MsgBox.Alert('消息', '服务器请求失败')
80
		},
81
	});
82
}
83

84
$("#lp_phone").blur(function() {
85
	phoneVal();
86
});
87
//验证随机验证码
88
var phoneCode = false;
89
$("#lp_yzm").blur(function() {
90
	var authCode = $("#lp_yzm").val();
91
	if(authCode.length == 0) {
92
		$(".msgphone2").text("请输入您的验证码");
93
		phoneCode = false;
94
	} else {
95
		var d = /^[0-9a-zA-Z]{4}$/;
96
		if(d.test(authCode.trim())) {
97
			$(".msgphone2").text("");
98
			phoneCode = true;
85
			},
86
			error: function() {
87
				$.MsgBox.Alert('消息', '服务器请求失败')
88
			},
89
		});
90
	}
91
	/*校验手机验证码*/
92
	$(".companysc").focus(function(){
93
		$(".msgCmp03").find("span").text("");
94
		$(this).removeClass("frmmsg-warning");
95
	})
96
	$(".companysc").blur(function() {
97
		var authCode = $(".companysc").val();
98
		if(authCode.length == 0) {
99
			$(".msgCmp03").find("span").text("请输入您收到的短信验证码");
100
			phoneMa=false;
101
			$(this).addClass("frmmsg-warning");
99 102
		} else {
100
			$(".msgphone2").text("请输入您的验证码不正确");
101
			phoneCode = false;
103
			var d = /^\d{4}$/;
104
			if(d.test(authCode.trim())) {
105
				$(".msgCmp03").find("span").text("");
106
				phoneMa=true;
107
				$(this).removeClass("frmmsg-warning");
108
			} else {
109
				$(".msgCmp03").find("span").text("验证码为4位数字");
110
				phoneMa=false;
111
				$(this).addClass("frmmsg-warning");
112
			}
102 113
		}
103
	}
104
});
105
//获取手机验证码
106
//var setTime;
107
//$(".getcode1").click(function(){
108
//	$(".coderli span").removeClass("getcode1").addClass("getcode2");	
109
//	setTime=setInterval(Countdown,1000);
110
//	phoneVerificationCode();
111
//})
112
//var j=180;
113
//function  Countdown(){
114
//	j--;
115
//	$(".getcode2").text("等待"+j+"秒后重新获取");
116
//	if(j==0){
117
//		$(".coderli span").removeClass("getcode2").addClass("getcode1").text("请重新获取验证码");
118
//		clearInterval(setTime);
119
//		j=180;
120
//	}
121
//}
122

123
//手机发送验证码
124
var btn = document.getElementById("getcode");
125
var handler = function() {
126
	doClick();
127
	phoneVerificationCode(); //调用发送手机验证码接口
128
	removeEvent(btn, 'click', handler); //取消绑定该事件
129
}
130

131
function addEvent(obj, type, handler) {
132
	if(obj.addEventListener) {
133
		obj.addEventListener(type, handler, false);
134
	} else if(obj.attachEvent) {
135
		obj.attachEvent('on' + type, handler);
136
	}
137
}
138

139
function removeEvent(obj, type, handler) {
140
	if(obj.removeEventListener) {
141
		obj.removeEventListener(type, handler, false);
142
	} else if(obj.detachEvent) {
143
		obj.detachEvent("on" + type, handler);
144
	}
145
}
146

147
function doClick() {
148
	removeClass(btn, 'getcodeon');
149
	addClass(btn, 'getcodeoff');
150
	btn.innerHTML = "60s后重新获取";
114
	})
115
	/*获取验证码*/
116
	$("#getcode").on("click",function(){
117
		phoneYesOrNo($("#lp_phone"),1);
118
		
119
			
120
		
121
	});
122
	function doClick() {
123
	$("#getcode").html("60s后重新获取");
124
	$("#getcode").attr("disabled","disabled");
151 125
	var clickTime = new Date().getTime();
152 126
	var Timer = setInterval(function() {
153 127
		var nowTime = new Date().getTime();
154 128
		var second = Math.ceil(60 - (nowTime - clickTime) / 1000);
155 129
		if(second > 0) {
156
			btn.innerHTML = second + "s后重新获取";
130
			$("#getcode").html(second + "s后重新获取");
157 131
		} else {
158 132
			clearInterval(Timer);
159
			removeClass(btn, 'getcodeoff');
160
			addClass(btn, 'getcodeon');
161
			btn.innerHTML = "免费获取验证码";
162
			addEvent(btn, "click", handler);
133
			$("#getcode").html("免费获取验证码");
134
			$("#getcode").removeAttr("disabled");
163 135
		}
164 136
	}, 1000);
165 137
}
166

167
function hasClass(obj, cls) {
168
	return obj.className.match(new RegExp('(\\s|^)' + cls + '(\\s|$)'));
169
}
170

171
function addClass(obj, cls) {
172
	if(!hasClass(obj, cls)) obj.className += " " + cls;
173
}
174

175
function removeClass(obj, cls) {
176
	if(hasClass(obj, cls)) {
177
		var reg = new RegExp('(\\s|^)' + cls + '(\\s|$)');
178
		obj.className = obj.className.replace(reg, ' ');
179
	}
180
}
181

182
//手机发送验证码结束
183

184
var state;
185

186
function phoneVerificationCode() {
187
	if(phonePass) {
188
		$.ajax("/ajax/regmobilephone", {
189
			type: "get",
190
			async: true,
191
			success: function(data) {
192
				if(data.success) {
193
					state = data.data;
194
				}
195
			},
196
			error: function() {
197
				$.MsgBox.Alert('message', 'fail')
198
			},
199
			data: {
200
				"mobilePhone": $("#lp_phone").val()
201
			},
202
			dataType: 'json'
203
		});
204
	}
205
};
206
//验证手机验证码
207
var setpass1 = false;
208

209
function setPhoneCode() {
210
	var pass = $("#lp_coder").val();
211
	if(pass.length == 0) {
212
		$(".msgphone3").text("请输入您的验证码");
213
	} else {
214
		var hunPhone = /^[0-9]{4}$/;
215
		if(hunPhone.test(pass.trim())) {
216
			$(".msgphone3").text("");
217
			setpass1 = true;
218
		} else {
219
			$(".msgphone3").text("验证码4位");
220
		}
138
	/*发送手机验证码*/
139
	function getPhoneCode() {
140
			$.ajax("/ajax/regmobilephone", {
141
				type: "get",
142
				async: true,
143
				success: function(data) {
144
					if(data.success) {
145
						state = data.data;
146
					}
147
				},
148
				error: function() {
149
					$.MsgBox.Alert('message', '服务器连接超时')
150
				},
151
				data: {
152
					"mobilePhone": $("#lp_phone").val()
153
				},
154
				dataType: 'json'
155
			});
221 156
	}
222
}
223
$("#lp_coder").blur(function() {
224
	setPhoneCode();
225
});
226
//设置密码
227
var password;
228
var setpass = false;
229

230
function setPassword() {
231
	password = $("#phone_password").val();
232
	if(password.length == 0) {
233
		$(".msgphone4").text("请输入您的密码");
234
	} else {
235
		var hunPhone = /^[0-9a-zA-Z]{6,}$/;
236
		if(hunPhone.test(password.trim())) {
237
			$(".msgphone4").text("");
238
			setpass = true;
157
	/*登录密码校验*/
158
	
159
	$("#phone_password").focus(function(){
160
		$(this).removeClass("frmmsg-warning");
161
		$(".msgLog3").find("span").text("");
162
	})
163
	$("#phone_password").blur(function(){
164
		setPassword();
165
	})
166
	function setPassword() {
167
		var password = $("#phone_password").val();
168
		if(password.length == 0) {
169
			$(".msgLog3").find("span").text("请设置您的登录密码");
170
			$("#phone_password").addClass("frmmsg-warning");
171
			regNumber=false;
239 172
		} else {
240
			//$(".msgphone4").text("密码6到16位");
241
			$(".msgphone4").text("密码由6-24 个字符组成,区分大小写");
173
			var hunPhone = /^[0-9a-zA-Z]{6,}$/;
174
			if(hunPhone.test(password.trim())) {
175
				$(".msgLog3").find("span").text("");
176
				regNumber=true;
177
				$("#phone_password").removeClass("frmmsg-warning");
178
			} else {
179
				$(".msgLog3").find("span").text("密码由6-24个字符组成,区分大小写");
180
				regNumber=false;
181
				$("#phone_password").addClass("frmmsg-warning");
182
			}
242 183
		}
243 184
	}
244
}
245
$("#phone_password").blur(function() {
246
	setPassword();
247
});
248
//再次确定密码
249
var setpassagain = false;
250 185

251
function setPasswordAgain() {
252
	var passwordAgain = $("#phone_password2").val();
253
	if(passwordAgain.length == 0) {
254
		$(".msgphone5").text("请再次输入您的密码");
255
	} else {
256
		var hunPhone = /^[0-9a-zA-Z]{6,}$/;
257
		if(hunPhone.test(password.trim()) && passwordAgain == password) {
258
			$(".msgphone5").text("");
259
			setpassagain = true;
260
		} else {
261
			$(".msgphone5").text("两次密码不一致");
186
	/*注册*/
187
	$("#regMess").on("keyup","#yourName,#lp_phone,.companysc,#phone_password",function(){
188
		if($("#yourName").val().length != 0 && $("#lp_phone").val().length != 0&&$(".companysc").val().length != 0&&$("#phone_password").val().length != 0) {
189
			$("#reg").removeAttr("disabled");
190
		}else{
191
			$("#reg").attr("disabled","disabled");
262 192
		}
263
	}
264

265
}
266
$("#phone_password2").blur(function() {
267
	setPasswordAgain();
268
});
269
//手机注册提交
270
$("#btnn").click(function() {
271
	if(phonePass && setpass1 && setpassagain) {
272
		$.ajax("/ajax/regmobile", {
193
	})
194
	/*注册函数*/
195
	function userReg() {
196
		console.log(state)
197
		$.ajax("/ajax/mobileReg", {
273 198
			type: "POST",
274
			async: false,
199
			async: true,
275 200
			success: function(data) {
276
				console.log(data)
201
				console.log(data);
277 202
				if(data.success) {
278
					loginagain(); //调用登录的接口
279
					//				$(".completedcover").css("display","block");
280
					//				$("#afterSay").click(function(){
281
					//					location.href="index.html";
282
					//				});
283
					//				$("#todayPerfect").click(function(){
284
					//					location.href="information-add.html?id="+data.data;
285
					//				});
286
					location.href = "information-add.html?id=" + data.data;
203
					loginagain();
287 204
				}else{
288 205
					if(data.code==-1){
289
						$.MsgBox.Alert('消息', '验证超时');
206
						$.MsgBox.Alert('消息', '验证码已过期,请重新获取');
290 207
					}else if(data.code==-2){
291
						$.MsgBox.Alert('消息', '手机号与验证手机不匹配');
208
						$(".msgCmp03 span").text('验证码错误,请检查后重试');
292 209
					}else if(data.code==-3){
293
						$.MsgBox.Alert('消息', '验证码错误');
210
						$(".msgCmp03 span").text('验证码错误,请检查后重试')
211
					}else if(data.code==0){
212
						$(".msgCmp03 span").text('验证码错误,请检查后重试')
294 213
					}
295 214
				}
296 215
			},
@ -300,25 +219,23 @@ $("#btnn").click(function() {
300 219
			data: {
301 220
				"state": state,
302 221
				"mobilePhone": $("#lp_phone").val(),
303
				"validateCode": $("#lp_coder").val(),
222
				"validateCode": $(".companysc").val(),
304 223
				"password": $("#phone_password").val(),
305
				"inviterId": GetQueryString("inviterId")
224
				"name" :$("#yourName").val()
306 225
			},
307 226
			dataType: 'json'
308 227
		});
309
	}else{
310
		phoneVal();
311
		setPhoneCode();
312
		setPassword();
313
		setPasswordAgain();
314 228
	}
315
});
316

317
function loginagain() {
229
	function loginagain() {
318 230
	$.ajax("/ajax/login", {
319 231
		type: "POST",
320 232
		async: false,
321
		success: function(data) {},
233
		success: function(data) {
234
			console.log(data);
235
			if (data.success) {
236
				location.href = "fillinfo-select.html";
237
			}
238
		},
322 239
		error: function() {
323 240
			$.MsgBox.Alert('消息', '服务器请求失败');
324 241
		},
@ -329,94 +246,153 @@ function loginagain() {
329 246
		dataType: 'json'
330 247
	});
331 248
}
332

333
//邮箱注册模块
334
//邮箱验证
335
var emailPass = false;
336

337
function valEmail() {
338
	var email = $("#lp_email").val();
339
	//var gunf=/^\w+@\w+\.((cn)|(com)|(com\.cn))$/;
340
	var gunf = /^([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+@([a-zA-Z0-9]+[_|\_|\.]?)*[a-zA-Z0-9]+\.[a-zA-Z]{2,3}$/;
341
	$.ajax("/ajax/isReg?key=" + email, {
342
		type: "GET",
343
		async: true,
344
		success: function($data) {
345
			if($data.data == false) {
346
				$(".msgema1 span").text("您的邮箱已被注册");
249
	/*手机注册*/
250
	$("#reg").click(function(){
251
		if(userName==true && phoneNumber==true && phoneMa==true && regNumber==true) {
252
			userReg();
253
		}
254
	})
255
	
256
	/*邮箱注册*/
257
	var oMailName=false;
258
	var oRegNumber=false;
259
	var emailPass=false;
260
	$("#mailName").focus(function(){
261
		$(".msgLog0").find("span").text("");
262
		$(this).removeClass("frmmsg-warning");
263
	})
264
	$("#mailName").blur(function(){
265
		if($("#mailName").val().length==0){
266
			$(".msgLog0").find("span").text("请输入您的真实姓名");
267
			$(this).addClass("frmmsg-warning");
268
			oMailName=false;
269
		}else{
270
			var inputval = $("#mailName").val().replace(/[^\u0000-\u00ff]/g, "aa").length;
271
			if(inputval > 20) {
272
				$(".msgLog0").find("span").text("姓名最长为10个汉字或20个英文字符");
273
				oMailName=false;
274
				$(this).addClass("frmmsg-warning");
275
			}else{
276
				$(".msgLog0").find("span").text("");
277
				oMailName=true;
278
				$(this).removeClass("frmmsg-warning");
279
			}
280
			
281
		}
282
	})
283
	/*邮箱登录密码校验*/
284
	$("#mailLoginPassword").focus(function(){
285
		$(".msgLog3").find("span").text("");
286
		$(this).removeClass("frmmsg-warning");
287
	})
288
	$("#mailLoginPassword").blur(function(){
289
		mailSetPassword();
290
	})
291
	function mailSetPassword() {
292
		passw();
293
	}
294
	/*校验登录密码函数*/
295
	function passw() {
296
		var password = $("#mailLoginPassword").val();
297
		if(password.length == 0) {
298
			$(".msgLog3").find("span").text("请设置您的登录密码");
299
			$("#mailLoginPassword").addClass("frmmsg-warning");
300
			oRegNumber=false;
301
		} else {
302
			var hunPhone = /^[0-9a-zA-Z]{6,}$/;
303
			if(hunPhone.test(password.trim())) {
304
				$(".msgLog3").find("span").text("");
305
				$("#mailLoginPassword").removeClass("frmmsg-warning");
306
				oRegNumber=true;
347 307
			} else {
348
				if(gunf.test(email.trim())) {
349
					$(".msgema1 span").text("");
350
					emailPass = true;
308
				$(".msgLog3").find("span").text("密码由6-24个字符组成,区分大小写");
309
				$("#mailLoginPassword").addClass("frmmsg-warning");
310
				oRegNumber=false;
311
			}
312
		}
313
	}
314
	/*校验邮箱地址*/
315
	$("#mailAddress").focus(function(){
316
		$(".msgLog1").find("span").text("");
317
		$(this).removeClass("frmmsg-warning");
318
	})
319
	$("#mailAddress").blur(function(){
320
		oEmail();
321
	})
322
	/*校验邮箱地址函数*/
323
	function oEmail(){
324
		var email = $("#mailAddress").val();
325
		
326
		var gunf = /^[a-zA-Z0-9_-]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)+$/;
327
		if(email.length==0) {
328
			$(".msgLog1").find("span").text("请输入您的邮箱地址");
329
			$("#mailAddress").addClass("frmmsg-warning");
330
			emailPass = false;
331
		}else{
332
			if(gunf.test(email.trim())) {
333
					valEmail();
351 334
				} else {
352 335
					/*alert("请输入正确是邮箱地址");*/
353
					$(".msgema1 span").text("请输入正确是邮箱地址");
336
					$(".msgLog1").find("span").text("请输入正确邮箱地址");
354 337
					emailPass = false;
338
					$("#mailAddress").addClass("frmmsg-warning");
355 339
				}
356
			}
357
		},
358
		error: function() {
359
			$.MsgBox.Alert('消息', '服务器请求失败')
360
		},
361
	});
362

363
}
364

365
$("#lp_email").blur(function() {
366
	valEmail();
367
});
368

369
//输入密码及确认密码
370
var oldPass = false;
371
var isPass = false;
372

373
function valOld() {
374
	var oldPassword = $("#mail_password").val();
375
	if(oldPassword.length == 0) {
376
		$(".msgema2 span").text("密码不能为空");
377
		oldPass = false;
378
	} else if(oldPassword.length < 6) {
379
		$(".msgema2 span").text("密码不少于6位,请输入正确的密码");
380
	} else {
381
		$(".msgema2 span").text("");
382
		oldPass = true;
340
		}
383 341
	}
384
}
385
$("#mail_password").blur(function() {
386
	valOld();
387
})
388

389
function valNew() {
390
	var newPassword = $("#mail_password").val();
391
	var oldPassword = $("#mail_password1").val();
392
	if(oldPassword.length == 0) {
393
		$(".msgema3 span").text("密码不能为空");
394
	} else if(oldPassword.length < 6) {
395
		$(".msgema3 span").text("密码长度过短,至少六位");
396
	} else if(oldPassword != newPassword) {
397
		$(".msgema3 span").text("两次密码不一致");
398
	} else {
399
		isPass = true;
400
		$(".msgema3 span").text("");
342
	function valEmail() {
343
		$.ajax("/ajax/isReg?key=" + $("#mailAddress").val(), {
344
			type: "GET",
345
			async: true,
346
			success: function($data) {
347
				console.log($data);
348
				if($data.data == false) {
349
					$(".msgLog1").find("span").text("该账号已存在,请直接登录");
350
					$("#mailAddress").addClass("frmmsg-warning");
351
					emailPass = false;
352
				} else {
353
					$(".msgLog1").find("span").text("");
354
					$("#mailAddress").removeClass("frmmsg-warning");
355
					emailPass = true;
356
				}
357
			},
358
			error: function() {
359
				$.MsgBox.Alert('消息', '服务器请求失败')
360
			},
361
		});
401 362
	}
402
}
403

404
$("#mail_password1").blur(function() {
405
	valNew();
406
})
407

408
//邮箱注册提交
363
	/*注册是否点击*/
364
	$("#mailMess").on("keyup","#mailName,#mailAddress,#mailLoginPassword",function(){
365
			if ($("#mailName").val().length != 0 && $("#mailAddress").val().length != 0 && $("#mailLoginPassword").val().length != 0) {
366
				$("#mailReg").removeAttr("disabled");
367
				
368
			} else{
369
				$("#mailReg").attr("disabled","disabled");
370
			}
371
		
372
	})
373
	$("#mailReg").on("click",function(){
374
		if(oMailName==true && oRegNumber==true && emailPass==true) {
375
			mailRegistration();
376
		}
377
		
378
	})
379
	//邮箱注册提交
409 380
function mailRegistration() {
410
	var mailVal = $("#lp_email").val();
411
	var passwordVal = $("#mail_password1").val();
412
	if(isPass && emailPass) {
413
		$.ajax("/ajax/regmail", {
381
	var mailVal = $("#mailAddress").val();
382
	var maiName = $("#mailName").val();
383
	var passwordVal = $("#mailLoginPassword").val();
384
		$.ajax("/ajax/emailReg", {
414 385
			type: "POST",
415
			async: false,
386
			async: true,
416 387
			success: function(data) {
417 388
				if(data.success) {
418
					$.cookie('mailVal', mailVal);
419
					location.href = "bind-mail.html";
389
					/*$.cookie('mailVal', mailVal);
390
					location.href = "bind-mail.html";*/
391
					$(".waysBlock").hide();
392
					$(".maliTo").show();
393
					$(".loginWaySort").off("click");
394
					$(".loginWaySort li").css("cursor","auto"); 
395
					$("#omaile").text(mailVal);
420 396
				} else {
421 397
					$.MsgBox.Alert('消息', '邮箱发送失败');
422 398
				}
@ -427,17 +403,22 @@ function mailRegistration() {
427 403
			data: {
428 404
				"mail": mailVal,
429 405
				"password": passwordVal,
430
				"inviterId": GetQueryString("inviterId")
406
				"name" : maiName
431 407
			},
432 408
			dataType: 'json'
433 409
		});
434
	}else{
435
		valEmail();
436
		valOld();
437
		valNew();
438
	}
439 410
}
440

441
$("#btnn1").click(function() {
442
	mailRegistration();
443
});
411
/*登录邮箱*/
412
	$("#loginMail").click(function(){
413
	var url = $("#mailAddress").val().split('@')[1];
414
        for (var j in hash){  
415
            if(hash[url]==undefined){
416
            	window.open("http://mail." + url);
417
            	break;
418
        	}else{
419
           		window.open(hash[url]);	
420
           		break;
421
        	}
422
        }  
423
	})
424
})

+ 1 - 1
js/scrollfix.js

@ -61,7 +61,7 @@
61 61
				outerHeight = obj.outerHeight(); //对象高度
62 62
				outerHeight = parseFloat(outerHeight) + parseFloat(obj.css('marginBottom').replace(/auto/, 0));
63 63
				outerWidth = obj.outerWidth(); //对象外宽度
64
//				objWidth = obj.width();
64
				//objWidth = obj.width();
65 65
				objWidth = obj.outerWidth(true);
66 66
				var documentHeight = $(document).height(); //文档高度
67 67
				var startTop = $(opts.startTop), //开始浮动固定对象

+ 2 - 2
js/ueditor/ueditor.all.js

@ -10012,14 +10012,14 @@ UE.plugins['defaultfilter'] = function () {
10012 10012
                        break;
10013 10013
                    case 'img':
10014 10014
                        //todo base64暂时去掉,后边做远程图片上传后,干掉这个
10015
                        if (val = node.getAttr('src')) {
10015
                       /* if (val = node.getAttr('src')) {
10016 10016
                            if (/^data:/.test(val)) {
10017 10017
                                node.parentNode.removeChild(node);
10018 10018
                                break;
10019 10019
                            }
10020 10020
                        }
10021 10021
                        node.setAttr('_src', node.getAttr('src'));
10022
                        break;
10022
                        break;*/
10023 10023
                    case 'span':
10024 10024
                        if (browser.webkit && (val = node.getStyle('white-space'))) {
10025 10025
                            if (/nowrap|normal/.test(val)) {

+ 1 - 1
js/ueditor/ueditor.config.js

@ -35,7 +35,7 @@
35 35
36 36
        //工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义
37 37
        , toolbars: [[
38
            'undo', 'redo', '|',
38
            'fullscreen', 'source', '|', 'undo', 'redo', '|',
39 39
            'bold', 'italic', 'underline', '|',
40 40
            'insertorderedlist', 'insertunorderedlist', '|',
41 41
            'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|',

+ 0 - 77
login-email-find01.html

@ -1,77 +0,0 @@
1
 <!DOCTYPE html>
2
<html>
3
<head>
4
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">
5
-->
6
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
8

9
<meta http-equiv="X-UA-Compatible" content="IE=edge">
10
<title>找回密码-科袖网</title>
11
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" />
12
<link rel="stylesheet" href="css/reset.css" />
13
<link type="text/css" href="css/login.css" rel="stylesheet">
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
15
<style type="text/css">
16
#header{ width:100%; height:50%; background:#E28D30; }
17
#footer{ width:100%; height:50%; background:#E8E8E8;}
18
</style>
19
</head>
20

21
<body>
22

23
<div class="coverbox">		
24
		<!--邮箱找回密码01!-->
25
		<div class="email-find1" id="Suspensionbox">
26
			<div class="login-title">
27
			 <a href="login-phone-find01.html">通过手机找回<span class="back"></span></a>
28
			</div>
29
			<div class="logo-find">
30
				<a href="index.html"><img src="images/logo.png"></a>
31
			</div>
32
			<div class="email-steps">
33
			<div class="line2"></div>
34
			<div class="line3"></div>
35
				<div class="steps1">
36
					<span class="step01"></span>
37
					输入邮箱地址
38
				</div>
39
				<div class="E-steps2">
40
					<span class="E-step02"></span>
41
					验证邮箱
42
				</div>
43
				<div class="steps3">
44
					<span class="step03"></span>
45
					重置密码
46
				</div>
47
				
48
			</div>
49
			<div class="login-input">
50
			<form  name="f1" action="login-email-find02.html" method="post">
51
                <div class="frmbox">		
52
                    <input class="inputtxt" type="text" placeholder="请输入您的邮箱地址" id="email" name="uname" onBlur="valEmail()">	
53
                    <div class="msg msg1" ><span></span></div>	
54
                    <!--<div class="codebox">	
55
                    <input type="text" placeholder="请输入验证码" class="code">
56
                    <div class="code-pic"></div><span class="note">看不清?换一换</span>
57
                    </div>
58
                    <div class="msg" ><span></span></div>-->
59
                    <input type="button" value="找回密码" class="inputtxt submitBtn" onClick="findBack()" >
60
					<div class="msg msg2" ><span></span></div>		
61
				</div>
62
			</form>	
63
            		
64
			</div>
65
		</div>
66
</div>
67

68
<div id="header"></div>
69
<div id="footer"></div>
70

71
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
72
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
73
<script type="text/javascript" src="js/common.js"></script>
74
<script type="text/javascript"src="js/login-email-find01.js"></script>
75

76
</body>
77
</html>

+ 0 - 62
login-email-find02.html

@ -1,62 +0,0 @@
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" type="image/x-icon" href="images/favicon.png" media="screen" />
9
<link rel="stylesheet" href="css/reset.css" />
10
<link type="text/css" href="css/login.css" rel="stylesheet">
11
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
12
<style type="text/css">
13
#header{ width:100%; height:50%; background:#E28D30; }
14
#footer{ width:100%; height:50%; background:#E8E8E8;}
15
</style>
16
</head>
17

18
<body>
19

20
<div class="coverbox">
21
		<!--邮箱找回密码02-->
22
		<div class="email-find2" id="Suspensionbox">
23
			<div class="login-title">
24
			  <a href="login-phone-find01.html">通过手机号找回<span class="back"></span></a>
25
			</div>
26
				<div class="logo-find">
27
				<a href="index.html"><img src="images/logo.png"></a>
28
			</div>
29
			<div class="email-steps">
30
			<div class="line2"></div>
31
			<div class="line3"></div>
32
				<div class="steps1">
33
					<span class="step01"></span>
34
					输入邮箱地址
35
				</div>
36
				<div class="E-steps2-2">
37
					<span class="E-step02-2"></span>
38
					验证邮箱
39
				</div>
40
				<div class="steps3">
41
					<span class="step03"></span>
42
					重置密码
43
				</div>
44
				
45
			</div>
46
				<div class="welcome">密码重置邮件已发送至您的邮箱:<br><span class="professor" id="email">183****0528@163.com</span></div>
47
				<div class="remind">请在10分钟内登录您的邮箱接收邮件,<br>点击链接后即可重置密码</div>
48
				<div class="password-input">
49
					<input type="button" value="登录邮箱并查看" class="inputtxt submitBtn" id="emailGo">
50
				</div>	
51
				    
52
		</div>
53
</div>		
54
<div id="header"></div>
55
<div id="footer"></div>
56

57
<script type="text/javascript" src="js/jquery.cookie.js"></script>
58
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
59
<script type="text/javascript" src="js/common.js"></script>
60
<script type="text/javascript" src="js/login-email-find02.js"></script>
61
</body>
62
</html>

+ 0 - 73
login-email-find03.html

@ -1,73 +0,0 @@
1
 <!DOCTYPE html>
2
<html>
3
<head>
4
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">
5
-->
6
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
8

9
<meta http-equiv="X-UA-Compatible" content="IE=edge">
10
<title>找回密码 - 科袖网</title>
11
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" />
12
<link rel="stylesheet" href="css/reset.css" />
13
<link type="text/css" href="css/login.css" rel="stylesheet">
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
15
<style type="text/css">
16
#header{ width:100%; height:50%; background:#E28D30; }
17
#footer{ width:100%; height:50%; background:#E8E8E8;}
18
</style>
19
</head>
20

21
<body>
22

23
<div class="coverbox">
24
		<!--邮箱找回密码03!-->
25
		<div class="email-find3" id="Suspensionbox">
26
			<div class="login-title">
27
			  <a href="login-phone-find01.html">通过手机号找回<span class="back"></span></a>
28
			</div>
29
			<div class="logo-find">
30
				<a href="index.html"><img src="images/logo.png"></a>
31
			</div>
32
			<div class="email-steps">
33
			<div class="line2"></div>
34
			<div class="line3"></div>
35
				<div class="steps1">
36
					<span class="step01"></span>
37
					输入邮箱地址
38
				</div>
39
				<div class="E-steps2-2">
40
					<span class="E-step02-2"></span>
41
					验证邮箱
42
				</div>
43
				<div class="steps3-3">
44
					<span class="step03-3"></span>
45
					重置密码
46
				</div>
47
				
48
			</div>
49
			<div class="login-input">
50
			<form  name="f1" action="login-email-find02.html" method="post">
51
                <div class="frmbox">			
52
                    <input class="inputtxt" type="password" placeholder="请输入新密码" id="mail_password">
53
                    <div class="msg msg1" ><span></span></div>				
54
                    <input class="inputtxt" type="password" placeholder="请再次输入密码" id="mail_password1">
55
                    <div class="msg msg2" ><span></span></div>	
56
                    <input type="button" value="重置密码" class="inputtxt submitBtn" id="reset_password">
57
                    <div class="msg msg3"><span></span></div>
58
                </div>
59
			</form>	
60
			</div>
61
		</div>	
62
</div>
63

64
<div id="header"></div>
65
<div id="footer"></div>
66

67
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
68
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
69
<script type="text/javascript" src="js/common.js"></script>
70
<script type="text/javascript" src="js/login-email-find03.js"></script>
71

72
</body>
73
</html>

+ 0 - 58
login-first.html

@ -1,58 +0,0 @@
1
 <!DOCTYPE html>
2
<html>
3
<head>
4
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">
5
-->
6
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
8

9
<meta http-equiv="X-UA-Compatible" content="IE=edge">
10
<title>科袖网-搭建企业与专家的桥梁</title>
11
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" />
12
<link rel="stylesheet" href="css/reset.css" />
13
<link type="text/css" href="css/login.css" rel="stylesheet">
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
15
<style type="text/css">
16
#header{ width:100%; height:50%; background:#E28D30; }
17
#footer{ width:100%; height:50%; background:#E8E8E8;}
18
</style>
19
</head>
20
<body>
21

22
<div class="coverbox">
23
		<!--首次登录!-->
24
		<div class="login-first" id="Suspensionbox">
25
				<div class="login-title">
26
				 
27
				</div>
28
				<div class="logos">
29
					<a href="index.html"><img src="images/logo.png"></a>
30
				</div>
31
				
32
				<div class="welcome">欢迎<span class="professor" id="name">XXX教授</span>登入科袖网!<br>请您设置密码,方便以后登录。</div>
33
				<div class="password-input">
34
				<form  name="f1" action="information-browse.html" method="post">
35
                    <div class="frmbox">	
36
                        <div class="password"><span class="lable">设置密码</span><input type="password" style="width:80%;" class="inputtxt psd" id="password" onBlur="valPassword()"></div>
37
                        <div class="msg msg-left msg1" ><span></span></div>
38
                        <div class="password"><span class="lable">确认密码</span><input type="password" style="width:80%;" class="inputtxt psd" id="password2" onBlur="valPassword2()"></div>
39
                        <div class="msg msg-left msg2" ><span></span></div>
40
                        <input type="button" value="保存并登录" class="inputtxt submitBtn" style="width: 95%;" onClick="savePassword()">
41
                        <div class="msg msg3" ><span></span></div>
42
                        <!-- <div class="forget">不是本人?<div class="prompt"><span class="triangleR"></span><span class="prompt-con">请拨打免费电话<br><span class="tel">400-xxx-xxxx</span><br>重新获取邀请码</span></div></div>	 -->
43
                    </div>
44
				</form>
45
				</div>    
46
		</div>
47
</div>			
48
	
49
<div id="header"></div>
50
<div id="footer"></div>
51

52
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
53
<script type="text/javascript" src="js/common.js"></script>
54
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
55
<script type="text/javascript"src="js/login-first.js"></script>
56

57
</body>
58
</html>

+ 0 - 56
login-invite-code.html

@ -1,56 +0,0 @@
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" type="image/x-icon" href="images/favicon.png" media="screen" />
9
<link rel="stylesheet" href="css/reset.css" />
10
<link type="text/css" href="css/login.css" rel="stylesheet">
11
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
12
<style type="text/css">
13
#header{ width:100%; height:50%; background:#E28D30; }
14
#footer{ width:100%; height:50%; background:#E8E8E8;}
15
</style>
16
</head>
17
<body>
18

19
<div class="coverbox">
20
		<!--登录邀请码!-->
21
		<div class="loginbox loginbox-invite" id="Suspensionbox">
22
			<div class="login-title">
23
			 <a href="login.html">通过手机或邮箱登录<span class="back"></span></a>
24
			</div>
25
			<div class="logo">
26
			<a href="index.html"><img src="images/logo.png"></a>
27
			</div>
28
			<div class="login-input">
29
                <form  name="f1" action="login-first.html" method="post">	
30
                    <div class="frmbox">
31
                        <input class="inputtxt" type="text" placeholder="请输入您的手机或邮箱"  id="phone" value="" onKeyDown="restSub()"  onblur="phoneVal()" >
32
                        <div class="msg msg1" ><span></span></div>
33
                        <input class="inputtxt" type="text" placeholder="请输入您的邀请码" id="code" value="" onKeyDown="restSub()" onBlur="codeVal()" >
34
                        <div class="msg msg2" ><span></span></div>
35
                        <!--<div class="codebox">
36
                        <input type="text" placeholder="验证码" class="code">
37
                        <div class="code-pic"></div><span class="note">看不清?换一换</span></div>
38
                        <div class="msg" ><span></span></div>-->
39
                        <input type="button" value="登录" class="inputtxt submitBtn" id="login" onClick="loginSub()">
40
                        <div class="msg msg3" ><span></span></div>
41
                        <!-- <div class="forget">忘记邀请码?<div class="prompt"><span class="triangleR"></span><span class="prompt-con">请拨打免费电话<br><span class="tel">400-xxx-xxxx</span><br>重新获取邀请码</span></div></div> -->
42
                    </div>
43
                </form>	
44
			</div>
45
		</div>
46
</div>		
47
<div id="header"></div>
48
<div id="footer"></div>
49

50
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
51
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
52
<script type="text/javascript" src="js/common.js"></script>
53
<script type="text/javascript"src="js/login-invite-code.js"></script>
54

55
</body>
56
</html>

+ 0 - 76
login-phone-find01.html

@ -1,76 +0,0 @@
1
 <!DOCTYPE html>
2
<html>
3
<head>
4
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">
5
-->
6
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
8

9
<meta http-equiv="X-UA-Compatible" content="IE=edge">
10
<title>找回密码-科袖网</title>
11
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" />
12
<link rel="stylesheet" href="css/reset.css" />
13
<link type="text/css" href="css/login.css" rel="stylesheet">
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
15
<style type="text/css">
16
#header{ width:100%; height:50%; background:#E28D30; }
17
#footer{ width:100%; height:50%; background:#E8E8E8;}
18
</style>
19
</head>
20

21
<body>
22

23
<div class="coverbox">	
24
		<!--手机找回密码01!-->
25
		<div class="phone-find1" id="Suspensionbox">
26
			<div class="login-title">
27
			  <a href="login-email-find01.html">通过邮箱找回<span class="back"></span></a>
28
			</div>
29
			<div class="logo-find">
30
				<a href="index.html"><img src="images/logo.png"></a>
31
			</div>
32
			<div class="steps">
33
				<div class="steps1">
34
					<span class="step01"></span>
35
					验证手机号
36
				</div>
37
				<div class="steps2">
38
					<span class="step02"></span>
39
					重置密码
40
				</div>
41
				<div class="line"></div>
42
			</div>
43
			<div class="login-input">
44
			<form  name="f1" action="login-phone-find02.html" method="post">
45
                <div class="frmbox">			
46
                    <input class="inputtxt" type="text" placeholder="请输入您的手机号码" id="phone" onBlur="valPhone()">	
47
                    <div class="msg msg1" ><span></span></div>	
48
                    <!--<div class="codebox">		
49
                    <input type="text" placeholder="请输入验证码" class="code">
50
                    <div class="code-pic"></div><span class="note">看不清?换一换</span>
51
                    </div>
52
                    <div class="msg" ><span></span></div>-->
53
                    <div class="codebox">
54
                        <input type="text" placeholder="请输入短信验证码" class="inputtxt sms" id="phoneCode" onBlur="valCode()">	
55
                        <input type="button" value="获取短信验证码" class="inputtxt submitBtn gain" onClick="sendPhoneCode()">
56
                        <input type="button" value="120s后重新获取" class="inputtxt submitBtn gainon" style="display:none;">
57
                    </div>
58
                    <div class="msg msg2" ><span></span></div>	
59
                    <input type="button" value="找回密码" class="inputtxt submitBtn" onClick="submitCodeVal()"/>
60
                    <div class="msg msg3" ><span></span></div>				
61
                </div>	
62
			</form>	
63
		</div>
64
	</div>
65
</div>
66

67
<div id="header"></div>		
68
<div id="footer"></div>
69

70
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
71
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
72
<script type="text/javascript" src="js/common.js"></script>
73
<script src='js/login-phone-find01.js'></script>
74

75
</body>
76
</html>

+ 0 - 68
login-phone-find02.html

@ -1,68 +0,0 @@
1
 <!DOCTYPE html>
2
<html>
3
<head>
4
<!--<meta name="viewport" content="width=device-width, initial-scale=1.0">
5
-->
6
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
7
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
8

9
<meta http-equiv="X-UA-Compatible" content="IE=edge">
10
<title>找回密码-科袖网</title>
11
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" />
12
<link rel="stylesheet" href="css/reset.css" />
13
<link type="text/css" href="css/login.css" rel="stylesheet">
14
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
15
<style type="text/css">
16
#header{ width:100%; height:50%; background:#E28D30; }
17
#footer{ width:100%; height:50%; background:#E8E8E8;}
18
</style>
19
</head>
20

21
<body>
22

23
<div class="coverbox">	
24
		<!--手机找回密码02!-->
25
		<div class="phone-find2" id="Suspensionbox">
26
			<div class="login-title">
27
			   <a href="login-email-find01.html">通过邮箱找回<span class="back"></span></a>
28
			</div>
29
			<div class="logo-find">
30
				<a href="index.html"><img src="images/logo.png"></a>
31
			</div>
32
			<div class="steps">
33
				<div class="steps1">
34
					<span class="step01"></span>
35
					验证手机
36
				</div>
37
				<div class="steps2-2">
38
					<span class="step02-2"></span>
39
					重置密码
40
				</div>
41
				<div class="line"></div>
42
			</div>
43
			<div class="login-input">
44
                <form  name="f1" action="login-email-find02.html" method="post">	
45
                     <div class="frmbox">		
46
                        <input class="inputtxt" type="password" placeholder="请输入新密码" id="password" />
47
                        <div class="msg msg1" ><span></span></div>				
48
                        <input class="inputtxt" type="password" placeholder="请再次输入密码" id="password2" />
49
                        <div class="msg msg2" ><span></span></div>
50
                       
51
                     </div>	
52
                </form>	
53
                 <input type="button" value="重置密码" class="inputtxt submitBtn" id="resetPw" />
54
                  <div class="msg msg3" ><span></span></div>
55
			</div>
56
		</div>
57
</div>
58

59
<div id="header"></div>
60
<div id="footer"></div>
61

62
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
63
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
64
<script type="text/javascript" src="js/common.js"></script>
65
<script type="text/javascript" src="js/login-phone-find02.js"></script>
66

67
</body>
68
</html>

+ 84 - 71
login.html

@ -1,82 +1,95 @@
1
 <!DOCTYPE html>
1
<!DOCTYPE html>
2 2
<html>
3 3
<head>
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>
8
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" />
9
<link rel="stylesheet" href="css/reset.css" />
10
<link type="text/css" href="css/login.css" rel="stylesheet">
7
<title>登录 - 科袖网-搭建企业与专家的桥梁</title>
8
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css">
9
<link type="text/css" rel="stylesheet" href="css/reset.css">
10
<link type="text/css" rel="stylesheet" href="css/common.css">
11
<link type="text/css" rel="stylesheet" href="css/genindex.css">
11 12
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
12
<style type="text/css">
13
#header{ width:100%; height:50%; background:#E28D30; }
14
#footer{ width:100%; height:50%; background:#E8E8E8;}
15
</style>
16 13
</head>
17

18
<body>
19

20
<div class="coverbox">
21
<!--登录邀请码!-->
22
<div class="loginbox" id="Suspensionbox"  style=" width:520px;">
23
	<div class="login-title">
24
	 <a href="login-invite-code.html">通过手机和邀请码登录<span class="back"></span></a>
25
	</div>
26
	<div class="logo">
27
		<a href="index.html"><img src="images/logo.png"></a>
14
<body class="covbodyBg">
15
<div class="containerCon">
16
	<a href="index.html" class="headlogo signLogo"></a>
17
</div>
18
<!--中间-->
19
<div id="container">
20
	<div class="containerCon contConP">
21
		<div class="covFrmblock">
22
			<form class="cmpAllFrm">
23
				<p class="h1Font alignCenter mainColor">登录科袖</p>
24
				<ul class="loginWaySort">
25
					<li class="col-w-4 liactive">密码登录</li>
26
					<li class="col-w-4">短信登录</li>
27
					<li class="col-w-4">邀请码登录</li>
28
				</ul>
29
				<div class="waysBlock">
30
					<div class="loginWays">
31
						<!--密码登录-->
32
						<ul class="cmpAllUl cmpCoverUl">
33
							<li>
34
								<input type="text" class="frmtype frmtypeW username" placeholder="请输入手机或邮箱" onBlur="nameVal(this)" onfocus="getFocus(this)" onkeyup="checkLoginButtn(this)"  />
35
			    				<div class="frmmsg msgLog1"><span></span></div>
36
							</li>
37
							<li>
38
								<input type="password" class="frmtype frmtypeW passwd" placeholder="请输入密码" onBlur="passwordVal(this)" onfocus="getFocus(this)"  onkeyup="checkLoginButtn(this)"/>
39
							    <div class="frmmsg msgLog2"><span></span></div>
40
							</li>
41
							<li>
42
								<button type="button" class="frmtype frmtypeW btnModel save-block loginSubmit" disabled onclick="login(this,1)" >登录</button>
43
								 <div class="frmmsg"><span></span></div>
44
							</li>
45
						</ul>
46
						<!--短信登录-->
47
						<ul class="cmpAllUl cmpCoverUl displayNone">
48
							<li>
49
								<input type="phone" class="frmtype frmtypeW username phoneuser" placeholder="请输入手机号码" onBlur="phoneVal(this)" onfocus="getFocus(this)" onkeyup="checkLoginButtn(this)" />
50
			    				<div class="frmmsg msgLog1"><span></span></div>
51
							</li>
52
							<li>
53
								<div class="col-w-8">
54
									<input type="tel" class="frmtype frmtypeW passwd" style="width: 98%;" placeholder="请输入短信验证码" onblur="codeVerification(this)" onfocus="getFocus(this)" onkeyup="checkLoginButtn(this)" />
55
								    <div class="frmmsg msgCmp03"><span></span></div>
56
							    </div>
57
							    <div class="col-w-4">
58
							    	<button type="button"  class="frmtype frmtypeW btnModel" id="getcode"   onclick="phoneSend(this)">获取验证码</button>
59
							    </div>
60
							</li>
61
							<li>
62
								<button type="button" disabled class="frmtype frmtypeW btnModel save-block loginSubmit"  disabled  onclick="login(this,3)">登录</button>
63
							</li>
64
						</ul>
65
						<!--邀请码登录-->
66
						<ul class="cmpAllUl cmpCoverUl displayNone">
67
							<li>
68
								<input type="text" class="frmtype frmtypeW username" placeholder="请输入手机或邮箱" onBlur="nameVal(this)" onfocus="getFocus(this)" onkeyup="checkLoginButtn(this)"/>
69
			    				<div class="frmmsg msgLog1"><span></span></div>
70
							</li>
71
							<li>
72
								<input type="text" class="frmtype frmtypeW passwd" placeholder="请输入邀请码" onblur="codeVal(this)" onfocus="getFocus(this)" onkeyup="checkLoginButtn(this)" />
73
							    <div class="frmmsg msgLog2"><span></span></div>
74
							</li>
75
							<li>
76
								<button type="button" disabled class="frmtype frmtypeW btnModel save-block loginSubmit"  disabled onclick="login(this,2)">登录</button>
77
							</li>
78
						</ul>
79
					</div>
80
					<div class="clearfix" style="margin-top:-15px;">
81
						<a href="pwdFindNew.html" class="fontLink floatL">忘记密码?</a>
82
						<span class="floatR" style="color:#999">没有账号?<a href="register.html" class="fontLink">立即注册</a></span>
83
					</div>	
84
				</div>
85
				
86
			</form>
87
		</div>
28 88
	</div>
29
          <div class="logindown">
30
              <table>
31
                      <tr>
32
                          <td style="padding-top:20px;">
33
                              <div class="login-input"><!--  loginleft -->
34
                                  <form  name="loginForm" id="loginForm" action="index.html" method="post">	
35
                                      <div class="frmbox">
36
                                          <input class="inputtxt" type="text" placeholder="请输入已绑定的手机或邮箱" id="loginName" name="loginName" onKeyDown="restSub()"  onBlur="nameVal()">
37
                                          <div class="msg msg1" ><span></span></div>
38
                                          <input class="inputtxt" type="password" placeholder="请输入密码" id="password" name="password"  onkeydown="restSub()" onBlur="passwordVal()">
39
                                          <div class="msg msg3" ><span></span></div>
40
                                          <input type="button" value="登录" class="inputtxt submitBtn" onClick="login()">
41
                                          <div class="msg msg5" ><span></span></div>
42
                                          <div class="reglinkbox">还没有科袖账号?<a class="reglink" href="register.html">立即注册</a><a href="login-email-find01.html" class="forget">忘记密码?</a></div>
43
                                      </div>
44
                                  </form>
45
                              </div>
46
                           </td>
47
                           <!-- <td>
48
                              <div class="login-line">
49
                                  <div class="lineb"></div>
50
                                  <div class="wordor"> or </div>
51
                              </div>
52
                           </td>
53
                           <td>
54
                              <div class="login-other">
55
                                  <span>使用以下帐号直接登录:</span>
56
                                  <div class="login-way">
57
                                      <a href="#" class="way-icon way-icon1"></a>
58
                                      <a href="#" class="way-icon way-icon2"></a>
59
                                      <a href="#" class="way-icon way-icon3"></a>
60
                                  </div>
61
                                  <div class="ecode">
62
                                      <div class="downcode"><img src="images/code.jpg" width="100%" height="100%"></div>
63
                                      <p>扫描二维码下载科袖APP</p>
64
                                  </div>
65
                              </div>
66
                           </td> -->
67
                        </tr>
68
                     </table>
69
                  </div>
70
              </div>
71 89
</div>
72

73
<div id="header"></div>
74
<div id="footer"></div>
75

76
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
77
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
90
<script type="text/javascript"src="js/jquery.cookie.js"></script>
91
<script type="text/javascript"src="js/jquery.similar.msgbox.js"></script>
78 92
<script type="text/javascript" src="js/common.js"></script>
79
<script type="text/javascript" src="js/login.js"></script>
80

93
<script type="text/javascript" src="js/loginNew.js"></script>
81 94
</body>
82
</html>
95
</html>

+ 62 - 0
loginInviteFirst.html

@ -0,0 +1,62 @@
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 type="text/css" rel="stylesheet" href="css/bootstrap.min.css">
9
<link type="text/css" rel="stylesheet" href="css/reset.css">
10
<link type="text/css" rel="stylesheet" href="css/common.css">
11
<link type="text/css" rel="stylesheet" href="css/genindex.css">
12
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
13
</head>
14
<body class="covbodyBg">
15
<div class="containerCon">
16
	<a href="index.html" class="headlogo signLogo"></a>
17
</div>
18
<!--中间-->
19
<div id="container">
20
	<div class="containerCon contConP">
21
		<div class="covFrmblock">
22
			<form class="cmpAllFrm">
23
				<p class="h1Font alignCenter mainColor">欢迎 <span id="name"></span> 登录科袖</p>
24
				<p class="smallTip alignCenter" style="margin:-10px auto 20px;">请设置您的登录密码,让您的账号更安全</p>
25
				<div class="waysBlock">
26
					<div class="loginWays">
27
						<!--邀请码登录-->
28
						<ul class="cmpAllUl cmpCoverUl">
29
							<li>
30
								<input type="password" class="frmtype frmtypeW" id="password" placeholder="请输入设置您的登录密码" onBlur="valPassword(this)" onfocus="getFocus(this)" onkeyup="checkLoginButtn(this)"/>
31
			    				<div class="frmmsg msgLog1"><span></span></div>
32
							</li>
33
							<li>
34
								<input type="password" class="frmtype frmtypeW" id="passwordok" placeholder="请再次输入密码确认" onBlur="valPassword2(this)" onfocus="getFocus(this)" onkeyup="checkLoginButtn(this)"/>
35
							    <div class="frmmsg msgLog2"><span></span></div>
36
							</li>
37
							<li>
38
								<button type="button" disabled class="frmtype frmtypeW btnModel save-block headRadius" id="ButSubmit" onclick="savePassword()">确认</button>
39
							</li>
40
						</ul>
41
					</div>
42
					<div class="clearfix" style="margin-top:-15px;">
43
						<span class="serviceBox floatR" style="color:#999">不是本人?
44
							<div class="serviceTel alignCenter displayNone">
45
								<p>请拨打客服电话  010-62343359</p>
46
								<p>找回您的账号</p>
47
								<div class="triangleB"></div>
48
							</div>
49
						</span>
50
					</div>	
51
				</div>
52
				
53
			</form>
54
		</div>
55
	</div>
56
</div>
57
<script type="text/javascript" src="/js/jquery.cookie.js"></script>
58
<script type="text/javascript" src="js/common.js"></script>
59
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
60
<script type="text/javascript"src="js/loginInviteFirst.js"></script>
61
</body>
62
</html>

+ 0 - 99
loginNew.html

@ -1,99 +0,0 @@
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 type="text/css" rel="stylesheet" href="css/bootstrap.min.css">
9
<link type="text/css" rel="stylesheet" href="css/reset.css">
10
<link type="text/css" rel="stylesheet" href="css/common.css">
11
<link type="text/css" rel="stylesheet" href="css/genindex.css">
12
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
13
</head>
14
<body class="covbodyBg">
15
<div class="containerCon">
16
	<a href="index.html" class="headlogo signLogo"></a>
17
</div>
18
<!--中间-->
19
<div id="container">
20
	<div class="containerCon contConP">
21
		<div class="covFrmblock">
22
			<form class="cmpAllFrm">
23
				<p class="h1Font alignCenter mainColor">登录科袖</p>
24
				<ul class="loginWaySort">
25
					<li class="col-w-4 liactive">密码登录</li>
26
					<li class="col-w-4">短信登录</li>
27
					<li class="col-w-4">邀请码登录</li>
28
				</ul>
29
				<div class="waysBlock">
30
					<div class="loginWays">
31
						<!--密码登录-->
32
						<ul class="cmpAllUl cmpCoverUl">
33
							<li>
34
								<input type="text" class="frmtype frmtypeW" placeholder="请输入手机或邮箱"/>
35
			    				<div class="frmmsg msgLog1"><span></span></div>
36
							</li>
37
							<li>
38
								<input type="password" class="frmtype frmtypeW" placeholder="请输入密码"/>
39
							    <div class="frmmsg msgLog2"><span></span></div>
40
							</li>
41
							<li>
42
								<button type="button" class="frmtype frmtypeW btnModel save-block headRadius">登录</button>
43
							</li>
44
						</ul>
45
						<!--短信登录-->
46
						<ul class="cmpAllUl cmpCoverUl displayNone">
47
							<li>
48
								<input type="phone" class="frmtype frmtypeW" placeholder="请输入手机号码"/>
49
			    				<div class="frmmsg msgLog1"><span></span></div>
50
							</li>
51
							<li>
52
								<div class="col-w-8">
53
									<input type="tel" class="frmtype frmtypeW" style="width: 98%;" placeholder="请输入短信验证码" id="companysc"/>
54
								    <div class="frmmsg msgCmp03"><span></span></div>
55
							    </div>
56
							    <div class="col-w-4">
57
							    	<button type="button" disabled class="frmtype frmtypeW btnModel headRadius" id="getcode">获取验证码</button>
58
							    </div>
59
							</li>
60
							<li>
61
								<button type="button" disabled class="frmtype frmtypeW btnModel save-block headRadius">登录</button>
62
							</li>
63
						</ul>
64
						<!--邀请码登录-->
65
						<ul class="cmpAllUl cmpCoverUl displayNone">
66
							<li>
67
								<input type="text" class="frmtype frmtypeW" placeholder="请输入手机或邮箱"/>
68
			    				<div class="frmmsg msgLog1"><span></span></div>
69
							</li>
70
							<li>
71
								<input type="text" class="frmtype frmtypeW" placeholder="请输入邀请码"/>
72
							    <div class="frmmsg msgLog2"><span></span></div>
73
							</li>
74
							<li>
75
								<button type="button" disabled class="frmtype frmtypeW btnModel save-block headRadius">登录</button>
76
							</li>
77
						</ul>
78
					</div>
79
					<div class="clearfix" style="margin-top:-15px;">
80
						<a href="pwdFindNew.html" class="fontLink floatL">忘记密码?</a>
81
						<span class="floatR" style="color:#999">没有账号?<a href="registerNew.html" class="fontLink">立即注册</a></span>
82
					</div>	
83
				</div>
84
				
85
			</form>
86
		</div>
87
	</div>
88
</div>
89
<script type="text/javascript"src="js/jquery.cookie.js"></script>
90
<script type="text/javascript"src="js/jquery.similar.msgbox.js"></script>
91
<script type="text/javascript" src="js/common.js"></script>
92
<script type="text/javascript">
93
	$(".loginWaySort").on("click","li",function(){
94
		$(this).addClass("liactive").siblings().removeClass("liactive");
95
		$(".loginWays ul").eq($(this).index()).removeClass("displayNone").siblings().addClass("displayNone");
96
	})
97
</script>
98
</body>
99
</html>

+ 172 - 0
pwdFindNew.html

@ -0,0 +1,172 @@
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 type="text/css" rel="stylesheet" href="css/bootstrap.min.css">
9
<link type="text/css" rel="stylesheet" href="css/reset.css">
10
<link type="text/css" rel="stylesheet" href="css/common.css">
11
<link type="text/css" rel="stylesheet" href="css/genindex.css">
12
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
13
</head>
14
<body class="covbodyBg">
15
<div class="containerCon">
16
	<a href="index.html" class="headlogo signLogo"></a>
17
</div>
18
<!--中间-->
19
<input type="hidden" name="" id="pstate" value="" />
20
<input type="hidden" name="" id="pmobilePhone" value="" />
21
<input type="hidden" name="" id="pvc" value="" />
22
<div id="container">
23
	<div class="containerCon contConP">
24
		<div class="covFrmblock">
25
			<form class="cmpAllFrm">
26
				<p class="h1Font alignCenter mainColor">密码找回</p>
27
				<ul class="loginWaySort">
28
					<li class="col-w-6 liactive">通过邮箱找回</li>
29
					<li class="col-w-6" id="gophone">通过手机找回</li>
30
				</ul>
31
				<div class="waysBlock">
32
					<div class="loginWays">
33
						<!--通过邮箱找回-->
34
						<div class="waysThis emailmain">
35
							<!--邮箱找回第一步-->
36
							<ul class="cmpAllUl cmpCoverUl emailOne" >
37
								<li>
38
									<ul class="form_head clearfix">
39
										<li class="col-w-4 stepActive">
40
											<span class="icon_step step1"></span>
41
											输入邮箱
42
										</li>
43
										<li class="col-w-4">
44
											<span class="icon_step step2"></span>
45
											接收密码找回邮件
46
										</li>
47
										<li class="col-w-4">
48
											<span class="icon_step step3"></span>
49
											重置密码
50
										</li>
51
									</ul>
52
								</li>
53
								<li>
54
									<input type="email" class="frmtype frmtypeW companyEmail" id="email" placeholder="请输入邮箱地址" onBlur="emailVal(this)" onfocus="getFocus(this)" onkeyup="checkEmailButtn(this)"/>
55
				    				<div class="frmmsg msgLog1"><span></span></div>
56
								</li>
57
								<li>
58
									<button type="button" class="frmtype frmtypeW btnModel headRadius save-block loginSubmit" disabled onclick="backPassword(this,1)">下一步</button>
59
								</li>
60
								<li>
61
									<a href="login.html" class="fontLink">又想起来了</a>
62
								</li>
63
							</ul>
64
							<!--邮箱找回第二步-->
65
							<ul class="cmpAllUl cmpCoverUl displayNone emailTow">
66
								<li>
67
									<ul class="form_head clearfix">
68
										<li class="col-w-4 stepActive">
69
											<span class="icon_step step1"></span>
70
											输入邮箱
71
										</li>
72
										<li class="col-w-4 stepActive">
73
											<span class="icon_step step2g"></span>
74
											接收密码找回邮件
75
										</li>
76
										<li class="col-w-4">
77
											<span class="icon_step step3"></span>
78
											重置密码
79
										</li>
80
									</ul>
81
								</li>
82
								<li class="alignCenter">
83
									<p class="importTip">密码找回邮件已发送至:<br />
84
										<span class="mainColor" id="emailShow"></span>
85
									</p>
86
									<p class="smalltip">请您在10分钟内登录您的企业邮箱,接收邮件,<br />点击链接后即可重置密码。</p>
87
								</li>
88
								<li>
89
									<button type="button" class="frmtype frmtypeW btnModel headRadius save-block" id="emailGo" onclick="backPassword(this,2)">登录邮箱</button>
90
								</li>
91
							</ul>
92
							
93
						</div>
94
						
95
						<!--通过手机找回-->
96
						<div class="waysThis displayNone phonemain">
97
							<!--手机找回第一步-->
98
							<ul class="cmpAllUl cmpCoverUl phoneOne">
99
								<li>
100
									<ul class="form_head clearfix">
101
										<li class="col-w-6 stepActive">
102
											<span class="icon_step step1"></span>
103
											验证手机
104
										</li>
105
										<li class="col-w-6">
106
											<span class="icon_step step2"></span>
107
											重置密码
108
										</li>
109
									</ul>
110
								</li>
111
								<li>
112
									<input type="phone" class="frmtype frmtypeW username" placeholder="请输入手机号码" onBlur="phoneVal(this)" onfocus="getFocus(this)" onkeyup="checkLoginButtn(this)"/>
113
				    				<div class="frmmsg msgLog1"><span></span></div>
114
								</li>
115
								<li>
116
									<div class="col-w-8">
117
										<input type="tel" class="frmtype frmtypeW companysc" style="width: 98%;" placeholder="请输入短信验证码" id="companysc" onblur="codeVerification(this)" onfocus="getFocus(this)" onkeyup="checkLoginButtn(this)"/>
118
									    <div class="frmmsg msgCmp03"><span></span></div>
119
								    </div>
120
								    <div class="col-w-4">
121
								    	<button type="button"  class="frmtype frmtypeW btnModel headRadius" id="getcode" onclick="phoneSend(this)">获取验证码</button>
122
								    </div>
123
								</li>
124
								<li>
125
									<button type="button" disabled class="frmtype frmtypeW btnModel save-block headRadius loginSubmit" onclick="backPassword(this,3)">下一步</button>
126
								</li>
127
								<li>
128
									<a href="login.html" class="fontLink">又想起来了</a>
129
								</li>
130
							</ul>
131
							<!--手机找回第二步-->
132
							<ul class="cmpAllUl cmpCoverUl displayNone phoneTwo">
133
								<li>
134
									<ul class="form_head clearfix">
135
										<li class="col-w-6 stepActive">
136
											<span class="icon_step step1"></span>
137
											验证手机
138
										</li>
139
										<li class="col-w-6 stepActive">
140
											<span class="icon_step step2g"></span>
141
											重置密码
142
										</li>
143
									</ul>
144
								</li>
145
								<li>
146
									<input type="password" class="frmtype frmtypeW username" placeholder="请设置登录密码" id="newPassword" onBlur="passwordVal(this)" onfocus="getFocus(this)" onkeyup="checkLoginButtn(this)"/>
147
				    				<div class="frmmsg msgLog3"><span></span></div>
148
								</li>
149
								<li>
150
									<input type="password" class="frmtype frmtypeW companysc" placeholder="请再次输入密码确认" id="newPasswordok" onBlur="passwordVal(this)" onfocus="getFocus(this)" onkeyup="checkLoginButtn(this)" />
151
				    				<div class="frmmsg msgLog3"><span></span></div>
152
								</li>
153
								<li>
154
									<button type="button" disabled class="frmtype frmtypeW btnModel save-block headRadius loginSubmit" onclick="backPassword(this,4)">重置密码</button>
155
									<div class="frmmsg msgCmp4"><span></span></div>
156
								</li>
157
							</ul>
158
						</div>
159
					</div>
160
				</div>
161
					
162
			</form>
163
		</div>
164
	</div>
165
</div>
166
<script type="text/javascript"src="js/jquery.cookie.js"></script>
167
<script type="text/javascript"src="js/jquery.similar.msgbox.js"></script>
168
<script type="text/javascript" src="js/common.js"></script>
169
<script type="text/javascript" src="js/pwdFindNew.js"></script>
170

171
</body>
172
</html>

+ 76 - 0
pwdResult.html

@ -0,0 +1,76 @@
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 type="text/css" rel="stylesheet" href="css/bootstrap.min.css">
9
<link type="text/css" rel="stylesheet" href="css/reset.css">
10
<link type="text/css" rel="stylesheet" href="css/common.css">
11
<link type="text/css" rel="stylesheet" href="css/genindex.css">
12
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
13
</head>
14
<body class="covbodyBg">
15
<div class="containerCon">
16
	<a href="index.html" class="headlogo signLogo"></a>
17
</div>
18
<!--中间-->
19
<div id="container">
20
	<div class="containerCon contConP">
21
		<div class="covFrmblock">
22
			<form class="cmpAllFrm">
23
				<p class="h1Font alignCenter mainColor">密码找回</p>
24
				<div class="waysBlock">
25
					<div class="loginWays">
26
						<!--找回密码成功-->
27
						<ul class="cmpAllUl cmpCoverUl displayNone" id="VerificationOk">
28
							<li class="successImg"></li>
29
							<li class="alignCenter">
30
								<p class="importTip">密码找回成功,快去登录吧!</p>
31
							</li>
32
							<!--验证激活成功-已登录时隐藏按钮-->
33
							<li>
34
								<a href="login.html"><button type="button" class="frmtype frmtypeW btnModel headRadius save-block" id="logon">登录</button></a>
35
							</li>
36
						</ul>
37
						<!--邮箱链接失效-->
38
						<ul class="cmpAllUl cmpCoverUl displayNone" id="VerificationNo">
39
							<li class="failImg"></li>
40
							<li class="alignCenter">
41
								<p class="importTip">很抱歉,当前的链接已失效</p>
42
								<p class="smalltip alignCenter" id="smalltip">小提醒:邮件内的链接有效时长为10分钟。</p>
43
							</li>
44
							<li>
45
								<a href="pwdFindNew.html"><button type="button" class="frmtype frmtypeW btnModel headRadius save-block" id="resetPassword">重新找回密码</button>
46
							</li>
47
						</ul>
48
					</div>
49
				</div>
50
					
51
			</form>
52
		</div>
53
	</div>
54
</div>
55
<script type="text/javascript"src="js/jquery.cookie.js"></script>
56
<script type="text/javascript"src="js/jquery.similar.msgbox.js"></script>
57
<script type="text/javascript" src="js/common.js"></script>
58
<script type="text/javascript">
59
	$(function(){
60
		var num = GetQueryString('num');
61
		if(num==1){
62
			$("#VerificationOk").removeClass("displayNone");
63
		}else{
64
			$("#VerificationNo").removeClass("displayNone");
65
		}
66
		
67
	})
68
	$("#logon").click(function(){
69
		location.href="login.html";
70
	});
71
	$("#resetPassword").click(function(){
72
		location.href="pwdFindNew.html";
73
	})
74
</script>
75
</body>
76
</html>

+ 81 - 0
regResult.html

@ -0,0 +1,81 @@
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 type="text/css" rel="stylesheet" href="css/bootstrap.min.css">
9
<link type="text/css" rel="stylesheet" href="css/reset.css">
10
<link type="text/css" rel="stylesheet" href="css/common.css">
11
<link type="text/css" rel="stylesheet" href="css/genindex.css">
12
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
13
</head>
14
<body class="covbodyBg">
15
<div class="containerCon">
16
	<a href="index.html" class="headlogo signLogo"></a>
17
</div>
18
<!--中间-->
19
<div id="container">
20
	<div class="containerCon contConP">
21
		<div class="covFrmblock">
22
			<form class="cmpAllFrm">
23
				<p class="h1Font alignCenter mainColor">注册科袖</p>
24
				<div class="waysBlock">
25
					<div class="loginWays">
26
						<!--注册成功-->
27
						<ul class="cmpAllUl cmpCoverUl displayNone" id="success">
28
							<li class="successImg"></li>
29
							<li class="alignCenter">
30
								<p class="importTip">注册成功,快去登录吧!</p>
31
							</li>
32
							<!--验证激活成功-已登录时隐藏按钮-->
33
							<li>
34
								<a href="login.html"><button type="button" class="frmtype frmtypeW btnModel headRadius save-block">登录</button></a>
35
							</li>
36
						</ul>
37
						<!--邮箱链接失效-->
38
						<ul class="cmpAllUl cmpCoverUl displayNone" id="fail">
39
							<li class="failImg"></li>
40
							<li class="alignCenter">
41
								<p class="importTip">很抱歉,当前的链接已失效</p>
42
								<p class="smalltip alignCenter" id="smalltip">小提醒:邮件内的链接有效时长为10分钟。</p>
43
							</li>
44
							<!--验证激活成功-已登录时隐藏按钮-->
45
							<li>
46
								<a href="register.html"><button type="button" class="frmtype frmtypeW btnModel headRadius save-block">重新注册</button></a>
47
							</li>
48
						</ul>
49
					</div>
50
				</div>
51
			</form>
52
		</div>
53
	</div>
54
</div>
55
<script type="text/javascript"src="js/jquery.cookie.js"></script>
56
<script type="text/javascript"src="js/jquery.similar.msgbox.js"></script>
57
<script type="text/javascript" src="js/common.js"></script>
58
<script type="text/javascript">
59
	$(document).ready(function(){
60
		var oFlag=GetQueryString("sc");
61
		$.ajax("/ajax/regmail/" + oFlag, {
62
			type: "GET",
63
			async: true,
64
			success: function(data) {
65
				if(data.success) {
66
					$("#success").show();
67
				} else {
68
					$("#fail").show();
69
				}
70
			},
71
			error: function() {
72
				//$.MsgBox.Alert('消息提醒','邮箱注册失败')
73
				location.href = "bind-mail-no.html";
74
			},
75
			dataType: 'json'
76
		});
77
	})
78
	
79
</script>
80
</body>
81
</html>

+ 97 - 140
register.html

@ -1,154 +1,111 @@
1
 <!DOCTYPE html>
1
<!DOCTYPE html>
2 2
<html>
3 3
<head>
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 7
<title>科袖网-搭建企业与专家的桥梁</title>
8
<link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" />
9
<link rel="stylesheet" href="css/reset.css" />
10
<link type="text/css" href="css/login.css" rel="stylesheet">
8
<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css">
9
<link type="text/css" rel="stylesheet" href="css/reset.css">
10
<link type="text/css" rel="stylesheet" href="css/common.css">
11
<link type="text/css" rel="stylesheet" href="css/genindex.css">
11 12
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
12
<style type="text/css">
13
#header{ width:100%; height:50%; background:#E28D30; }
14
#footer{ width:100%; height:50%; background:#E8E8E8;}
15
</style>
16 13
</head>
17

18
<body>
19
<div class="completedcover">
20
    <!--/*是否完善信息提示*/-->
21
    <div class="vercompleted">
22
        <h3>已经完成注册,是否现在去完善个人信息?</h3>
23
        <div class="verbtnbox">
24
            <a class="verbtn" id="todayPerfect">现在完善</a>
25
            <a class="verbtn"id="afterSay">以后再说</a>
26
        </div>
27
    </div>
14
<body class="covbodyBg">
15
<div class="containerCon">
16
	<a href="index.html" class="headlogo signLogo"></a>
28 17
</div>
29

30
<div class="coverbox">
31
		<!--注册!-->
32
		<div class="loginbox registerbox" id="Suspensionbox" style=" width: 520px;">
33
			<div class="login-title"></div>
34
			<div class="logo">
35
				<a href="index.html"><img src="images/logo.png"></a>
36
			</div>
37
            <div class="logindown">
38
            	<table>
39
                    <tr>
40
                        <td>
41
                           <div class="login-input"><!--  loginleft -->
42
                                <div class="regbox">
43
                                    <div class="regtab">
44
                                        <div class="regtabcon">
45
                                            <div class="phone active">
46
                                                <img src="images/phoneIcon2.png"><span>手机注册</span>
47
                                            </div>
48
                                            <div class="mail">
49
                                                <img src="images/mailIcon.png"><span>邮箱注册</span>
50
                                            </div>
51
                                        </div>
52
                                        <div class="styleline"></div>
53
                                    </div>
54
                                    <div class="regtablist">
55
                                        <form id="phone_form" method="post" action="javascript:;">
56
                                            <ul>
57
                                                <li><input class="inputtxt" type="text" placeholder="请输入您的手机号码" id="lp_phone" name="phone" autocomplete="off"></li>
58
                                                <li><div class="msg msgphone1"><span></span></div></li>
59
                                                <!-- <li class="yzmli">
60
                                                    <input class="inputtxt" type="text" placeholder="请证明你不是机器人" id="lp_yzm" name="yzm" autocomplete="on">
61
                                                    <div class="yzmbox">
62
                                                        <img class="yzm" src="images/yzmimg1.png" width="100%" height="100%">
63
                                                        <a href="javascript:;" class="reflash"></a>
64
                                                    </div>
65
                                                </li> -->
66
                                                <li><div class="msg msgphone2"><span></span></div></li>
67
                                                <li class="coderli">
68
                                                    <input class="inputtxt" type="text" placeholder="请输入短信验证码" id="lp_coder" name="coder" autocomplete="on">
69
                                                    <span class="getcode" id="getcode">免费获取验证码</span>
70
                                                    <!-- <input type="button" class="inputtxt inputtxtbtn getcode" id="getcode"> -->
71
                                                </li>
72
                                                <li> <div class="msg msgphone3"><span></span></div></li>
73
                                                <li>
74
                                                    <input class="inputtxt" type="password" placeholder="请设置密码" id="phone_password" name="password" autocomplete="off">
75
                                                </li>
76
                                                <li><div class="msg msgphone4"><span></span></div></li>
77
                                                 <li>
78
                                                    <input class="inputtxt" type="password" placeholder="请再次输入密码" id="phone_password2" name="password" autocomplete="off">
79
                                                </li>
80
                                                <li><div class="msg msgphone5"><span></span></div></li>
81
                                            </ul>
82
                                            <label for="agreeNotice" class="agreeNotice" checked="true"> 
83
                                             <em style="background-position: 0px -12px;"></em> 
84
                                             <input type="checkbox" name="checkbox" checked="true" class="gree" style="display:none;">我已阅读并同意<a href="privacy.html" target="_blank" >《科袖网用户协议》</a>
85
                                        </label> 
86
                                        <a  class="inputtxt submitBtn"id="btnn">注册</a>  
87
                                        <div class="reglinkbox">已有科袖账号 <a class="reglink" href="login.html"> 直接登录</a></div> 
88
                                        </form>
89
                                        <form id="mail_form" method="post" action="javascript:;" >
90
                                            <ul>
91
                                                <li>
92
                                                    <input class="inputtxt" type="text" placeholder="请输入您的邮箱地址" id="lp_email" name="mail" autocomplete="off">
93
                                                </li>
94
                                                <li><div class="msg msgema1"><span></span></div></li>
95
                                                <li>
96
                                                    <input class="inputtxt" type="password" placeholder="请设置密码" id="mail_password" name="password" autocomplete="off">
97
                                                </li>
98
                                                <li><div class="msg msgema2"><span></span></div></li>
99
                                                <li>
100
                                                    <input class="inputtxt" type="password" placeholder="请再次输入密码" id="mail_password1" name="password" autocomplete="off">
101
                                                </li>
102
                                                <li><div class="msg msgema3"><span></span></div></li>
103
                                            </ul>
104
                                            <label for="agreeNotice" class="agreeNotice" checked="true"> 
105
                                             <em style="background-position: 0px -12px;"></em> 
106
                                             <input type="checkbox" name="checkbox" checked="true" class="gree" style="display:none;">我已阅读并同意<a href="privacy.html" target="_blank" >《科袖网用户协议》</a>
107
                                        </label> 
108
                                        <a  class="inputtxt submitBtn"id="btnn1">注册</a> 
109
                                        <div class="reglinkbox">已有科袖账号 <a class="reglink" href="login.html">直接登录</a></div> 
110
                                         </form> 
111
                                     </div> 
112
                                </div>
113
                            </div> 
114
                        </td>
115
                        <!-- <td>
116
                             <div class="login-line">
117
                                <div class="lineb linebb"></div>
118
                                <div class="wordor"> or </div>
119
                            </div>
120
                        </td>
121
                        <td style="padding-top: 20px;">
122
                            <div class="login-other">
123
                            	<span class="other-tit">已有科袖网账号:</span>
124
                                <p class="loginlinkbox">
125
                                   <a href="login.html" class="loginlink">直接登录</a>
126
                                </p>
127
                                <span class="other-tit">使用以下帐号直接登录:</span>
128
                                <div class="login-way">
129
                                    <a href="" class="way-icon way-icon1" title="使用微信帐号登录"></a>
130
                                    <a href="" class="way-icon way-icon2" title="使用新浪微博帐号登录"></a>
131
                                    <a href="" class="way-icon way-icon3" title="使用腾讯QQ帐号登录"></a>
132
                                </div>
133
                                <div class="ecode">
134
                                    <div class="downcode"><img src="images/code.jpg" width="100%" height="100%"></div>
135
                                    <p>扫描二维码下载科袖APP</p>
136
                                </div>
137
                            </div>
138
                        </td> -->
139
                    </tr>
140
                </table>
141
                
142
            </div>
18
<!--中间-->
19
<div id="container">
20
	<div class="containerCon contConP">
21
		<div class="covFrmblock">
22
			<form class="cmpAllFrm">
23
				<p class="h1Font alignCenter mainColor">注册科袖</p>
24
				<ul class="loginWaySort">
25
					<li class="col-w-6 liactive">手机注册</li>
26
					<li class="col-w-6">邮箱注册</li>
27
				</ul>
28
				<div class="waysBlock">
29
					<div class="loginWays">
30
						<!--手机注册-->
31
						<ul class="cmpAllUl cmpCoverUl" id="regMess">
32
							<li>
33
								<input type="text" class="frmtype frmtypeW" placeholder="请输入真实姓名" id="yourName"/>
34
			    				<div class="frmmsg msgLog0"><span></span></div>
35
							</li>
36
							<li>
37
								<input type="phone" class="frmtype frmtypeW" placeholder="请输入手机号码" id="lp_phone"/>
38
			    				<div class="frmmsg msgLog1"><span></span></div>
39
							</li>
40
							<li>
41
								<div class="col-w-8">
42
									<input type="tel" class="frmtype frmtypeW companysc" style="width: 98%;" placeholder="请输入短信验证码"/>
43
								    <div class="frmmsg msgCmp03"><span></span></div>
44
							    </div>
45
							    <div class="col-w-4">
46
							    	<button type="button"  class="frmtype frmtypeW btnModel headRadius" id="getcode">获取验证码</button>
47
							    </div>
48
							</li>
49
							<li>
50
								<input type="password" class="frmtype frmtypeW" placeholder="请设置登录密码" id="phone_password"/>
51
			    				<div class="frmmsg msgLog3"><span></span></div>
52
							</li>
53
							<li>
54
								<!--未选中状态c-sign-on_button_xuanze_nor.png-->
55
								<img class="cmpAgree ifxuanze" src="images/c-sign-on_button_xuanze_hig.png" />
56
								<span>我已阅读并同意<a class="mainColor" href="privacy.html">《科袖用户协议》</a></span>
57
							</li>
58
							<li>
59
								<button type="button" disabled class="frmtype frmtypeW btnModel save-block headRadius" id="reg">注册</button>
60
							</li>
61
						</ul>
62
						<!--邮箱注册-->
63
						<ul class="cmpAllUl cmpCoverUl displayNone" id="mailMess">
64
							<li>
65
								<input type="text" class="frmtype frmtypeW" placeholder="请输入真实姓名" id='mailName'/>
66
			    				<div class="frmmsg msgLog0"><span></span></div>
67
							</li>
68
							<li>
69
								<input type="email" class="frmtype frmtypeW" placeholder="请输入邮箱地址" id="mailAddress"/>
70
			    				<div class="frmmsg msgLog1"><span></span></div>
71
							</li>
72
							<li>
73
								<input type="password" class="frmtype frmtypeW" placeholder="请设置登录密码" id="mailLoginPassword"/>
74
			    				<div class="frmmsg msgLog3"><span></span></div>
75
							</li>
76
							<li>
77
								<!--未选中状态c-sign-on_button_xuanze_nor.png-->
78
								<img class="cmpAgree ifxuanze" src="images/c-sign-on_button_xuanze_hig.png" />
79
								<span>我已阅读并同意<a class="mainColor" href="privacy.html">《科袖用户协议》</a></span>
80
							</li>
81
							<li>
82
								<button type="button" disabled class="frmtype frmtypeW btnModel save-block headRadius" id="mailReg">注册</button>
83
							</li>
84
						</ul>
85
					</div>
86
					<div class="clearfix" style="margin-top:-15px;">
87
						<span class="floatR" style="color:#999">已有账号?<a href="login.html" class="fontLink">立即登录</a></span>
88
					</div>
89
				</div>
90
				<!--邮箱第二步-->
91
				<ul class="cmpAllUl cmpCoverUl maliTo displayNone">
92
					<li class="alignCenter">
93
						<p class="importTip" style="margin:8px 0;">账户激活邮件已发送至:<br />
94
							<span class="mainColor" id="omaile"></span>
95
						</p>
96
						<p class="smalltip alignCenter">请您在10分钟内登录您的邮箱,接收邮件,<br />点击链接后即可激活账户。</p>
97
					</li>
98
					<li>
99
						<button type="button" class="frmtype frmtypeW btnModel headRadius save-block" id="loginMail">登录邮箱</button>
100
					</li>
101
				</ul>	
102
			</form>
143 103
		</div>
104
	</div>
144 105
</div>
145
		
146
<div id="header"></div>
147
<div id="footer"></div>
148

149
<script type="text/javascript" src="js/jquery.cookie.js"></script>
150
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
106
<script type="text/javascript"src="js/jquery.cookie.js"></script>
107
<script type="text/javascript"src="js/jquery.similar.msgbox.js"></script>
151 108
<script type="text/javascript" src="js/common.js"></script>
152 109
<script type="text/javascript" src="js/register.js"></script>
153 110
</body>
154
</html>
111
</html>

+ 204 - 0
searchNew.html

@ -0,0 +1,204 @@
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" type="image/x-icon" href="images/favicon.png" media="screen" />
9
<link href="css/bootstrap.min.css" rel="stylesheet">
10
<link type="text/css" href="css/common.css" rel="stylesheet">
11
<link type="text/css" href="css/genindex.css" rel="stylesheet">
12
<script type="text/javascript" src="js/jquery-1.11.1.js"></script>
13

14
</head>
15

16
<body>
17
<header id="header">
18
	<script src="js/header.js"></script>
19
</header>
20
<div id="container">
21
	<div class="containerCon">
22
		<div class="contentCon clearfix">
23
			<div class="col-w-12">
24
				<div class="searchdiv">
25
					<input type="search" name="searchsome" class="searchsome col-w-12" placeholder="筛选" />
26
					<span class="searchgo">搜索</span>
27
				</div>
28
				<div class="filterdiv">
29
					<ul class="choosediv clearfix">
30
						<li class="liactive">找专家</li>
31
						<li>找资源</li>
32
						<li>找文章</li>
33
					</ul>
34
					<ul class="filterListNew clearfix">
35
						<li>
36
							<span class="leftsort">学术领域:</span>
37
							<ul class="filterUl filterUlactive">
38
								<li>不限</li>
39
					       		<li>材料检测</li>
40
					       		<li>防腐蚀</li>
41
					       		<li class="filterCurrent">材料表面与界面</li>
42
					       		<li>微晶金属材料</li>
43
					       		<li>黑色金属</li>
44
					       		<li>金属基复合材料</li>
45
					       		<li>材料检测</li>
46
					       		<li>防腐蚀</li>
47
					       		<li>材料表面与界面</li>
48
					       		<li>微晶金属材料</li>
49
					       		<li>黑色金属</li>
50
					       		<li>金属基复合材料</li>
51
					       	</ul>
52
					       	<span class="rightbtn">全部<em class="unfoldtr"></em></span>
53
				       	</li>
54
				       	<li>
55
							<span class="leftsort">应用行业:</span>
56
							<ul class="filterUl">
57
								<li class="filterCurrent">不限</li>
58
					       		<li>材料检测</li>
59
					       		<li>防腐蚀</li>
60
					       		<li>材料表面与界面</li>
61
					       		<li>微晶金属材料</li>
62
					       		<li>黑色金属</li>
63
					       		<li>金属基复合材料</li>
64
					       		<li>材料检测</li>
65
					       		<li>防腐蚀</li>
66
					       		<li>材料表面与界面</li>
67
					       		<li>微晶金属材料</li>
68
					       		<li>黑色金属</li>
69
					       		<li>金属基复合材料</li>
70
					       	</ul>
71
					       	<span class="rightbtn">全部<em class="foldtr"></em></span>
72
				       	</li>
73
				       	<!--选择“找文章”时,所在城市 移除节点-->
74
				       	<li>
75
							<span class="leftsort">所在城市:</span>
76
							<ul class="filterUl">
77
								<li class="filterCurrent">不限</li>
78
					       		<li>材料检测</li>
79
					       		<li>防腐蚀</li>
80
					       		<li>材料表面与界面</li>
81
					       		<li>微晶金属材料</li>
82
					       		<li>黑色金属</li>
83
					       		<li>金属基复合材料</li>
84
					       		<li>材料检测</li>
85
					       		<li>防腐蚀</li>
86
					       		<li>材料表面与界面</li>
87
					       		<li>微晶金属材料</li>
88
					       		<li>黑色金属</li>
89
					       		<li>金属基复合材料</li>
90
					       	</ul>
91
					       	<span class="rightbtn">全部<em class="foldtr"></em></span>
92
				       	</li>
93
					</ul>
94
				</div>
95
				<div class="listdiv">
96
					<!--找人-->
97
					<ul class="listitemdiv">
98
						<li>
99
							<a class="linkhref" href="information-brow.html">
100
								<div class="lefthead userheadt userRadius"></div>
101
								<div class="centercon">
102
									<p class="h1font">
103
										<span class="nameSpan">路雅楠</span>
104
										<em class="authiconNew authicon-pro" title="科袖认证专家"></em>
105
									</p>
106
									<p class="h2font">教授级高工,董事长监CEO</p>
107
									<p class="h2font ellipsisSty">研究方向:材料腐蚀与防护;材料腐蚀与防护;材料腐蚀基因组的工程和应用;材料腐蚀与防护;材料腐蚀基因组的工程和应用;材料腐蚀与防护;材料腐蚀基因组的工程和应用;</p>
108
								</div>
109
							</a>
110
							<span class="rightop">咨询</span>
111
						</li>
112
					</ul>
113
					<!--找资源-->
114
					<ul class="listitemdiv listmorediv">
115
						<li>
116
							<a class="linkhref" href="resourceInfo.html">
117
								<div class="lefthead resouhead"></div>
118
								<div class="centercon">
119
									<p class="h1font">电弧喷涂药芯焊丝实验服务</p>
120
									<p class="h2font ellipsisSty-2">应用用途:材料腐蚀与防护;材料腐蚀基因组的工程和应用;材料腐蚀与防护;材料腐蚀基因组的工程和应用;材料腐蚀与防护;材料腐蚀基因组的工程和应用;材料腐蚀与防护;材料腐蚀基因组的工程和应用;材料腐蚀与防护;材料腐蚀基因组的工程和应用;材料腐蚀与防护;材料腐蚀基因组的工程和应用;</p>
121
								</div>
122
							</a>
123
						</li>
124
						<li>
125
							<a class="linkhref" href="resourceInfo.html">
126
								<div class="lefthead resouhead"></div>
127
								<div class="centercon">
128
									<p class="h1font">电弧喷涂药芯焊丝实验服务</p>
129
									<p class="h2font ellipsisSty-2">应用用途:材料腐蚀与防护;材料腐蚀基因组的工程和应用;</p>
130
								</div>
131
							</a>
132
						</li>
133
					</ul>
134
					<!--找文章-->
135
					<ul class="listitemdiv listmorediv">
136
						<li>
137
							<a class="linkhref" href="articalInfo.html">
138
								<div class="lefthead articalhead"></div>
139
								<div class="centercon">
140
									<p class="h1font">电弧喷涂药芯焊丝实验服务电弧喷涂药芯焊丝实验服务电弧喷涂药芯焊丝实验服务电弧喷涂药芯焊丝实验服务</p>
141
									<p class="h1font">
142
										<span class="nameSpan">路雅楠</span>
143
										<em class="authiconNew authicon-pro" title="科袖认证专家"></em>
144
									</p>
145
								</div>
146
							</a>
147
						</li>
148
						<li>
149
							<a class="linkhref" href="articalInfo.html">
150
								<div class="lefthead articalhead"></div>
151
								<div class="centercon">
152
									<p class="h1font">电弧喷涂药芯焊丝实验服务电弧喷涂药电弧喷涂药芯焊丝实验服务电弧喷涂药电弧喷涂药芯焊丝实验服务电弧喷涂药芯焊丝实验服务电弧喷涂药芯焊丝实验服务电弧喷涂药芯焊丝实验服务</p>
153
									<p class="h1font">
154
										<span class="nameSpan">路雅楠</span>
155
										<em class="authiconNew authicon-real" title="实名认证用户"></em>
156
									</p>
157
								</div>
158
							</a>
159
						</li>
160
					</ul>
161
					<div class="tcdPageCode"></div>
162
				</div>
163
			</div>
164
		</div>
165
	</div>
166
</div>
167
<footer>
168
	<script type="text/javascript" src="js/footer.js"></script>
169
</footer>
170

171
<script type="text/javascript" src="js/jquery.cookie.js"></script>
172
<script type="text/javascript" src="js/jquery.similar.msgbox.js"></script>
173
<script type="text/javascript" src="js/jquery.page.js"></script>
174
<script type="text/javascript" src="js/common.js"></script>
175
<script type="text/javascript">
176
	$(".tcdPageCode").createPage({
177
		pageCount: Math.ceil(16 / 10),
178
		current: 2
179
	});
180
	//切换搜索范围
181
	$(".choosediv").on("click","li",function(){
182
		$(".choosediv li").removeClass("liactive");
183
		this.classList.add("liactive");
184
	})
185
	//筛选条件的选择
186
	$(".filterUl").on("click","li",function(){
187
		this.parentNode.querySelector('li.filterCurrent').classList.remove("filterCurrent");
188
		this.classList.add("filterCurrent");
189
	})
190
	//筛选条件的展开关闭
191
	$(".filterListNew").on("click",".rightbtn",function(){
192
		if(this.querySelector("em").className == "unfoldtr") {
193
			this.querySelector("em").classList.remove("unfoldtr");
194
			this.querySelector("em").classList.add("foldtr");
195
			this.parentNode.querySelector(".filterUl").classList.remove("filterUlactive");
196
		} else {
197
			this.querySelector("em").classList.add("unfoldtr");
198
			this.querySelector("em").classList.remove("foldtr");
199
			this.parentNode.querySelector(".filterUl").classList.add("filterUlactive");
200
		}
201
	})
202
</script>
203
</body>
204
</html>