作者 zhangwei
1 个管道 的构建 通过 耗费 1 秒

1

@@ -40,10 +40,6 @@ @@ -40,10 +40,6 @@
40 .indeX_Hl img { 40 .indeX_Hl img {
41 height: 100%; 41 height: 100%;
42 } 42 }
43 -  
44 - .swiper-container4 .swiper-wrapper {  
45 - transition-duration: 1.5s !important;  
46 - }  
47 </style> 43 </style>
48 </head> 44 </head>
49 45
@@ -612,6 +608,14 @@ @@ -612,6 +608,14 @@
612 <img onclick="bofang()" src="__TMPL__/public/assets/images/aicon_30.png" alt="" /> 608 <img onclick="bofang()" src="__TMPL__/public/assets/images/aicon_30.png" alt="" />
613 </div> 609 </div>
614 </div> 610 </div>
  611 + <!-- 更多 -->
  612 + <div class="video_bottom">
  613 + <a href="/portal/region/getMoreVideo">
  614 + <div class="video_bottom_contant">
  615 + more+
  616 + </div>
  617 + </a>
  618 + </div>
615 <!-- 胡歌 --> 619 <!-- 胡歌 -->
616 <notempty name="res_mxft"> 620 <notempty name="res_mxft">
617 <a href="/portal/region/getStarDetail?id={$res_mxft.id}"> 621 <a href="/portal/region/getStarDetail?id={$res_mxft.id}">
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 </head> 14 </head>
15 15
16 <body> 16 <body>
17 - <include file="public@header"/> 17 + <include file="public@header" />
18 <!-- 独角快报 --> 18 <!-- 独角快报 -->
19 <div class="first_scene"> 19 <div class="first_scene">
20 <div class="first_scene_contant"> 20 <div class="first_scene_contant">
@@ -49,8 +49,8 @@ @@ -49,8 +49,8 @@
49 </volist> 49 </volist>
50 50
51 <volist name="res['data']" id="vo" offset="1" length="2"> 51 <volist name="res['data']" id="vo" offset="1" length="2">
52 - <div class="index_fifth_two">  
53 <a href="/portal/region/getNewsDetail?id={$vo.id}"> 52 <a href="/portal/region/getNewsDetail?id={$vo.id}">
  53 + <div class="index_fifth_two">
