forked from yuqing0901/yrProject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
company.html
516 lines (491 loc) · 17 KB
/
company.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<title></title>
<meta charset="utf-8">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="title" content="">
<!--meta name="viewport" content="width=device-width, initial-scale=1"-->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="robots" content="index, follow">
<!-- Bootstrap css -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- Bootstrap theme
<link rel="stylesheet" href="css/bootstrap-theme.min.css">-->
<!-- fontawesome css -->
<link rel="stylesheet" href="css/font-awesome.min.css">
<!-- customized css -->
<link rel="stylesheet" href="css/yr.css">
<style type="text/css">
.img-sm {
width: 50px;
height: 50px;
}
.message-textarea {
height: 95px;
border: none;
}
.linkStyle>div {
padding:15px;
border-bottom:1px solid #ddd;
border-right: 1px solid #ddd;
height: 108px;
line-height: 20px;
}
.linkStyle>div>div {
padding: 5px;
}
.noBorder {
border-right:none !important;
}
.btn-margin{
margin-top: 15px;
margin-bottom: 15px;
}
.pd20-20 {
padding-top: 20px;
padding-bottom: 20px;
}
.mItemsHeight {
margin-top: 10px;
}
.mItemsHeight div {
height: 25px;
}
.mainTopBottom {
padding: 50px 0;color:#e93100;
}
.mDynamic {
padding: 15px;
border-bottom: 1px solid #ddd;
line-height: 30px;
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<!-- left -->
<div class="col-sm-9">
<!-- person info -->
<div class="panel panel-default">
<div class="panel-body">
<div class="text-right">项目方展厅</div>
<div class="row">
<div class="col-sm-2">
<img src="img/man100.jpg"></div>
<div class="col-sm-3">
张先生<br>
<button href="" class="btn btn-cold-to-lighter btn-margin"><i class="fa fa-retweet"
aria-hidden="true"></i>交换名片
</button>
</div>
</div>
<div class="row">
<div class="col-sm-11 col-sm-offset-1 btn-margin">
所在地区<span>上海</span>
</div>
</div>
<div class="row">
<div class="col-sm-8">
<span><i class="fa fa-exclamation-triangle" aria-hidden="true"></i>投诉</span>
<span><i class="fa fa-share-alt-square" aria-hidden="true"></i>分享</span>
</div>
<!-- <div class="col-sm-4">-->
<div class="pull-right">
<button href="" class="btn btn-hot-to-lighter">约谈项目方</button>
</div>
<!-- </div>-->
</div>
</div>
</div>
<!-- info commit -->
<div class="panel panel-default">
<div class="panel-heading">
<div class="row">
<div class="col-auto">
<div class="hot-underline">发布的信息</div>
</div>
</div>
</div>
<div class="panel-body">
<div class="row">
<div class="col-sm-12">
<h5><a href="#" class="title">浙江绍兴金属表面处理(电泳漆)加工项目融资50万元</a></h5>
</div>
<div class="mItemsHeight">
<div class="col-md-4 col-sm-6 ">
<span>融资方式 </span><span>债权融资,股权融资</span>
</div>
<div class="col-md-4 col-sm-6">
<span>项目阶段 </span><span>初创期</span>
</div>
<div class="col-md-4 col-sm-6">
<span>所属行业 </span><span>化学化工</span>
</div>
<div class="col-md-4 col-sm-6">
<span>所在地区 </span><span>浙江省</span>
</div>
<div class="col-md-4 col-sm-6">
<span>融资金额 </span><span>50万</span>
</div>
</div>
<!--<div class="col-sm-2">-->
<div class="pull-right">
<button href="" class="btn btn-hot-to-lighter">约谈项目方</button>
</div>
<!-- </div>-->
</div>
<div class="row">
<div class="col-sm-12">
<h5><a href="#" class="title">浙江绍兴金属表面处理(电泳漆)加工项目融资50万元</a></h5>
</div>
<div class="mItemsHeight">
<div class="col-md-4 col-sm-6">
<span>融资方式 </span><span>债权融资,股权融资</span>
</div>
<div class="col-md-4 col-sm-6">
<span>项目阶段 </span><span>初创期</span>
</div>
<div class="col-md-4 col-sm-6">
<span>所属行业 </span><span>化学化工</span>
</div>
<div class="col-md-4 col-sm-6">
<span>所在地区 </span><span>浙江省</span>
</div>
<div class="col-md-4 col-sm-6">
<span>融资金额 </span><span>50万</span>
</div>
</div>
<!--<div class="col-sm-2">-->
<div class="pull-right">
<button href="" class="btn btn-hot-to-lighter">约谈项目方</button>
</div>
<!-- </div>-->
</div>
</div>
</div>
<!-- overview -->
<div class="panel panel-default">
<div class="panel-heading">
<ul class="nav nav-panel-tabs tab-cold-overline">
<li role="presentation" class="active"><a href="#overview" data-toggle="tab">概况</a></li>
<li role="presentation"><a href="#dynamic" data-toggle="tab">动态</a></li>
<li role="presentation"><a href="#contacts" data-toggle="tab">人脉</a></li>
<li role="presentation"><a href="#message" data-toggle="tab">留言</a></li>
</ul>
</div>
<div class="panel-body">
<div class="tab-content">
<!-- 概况 -->
<div class="tab-pane active " id="overview">
<div class="text-center mainTopBottom"><i class="fa fa-exclamation-circle"></i>该用户暂时还没有任何概况信息</div>
</div>
<!-- 动态 -->
<div class="tab-pane" id="dynamic">
<div class="mDynamic">
<div>新发布了一个项目<a href="" class="title">江苏某环保产业园项目融资3000万-5亿元</a></div>
<div>所属行业:节能环保 | 融资金额:3000万-5亿
<div class="pull-right">07月12日</div>
</div>
</div>
<div class="mDynamic">
<div>新发布了一个项目<a href="" class="title">江苏某环保产业园项目融资3000万-5亿元</a></div>
<div>所属行业:节能环保 | 融资金额:3000万-5亿
<div class="pull-right">07月12日</div>
</div>
</div>
<nav>
<ul class="pagination">
<li>
<a href="#" aria-label="Previous">
<span aria-hidden="true">«</span>
</a>
</li>
<li><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li>
<a href="#" aria-label="Next">
<span aria-hidden="true">»</span>
</a>
</li>
</ul>
</nav>
</div>
<!-- 人脉 -->
<div class="tab-pane" id="contacts">
<ul class="nav nav-tabs">
<li role="presentation" class="active"><a href="#all" data-toggle="tab">全部</a></li>
<li role="presentation"><a href="#business-friend" data-toggle="tab">商友</a></li>
<li role="presentation"><a href="#send-card" data-toggle="tab">发出名片</a></li>
<li role="presentation"><a href="#get-card" data-toggle="tab">收到名片</a></li>
</ul>
<div class="tab-content">
<!-- 全部 -->
<div class="tab-pane active" id="all">
<div class="row">
<div class="col-sm-2 col-md-1"><img src="img/man100.jpg" class="img-sm"></div>
<div class="col-sm-10 col-md-11">
<div>张先生<br>商友 31 | 发出名片 47 | 收到名片 74 | 信息 1</div>
<button href="" class="btn btn-cold-to-lighter btn-sm"><i class="fa fa-retweet"
aria-hidden="true"></i>交换名片
</button>
</div>
</div>
</div>
<!-- 商友 -->
<div class="tab-pane" id="business-friend">
<div class="text-center mainTopBottom"><i class="fa fa-exclamation-circle" aria-hidden="true"></i>该用户暂时还没有商友信息
</div>
</div>
<!-- 发出名片 -->
<div class="tab-pane" id="send-card">
<div class="text-center mainTopBottom"><i class="fa fa-exclamation-circle" aria-hidden="true"></i>该用户暂时还没有发送过名片
</div>
</div>
<!-- 收到名片 -->
<div class="tab-pane" id="get-card">
<div class="row">
<div class="col-sm-2 col-md-1"><img src="img/man100.jpg" class="img-sm"></div>
<div class="col-sm-10 col-md-11">
<div>张先生<br>商友 31 | 发出名片 47 | 收到名片 74 | 信息 1</div>
<button href="" class="btn btn-cold-to-lighter btn-sm"><i class="fa fa-retweet"
aria-hidden="true"></i>交换名片
</button>
</div>
</div>
</div>
</div>
</div>
<!-- 留言 -->
<div class="tab-pane" id="message">
<form id="send-message">
<div class="panel panel-default">
<div class="panel-body">
<div>用户留言<span class="pull-right">还可以输入x字</span></div>
<textarea name="message.content"
class="message-textarea form-control"></textarea>
<input type="hidden" name="message.fk_type" value="1">
</div>
<div class="panel-footer">
<div class="row">
<div class="form-group">
<div class="col-md-2 col-sm-6">
<input type="text" placeholder="姓名" class="form-control">
</div>
<div class="col-md-2 col-sm-6">
<input type="text" placeholder="手机号码" class="form-control">
</div>
<div class="col-md-4 col-sm-12">
<div>输入姓名与电话留言后方便对方与您联系!</div>
</div>
<div class="col-sm-2">
<select class="form-control" name="message.target">
<option value="1">公开</option>
<option value="2">仅对方可见</option>
<option value="3">会员可见</option>
</select>
</div>
<button class="btn btn-hot-to-lighter pull-right" type="submit"
id="submit-message">发布留言
</button>
</div>
</div>
</div>
</div>
</form>
<div id="message-board">
<div>
<div class="text-center">
<i class="fa fa-exclamation-circle" aria-hidden="true"></i>暂时还没有用户留言
</div>
<div class="col-sm-1">
<img src="img/man100.jpg" class="img-sm img-responsive">
</div>
<div class="col-sm-8">
<div class="row">
<div id="message-name" class="col-sm-2">
<a href="" class="title">吴先生</a>
</div>
<div id="message-company" class="col-sm-10">
安徽省合肥市某IT互联网公司 董事长
</div>
</div>
<div id="message-area">
所在地区:安徽省合肥市瑶海区
</div>
<div id="message-content">
您好 安徽首家VR应用技术公司需求合作
</div>
<div id="message-reply">
<span>回复:</span>你好 ABC
</div>
</div>
<div class="col-sm-3">
2016-07-27 12:11:50
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- right -->
<div class="col-sm-3">
<!-- contact -->
<div class="panel panel-default">
<div class="panel-body">
<div class="text-center">
<div class="row linkStyle">
<div class="col-sm-4">
<div><i class="fa fa-tag" aria-hidden="true"></i><br>发出投递</div>
<div>0</div>
</div>
<div class="col-sm-4">
<div><i class="fa fa-folder-open" aria-hidden="true"></i><br>被约谈</div>
<div>0</div>
</div>
<div class="col-sm-4 noBorder">
<div><i class="fa fa-folder-open" aria-hidden="true"></i><br>收到留言</div>
<div>0</div>
</div>
<div class="col-sm-4">
<div><i class="fa fa-user" aria-hidden="true"></i><br>商友</div>
<div>0</div>
</div>
<div class="col-sm-4">
<div><i class="fa fa-heart" aria-hidden="true"></i><br>已发名片</div>
<div>0</div>
</div>
<div class="col-sm-4 noBorder">
<div><i class="fa fa-thumbs-up" aria-hidden="true"></i><br>收到名片</div>
<div>0</div>
</div>
</div>
<!-- contact way -->
<button href="" class="btn btn-hot-to-lighter btn-margin">查看联系方式</button>
<div class="text-center">联系时请说明来自易融圈</div>
</div>
</div>
</div>
<!-- project browsed -->
<div class="panel panel-default">
<div class="panel-heading">
<div class="row">
<div class="col-auto">
<div class="hot-underline">最近浏览的项目方</div>
</div>
</div>
</div>
<div class="panel-body pd20-20">
<div class="row">
<div class="col-sm-3"><img src="" alt="头像" class="img-responsive img-circle"></div>
<div class="col-sm-5">
<div><a href="" class="title">曹先生</a></div>
<div>总经理</div>
<div><button class="btn btn-cold-to-lighter"><i class="fa fa-retweet"></i>交换名片</button></div>
</div>
</div>
<div class="row">
<div class="col-sm-3"><img src="" alt="头像" class="img-responsive img-circle"></div>
<div class="col-sm-5">
<div><a href="" class="title">曹先生</a></div>
<div>总经理</div>
<div><button class="btn btn-cold-to-lighter"><i class="fa fa-retweet"></i>交换名片</button></div>
</div>
</div>
<div class="row">
<div class="col-sm-3"><img src="" alt="头像" class="img-responsive img-circle"></div>
<div class="col-sm-5">
<div><a href="" class="title">曹先生</a></div>
<div>总经理</div>
<div><button class="btn btn-cold-to-lighter"><i class="fa fa-retweet"></i>交换名片</button></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- jQuery -->
<script src="js/jquery-1.11.3.js"></script>
<!-- Bootstrap JavaScript -->
<script src="js/bootstrap.js"></script>
<!-- custom js
<script src="js/请输入.js"></script>-->
<script type="text/javascript">
$(document).ready(function () {
// ajax get message
function getMessage() {
$.ajax({
type: 'GET',
// url: '115.236.94.196:30000/blade/message/list/1/1',
url: 'mlist.json',
dataType: 'json',
contentType: 'application/json;charset=UTF-8',
success: function (mdata) {
var str = '';
// set html
if (mdata.data[0] == undefined) {
var str = '<p class="text-center"><i class="fa fa-exclamation-circle" aria-hidden="true"></i>暂时还没有用户留言</p>';
} else {
$.each(mdata.data, function (index, object) {
// if (true) {
//pk-user link href=115.236.94.196:30000/blade/user
var messageInfo = '<div><div class="col-xs-1"><img src="' + object.avatar + '" class="img-sm"></div><div class="col-xs-8"><div><div id="message-name" class="col-xs-2"><a href=115.236.94.196:30000/blade/user/"' + object.ext.pk_user + '" class="title">' + object.name + '</a></div><div id="message-company" class="col-xs-10">' + object.ext.company + ' ' + object.ext.company_title + '</div></div><div id="message-area">所在地区:' + object.ext.province_id + object.ext.city_id + object.ext.area_id + '</div><div id="message-content">' + object.content + '</div>';
if (object.replay != undefined) {
messageInfo = messageInfo + '<div id="message-reply"><span>回复:</span>' + object.replay.content + '</div>';
}
str += messageInfo + '</div><div class="col-xs-3">' + object.create_time + '</div></div>';
// }
});
}
// insert str to html div
$('#message-board').html($(str));
},
error: function () {
}
});
};
// post
$('#submit-message').click(function (e) {
e.preventDefault();
e.stopPropagation();
formData = $('#send-message').serialize();
getMessage();
$.ajax({
url: 'http://115.236.94.196:30000/blade/message/save',
dataType: 'text',
type: 'post',
data: formData,
contentType: 'application/json;charset=UTF-8',
success: function (data, textStatus, jQxhr) {
getMessage();
},
error: function (jqXhr, textStatus, errorThrown) {
console.log(errorThrown);
}
});
});
// pagination
$.ajax({
type: 'GET',
// url: '115.236.94.196:30000/blade/message/list/1/1',
url: 'mlist.json',
dataType: 'json',
contentType: 'application/json;charset=UTF-8',
success: function (mdata) {
},
error: function () {
}
});
});
</script>
</body>
</html>