正在显示
10 个修改的文件
包含
344 行增加
和
345 行删除
@@ -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,13 +39,13 @@ | @@ -39,13 +39,13 @@ | ||
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> |
47 | <div class="useraccount_intro txt-cut" style="-webkit-line-clamp: 4;"> | 47 | <div class="useraccount_intro txt-cut" style="-webkit-line-clamp: 4;"> |
48 | - {$vo.post_excerpt} | 48 | + {$vo.post_excerpt} |
49 | </div> | 49 | </div> |
50 | </div> | 50 | </div> |
51 | </div> | 51 | </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> | ||
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" /> | ||
7 | - <meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
8 | - <link rel="stylesheet" href="__TMPL__/public/assets/css/bootstrap4.0.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" /> | ||
11 | - <title>星球故事更多</title> | ||
12 | - </head> | 4 | +<head> |
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" /> | ||
7 | + <meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
8 | + <link rel="stylesheet" href="__TMPL__/public/assets/css/bootstrap4.0.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" /> | ||
11 | + <title>星球故事更多</title> | ||
12 | +</head> | ||
13 | 13 | ||
14 | - <body> | ||
15 | - <include file="public@header"/> | ||
16 | - <div class="hpaay_storyBox"> | ||
17 | - <!--标题--> | ||
18 | - <div class="hpin_main1Title"> | ||
19 | - <img src="__TMPL__/public/assets/images/cicon_23@2x.png" alt="" /> | ||
20 | - <h1>星球<span>故事</span></h1> | ||
21 | - <p>Planet Story</p> | ||
22 | - </div> | ||
23 | - <!--内容--> | ||
24 | - <div class="hpaay_storyCon"> | ||
25 | - <volist name="res['data']" id="vo" offset="0" length="1"> | ||
26 | - <div class="hpaay_storyLi"> | ||
27 | - <div class="hpaay_storyLi1"> | ||
28 | - <a href="/portal/star/getStoryDetail?id={$vo.id}"> | ||
29 | - <div class="hpaay_storyLImg"> | ||
30 | - <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> | ||
31 | - </div> | ||
32 | - </a> | ||
33 | - <div class="hpaay_storyLTxt"> | ||
34 | - <h2 class="txt-cut">{$vo.excerpt}</h2> | ||
35 | - <span>{$vo.create_time|date="Y-m-d",###}</span> | ||
36 | - </div> | ||
37 | - </div> | ||
38 | - <div class="hpaay_storyLi2"> | 14 | +<body> |
15 | + <include file="public@header" /> | ||
16 | + <div class="hpaay_storyBox"> | ||
17 | + <!--标题--> | ||
18 | + <div class="hpin_main1Title"> | ||
19 | + <img src="__TMPL__/public/assets/images/cicon_23@2x.png" alt="" /> | ||
20 | + <h1>星球<span>故事</span></h1> | ||
21 | + <p>Planet Story</p> | ||
22 | + </div> | ||
23 | + <!--内容--> | ||
24 | + <div class="hpaay_storyCon"> | ||
25 | + <volist name="res['data']" id="vo" offset="0" length="1"> | ||
26 | + <div class="hpaay_storyLi"> | ||
27 | + <div class="hpaay_storyLi1"> | ||
28 | + <a href="/portal/star/getStoryDetail?id={$vo.id}"> | ||
29 | + <div class="hpaay_storyLImg"> | ||
30 | + <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> | ||
31 | + </div> | ||
32 | + </a> | ||
33 | + </div> | ||
34 | + <div class="hpaay_storyLi2"> | ||
35 | + <div class="hpaay_storyLTxt"> | ||
36 | + <h2 class="txt-cut">{$vo.excerpt}</h2> | ||
37 | + <span></span> | ||
38 | + </div> | ||
39 | + </div> | ||
40 | + <div class="hpin_mainCon2"> | ||
41 | + <notempty name="vo.audio"> | ||
42 | + <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> | ||
43 | + <else/> | ||
44 | + <audio id="audio" src="http://link.hhtjim.com/163/442869240.mp3"></audio> | ||
45 | + </notempty> | ||
46 | + </div> | ||
47 | + </div> | ||
48 | + </volist> | ||
39 | 49 | ||
40 | - </div> | ||
41 | - <div class="hpin_mainCon2"> | ||
42 | - <notempty name="vo.audio"> | ||
43 | - <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> | ||
44 | - <else/> | ||
45 | - <audio id="audio" src="http://link.hhtjim.com/163/442869240.mp3"></audio> | ||
46 | - </notempty> | ||
47 | - </div> | ||
48 | - </div> | ||
49 | - </volist> | 50 | + <volist name="res['data']" id="vo" offset="1" length="1"> |
51 | + <div class="hpaay_storyLi"> | ||
52 | + <div class="hpaay_storyLi1"> | ||
53 | + <a href="/portal/star/getStoryDetail?id={$vo.id}"> | ||
54 | + <div class="hpaay_storyLImg"> | ||
55 | + <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> | ||
56 | + </div> | ||
57 | + </a> | ||
58 | + </div> | ||
59 | + <div class="hpaay_storyLi2"> | ||
60 | + <div class="hpaay_storyLTxt"> | ||
61 | + <h2 class="txt-cut">{$vo.excerpt}</h2> | ||
62 | + <span></span> | ||
63 | + </div> | ||
64 | + </div> | ||
65 | + <div class="hpin_mainCon2"> | ||
66 | + <notempty name="vo.audio"> | ||
67 | + <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> | ||
68 | + <else/> | ||
69 | + <audio id="audio" src="http://link.hhtjim.com/163/442869240.mp3"></audio> | ||
70 | + </notempty> | ||
71 | + </div> | ||
72 | + </div> | ||
73 | + </volist> | ||
50 | 74 | ||
51 | - <volist name="res['data']" id="vo" offset="1" length="1"> | ||
52 | - <div class="hpaay_storyLi"> | ||
53 | - <div class="hpaay_storyLi1"> | ||
54 | - <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"> | ||
61 | - <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> | ||
62 | - </div> | ||
63 | - </div> | ||
64 | - <div class="hpaay_storyLi2"> | 75 | + <volist name="res['data']" id="vo" offset="2" length="1"> |
76 | + <div class="hpaay_storyLi"> | ||
77 | + <div class="hpaay_storyLi1"> | ||
78 | + <a href="/portal/star/getStoryDetail?id={$vo.id}"> | ||
79 | + <div class="hpaay_storyLImg"> | ||
80 | + <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> | ||
81 | + </div> | ||
82 | + </a> | ||
83 | + </div> | ||
84 | + <div class="hpaay_storyLi2"> | ||
85 | + <div class="hpaay_storyLTxt"> | ||
86 | + <h2 class="txt-cut">{$vo.excerpt}</h2> | ||
87 | + <span></span> | ||
88 | + </div> | ||
89 | + </div> | ||
90 | + <div class="hpin_mainCon2"> | ||
91 | + <notempty name="vo.audio"> | ||
92 | + <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> | ||
93 | + <else/> | ||
94 | + <audio id="audio" src="http://link.hhtjim.com/163/442869240.mp3"></audio> | ||
95 | + </notempty> | ||
96 | + </div> | ||
97 | + </div> | ||
98 | + </volist> | ||
65 | 99 | ||
66 | - </div> | ||
67 | - <div class="hpin_mainCon2"> | ||
68 | - <notempty name="vo.audio"> | ||
69 | - <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> | ||
70 | - <else/> | ||
71 | - <audio id="audio" src="http://link.hhtjim.com/163/442869240.mp3"></audio> | ||
72 | - </notempty> | ||
73 | - </div> | ||
74 | - </div> | ||
75 | - </volist> | 100 | + <volist name="res['data']" id="vo" offset="3" length="1"> |
101 | + <div class="hpaay_storyLi"> | ||
102 | + <div class="hpaay_storyLi1"> | ||
103 | + <a href="/portal/star/getStoryDetail?id={$vo.id}"> | ||
104 | + <div class="hpaay_storyLImg"> | ||
105 | + <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> | ||
106 | + </div> | ||
107 | + </a> | ||
108 | + </div> | ||
109 | + <div class="hpaay_storyLi2"> | ||
110 | + <div class="hpaay_storyLTxt"> | ||
111 | + <h2 class="txt-cut">{$vo.excerpt}</h2> | ||
112 | + <span></span> | ||
113 | + </div> | ||
114 | + </div> | ||
115 | + <div class="hpin_mainCon2"> | ||
116 | + <notempty name="vo.audio"> | ||
117 | + <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> | ||
118 | + <else/> | ||
119 | + <audio id="audio" src="http://link.hhtjim.com/163/442869240.mp3"></audio> | ||
120 | + </notempty> | ||
121 | + </div> | ||
122 | + </div> | ||
123 | + </volist> | ||
76 | 124 | ||
77 | - <volist name="res['data']" id="vo" offset="2" length="1"> | ||
78 | - <div class="hpaay_storyLi"> | ||
79 | - <div class="hpaay_storyLi1"> | ||
80 | - <a href="/portal/star/getStoryDetail?id={$vo.id}"> | ||
81 | - <div class="hpaay_storyLImg"> | ||
82 | - <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> | ||
83 | - </div> | ||
84 | - </a> | ||
85 | - <div class="hpaay_storyLTxt"> | ||
86 | - <h2 class="txt-cut">{$vo.excerpt}</h2> | ||
87 | - <span>{$vo.create_time|date="Y-m-d",###}</span> | ||
88 | - </div> | ||
89 | - </div> | ||
90 | - <div class="hpaay_storyLi2"> | 125 | + <volist name="res['data']" id="vo" offset="4" length="1"> |
126 | + <div class="hpaay_storyLi"> | ||
127 | + <div class="hpaay_storyLi1"> | ||
128 | + <a href="/portal/star/getStoryDetail?id={$vo.id}"> | ||
129 | + <div class="hpaay_storyLImg"> | ||
130 | + <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> | ||
131 | + </div> | ||
132 | + </a> | ||
133 | + <div class="hpaay_storyLTxt"> | ||
134 | + <h2 class="txt-cut">{$vo.excerpt}</h2> | ||
135 | + <span></span> | ||
136 | + </div> | ||
137 | + </div> | ||
138 | + <div class="hpaay_storyLi2"> | ||
91 | 139 | ||
92 | - </div> | ||
93 | - <div class="hpin_mainCon2"> | ||
94 | - <notempty name="vo.audio"> | ||
95 | - <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> | ||
96 | - <else/> | ||
97 | - <audio id="audio" src="http://link.hhtjim.com/163/442869240.mp3"></audio> | ||
98 | - </notempty> | ||
99 | - </div> | ||
100 | - </div> | ||
101 | - </volist> | 140 | + </div> |
141 | + <div class="hpin_mainCon2"> | ||
142 | + <notempty name="vo.audio"> | ||
143 | + <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> | ||
144 | + <else/> | ||
145 | + <audio id="audio" src="http://link.hhtjim.com/163/442869240.mp3"></audio> | ||
146 | + </notempty> | ||
147 | + </div> | ||
148 | + </div> | ||
149 | + </volist> | ||
102 | 150 | ||
103 | - <volist name="res['data']" id="vo" offset="3" length="1"> | ||
104 | - <div class="hpaay_storyLi"> | ||
105 | - <div class="hpaay_storyLi1"> | ||
106 | - <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"> | ||
113 | - <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> | ||
114 | - </div> | ||
115 | - </div> | ||
116 | - <div class="hpaay_storyLi2"> | 151 | + <volist name="res['data']" id="vo" offset="5" length="1"> |
152 | + <div class="hpaay_storyLi"> | ||
153 | + <div class="hpaay_storyLi1"> | ||
154 | + <a href="/portal/star/getStoryDetail?id={$vo.id}"> | ||
155 | + <div class="hpaay_storyLTxt"> | ||
156 | + <h2 class="txt-cut">{$vo.excerpt}</h2> | ||
157 | + <span></span> | ||
158 | + </div> | ||
159 | + </a> | ||
160 | + <div class="hpaay_storyLImg"> | ||
161 | + <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> | ||
162 | + </div> | ||
163 | + </div> | ||
164 | + <div class="hpaay_storyLi2"> | ||
117 | 165 | ||
118 | - </div> | ||
119 | - <div class="hpin_mainCon2"> | ||
120 | - <notempty name="vo.audio"> | ||
121 | - <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> | ||
122 | - <else/> | ||
123 | - <audio id="audio" src="http://link.hhtjim.com/163/442869240.mp3"></audio> | ||
124 | - </notempty> | ||
125 | - </div> | ||
126 | - </div> | ||
127 | - </volist> | 166 | + </div> |
167 | + <div class="hpin_mainCon2"> | ||
168 | + <notempty name="vo.audio"> | ||
169 | + <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> | ||
170 | + <else/> | ||
171 | + <audio id="audio" src="http://link.hhtjim.com/163/442869240.mp3"></audio> | ||
172 | + </notempty> | ||
173 | + </div> | ||
174 | + </div> | ||
175 | + </volist> | ||
128 | 176 | ||
129 | - <volist name="res['data']" id="vo" offset="4" length="1"> | ||
130 | - <div class="hpaay_storyLi"> | ||
131 | - <div class="hpaay_storyLi1"> | ||
132 | - <a href="/portal/star/getStoryDetail?id={$vo.id}"> | ||
133 | - <div class="hpaay_storyLImg"> | ||
134 | - <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> | ||
135 | - </div> | ||
136 | - </a> | ||
137 | - <div class="hpaay_storyLTxt"> | ||
138 | - <h2 class="txt-cut">{$vo.excerpt}</h2> | ||
139 | - <span>{$vo.create_time|date="Y-m-d",###}</span> | ||
140 | - </div> | ||
141 | - </div> | ||
142 | - <div class="hpaay_storyLi2"> | 177 | + <volist name="res['data']" id="vo" offset="6" length="1"> |
178 | + <div class="hpaay_storyLi"> | ||
179 | + <div class="hpaay_storyLi1"> | ||
180 | + <a href="/portal/star/getStoryDetail?id={$vo.id}"> | ||
181 | + <div class="hpaay_storyLImg"> | ||
182 | + <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> | ||
183 | + </div> | ||
184 | + </a> | ||
185 | + <div class="hpaay_storyLTxt"> | ||
186 | + <h2 class="txt-cut">{$vo.excerpt}</h2> | ||
187 | + <span></span> | ||
188 | + </div> | ||
189 | + </div> | ||
190 | + <div class="hpaay_storyLi2"> | ||
143 | 191 | ||
144 | - </div> | ||
145 | - <div class="hpin_mainCon2"> | ||
146 | - <notempty name="vo.audio"> | ||
147 | - <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> | ||
148 | - <else/> | ||
149 | - <audio id="audio" src="http://link.hhtjim.com/163/442869240.mp3"></audio> | ||
150 | - </notempty> | ||
151 | - </div> | ||
152 | - </div> | ||
153 | - </volist> | 192 | + </div> |
193 | + <div class="hpin_mainCon2"> | ||
194 | + <notempty name="vo.audio"> | ||
195 | + <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> | ||
196 | + <else/> | ||
197 | + <audio id="audio" src="http://link.hhtjim.com/163/442869240.mp3"></audio> | ||
198 | + </notempty> | ||
199 | + </div> | ||
200 | + </div> | ||
201 | + </volist> | ||
154 | 202 | ||
155 | - <volist name="res['data']" id="vo" offset="5" length="1"> | ||
156 | - <div class="hpaay_storyLi"> | ||
157 | - <div class="hpaay_storyLi1"> | ||
158 | - <a href="/portal/star/getStoryDetail?id={$vo.id}"> | ||
159 | - <div class="hpaay_storyLTxt"> | ||
160 | - <h2 class="txt-cut">{$vo.excerpt}</h2> | ||
161 | - <span>2019-01-09</span> | ||
162 | - </div> | ||
163 | - </a> | ||
164 | - <div class="hpaay_storyLImg"> | ||
165 | - <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> | ||
166 | - </div> | ||
167 | - </div> | ||
168 | - <div class="hpaay_storyLi2"> | 203 | + <volist name="res['data']" id="vo" offset="7" length="1"> |
204 | + <div class="hpaay_storyLi"> | ||
205 | + <div class="hpaay_storyLi1"> | ||
206 | + <a href="/portal/star/getStoryDetail?id={$vo.id}"> | ||
207 | + <div class="hpaay_storyLTxt"> | ||
208 | + <h2 class="txt-cut">{$vo.excerpt}</h2> | ||
209 | + <span></span> | ||
210 | + </div> | ||
211 | + </a> | ||
212 | + <div class="hpaay_storyLImg"> | ||
213 | + <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> | ||
214 | + </div> | ||
215 | + </div> | ||
216 | + <div class="hpaay_storyLi2"> | ||
169 | 217 | ||
170 | - </div> | ||
171 | - <div class="hpin_mainCon2"> | ||
172 | - <notempty name="vo.audio"> | ||
173 | - <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> | ||
174 | - <else/> | ||
175 | - <audio id="audio" src="http://link.hhtjim.com/163/442869240.mp3"></audio> | ||
176 | - </notempty> | ||
177 | - </div> | ||
178 | - </div> | ||
179 | - </volist> | 218 | + </div> |
219 | + <div class="hpin_mainCon2"> | ||
220 | + <notempty name="vo.audio"> | ||
221 | + <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> | ||
222 | + <else/> | ||
223 | + <audio id="audio" src="http://link.hhtjim.com/163/442869240.mp3"></audio> | ||
224 | + </notempty> | ||
225 | + </div> | ||
226 | + </div> | ||
227 | + </volist> | ||
180 | 228 | ||
181 | - <volist name="res['data']" id="vo" offset="6" length="1"> | ||
182 | - <div class="hpaay_storyLi"> | ||
183 | - <div class="hpaay_storyLi1"> | ||
184 | - <a href="/portal/star/getStoryDetail?id={$vo.id}"> | ||
185 | - <div class="hpaay_storyLImg"> | ||
186 | - <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> | ||
187 | - </div> | ||
188 | - </a> | ||
189 | - <div class="hpaay_storyLTxt"> | ||
190 | - <h2 class="txt-cut">{$vo.excerpt}</h2> | ||
191 | - <span>{$vo.create_time|date="Y-m-d",###}</span> | ||
192 | - </div> | ||
193 | - </div> | ||
194 | - <div class="hpaay_storyLi2"> | 229 | + </div> |
195 | 230 | ||
196 | - </div> | ||
197 | - <div class="hpin_mainCon2"> | ||
198 | - <notempty name="vo.audio"> | ||
199 | - <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> | ||
200 | - <else/> | ||
201 | - <audio id="audio" src="http://link.hhtjim.com/163/442869240.mp3"></audio> | ||
202 | - </notempty> | ||
203 | - </div> | ||
204 | - </div> | ||
205 | - </volist> | 231 | + <!--分页--> |
232 | + <div class="page"> | ||
233 | + <div class="pagination"> | ||
234 | + {$page|default=''} | ||
235 | + </div> | ||
236 | + </div> | ||
237 | + </div> | ||
238 | + <include file="public@footer" /> | ||
239 | + <script src="__TMPL__/public/assets/js/base.js"></script> | ||
240 | + <script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script> | ||
241 | + <script src="__TMPL__/public/assets/js/k-audio.js"></script> | ||
242 | + <script src="__TMPL__/public/assets/js/public.js"></script> | ||
243 | + <script type="text/javascript"> | ||
244 | + //音频 | ||
245 | + var audios = document.getElementsByTagName('audio'); | ||
246 | + for (var i = 0; i < audios.length; i++) { | ||
247 | + var a = new kac(audios[i], 800, 30, "https://raw.githubusercontent.com/KIPI-C/k-audio.js/master/22.lrc", true); | ||
248 | + a.style("#E1E1E6"); | ||
249 | + } | ||
206 | 250 | ||
207 | - <volist name="res['data']" id="vo" offset="7" length="1"> | ||
208 | - <div class="hpaay_storyLi"> | ||
209 | - <div class="hpaay_storyLi1"> | ||
210 | - <a href="/portal/star/getStoryDetail?id={$vo.id}"> | ||
211 | - <div class="hpaay_storyLTxt"> | ||
212 | - <h2 class="txt-cut">{$vo.excerpt}</h2> | ||
213 | - <span>2019-01-09</span> | ||
214 | - </div> | ||
215 | - </a> | ||
216 | - <div class="hpaay_storyLImg"> | ||
217 | - <img src="{:cmf_get_image_url($vo.thumbnail)}" alt="" /> | ||
218 | - </div> | ||
219 | - </div> | ||
220 | - <div class="hpaay_storyLi2"> | ||
221 | - | ||
222 | - </div> | ||
223 | - <div class="hpin_mainCon2"> | ||
224 | - <notempty name="vo.audio"> | ||
225 | - <audio id="audio" src="{:cmf_get_file_download_url($vo.audio)}"></audio> | ||
226 | - <else/> | ||
227 | - <audio id="audio" src="http://link.hhtjim.com/163/442869240.mp3"></audio> | ||
228 | - </notempty> | ||
229 | - </div> | ||
230 | - </div> | ||
231 | - </volist> | ||
232 | - | ||
233 | - </div> | ||
234 | - | ||
235 | - <!--分页--> | ||
236 | - <div class="page"> | ||
237 | - <div class="pagination"> | ||
238 | - {$page|default=''} | ||
239 | - </div> | ||
240 | - </div> | ||
241 | - </div> | ||
242 | - <include file="public@footer"/> | ||
243 | - <script src="__TMPL__/public/assets/js/base.js"></script> | ||
244 | - <script src="__TMPL__/public/assets/js/jquery-2.1.0.js"></script> | ||
245 | - <script src="__TMPL__/public/assets/js/k-audio.js"></script> | ||
246 | - <script src="__TMPL__/public/assets/js/public.js"></script> | ||
247 | - <script type="text/javascript"> | ||
248 | - //音频 | ||
249 | - var audios = document.getElementsByTagName('audio'); | ||
250 | - for (var i = 0; i < audios.length; i++) { | ||
251 | - var a = new kac(audios[i], 800, 30, "https://raw.githubusercontent.com/KIPI-C/k-audio.js/master/22.lrc", true); | ||
252 | - a.style("#E1E1E6"); | ||
253 | - } | ||
254 | - | ||
255 | - // 获取所有audios | ||
256 | - var audios = document.getElementsByTagName("audio"); | ||
257 | - // 暂停函数 | ||
258 | - function pauseAll() { | ||
259 | - var self = this; | ||
260 | - [].forEach.call(audios, function(i) { | ||
261 | - // 将audios中其他的audio全部暂停 | ||
262 | - i !== self && i.pause(); | ||
263 | - }) | ||
264 | - } | ||
265 | - // 给play事件绑定暂停函数 | ||
266 | - [].forEach.call(audios, function(i) { | ||
267 | - i.addEventListener("play", pauseAll.bind(i)); | ||
268 | - }) | ||
269 | - </script> | ||
270 | - </body> | 251 | + // 获取所有audios |
252 | + var audios = document.getElementsByTagName("audio"); | ||
253 | + // 暂停函数 | ||
254 | + function pauseAll() { | ||
255 | + var self = this; | ||
256 | + [].forEach.call(audios, function(i) { | ||
257 | + // 将audios中其他的audio全部暂停 | ||
258 | + i !== self && i.pause(); | ||
259 | + }) | ||
260 | + } | ||
261 | + // 给play事件绑定暂停函数 | ||
262 | + [].forEach.call(audios, function(i) { | ||
263 | + i.addEventListener("play", pauseAll.bind(i)); | ||
264 | + }) | ||
265 | + </script> | ||
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; |
@@ -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 | } |
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> |
-
请 注册 或 登录 后发表评论