Blame view

templates/webapp.html 26.7 KB
c4176e46d   zhuzhenchao   add file
1
2
3
4
  
  <!DOCTYPE html>
  <html lang="zh-CN">
  <head>
6d2aee2f9   zhuzhenchao   修改html
5
  	<title>秀野堂-预览</title>
c4176e46d   zhuzhenchao   add file
6
7
  	<meta name="renderer" content="webkit">
  	<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" >
6d2aee2f9   zhuzhenchao   修改html
8
9
  	<meta charset="UTF-8" name="description" content="秀野堂">
  	<meta name="keywords" content="秀野堂">
c4176e46d   zhuzhenchao   add file
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
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
  	<link rel="shortcut icon" href="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/common/images/favicon.ico" type="image/x-icon">
  	<link rel="stylesheet" href="/zhichi_frontend/static/webapp/css/pc_icomoon.css">
  	<link rel="stylesheet" href="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/pc2/common/css/common.css?version=10213">
  	<style type="text/css">
  	html {
  		height: 0;
  		overflow: visible;
  	}
  	body {
  		min-width: 1200px;
  		background-color: #fff;
  		padding-top: 10px;
      box-sizing: border-box;
      transform-origin: center 0;
      -webkit-transform-origin: center 0;
      -ms-transform-origin: center 0;
      -moz-transform-origin: center 0;
  	}
  	.preview-wrap {
  		width: 1180px;
  		margin-left: auto;
  		margin-right: auto;
  		text-align: center;
  	}
  	#phone-component {
  	  position: relative;
  	  display: inline-block;
  	  width: 332px;
        height: 678px;
  	  margin-left: 80px;
  	  margin-right: 80px;
  	  background-image: url(http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/webapp/images/phone/6s.png);
  	  background-size: 100% 100%;
  	  background-repeat: no-repeat;
  	  vertical-align: top;
  	  z-index: 999;
  	}
  	.phone-head{
  		position: absolute;
  		top: 81px;
  		left: 22px;
  		width: 288px;
  		height: 58px;
  		background-image: url(http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/webapp/images/phone-head.jpg);
  	  	background-size: 100% 100%;
  	  	background-repeat: no-repeat;
  	}
  	.phone-head span{
  		color: #fff;
  		cursor: pointer;
  		position: absolute;
  		left: 10px;
  		top: 25px;
  		font-size: 14px;
  		line-height: 25px;
  		padding-left: 14px;
  		background-image: url(http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/webapp/images/left.png);
  		background-size: auto 15px;
  		background-repeat: no-repeat;
  		background-position: left center;
  	}
  	.phone-content {
  	  position: absolute;
  	  top: 139px;
  	  left: 22px;
  	  width: 288px;
  	  height: 454px;
  	  overflow: hidden;
  	  background-color: #fff;
  	}
  	.preview-iframe {
  		display: block;
  	  position: relative;
  	  width: 320px;
  	  height: 504px;
  	  transform: scale(0.9);
      -webkit-transform: scale(0.9);
      -ms-transform: scale(0.9);
      -moz-transform: scale(0.9);
      transform-origin: 0 0;
      -webkit-transform-origin: 0 0;
      -ms-transform-origin: 0 0;
      -moz-transform-origin: 0 0;
  	  outline: none;
  	  border: none;
  	}
  	#phone-component .page::-webkit-scrollbar,
  	iframe::-webkit-scrollbar {
  	    width: 0;
  	    height: 0;
  	}
  	#phone-component .page.dialog-page {
  	  background-color: rgba(0,0,0,.5);
  	}
  	.nav-component {
  	  display: inline-block;
  	  width: 220px;
  	  margin-top: 55px;
  	  vertical-align: top;
  	  text-align: left;
  	}
  	.left-component{
  		width: 250px;
  		text-align: center;
  	}
  	.nav-component .box-title {
  	  color: #535353;
  	  font-size: 14px;
      margin-bottom: 15px;
  	}
  	.nav-component .box-title.title2{
  		margin-top: 30px;
  		margin-bottom: 15px;
  	}
  	.app-link-wrap input , .copy-link-wrap button{
  		background-color: #fff;
  		border: 1px solid #ccc;
  		color: #535353;
  		width: 220px;
  		height: 36px;
  		font-size: 14px;
  		outline: none;
  	}
  	.app-link-wrap input{
  		width: 198px;
  		height: 38px;
  		padding: 0 10px;
  		margin-bottom: 15px;
  	}
  	.nav-component .group-page-container {
  	  height: 400px;
  	  line-height: 32px;
  	  color: #fff;
  	  background-color: #fff;
  	  text-indent: 34px;
  	  border: 1px solid #ccc;
  	  overflow-y: auto;
  	}
  	.nav-component .group-page-nav .group-nav {
  	  position: relative;
  	  background-color: #8d8d8d;
  	  cursor: pointer;
  	  line-height: 40px;
  	}
  	.nav-component .group-page-nav .group-nav:before {
  	  content: '';
  	  position: absolute;
  	  left: 6px;
  	  top: 7px;
  	  width: 24px;
  	  height: 22px;
  	  background-image: url(http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/webapp/images/icons.png);
  	  background-repeat: no-repeat;
  	  background-size: auto 24px;
  	  background-position-x: -96px;
  	}
  	.nav-component .group-page-nav .group-nav:after {
  	  content: '';
  	  position: absolute;
  	  right: 12px;
  	  top: 17px;
      display: block;
      width: 14px;
      height: 9px;
  	  background-image: url(http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/webapp/images/down.png);
  	  background-size: 100% auto;
  	  background-repeat: no-repeat;
  	}
  	.nav-component .group-page-nav.active .group-nav:after {
  	  background-image: url(http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/webapp/images/up.png);
  	}
  	.nav-component .group-page-nav .page-navs {
  	  display: none;
  	  background-color: #f4f4f4;
  	  color: #999;
  	  cursor: pointer;
  	}
  	.nav-component .group-page-nav .page-navs .page-nav {
  		position: relative;
  	  line-height: 35px;
  	  background-color: #fff;
  	  border-bottom: 1px solid #c6c6c6;
  	}
  	.nav-component .group-page-nav.active .page-navs {
  	  display: block;
  	}
  	.nav-component .group-page-nav .page-navs .active{
  	  background-color: #c6c6c6;
  	  color: #fff;
  	}
  	.nav-component .group-page-nav .page-navs li{
  		box-sizing: border-box;
  		-webkit-box-sizing: border-box;
  	}
  	.nav-component .group-page-nav .page-navs li:hover {
  		outline: 1px solid #ffb100;
  		text-indent: 33px;
  		border: 1px solid #ffb100;
  		border-top: 0;
  	}
  	.nav-component .group-page-nav .page-navs .empty-group-tip {
  	  background-color: #fff!important;
  	  color: #666;
  	  text-align: center;
  	  text-indent: 0;
  	  cursor: default;
  	}
  	#preview-code {
  		width: 180px;
  		height: 180px;
  	}
  	.code-container {
  		display: inline-block;
  		padding: 10px;
  		border: 1px solid #ccc;
  	}
  	.cata-phone-tab {
  		display: inline-block;
  		margin-right: 26px;
  		margin-top: 147px;
  		cursor: pointer;
  	}
  	.cata-phone-tab > div {
  		padding: 14px 7px;
  		width: 18px;
  		margin-left: auto;
  		margin-right: auto;
  		color: #666;
  		border: 1px solid #ccc;
  	}
  	.cata-phone-tab > div.active {
  		color: #fff;
  		background: #8d8d8d;
  		border: 1px solid #8d8d8d;
  	}
  	.phone-model {
  		display: none;
  	}
  	.phone-model-list {
      color: #999;
      font-size: 16px;
      line-height: 36px;
      text-align: center;
  	}
  	.phone-model-list li {
      margin-bottom: 5px;
      border: 1px solid #ccc;
      cursor: pointer;
  	}
  	.phone-model-list li.active {
  		color: #fff;
  		background-color: #8d8d8d;
  		border-color: #8d8d8d;
  	}
  	#phone-component.phone-6plus {
  	  width: 332px;
  	  height: 670px;
  	  background-image: url(http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/webapp/images/phone/6s.png);
  	}
  	#phone-component.phone-6plus .phone-head {
  		top: 81px;
      left: 22px;
      width: 288px;
  	}
  	#phone-component.phone-6plus .phone-content {
  	  top: 139px;
      left: 22px;
      width: 288px;
      height: 446px;
  	}
  	#phone-component.phone-6plus .preview-iframe {
  	  width: 320px;
  	  height: 495px;
  	  transform: scale(0.9);
  	  -webkit-transform: scale(0.9);
  	  -ms-transform: scale(0.9);
  	  -moz-transform: scale(0.9);
  	}
  	#phone-component.phone-5s {
  	  width: 312px;
  	  height: 648px;
  	  background-image: url(http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/webapp/images/phone/5s.png);
  	}
  	#phone-component.phone-5s .phone-head {
  		top: 93px;
      left: 25px;
      width: 262px;
  	}
  	#phone-component.phone-5s .phone-content {
      top: 150px;
      left: 26px;
      width: 260px;
      height: 405px;
  	}
  	#phone-component.phone-5s .preview-iframe {
  	  width: 320px;
  	  height: 498px;
  	  transform: scale(0.8125);
  	  -webkit-transform: scale(0.8125);
  	  -ms-transform: scale(0.8125);
  	  -moz-transform: scale(0.8125);
  	}
  	#phone-component.phone-note4 {
  	  width: 340px;
  	  height: 665px;
  	  background-image: url(http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/webapp/images/phone/note4.png);
  	}
  	#phone-component.phone-note4 .phone-head {
  		top: 56px;
      left: 16px;
      width: 306px;
  	}
  	#phone-component.phone-note4 .phone-content {
  	  left: 17px;
  	  top: 114px;
  	  width: 305px;
  	  height: 497px;
  	}
  	#phone-component.phone-note4  .preview-iframe {
  	  width: 320px;
  	  height: 521px;
  	  transform: scale(0.953215);
  	  -webkit-transform: scale(0.953215);
  	  -ms-transform: scale(0.953215);
  	  -moz-transform: scale(0.953215);
  	}
  	#phone-component.phone-p8 {
  	  width: 334px;
  	  height: 650px;
  	  background-image: url(http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/webapp/images/phone/p8.png);
  	}
  	#phone-component.phone-p8 .phone-head {
  		top: 57px;
      left: 10px;
      width: 315px;
    }
  	#phone-component.phone-p8 .phone-content {
      top: 115px;
      left: 10px;
      width: 315px;
      height: 480px;
  	}
  	#phone-component.phone-p8  .preview-iframe {
  	  width: 322px;
  	  height: 491px;
  	  transform: scale(0.978125);
  	  -webkit-transform: scale(0.978125);
  	  -ms-transform: scale(0.978125);
  	  -moz-transform: scale(0.978125);
  	}
  	#phone-component.phone-mi4 {
  	  width: 330px;
  	  height: 660px;
  	  background-image: url(http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/webapp/images/phone/mi4.png);
  	}
  	#phone-component.phone-mi4 .phone-head {
  		top: 63px;
      left: 17px;
      width: 296px;
  	}
  	#phone-component.phone-mi4 .phone-content {
  	  top: 121px;
      left: 17px;
      width: 296px;
      height: 462px;
  	}
  	#phone-component.phone-mi4 .preview-iframe {
  	  width: 322px;
  	  height: 503px;
  	  transform: scale(0.91875);
  	  -webkit-transform: scale(0.91875);
  	  -ms-transform: scale(0.91875);
  	  -moz-transform: scale(0.91875);
  	}
  	#phone-component.ipad-air {
  	  width: 460px;
  	  height: 660px;
  	  background-image: url(http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/webapp/images/phone/ipad-air.png);
  	}
  	#phone-component.ipad-air .phone-head {
  		top: 59px;
      left: 30px;
      width: 400px;
      height: 80px;
  	}
  	#phone-component.ipad-air .phone-head > span {
  		top: 40px;
  	}
  	#phone-component.ipad-air .phone-content {
  	  top: 139px;
      left: 30px;
      width: 400px;
      height: 461px;
  	}
  	#phone-component.ipad-air .preview-iframe {
  	  width: 323px;
  	  height: 373px;
  	  transform: scale(1.2375);
  	  -webkit-transform: scale(1.2375);
  	  -ms-transform: scale(1.2375);
  	  -moz-transform: scale(1.2375);
  	}
  
  	.bottom-tab {
      margin-top: 78px;
      width: 36px !important;
      padding: 0 !important;
  	}
  	.bottom-tab > span {
      display: block;
      width: 36px;
      height: 50px;
      line-height: 40px;
      font-size: 20px;
      text-align: center;
      color: #aaa;
      cursor: pointer;
      background-color: #fff;
  	}
  	.bottom-tab > span:first-child {
  		border-bottom: 1px solid #e7e7e7;
  	}
  	.bottom-tab a {
  		display: inline-block;
      color: #aaa;
      width: 100%;
      height: 100%;
      font-size: 12px;
      line-height: 1em;
  	}
  	.bottom-tab a > span {
      display: inline-block;
      width: 100%;
      margin: 5px 0;
      font-size: 20px;
      vertical-align: top;
  	}
  	</style>
  	<script src="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/webapp/js/library/jquery-2.1.4.min.js"></script>
  	<script src="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/pc/invitation/js/tip.js"></script>
  	<script type="text/javascript">
  	var scaleRatio = window.innerHeight/683,
  			scaleStr;
  
  	if(scaleRatio > 1){
  		scaleRatio = 1;
  	}
  	scaleStr = 'scale('+scaleRatio+')';
  	window.onload = function(){
  		$('.webapp').css({
  			transform: scaleStr,
  			'-webkit-transform': scaleStr,
  			'-ms-transform': scaleStr,
        '-moz-transform': scaleStr
  		});
  	};
  	</script>
  	<script type='text/javascript'>
        var _vds = _vds || [];
        window._vds = _vds;
        (function(){
          _vds.push(['setAccountId', '9fd21c28eb55d8a5']);
          (function() {
            var vds = document.createElement('script');
            vds.type='text/javascript';
            vds.async = true;
            vds.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'dn-growing.qbox.me/vds.js';
            var s = document.getElementsByTagName('script')[0];
            s.parentNode.insertBefore(vds, s);
          })();
        })();
    </script>
  </head>
  <body class="webapp" is_login="0">
  	<div id="preview-wrap" class="preview-wrap">
  		<div class="nav-component left-component">
  			<p class="box-title">扫描二维码预览并分享给朋友</p>
  			<div class="code-container">
  				<img src="" id="preview-code">
  			</div>
  			<p  class="box-title title2">或复制链接发送给朋友</p>
  			<div class="app-link-wrap"><input type="text" id="app-link"></div>
  			<div class="copy-link-wrap"><button id="copy-link">复制链接</button></div>
  		</div>
  		<div id="phone-component" class="phone-6plus">
  			<div class="phone-head"><span id="go-back">返回</span></div>
  	    <div id="phone-container" class="phone-content">
  	    	<iframe class="preview-iframe" id="preview-iframe" frameborder="0" allowtransparency="true" seamless></iframe>
  	    </div>
  	  </div>
  		<div class="cata-phone-tab">
  			<div class="tab-item-cata active">目录</div>
  			<div class="tab-item-phone">机型</div>
  			<div class="bottom-tab">
  				<span><a target="_blank" href="/index.php?r=pc/Webapp/exclusive"><span class="icon-container icon-heart" title="我要定制"></span>定制</a></span>
  				<span><a target="_blank" href="http://jq.qq.com/?_wv=1027&amp;k=2Fp43Eg"><span class="icon-container icon-earphone"></span>客服</a></span>
  	  	</div>
  		</div>
  		<div id="nav-component" class="nav-component">
  			<p class="box-title">按目录浏览</p>
  			<ul id="group-page-container" class="group-page-container"></ul>
  		</div>
  		<div id="phone-model" class="phone-model nav-component">
  			<p class="box-title">此预览仅供参考,以实际设备为准</p>
  			<ul class="phone-model-list">
  				<li class="active" data-type="phone-6plus">iPhone 6 Plus</li>
  				<li data-type="phone-5s">iPhone 5s</li>
  				<li data-type="phone-note4">三星Note 4</li>
  				<li data-type="phone-p8">华为P8</li>
  				<li data-type="phone-mi4">小米M4</li>
  				<li data-type="ipad-air">iPad Air 2</li>
  			</ul>
  		</div>
  	</div>
  	<!-- 登录注册 -->
  		<link rel="stylesheet" href="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/webapp_home/css/app_login_reg.css?version=10213">
  
  	<script type="text/javascript" src="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/pc2/common/js/jquery.md5.js"></script>
  	<script type="text/javascript" src="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/pc2/common/js/cookie.js"></script>
  	<script type="text/javascript" src="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/webapp_home/js/app_login_reg.js?version=10213"></script>
  	<div class="lr-mask" id="login_wrap" user_token="">
  		<div class="lr" id="login-panel">
  			<div class="lr-left">
  				<div class="reg-wrap">
  					<img src="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/pc2/index/images/toreg.png">
  					<div class="to-reg">注册</div>
  				</div>
  				<div class="login-wrap">
  					<img src="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/pc2/index/images/tologin.png">
  					<div class="to-login">登录</div>
  				</div>
  			</div><div class="lr-right">
  				<div class="login-info-wrap">
  					<div class="title">登录<span>(个人/企业账号)</span></div>
  					<input style="margin-top: 60px;" id="login-username" type="text" placeholder="邮箱/手机号" class="long-input">
  					<input style="margin-top: 20px;" id="login-password" type="password" placeholder="请输入6-20位密码" class="long-input">
  					<div class="Rempw"><input type="checkbox" id="remberPw" checked><label for="remberPw">记住密码</label><span class="forgetPw">忘记密码</span></div>
  					<div id="login-btn" class="login-btn">登录</div>
  					<p style="padding: 10px 0;">还没有账号?<span class="reg-now">免费注册</span></p>
  					<div style="margin-top: 10px;"><span class="cross-Line"></span><span style="margin: 0 10px;font-size: 16px;">第三方账号登录</span><span class="cross-Line"></span></div>
  					<div class="img-qq">
  						<a class="login-wx" href="javascript:;"><img title="微信" src="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/pc2/index/images/wx.png"></a>
  						<a class="login_qq" href="http://www.zhichiwangluo.com/index.php?r=Login/qLogin"><img title="QQ" src="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/pc2/index/images/qq.png"></a>
  						<a class="login_wd" href="/index.php?r=Login/wdlogin"><img title="微店" src="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/pc2/index/images/wd.png"></a>
  						<a class="login_qq" href="/index.php?r=login/WMLogin"><img title="微盟" src="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/pc2/index/images/weimob.png"></a>
  						<a class="login_qq" href="/index.php?r=login/WBLogin"><img title="微博" src="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/pc2/index/images/wb.png"></a>
  					</div>
  				</div>
  				<div class="wx-login" >
  					<div class="title">微信登录</div>
  					<img class="code-img" src="">
  					<p style="text-align: center;"><span class="cross-Line"></span>微信扫码登录<span class="cross-Line"></span></p>
  					<p class="account-login" style="margin-top: 30px;text-align: center;color: #3091f2;cursor: pointer;">返回账号登陆</p>
  				</div>
  				<div class="reg-info-wrap">
  					<div class="reg-type"><span class="active">个人注册</span><span>企业注册</span></div>
  					<div class="person-reg">
  						<img class="code-img" src="" alt="">
  						<p style="text-align: center;"><span style="width:55px;" class="cross-Line"></span><span style="margin: 0 5px;">微信扫码注册</span><span style="width:55px;" class="cross-Line"></span></p>
  
  						<div class="perfit-info" >
  							<input style="margin-top: 60px;" type="text" id="perfit-phone" placeholder="手机号" class="long-input">
  							<input type="password" placeholder="密码" id="perfit-pw1" class="long-input">
  							<input type="password" placeholder="确认密码" id="perfit-pw2" class="long-input">
  							<input type="text" placeholder="验证码" id="perfit-code" style="width: 177px"><span class="getPerfitCode">获取验证码</span>
  							<input type="text" placeholder="邀请码" id="perfit-invite" class="long-input">
  							<div class="login-btn" id="perfit-info">注册</div>
  						</div>
  					</div>
  					<div class="company-reg">
  						<input type="text" id="reg-fullname" placeholder="企业名称" class="long-input"><!-- <label class="necessary">*</label> -->
  						<input type="text" id="reg-phone" placeholder="手机号" class="long-input"><img style="width: 20px;vertical-align: middle;margin-left: 10px;" id="reg-phone-exist"><!-- <label class="necessary">*</label> -->
  						<input type="password" class="reg-password long-input" placeholder="密码" class="long-input"><!-- <label class="necessary">*</label> -->
  						<input type="password" class="reg-conpassword long-input" placeholder="确认密码" class="long-input"><!-- <label class="necessary">*</label> -->
  						<input type="text" id="phone-code" placeholder="验证码" class="short-input" style="margin-top: 15px;width: 146px;"><span class="getPhoneCode">获取验证码</span>
  						<select id="reg-company-type">
  							<option value="政府机构">政府机构</option>
  							<option value="微信">微信</option>
  							<option value="传媒广告">传媒广告</option>
  							<option value="电商">电商</option>
  							<option value="餐饮">餐饮</option>
  							<option value="家具">家具</option>
  							<option value="IT">IT</option>
  							<option value="教育">教育</option>
  							<option value="房地产">房地产</option>
  							<option value="服装">服装</option>
  							<option value="婚庆">婚庆</option>
  							<option value="娱乐">娱乐</option>
  							<option value="旅游">旅游</option>
  							<option value="汽车">汽车</option>
  							<option value="美容">美容</option>
  							<option value="摄影">摄影</option>
  							<option value="公益">公益</option>
  							<option value="金融">金融</option>
  						</select>
  						<div><select id="province-select"><option disabled selected>选择省</option></select><select id="city-select"><option disabled selected>选择市</option></select><select id="area-select"><option disabled selected>选择区</option></select></div>
  						<div style="margin-top: 15px;"><input id="inviteCode" class="short-input" placeholder="邀请码,可不填"><span class="reg-btn">注册</span></div>
  					</div>
  				</div>
  				<div class="findBackPw">
  					<div class="title"><span class="findtype" type="phone">手机找回</span><span class="changetype">通过邮箱找回</span></div>
  					<div>
  						<input style="margin-top: 60px;" id="email-or-phone" type="text" class="account long-input" placeholder="注册手机号">
  						<input type="text" id="code-input" class="short-input" placeholder="验证码"><span class="getCode">获取验证码</span>
  						<input type="password" id="newPw1" class="long-input" placeholder="新密码">
  						<input type="password" id="newPw2" class="long-input" placeholder="确认密码">
  						<div style="margin-top: 25px;" id='findReset' class="login-btn">确认</div>
  						<p class="login-now" style="margin-top: 30px;text-align: center;color: #3091f2;cursor: pointer;">我想起来了,去登录 ></p>
  					</div>
  				</div>
  			</div>
  		</div>
  	</div>
  	<!-- 登录注册 完 -->
  <script src="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/webapp/js/library/jquery.zeroclipboard.min.js"></script>
  <script src="http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend/static/pc2/common/js/common.js"></script>
  <script>
  	$(function() {
  		var appId = GetQueryString('id'),
  				cdnUrl= 'http://1251027630.cdn.myqcloud.com/1251027630/zhichi_frontend',
  				_appData = {};
  		initialPreview(appId);
  
  		if(GetQueryString('f_tpl') == 1){
  			$('#nav-component').append('<div class="copy-link-wrap" style="margin-top:15px;"><button class="choose-tpl" style="background-color:#fdcb2e; color:#3f4125; border-color:#fdcb2e; border-bottom:4px solid #e1ab00;">使用模板</button></div>');
  		}
  
  		$('body').on('click', '#group-page-container .group-nav', function(event) {
  			// 组折叠
  			event.preventDefault();
  			var target = $(this).parent();
  			target.toggleClass('active');
  		}).on('click', '#group-page-container .page-nav', function(event) {
  			if($(this).hasClass('active')){
  				return;
  			}
  			$('.page-nav.active').removeClass('active');
  			$(this).addClass('active');
  
  			var router = $(this).attr('data-router'),
  					$preview = $('#preview-iframe'),
  					url = 'http://jisuapp.cn/app?_app_id='+appId+'&router='+router,
  					historyId = GetQueryString('history_id'),
  					customFeature = _appData[router].customFeature;
  
  			historyId && (url += '&history_id='+historyId);
  			if(customFeature.form){
  				url += '&detail=-1';
  			}
  			$preview.attr('src',url);
  
  		}).on('click', '.choose-tpl', function(){
  			if($('body').attr('is_login') == 0){
  				loginFunc();
  				$(".lr-mask").show();
  				return;
  			}
  			var	param = {
  						app_name : '我的应用',
  						description: '' ,
  						logo : cdnUrl + '/static/invitation/images/logo.png',
  						cover: cdnUrl + '/static/webapp/images/share_feng.jpg' ,
  						f_app_id : appId
  					},
  					$btn = $(this);
  
  			if($btn.hasClass('requesting')) { return; }
  			$btn.addClass('requesting');
  			$ajax('http://jisuapp.cn/index.php?r=pc/AppData/add','post', param,'json',function(data){
  				$btn.removeClass('requesting');
  				if (data.status === 0) {
  					window.location.href = 'http://jisuapp.cn/index.php?r=pc/Webapp/edit&id='+data.data;
  				} else if (data.status === 3){
  					confirmTip({
  						text : data.data + "<p>是否去升级VIP?</p>",
  						ConfirmFunction : function(){
  							window.open('http://jisuapp.cn/index.php?r=pc/Index/appVipPacket');
  						}
  					});
  				} else {
  					alertTip(data.data);
  				}
  			}, function(data){
  				$btn.removeClass('requesting');
  				alertTip(data.data);
  			});
  		});
  		function initialPreview(appId){
  			// 预览时
  			var $preview = $('#preview-iframe'),
  					router = GetQueryString('router'),
  					para = {
  						app_id: appId,
  						history_id: GetQueryString('history_id') || ''
  					};
  
  			$ajax('http://jisuapp.cn/index.php?r=AppData/detail','get',para,'json',function(data){
  				if (data.status === 0) {
  					var info = data.data,
  							_cataData = typeof info.cata_data === 'string'  ? JSON.parse(info.cata_data) : info.cata_data;
  
  					_appData = typeof info.app_data === 'string'  ? JSON.parse(info.app_data) : info.app_data;
  					$('#preview-code').attr('src', info.qrcode);
  					$('#app-link').val(info.url);
  					parseCata(_cataData);
  					if(!router){
  						router = _appData.version == 1 ? _appData.data['homepage-router'] : 'page10000';
  					}
  					$('#group-page-container .page-nav[data-router='+router+']').trigger('click');
  				}else{
  					alertTip(data.data);
  				}
  
  			});
  		}
  		function parseCata(_cataData, router){
  			var cataStr = '',
  					targetRouter = router || 'page10000',
  					cataDataContent = _cataData.data;
  			for(var cata in cataDataContent) {
  				if(cataDataContent[cata]){
  					var pages = cataDataContent[cata].pages,
  							i = 0;
  					cataStr += '<li class="group-page-nav active" data-index="'+cataDataContent[cata].index+'"><p class="group-nav">'+cataDataContent[cata].group+'</p><ul class="page-navs">';
  					for(var item in pages){
  						i++;
  						cataStr += parsePageNavStr(pages[item].router, pages[item].title, pages[item].name);
  					}
  					if(i<=0){
  						cataStr += '<p class="empty-group-tip">此分组暂无页面</p>';
  					}
  
  					cataStr += '</ul></li>';
  				}
  			};
  			$('#group-page-container').empty().append(cataStr);
  		}
  		function parsePageNavStr (router, title, name){
  			var str = '<li class="page-nav" data-router="'+router+'" data-title="'+title+'" data-name="'+name+'"><span class="js-page-name">'+name+'</span></li>';
  			return str;
  		}
  
  		$("#copy-link").on('copy', function(e){
  			e.clipboardData.clearData();
    		e.clipboardData.setData('text/plain', $('#app-link').val());
    		e.preventDefault();
  		}).on('aftercopy', function(e){
  			alertTip('复制成功');
  		});
  
  		$("#go-back").on('click' , function(event) {
  			var $preview = $('#preview-iframe')[0];
  			$preview.contentWindow.history.back()
  		});
  
  		$('.tab-item-cata').on('click', function(){
  			$(this).addClass('active').siblings().removeClass('active');
  			$('#phone-model').css('display', 'none');
  			$('#nav-component').css('display', 'inline-block');
  		});
  
  		$('.tab-item-phone').on('click', function(){
  			$(this).addClass('active').siblings().removeClass('active');
  			$('#phone-model').css('display', 'inline-block');
  			$('#nav-component').css('display', 'none');
  		});
  
  		$('.phone-model-list').on('click', 'li', function(){
  			var type = $(this).attr('data-type'),
  					$phone = $('#phone-component'),
  					$iframe = $phone.find('iframe');
  
  			$(this).addClass('active').siblings('.active').removeClass('active');
  			$phone.attr('class', type);
  		});
  	});
  </script>
  </body>
  </html>