54 <div class="index_fifth_two_left"> 54 <div class="index_fifth_two_left">
55 <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> 55 <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" />
56 </div> 56 </div>
@@ -62,14 +62,14 @@ @@ -62,14 +62,14 @@
62 {$vo.create_time|date="Y-m-d",###} 62 {$vo.create_time|date="Y-m-d",###}
63 </div> 63 </div>
64 </div> 64 </div>
65 - </a>  
66 </div> 65 </div>
  66 + </a>
67 </volist> 67 </volist>
68 68
69 69
70 <volist name="res['data']" id="vo" offset="3" length="1"> 70 <volist name="res['data']" id="vo" offset="3" length="1">
71 - <div class="index_fifth_one index_fifth_second">  
72 <a href="/portal/region/getNewsDetail?id={$vo.id}"> 71 <a href="/portal/region/getNewsDetail?id={$vo.id}">
  72 + <div class="index_fifth_one index_fifth_second">
73 <div class="index_fifth_one_img"> 73 <div class="index_fifth_one_img">
74 <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> 74 <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" />
75 </div> 75 </div>
@@ -81,8 +81,8 @@ @@ -81,8 +81,8 @@
81 {$vo.create_time|date="Y-m-d",###} 81 {$vo.create_time|date="Y-m-d",###}
82 </div> 82 </div>
83 </div> 83 </div>
84 - </a>  
85 </div> 84 </div>
  85 + </a>
86 </volist> 86 </volist>
87 87
88 <volist name="res['data']" id="vo" offset="4" length="2"> 88 <volist name="res['data']" id="vo" offset="4" length="2">
@@ -109,7 +109,7 @@ @@ -109,7 +109,7 @@
109 </div> 109 </div>
110 </div> 110 </div>
111 </div> 111 </div>
112 - <include file="public@footer"/> 112 + <include file="public@footer" />
113 </body> 113 </body>
114 <script src="__TMPL__/public/assets/js/base.js"></script> 114 <script src="__TMPL__/public/assets/js/base.js"></script>
115 <script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script> 115 <script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 </head> 14 </head>
15 15
16 <body> 16 <body>
17 - <include file="public@header"/> 17 + <include file="public@header" />
18 <div class="index_sixth_top"> 18 <div class="index_sixth_top">
19 <!-- 明星访谈 --> 19 <!-- 明星访谈 -->
20 <div class="first_scene"> 20 <div class="first_scene">
@@ -39,8 +39,8 @@ @@ -39,8 +39,8 @@
39 </div> 39 </div>
40 <div class="useraccount tip left"> 40 <div class="useraccount tip left">
41 <div class="useraccount_top"> 41 <div class="useraccount_top">
42 - <div class="useraccount_name">{$vo.full_name}</div>  
43 - <div class="useraccount_career"> 42 + <div class="useraccount_name one-txt-cut">{$vo.full_name}</div>
  43 + <div class="useraccount_career one-txt-cut">
44 {$vo.position}<span>{$vo.trade}</span> 44 {$vo.position}<span>{$vo.trade}</span>
45 </div> 45 </div>
46 </div> 46 </div>
@@ -78,7 +78,7 @@ @@ -78,7 +78,7 @@
78 </div> 78 </div>
79 </div> 79 </div>
80 80
81 - <include file="public@footer"/> 81 + <include file="public@footer" />
82 </body> 82 </body>
83 <script src="__TMPL__/public/assets/js/base.js"></script> 83 <script src="__TMPL__/public/assets/js/base.js"></script>
84 <script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script> 84 <script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 3
4 - <head> 4 +<head>
5 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> 5 <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
6 <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" /> 6 <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
7 <meta http-equiv="X-UA-Compatible" content="ie=edge"> 7 <meta http-equiv="X-UA-Compatible" content="ie=edge">
@@ -9,10 +9,10 @@ @@ -9,10 +9,10 @@
9 <link rel="stylesheet" type="text/css" href="__TMPL__/public/assets/css/audio.css" /> 9 <link rel="stylesheet" type="text/css" href="__TMPL__/public/assets/css/audio.css" />
10 <link rel="stylesheet" href="__TMPL__/public/assets/css/happy.css" /> 10 <link rel="stylesheet" href="__TMPL__/public/assets/css/happy.css" />
11 <title>星球故事更多</title> 11 <title>星球故事更多</title>
12 - </head> 12 +</head>
13 13
14 - <body>  
15 - <include file="public@header"/> 14 +<body>
  15 + <include file="public@header" />
16 <div class="hpaay_storyBox"> 16 <div class="hpaay_storyBox">
17 <!--标题--> 17 <!--标题-->
18 <div class="hpin_main1Title"> 18 <div class="hpin_main1Title">
@@ -30,14 +30,13 @@ @@ -30,14 +30,13 @@
30 <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> 30 <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" />
31 </div> 31 </div>
32 </a> 32 </a>
  33 + </div>
  34 + <div class="hpaay_storyLi2">
33 <div class="hpaay_storyLTxt"> 35 <div class="hpaay_storyLTxt">
34 <h2 class="txt-cut">{$vo.excerpt}</h2> 36 <h2 class="txt-cut">{$vo.excerpt}</h2>
35 - <span>{$vo.create_time|date="Y-m-d",###}</span> 37 + <span></span>
36 </div> 38 </div>
37 </div> 39 </div>
38 - <div class="hpaay_storyLi2">  
39 -  
40 - </div>  
41 <div class="hpin_mainCon2"> 40 <div class="hpin_mainCon2">
42 <notempty name="vo.audio"> 41 <notempty name="vo.audio">
43 <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> 42 <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio>
@@ -52,17 +51,16 @@ @@ -52,17 +51,16 @@
52 <div class="hpaay_storyLi"> 51 <div class="hpaay_storyLi">
53 <div class="hpaay_storyLi1"> 52 <div class="hpaay_storyLi1">
54 <a href="/portal/star/getStoryDetail?id={$vo.id}"> 53 <a href="/portal/star/getStoryDetail?id={$vo.id}">
55 - <div class="hpaay_storyLTxt">  
56 - <h2 class="txt-cut">{$vo.excerpt}</h2>  
57 - <span>2019-01-09</span>  
58 - </div>  
59 - </a>  
60 <div class="hpaay_storyLImg"> 54 <div class="hpaay_storyLImg">
61 <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> 55 <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" />
62 </div> 56 </div>
  57 + </a>
63 </div> 58 </div>
64 <div class="hpaay_storyLi2"> 59 <div class="hpaay_storyLi2">
65 - 60 + <div class="hpaay_storyLTxt">
  61 + <h2 class="txt-cut">{$vo.excerpt}</h2>
  62 + <span></span>
  63 + </div>
66 </div> 64 </div>
67 <div class="hpin_mainCon2"> 65 <div class="hpin_mainCon2">
68 <notempty name="vo.audio"> 66 <notempty name="vo.audio">
@@ -82,14 +80,13 @@ @@ -82,14 +80,13 @@
82 <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> 80 <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" />
83 </div> 81 </div>
84 </a> 82 </a>
  83 + </div>
  84 + <div class="hpaay_storyLi2">
85 <div class="hpaay_storyLTxt"> 85 <div class="hpaay_storyLTxt">
86 <h2 class="txt-cut">{$vo.excerpt}</h2> 86 <h2 class="txt-cut">{$vo.excerpt}</h2>
87 - <span>{$vo.create_time|date="Y-m-d",###}</span> 87 + <span></span>
88 </div> 88 </div>
89 </div> 89 </div>
90 - <div class="hpaay_storyLi2">  
91 -  
92 - </div>  
93 <div class="hpin_mainCon2"> 90 <div class="hpin_mainCon2">
94 <notempty name="vo.audio"> 91 <notempty name="vo.audio">
95 <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> 92 <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio>
@@ -104,17 +101,16 @@ @@ -104,17 +101,16 @@
104 <div class="hpaay_storyLi"> 101 <div class="hpaay_storyLi">
105 <div class="hpaay_storyLi1"> 102 <div class="hpaay_storyLi1">
106 <a href="/portal/star/getStoryDetail?id={$vo.id}"> 103 <a href="/portal/star/getStoryDetail?id={$vo.id}">
107 - <div class="hpaay_storyLTxt">  
108 - <h2 class="txt-cut">{$vo.excerpt}</h2>  
109 - <span>2019-01-09</span>  
110 - </div>  
111 - </a>  
112 <div class="hpaay_storyLImg"> 104 <div class="hpaay_storyLImg">
113 <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> 105 <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" />
114 </div> 106 </div>
  107 + </a>
115 </div> 108 </div>
116 <div class="hpaay_storyLi2"> 109 <div class="hpaay_storyLi2">
117 - 110 + <div class="hpaay_storyLTxt">
  111 + <h2 class="txt-cut">{$vo.excerpt}</h2>
  112 + <span></span>
  113 + </div>
118 </div> 114 </div>
119 <div class="hpin_mainCon2"> 115 <div class="hpin_mainCon2">
120 <notempty name="vo.audio"> 116 <notempty name="vo.audio">
@@ -136,7 +132,7 @@ @@ -136,7 +132,7 @@
136 </a> 132 </a>
137 <div class="hpaay_storyLTxt"> 133 <div class="hpaay_storyLTxt">
138 <h2 class="txt-cut">{$vo.excerpt}</h2> 134 <h2 class="txt-cut">{$vo.excerpt}</h2>
139 - <span>{$vo.create_time|date="Y-m-d",###}</span> 135 + <span></span>
140 </div> 136 </div>
141 </div> 137 </div>
142 <div class="hpaay_storyLi2"> 138 <div class="hpaay_storyLi2">
@@ -158,7 +154,7 @@ @@ -158,7 +154,7 @@
158 <a href="/portal/star/getStoryDetail?id={$vo.id}"> 154 <a href="/portal/star/getStoryDetail?id={$vo.id}">
159 <div class="hpaay_storyLTxt"> 155 <div class="hpaay_storyLTxt">
160 <h2 class="txt-cut">{$vo.excerpt}</h2> 156 <h2 class="txt-cut">{$vo.excerpt}</h2>
161 - <span>2019-01-09</span> 157 + <span></span>
162 </div> 158 </div>
163 </a> 159 </a>
164 <div class="hpaay_storyLImg"> 160 <div class="hpaay_storyLImg">
@@ -188,7 +184,7 @@ @@ -188,7 +184,7 @@
188 </a> 184 </a>
189 <div class="hpaay_storyLTxt"> 185 <div class="hpaay_storyLTxt">
190 <h2 class="txt-cut">{$vo.excerpt}</h2> 186 <h2 class="txt-cut">{$vo.excerpt}</h2>
191 - <span>{$vo.create_time|date="Y-m-d",###}</span> 187 + <span></span>
192 </div> 188 </div>
193 </div> 189 </div>
194 <div class="hpaay_storyLi2"> 190 <div class="hpaay_storyLi2">
@@ -210,7 +206,7 @@ @@ -210,7 +206,7 @@
210 <a href="/portal/star/getStoryDetail?id={$vo.id}"> 206 <a href="/portal/star/getStoryDetail?id={$vo.id}">
211 <div class="hpaay_storyLTxt"> 207 <div class="hpaay_storyLTxt">
212 <h2 class="txt-cut">{$vo.excerpt}</h2> 208 <h2 class="txt-cut">{$vo.excerpt}</h2>
213 - <span>2019-01-09</span> 209 + <span></span>
214 </div> 210 </div>
215 </a> 211 </a>
216 <div class="hpaay_storyLImg"> 212 <div class="hpaay_storyLImg">
@@ -239,7 +235,7 @@ @@ -239,7 +235,7 @@
239 </div> 235 </div>
240 </div> 236 </div>
241 </div> 237 </div>
242 - <include file="public@footer"/> 238 + <include file="public@footer" />
243 <script src="__TMPL__/public/assets/js/base.js"></script> 239 <script src="__TMPL__/public/assets/js/base.js"></script>
244 <script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script> 240 <script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script>
245 <script src="__TMPL__/public/assets/js/k-audio.js"></script> 241 <script src="__TMPL__/public/assets/js/k-audio.js"></script>
@@ -267,6 +263,6 @@ @@ -267,6 +263,6 @@
267 i.addEventListener("play", pauseAll.bind(i)); 263 i.addEventListener("play", pauseAll.bind(i));
268 }) 264 })
269 </script> 265 </script>
270 - </body> 266 +</body>
271 267
272 </html> 268 </html>
@@ -668,24 +668,24 @@ body { @@ -668,24 +668,24 @@ body {
668 668
669 .hpaay_storyLi1 { 669 .hpaay_storyLi1 {
670 padding: 0 0.24rem; 670 padding: 0 0.24rem;
671 - display: flex;  
672 - display: -webkit-flex;  
673 - justify-content: space-between;  
674 } 671 }
675 672
676 .hpaay_storyLImg { 673 .hpaay_storyLImg {
677 - width: 1.86rem;  
678 - height: 1.86rem; 674 + width: 35%;
  675 + margin: auto;
  676 + /* height: 1.86rem; */
679 } 677 }
680 678
681 .hpaay_storyLImg img { 679 .hpaay_storyLImg img {
682 width: 100%; 680 width: 100%;
683 height: 100%; 681 height: 100%;
  682 + border-radius: 50%;
684 } 683 }
685 684
686 -.hpaay_storyLTxt { 685 +
  686 +/* .hpaay_storyLTxt {
687 width: 4.04rem; 687 width: 4.04rem;
688 -} 688 +} */
689 689
690 .hpaay_storyLTxt h2 { 690 .hpaay_storyLTxt h2 {
691 -webkit-line-clamp: 2; 691 -webkit-line-clamp: 2;
@@ -698,12 +698,13 @@ body { @@ -698,12 +698,13 @@ body {
698 698
699 .hpaay_storyLTxt span { 699 .hpaay_storyLTxt span {
700 display: block; 700 display: block;
701 - margin-top: 0.2rem; 701 + /* margin-top: 0.2rem; */
702 font-size: 0.26rem; 702 font-size: 0.26rem;
703 color: rgba(102, 102, 102, 1); 703 color: rgba(102, 102, 102, 1);
704 } 704 }
705 705
706 .hpaay_storyLi2 { 706 .hpaay_storyLi2 {
  707 + text-align: center;
707 overflow-y: scroll; 708 overflow-y: scroll;
708 height: 3.06rem; 709 height: 3.06rem;
709 padding: 0 0.24rem 0.2rem; 710 padding: 0 0.24rem 0.2rem;
@@ -85,6 +85,7 @@ @@ -85,6 +85,7 @@
85 .nav_downImg img { 85 .nav_downImg img {
86 width: 100%; 86 width: 100%;
87 height: 100%; 87 height: 100%;
  88 + border-radius: 50%;
88 } 89 }
89 90
90 .nav_downName { 91 .nav_downName {
@@ -593,7 +593,7 @@ body::-webkit-scrollbar { @@ -593,7 +593,7 @@ body::-webkit-scrollbar {
593 /* 明星自述 */ 593 /* 明星自述 */
594 594
595 .video_star { 595 .video_star {
596 - margin-top: 0.32rem; 596 + margin-top: 0.66rem;
597 display: flex; 597 display: flex;
598 display: -webkit-flex; 598 display: -webkit-flex;
599 justify-content: flex-start; 599 justify-content: flex-start;
@@ -632,7 +632,7 @@ body::-webkit-scrollbar { @@ -632,7 +632,7 @@ body::-webkit-scrollbar {
632 position: relative; 632 position: relative;
633 background-color: #fff; 633 background-color: #fff;
634 color: rgba(60, 60, 148, 1); 634 color: rgba(60, 60, 148, 1);
635 - width: 4.2rem; 635 + width: 5.1rem;
636 /* height: 2.84rem; */ 636 /* height: 2.84rem; */
637 background: rgba(255, 255, 255, 1); 637 background: rgba(255, 255, 255, 1);
638 border-radius: 0.1rem; 638 border-radius: 0.1rem;
@@ -671,7 +671,7 @@ body::-webkit-scrollbar { @@ -671,7 +671,7 @@ body::-webkit-scrollbar {
671 } 671 }
672 672
673 .useraccount_career { 673 .useraccount_career {
674 - width: 1rem; 674 + width: 1.8rem;
675 margin-left: 0.32rem; 675 margin-left: 0.32rem;
676 font-size: 0.24rem; 676 font-size: 0.24rem;
677 font-family: PingFang-SC-Medium; 677 font-family: PingFang-SC-Medium;
@@ -1316,10 +1316,9 @@ body::-webkit-scrollbar { @@ -1316,10 +1316,9 @@ body::-webkit-scrollbar {
1316 1316
1317 .index_sixth_contant_title { 1317 .index_sixth_contant_title {
1318 width: 6.86rem; 1318 width: 6.86rem;
1319 - /* height: 4.62rem; */  
1320 background: rgba(255, 255, 255, 1); 1319 background: rgba(255, 255, 255, 1);
1321 border-radius: 0.1rem; 1320 border-radius: 0.1rem;
1322 - padding: 1rem 0.45rem 0.3rem 0.45rem; 1321 + padding: 0.9rem 0.45rem 0.3rem 0.45rem;
1323 box-sizing: border-box; 1322 box-sizing: border-box;
1324 display: flex; 1323 display: flex;
1325 justify-content: center; 1324 justify-content: center;
@@ -1328,9 +1327,6 @@ body::-webkit-scrollbar { @@ -1328,9 +1327,6 @@ body::-webkit-scrollbar {
1328 } 1327 }
1329 1328
1330 .index_sixth_contant_title_top { 1329 .index_sixth_contant_title_top {
1331 - /* width: 2.06rem; */  
1332 - /* height: 0.3rem; */  
1333 - margin-top: 0.3rem;  
1334 font-size: 0.32rem; 1330 font-size: 0.32rem;
1335 font-family: PingFang-SC-Heavy; 1331 font-family: PingFang-SC-Heavy;
1336 font-weight: 800; 1332 font-weight: 800;
@@ -1339,9 +1335,7 @@ body::-webkit-scrollbar { @@ -1339,9 +1335,7 @@ body::-webkit-scrollbar {
1339 } 1335 }
1340 1336
1341 .index_sixth_contant_title_center { 1337 .index_sixth_contant_title_center {
1342 - /* width:2.4rem; */  
1343 - /* height: 0.24rem; */  
1344 - margin-top: 0.24rem; 1338 + margin-top: 0.16rem;
1345 font-size: 0.24rem; 1339 font-size: 0.24rem;
1346 font-family: PingFang-SC-Medium; 1340 font-family: PingFang-SC-Medium;
1347 font-weight: 500; 1341 font-weight: 500;
@@ -1350,9 +1344,7 @@ body::-webkit-scrollbar { @@ -1350,9 +1344,7 @@ body::-webkit-scrollbar {
1350 } 1344 }
1351 1345
1352 .index_sixth_contant_title_bottom { 1346 .index_sixth_contant_title_bottom {
1353 - /* width: 5.96rem; */  
1354 - /* height: 2.28rem; */  
1355 - margin-top: 0.28rem; 1347 + margin-top: 0.16rem;
1356 font-size: 0.26rem; 1348 font-size: 0.26rem;
1357 font-family: PingFang-SC-Medium; 1349 font-family: PingFang-SC-Medium;
1358 font-weight: 500; 1350 font-weight: 500;
@@ -1786,6 +1778,7 @@ body::-webkit-scrollbar { @@ -1786,6 +1778,7 @@ body::-webkit-scrollbar {
1786 position: absolute; 1778 position: absolute;
1787 top: 1.54rem; 1779 top: 1.54rem;
1788 left: 3rem; 1780 left: 3rem;
  1781 + background-color: white;
1789 border: 0.1rem solid rgba(255, 255, 255, 1); 1782 border: 0.1rem solid rgba(255, 255, 255, 1);
1790 border-radius: 50%; 1783 border-radius: 50%;
1791 } 1784 }
@@ -29,7 +29,3 @@ window.onload = function() { @@ -29,7 +29,3 @@ window.onload = function() {
29 } 29 }
30 30
31 } 31 }
32 -  
33 -// function ajaxFun(url,data) {  
34 -//  
35 -// }  
1 $(function() { 1 $(function() {
2 - var host = 'http://'+window.location.host+'/themes/simpleboot3_mobile/public/assets'; 2 + var host = 'http://' + window.location.host + '/themes/simpleboot3_mobile/public/assets';
  3 + // 点击左上角
  4 + $('.nav_downN9,.nav_drop-down ul a').click(function() {
  5 + $('.nav_down').hide();
  6 + $('.navImg1 img').attr('src', host + "/images/cicon_02@2x.png")
  7 + });
3 //导航 8 //导航
4 $('.navImg1 img').click(function() { 9 $('.navImg1 img').click(function() {
5 - if ($(this).attr('src') == host+"/images/cicon_02@2x.png") {  
6 - $(this).attr('src', host+'/images/xx.png');  
7 - $('.nav_down').slideToggle(); 10 + if ($(this).attr('src') == host + "/images/cicon_02@2x.png") {
  11 + $(this).attr('src', host + '/images/xx.png');
  12 + $('.nav_down').slideDown();
8 } else { 13 } else {
9 - $(this).attr('src', host+'/images/cicon_02@2x.png');  
10 - $('.nav_down').slideToggle(); 14 + console.log(1)
  15 + $(this).attr('src', host + '/images/cicon_02@2x.png');
  16 + $('.nav_down').slideUp();
11 } 17 }
12 }); 18 });
13 //二级导航 19 //二级导航
14 $('.nav_downN').each(function() { 20 $('.nav_downN').each(function() {
15 $(this).click(function() { 21 $(this).click(function() {
16 - if ($(this).children('.nav_downImg2').attr('src') == host+'/images/down.png') {  
17 - $(this).children('.nav_downImg2').attr('src', host+'/images/top.png'); 22 + if ($(this).children('.nav_downImg2').attr('src') == host + '/images/down.png') {
  23 + $(this).children('.nav_downImg2').attr('src', host + '/images/top.png');
18 $(this).next('.nav_drop-down').slideDown(); 24 $(this).next('.nav_drop-down').slideDown();
19 } else { 25 } else {
20 - $(this).children('.nav_downImg2').attr('src', host+'/images/down.png'); 26 + $(this).children('.nav_downImg2').attr('src', host + '/images/down.png');
21 $(this).next('.nav_drop-down').slideUp(); 27 $(this).next('.nav_drop-down').slideUp();
22 } 28 }
23 }); 29 });
@@ -25,34 +31,34 @@ $(function() { @@ -25,34 +31,34 @@ $(function() {
25 31
26 // 收藏 32 // 收藏
27 $('.collections').click(function() { 33 $('.collections').click(function() {
28 - if ($(this).children('img').attr('src') == host+'/images/bicon_02.png') { 34 + if ($(this).children('img').attr('src') == host + '/images/bicon_02.png') {
29 var login = operation('/portal/star/collection'); 35 var login = operation('/portal/star/collection');
30 - if(login == 0){ 36 + if (login == 0) {
31 return false; 37 return false;
32 } 38 }
33 - $(this).children('img').attr('src', host+'/images/bicon_15.png'); 39 + $(this).children('img').attr('src', host + '/images/bicon_15.png');
34 } else { 40 } else {
35 var login = operation('/portal/star/cancelCollection'); 41 var login = operation('/portal/star/cancelCollection');
36 - if(login == 0){ 42 + if (login == 0) {
37 return false; 43 return false;
38 } 44 }
39 - $(this).children('img').attr('src', host+'/images/bicon_02.png'); 45 + $(this).children('img').attr('src', host + '/images/bicon_02.png');
40 } 46 }
41 }); 47 });
42 //点赞 48 //点赞
43 $('.likes').click(function() { 49 $('.likes').click(function() {
44 - if ($(this).children('img').attr('src') == host+'/images/bicon_03.png') { 50 + if ($(this).children('img').attr('src') == host + '/images/bicon_03.png') {
45 var login = operation('/portal/star/like'); 51 var login = operation('/portal/star/like');
46 - if(login == 0){ 52 + if (login == 0) {
47 return false; 53 return false;
48 } 54 }
49 - $(this).children('img').attr('src', host+'/images/bicon_16.png'); 55 + $(this).children('img').attr('src', host + '/images/bicon_16.png');
50 } else { 56 } else {
51 var login = operation('/portal/star/cancelLike'); 57 var login = operation('/portal/star/cancelLike');
52 - if(login == 0){ 58 + if (login == 0) {
53 return false; 59 return false;
54 } 60 }
55 - $(this).children('img').attr('src', host+'/images/bicon_03.png'); 61 + $(this).children('img').attr('src', host + '/images/bicon_03.png');
56 } 62 }
57 }); 63 });
58 64
@@ -95,41 +101,41 @@ $(function() { @@ -95,41 +101,41 @@ $(function() {
95 window.location.href = "/portal/login/register"; 101 window.location.href = "/portal/login/register";
96 }); 102 });
97 //个人中心 103 //个人中心
98 - $('.login_person').click(function(){ 104 + $('.login_person').click(function() {
99 window.location.href = '/portal/login/info'; 105 window.location.href = '/portal/login/info';
100 }); 106 });
101 107
102 //修改资料页面 108 //修改资料页面
103 - $('#editInfo').click(function(){ 109 + $('#editInfo').click(function() {
104 window.location.href = '/portal/login/editInfo'; 110 window.location.href = '/portal/login/editInfo';
105 }); 111 });
106 112
107 //我的收藏页面 113 //我的收藏页面
108 - $('#myCollection').click(function(){ 114 + $('#myCollection').click(function() {
109 window.location.href = '/portal/login/myCollection'; 115 window.location.href = '/portal/login/myCollection';
110 }); 116 });
111 117
112 //跳转链接 118 //跳转链接
113 - $('.nav_drop-down a').click(function(){  
114 - $('.nav_down').css('display','none'); 119 + $('.nav_drop-down a').click(function() {
  120 + $('.nav_down').css('display', 'none');
115 }); 121 });
116 122
117 //评论 123 //评论
118 - $('#comment').click(function(){ 124 + $('#comment').click(function() {
119 var content = $('#comment_content').val(); 125 var content = $('#comment_content').val();
120 var article_id = getUrlParam('id'); 126 var article_id = getUrlParam('id');
121 - var url = window.location.pathname+window.location.search; 127 + var url = window.location.pathname + window.location.search;
122 $.ajax({ 128 $.ajax({
123 type: 'POST', 129 type: 'POST',
124 url: "/portal/star/comment", 130 url: "/portal/star/comment",
125 data: { 131 data: {
126 'content': content, 132 'content': content,
127 - 'article_id':article_id,  
128 - 'url':url 133 + 'article_id': article_id,
  134 + 'url': url
129 135
130 }, 136 },
131 dataType: 'json', 137 dataType: 'json',
132 - success: function (data) { 138 + success: function(data) {
133 console.log(data); 139 console.log(data);
134 if (data.code == 1) { 140 if (data.code == 1) {
135 mask(data.msg); 141 mask(data.msg);
@@ -141,13 +147,13 @@ $(function() { @@ -141,13 +147,13 @@ $(function() {
141 }); 147 });
142 }); 148 });
143 //关于我们 149 //关于我们
144 - $('#about_us').click(function(){ 150 + $('#about_us').click(function() {
145 window.location.href = '/portal/index/aboutUs'; 151 window.location.href = '/portal/index/aboutUs';
146 }); 152 });
147 //搜索 153 //搜索
148 - $("#keywords").keypress(function (e) { 154 + $("#keywords").keypress(function(e) {
149 if (e.which == 13) { 155 if (e.which == 13) {
150 - $("#searchForm").submit();//处理事件 156 + $("#searchForm").submit(); //处理事件
151 } 157 }
152 }); 158 });
153 }); 159 });
@@ -156,36 +162,36 @@ $(function() { @@ -156,36 +162,36 @@ $(function() {
156 function mask(msg) { 162 function mask(msg) {
157 $('.mask').text(msg); 163 $('.mask').text(msg);
158 $('.mask').show(); 164 $('.mask').show();
159 - setTimeout(function(){ 165 + setTimeout(function() {
160 $('.mask').hide(); 166 $('.mask').hide();
161 $('.mask').text(''); 167 $('.mask').text('');
162 - },4000); 168 + }, 4000);
163 } 169 }
164 170
165 //弹框 171 //弹框
166 function video_mask(msg) { 172 function video_mask(msg) {
167 $('.mask').text(msg); 173 $('.mask').text(msg);
168 $('.mask').show(); 174 $('.mask').show();
169 - setTimeout(function(){ 175 + setTimeout(function() {
170 $('.mask').hide(); 176 $('.mask').hide();
171 $('.mask').text(''); 177 $('.mask').text('');
172 - },6000); 178 + }, 6000);
173 } 179 }
174 //点赞收藏 180 //点赞收藏
175 -function operation(url){ 181 +function operation(url) {
176 var article_id = getUrlParam('id'); 182 var article_id = getUrlParam('id');
177 var is_login = 1; 183 var is_login = 1;
178 - var post_url = window.location.pathname+window.location.search; 184 + var post_url = window.location.pathname + window.location.search;
179 $.ajax({ 185 $.ajax({
180 type: 'POST', 186 type: 'POST',
181 url: url, 187 url: url,
182 data: { 188 data: {
183 - 'article_id':article_id,  
184 - 'post_url':post_url 189 + 'article_id': article_id,
  190 + 'post_url': post_url
185 }, 191 },
186 dataType: 'json', 192 dataType: 'json',
187 - async : false,  
188 - success: function (data) { 193 + async: false,
  194 + success: function(data) {
189 if (data.code == 1) { 195 if (data.code == 1) {
190 mask(data.msg); 196 mask(data.msg);
191 } else { 197 } else {
@@ -29,7 +29,7 @@ @@ -29,7 +29,7 @@
29 </div> 29 </div>
30 <else/> 30 <else/>
31 <div class="nav_downImg"> 31 <div class="nav_downImg">
32 - <img src="__TMPL__/public/assets/starImg/aicon_82.png" alt="" /> 32 + <img src="__TMPL__/public/assets/images/aicon_82.png" alt="" />
33 </div> 33 </div>
34 </notempty> 34 </notempty>
35 35
@@ -38,8 +38,8 @@ @@ -38,8 +38,8 @@
38 <else/> 38 <else/>
39 <p class="nav_downName"></p> 39 <p class="nav_downName"></p>
40 </notempty> 40 </notempty>
41 -  
42 </div> 41 </div>
  42 +
43 <else/> 43 <else/>
44 <!-- 登录注册 --> 44 <!-- 登录注册 -->
45 <div class="nav_downBtn"> 45 <div class="nav_downBtn">
@@ -60,7 +60,7 @@ @@ -60,7 +60,7 @@
60 </div> 60 </div>
61 </div> 61 </div>
62 <div class="nav_downLi"> 62 <div class="nav_downLi">
63 - <div class="nav_downN"> 63 + <div class="nav_downN nav_downN9">
64 <a href="/#star"> 64 <a href="/#star">
65 <p class="nav_downTxt">星球奇境</p> 65 <p class="nav_downTxt">星球奇境</p>
66 </a> 66 </a>
@@ -78,7 +78,9 @@ @@ -78,7 +78,9 @@
78 <notempty name="vo.child"> 78 <notempty name="vo.child">
79 <ul> 79 <ul>
80 <volist name="vo.child" id="voo"> 80 <volist name="vo.child" id="voo">
81 - <a href="{$voo.url}"><li>{$voo.name}</li></a> 81 + <a href="{$voo.url}">
  82 + <li>{$voo.name}</li>
  83 + </a>
82 </volist> 84 </volist>
83 </ul> 85 </ul>
84 </notempty> 86 </notempty>