正在显示
10 个修改的文件
包含
219 行增加
和
170 行删除
@@ -20,6 +20,16 @@ | @@ -20,6 +20,16 @@ | ||
20 | video::-webkit-media-controls-panel { | 20 | video::-webkit-media-controls-panel { |
21 | width: calc(100% + 30px); | 21 | width: calc(100% + 30px); |
22 | } | 22 | } |
23 | + | ||
24 | + #collections { | ||
25 | + width: 30px; | ||
26 | + height: 30px; | ||
27 | + } | ||
28 | + | ||
29 | + #likes { | ||
30 | + width: 32px; | ||
31 | + height: 32px; | ||
32 | + } | ||
23 | </style> | 33 | </style> |
24 | </head> | 34 | </head> |
25 | 35 | ||
@@ -104,7 +114,7 @@ | @@ -104,7 +114,7 @@ | ||
104 | <img src="__TMPL__/public/assets/starImg/aicon_89.png" alt=""> | 114 | <img src="__TMPL__/public/assets/starImg/aicon_89.png" alt=""> |
105 | <img src="__TMPL__/public/assets/starImg/aicon_90.png" alt=""> | 115 | <img src="__TMPL__/public/assets/starImg/aicon_90.png" alt=""> |
106 | <img id="collections" src="__TMPL__/public/assets/starImg/bicon_02.png" alt=""> | 116 | <img id="collections" src="__TMPL__/public/assets/starImg/bicon_02.png" alt=""> |
107 | - <img id="likes" src="__TMPL__/public/assets/starImg/bicon_03.png" alt=""> | 117 | + <img id="likes" src="__TMPL__/public/assets/starImg/bicon_031.png" alt=""> |
108 | </div> | 118 | </div> |
109 | </div> | 119 | </div> |
110 | </div> | 120 | </div> |
@@ -223,7 +233,7 @@ | @@ -223,7 +233,7 @@ | ||
223 | "display": "block" | 233 | "display": "block" |
224 | }); | 234 | }); |
225 | //视频id,标题,国家,取景,上映时间 | 235 | //视频id,标题,国家,取景,上映时间 |
226 | - var id = li_index.children('.li_id').val(); | 236 | + var id = li_index.children('.li_id').val(); |
227 | var post_title = li_index.children('.li_post_title').val(); | 237 | var post_title = li_index.children('.li_post_title').val(); |
228 | var city_name = li_index.children('.li_city_name').val(); | 238 | var city_name = li_index.children('.li_city_name').val(); |
229 | var framing = li_index.children('.li_framing').val(); | 239 | var framing = li_index.children('.li_framing').val(); |
@@ -250,43 +260,43 @@ | @@ -250,43 +260,43 @@ | ||
250 | } | 260 | } |
251 | 261 | ||
252 | //是否收藏 | 262 | //是否收藏 |
253 | - function is_collections(article_id){ | ||
254 | - var host = 'http://'+window.location.host; | 263 | + function is_collections(article_id) { |
264 | + var host = 'http://' + window.location.host; | ||
255 | $.ajax({ | 265 | $.ajax({ |
256 | type: 'POST', | 266 | type: 'POST', |
257 | url: '/portal/star/is_collections', | 267 | url: '/portal/star/is_collections', |
258 | data: { | 268 | data: { |
259 | - 'id':article_id, | 269 | + 'id': article_id, |
260 | }, | 270 | }, |
261 | dataType: 'json', | 271 | dataType: 'json', |
262 | - async : false, | ||
263 | - success: function (data) { | 272 | + async: false, |
273 | + success: function(data) { | ||
264 | console.log(data); | 274 | console.log(data); |
265 | if (data.code == 1) { | 275 | if (data.code == 1) { |
266 | - $('#collections').attr('src',host+'/themes/simpleboot3/public/assets/starImg/bicon_15.png') | 276 | + $('#collections').attr('src', host + '/themes/simpleboot3/public/assets/starImg/bicon_15.png') |
267 | } else { | 277 | } else { |
268 | - $('#collections').attr('src',host+'/themes/simpleboot3/public/assets/starImg/bicon_02.png') | 278 | + $('#collections').attr('src', host + '/themes/simpleboot3/public/assets/starImg/bicon_02.png') |
269 | } | 279 | } |
270 | } | 280 | } |
271 | }); | 281 | }); |
272 | } | 282 | } |
273 | 283 | ||
274 | //是否点赞 | 284 | //是否点赞 |
275 | - function is_likes(article_id){ | ||
276 | - var host = 'http://'+window.location.host; | 285 | + function is_likes(article_id) { |
286 | + var host = 'http://' + window.location.host; | ||
277 | $.ajax({ | 287 | $.ajax({ |
278 | type: 'POST', | 288 | type: 'POST', |
279 | url: '/portal/star/is_likes', | 289 | url: '/portal/star/is_likes', |
280 | data: { | 290 | data: { |
281 | - 'id':article_id, | 291 | + 'id': article_id, |
282 | }, | 292 | }, |
283 | dataType: 'json', | 293 | dataType: 'json', |
284 | - async : false, | ||
285 | - success: function (data) { | 294 | + async: false, |
295 | + success: function(data) { | ||
286 | if (data.code == 1) { | 296 | if (data.code == 1) { |
287 | - $('#likes').attr('src',host+'/themes/simpleboot3/public/assets/starImg/bicon_16.png') | 297 | + $('#likes').attr('src', host + '/themes/simpleboot3/public/assets/starImg/bicon_161.png') |
288 | } else { | 298 | } else { |
289 | - $('#likes').attr('src',host+'/themes/simpleboot3/public/assets/starImg/bicon_03.png') | 299 | + $('#likes').attr('src', host + '/themes/simpleboot3/public/assets/starImg/bicon_031.png') |
290 | } | 300 | } |
291 | } | 301 | } |
292 | }); | 302 | }); |
@@ -74,26 +74,32 @@ body { | @@ -74,26 +74,32 @@ body { | ||
74 | .clearfix { | 74 | .clearfix { |
75 | zoom: 1; | 75 | zoom: 1; |
76 | } | 76 | } |
77 | + | ||
77 | @media (max-width: 1700px) { | 78 | @media (max-width: 1700px) { |
78 | - .show_InMain{ | 79 | + .show_InMain { |
79 | background-position: -84px 0; | 80 | background-position: -84px 0; |
80 | } | 81 | } |
81 | } | 82 | } |
83 | + | ||
82 | @media (max-width: 1580px) { | 84 | @media (max-width: 1580px) { |
83 | - .show_InMain{ | 85 | + .show_InMain { |
84 | background-position: -120px 40px; | 86 | background-position: -120px 40px; |
85 | } | 87 | } |
86 | } | 88 | } |
89 | + | ||
87 | @media (max-width: 1480px) { | 90 | @media (max-width: 1480px) { |
88 | - .show_InMain{ | 91 | + .show_InMain { |
89 | background-position: -190px 40px; | 92 | background-position: -190px 40px; |
90 | } | 93 | } |
91 | } | 94 | } |
95 | + | ||
92 | @media (max-width: 1360px) { | 96 | @media (max-width: 1360px) { |
93 | - .show_InMain{ | 97 | + .show_InMain { |
94 | background-position: -250px 40px; | 98 | background-position: -250px 40px; |
95 | } | 99 | } |
96 | } | 100 | } |
101 | + | ||
102 | + | ||
97 | /* 侧边栏 */ | 103 | /* 侧边栏 */ |
98 | 104 | ||
99 | .sidebar { | 105 | .sidebar { |
@@ -238,8 +244,8 @@ body { | @@ -238,8 +244,8 @@ body { | ||
238 | width: 140px; | 244 | width: 140px; |
239 | margin-top: 66px; | 245 | margin-top: 66px; |
240 | float: left; | 246 | float: left; |
241 | - height:140px; | ||
242 | - border-radius:50% | 247 | + height: 140px; |
248 | + border-radius: 50% | ||
243 | } | 249 | } |
244 | 250 | ||
245 | .show_INMain_con2 { | 251 | .show_INMain_con2 { |
@@ -316,13 +322,13 @@ body { | @@ -316,13 +322,13 @@ body { | ||
316 | 322 | ||
317 | .show_indexImg1 { | 323 | .show_indexImg1 { |
318 | width: 400px; | 324 | width: 400px; |
319 | - height:400px; | 325 | + height: 400px; |
320 | float: left; | 326 | float: left; |
321 | } | 327 | } |
322 | 328 | ||
323 | .show_index_con2Txt2 { | 329 | .show_index_con2Txt2 { |
324 | width: 760px; | 330 | width: 760px; |
325 | - height:350px; | 331 | + height: 350px; |
326 | float: left; | 332 | float: left; |
327 | padding-top: 24px; | 333 | padding-top: 24px; |
328 | box-sizing: border-box; | 334 | box-sizing: border-box; |
@@ -334,7 +340,11 @@ body { | @@ -334,7 +340,11 @@ body { | ||
334 | color: rgba(102, 102, 102, 1); | 340 | color: rgba(102, 102, 102, 1); |
335 | /*line-height: 28px;*/ | 341 | /*line-height: 28px;*/ |
336 | } | 342 | } |
337 | -.show_index_con2Txt2::-webkit-scrollbar {display:none} | 343 | + |
344 | +.show_index_con2Txt2::-webkit-scrollbar { | ||
345 | + display: none | ||
346 | +} | ||
347 | + | ||
338 | .show_index_progress { | 348 | .show_index_progress { |
339 | width: 800px; | 349 | width: 800px; |
340 | height: 50px; | 350 | height: 50px; |
@@ -345,12 +355,15 @@ body { | @@ -345,12 +355,15 @@ body { | ||
345 | .show_index_progress img { | 355 | .show_index_progress img { |
346 | margin: 10px 0 0 45px; | 356 | margin: 10px 0 0 45px; |
347 | } | 357 | } |
348 | -.swiper-button-next2.swiper-button-disabled, .swiper-button-prev2.swiper-button-disabled { | 358 | + |
359 | +.swiper-button-next2.swiper-button-disabled, | ||
360 | +.swiper-button-prev2.swiper-button-disabled { | ||
349 | opacity: 1; | 361 | opacity: 1; |
350 | cursor: auto; | 362 | cursor: auto; |
351 | pointer-events: none; | 363 | pointer-events: none; |
352 | background-color: white; | 364 | background-color: white; |
353 | } | 365 | } |
366 | + | ||
354 | .swiper-button-next2, | 367 | .swiper-button-next2, |
355 | .swiper-button-prev2 { | 368 | .swiper-button-prev2 { |
356 | width: 30px; | 369 | width: 30px; |
@@ -404,17 +417,19 @@ body { | @@ -404,17 +417,19 @@ body { | ||
404 | z-index: 1; | 417 | z-index: 1; |
405 | position: relative; | 418 | position: relative; |
406 | } | 419 | } |
407 | -.show_swiper2_btn22{ | 420 | + |
421 | +.show_swiper2_btn22 { | ||
408 | position: absolute; | 422 | position: absolute; |
409 | left: 50%; | 423 | left: 50%; |
410 | top: 50%; | 424 | top: 50%; |
411 | - transform: translate(-50%,-50%); | ||
412 | - -moz-transform: translate(-50%,-50%); | ||
413 | - -o-transform: translate(-50%,-50%); | ||
414 | - -webkit-transform: translate(-50%,-50%); | ||
415 | - -ms-transform: translate(-50%,-50%); | 425 | + transform: translate(-50%, -50%); |
426 | + -moz-transform: translate(-50%, -50%); | ||
427 | + -o-transform: translate(-50%, -50%); | ||
428 | + -webkit-transform: translate(-50%, -50%); | ||
429 | + -ms-transform: translate(-50%, -50%); | ||
416 | } | 430 | } |
417 | 431 | ||
432 | + | ||
418 | /* 星球画廊 */ | 433 | /* 星球画廊 */ |
419 | 434 | ||
420 | .swiper-container li { | 435 | .swiper-container li { |
@@ -503,7 +518,7 @@ body { | @@ -503,7 +518,7 @@ body { | ||
503 | 518 | ||
504 | .show_INMain_con4 ul li img { | 519 | .show_INMain_con4 ul li img { |
505 | width: 230px; | 520 | width: 230px; |
506 | - height:150px; | 521 | + height: 150px; |
507 | float: left; | 522 | float: left; |
508 | } | 523 | } |
509 | 524 | ||
@@ -526,17 +541,18 @@ body { | @@ -526,17 +541,18 @@ body { | ||
526 | margin: 10px 0 18px 0; | 541 | margin: 10px 0 18px 0; |
527 | color: rgba(153, 153, 153, 1); | 542 | color: rgba(153, 153, 153, 1); |
528 | line-height: 22px; | 543 | line-height: 22px; |
529 | - height:42px; | 544 | + height: 42px; |
530 | overflow: hidden; | 545 | overflow: hidden; |
531 | text-overflow: ellipsis; | 546 | text-overflow: ellipsis; |
532 | display: -webkit-box; | 547 | display: -webkit-box; |
533 | -webkit-line-clamp: 2; | 548 | -webkit-line-clamp: 2; |
534 | -webkit-box-orient: vertical; | 549 | -webkit-box-orient: vertical; |
535 | } | 550 | } |
536 | -.show_INMain_con5_2 img{ | ||
537 | - width:44px; | ||
538 | - height:44px; | ||
539 | - border-radius:50%; | 551 | + |
552 | +.show_INMain_con5_2 img { | ||
553 | + width: 44px; | ||
554 | + height: 44px; | ||
555 | + border-radius: 50%; | ||
540 | } | 556 | } |
541 | 557 | ||
542 | .show_INMain_con4_txt span { | 558 | .show_INMain_con4_txt span { |
@@ -569,14 +585,14 @@ body { | @@ -569,14 +585,14 @@ body { | ||
569 | 585 | ||
570 | .show_INMain_con5_1 img { | 586 | .show_INMain_con5_1 img { |
571 | width: 100%; | 587 | width: 100%; |
572 | - height:218px; | 588 | + height: 218px; |
573 | } | 589 | } |
574 | 590 | ||
575 | .show_INMain_con5_2 { | 591 | .show_INMain_con5_2 { |
576 | width: 305px; | 592 | width: 305px; |
577 | text-align: center; | 593 | text-align: center; |
578 | margin: auto; | 594 | margin: auto; |
579 | - height:138px; | 595 | + height: 138px; |
580 | } | 596 | } |
581 | 597 | ||
582 | .show_INMain_con5_2 img { | 598 | .show_INMain_con5_2 img { |
@@ -613,12 +629,12 @@ body { | @@ -613,12 +629,12 @@ body { | ||
613 | 629 | ||
614 | .show_INMain_con6 ul li img { | 630 | .show_INMain_con6 ul li img { |
615 | width: 100%; | 631 | width: 100%; |
616 | - height:340px; | 632 | + height: 340px; |
617 | } | 633 | } |
618 | 634 | ||
619 | .show_INMain_con6_1 { | 635 | .show_INMain_con6_1 { |
620 | width: 490px; | 636 | width: 490px; |
621 | - height:78px; | 637 | + height: 78px; |
622 | margin: auto; | 638 | margin: auto; |
623 | text-align: center; | 639 | text-align: center; |
624 | } | 640 | } |
@@ -678,7 +694,7 @@ body { | @@ -678,7 +694,7 @@ body { | ||
678 | cursor: pointer; | 694 | cursor: pointer; |
679 | font-size: 32px; | 695 | font-size: 32px; |
680 | color: rgba(26, 26, 26, 1); | 696 | color: rgba(26, 26, 26, 1); |
681 | - text-align:center; | 697 | + text-align: center; |
682 | } | 698 | } |
683 | 699 | ||
684 | .show_main_Tit p { | 700 | .show_main_Tit p { |
@@ -787,7 +803,7 @@ body { | @@ -787,7 +803,7 @@ body { | ||
787 | color: rgba(62, 228, 152, 1); | 803 | color: rgba(62, 228, 152, 1); |
788 | } | 804 | } |
789 | 805 | ||
790 | -.show_comments_con dl{ | 806 | +.show_comments_con dl { |
791 | font-size: 16px; | 807 | font-size: 16px; |
792 | font-weight: 400; | 808 | font-weight: 400; |
793 | line-height: 24px; | 809 | line-height: 24px; |
@@ -806,7 +822,7 @@ body { | @@ -806,7 +822,7 @@ body { | ||
806 | text-align: center; | 822 | text-align: center; |
807 | font-size: 18px; | 823 | font-size: 18px; |
808 | color: rgba(62, 228, 152, 1); | 824 | color: rgba(62, 228, 152, 1); |
809 | - margin-top:30px; | 825 | + margin-top: 30px; |
810 | } | 826 | } |
811 | 827 | ||
812 | 828 | ||
@@ -846,10 +862,12 @@ body { | @@ -846,10 +862,12 @@ body { | ||
846 | height: 140px; | 862 | height: 140px; |
847 | border-radius: 50%; | 863 | border-radius: 50%; |
848 | } | 864 | } |
849 | -.show6_con2{ | ||
850 | - margin-top:50px; | 865 | + |
866 | +.show6_con2 { | ||
867 | + margin-top: 50px; | ||
851 | } | 868 | } |
852 | -.show_3_list_txt h1{ | 869 | + |
870 | +.show_3_list_txt h1 { | ||
853 | height: 170px; | 871 | height: 170px; |
854 | overflow: hidden; | 872 | overflow: hidden; |
855 | text-align: center; | 873 | text-align: center; |
@@ -916,7 +934,7 @@ body { | @@ -916,7 +934,7 @@ body { | ||
916 | font-size: 28px; | 934 | font-size: 28px; |
917 | font-weight: bold; | 935 | font-weight: bold; |
918 | color: rgba(26, 26, 26, 1); | 936 | color: rgba(26, 26, 26, 1); |
919 | - margin-bottom:40px; | 937 | + margin-bottom: 40px; |
920 | } | 938 | } |
921 | 939 | ||
922 | .show_4_con1 span { | 940 | .show_4_con1 span { |
@@ -975,7 +993,7 @@ body { | @@ -975,7 +993,7 @@ body { | ||
975 | } | 993 | } |
976 | 994 | ||
977 | .show_5_con img { | 995 | .show_5_con img { |
978 | - max-width:1100px; | 996 | + max-width: 1100px; |
979 | margin-top: 20px; | 997 | margin-top: 20px; |
980 | } | 998 | } |
981 | 999 | ||
@@ -992,20 +1010,19 @@ body { | @@ -992,20 +1010,19 @@ body { | ||
992 | 1010 | ||
993 | .show6_con_top1 img { | 1011 | .show6_con_top1 img { |
994 | width: 330px; | 1012 | width: 330px; |
995 | - height:330px; | 1013 | + height: 330px; |
996 | float: left; | 1014 | float: left; |
997 | border-radius: 50%; | 1015 | border-radius: 50%; |
998 | } | 1016 | } |
999 | 1017 | ||
1000 | -.show_main_txt img{ | ||
1001 | - max-width:1100px | 1018 | +.show_main_txt img { |
1019 | + max-width: 1100px | ||
1002 | } | 1020 | } |
1003 | 1021 | ||
1004 | -.show6_con2 img{ | ||
1005 | - max-width:1130px; | 1022 | +.show6_con2 img { |
1023 | + max-width: 1130px; | ||
1006 | } | 1024 | } |
1007 | 1025 | ||
1008 | - | ||
1009 | .show6_con_top2 { | 1026 | .show6_con_top2 { |
1010 | width: 726px; | 1027 | width: 726px; |
1011 | float: left; | 1028 | float: left; |
@@ -1048,18 +1065,20 @@ body { | @@ -1048,18 +1065,20 @@ body { | ||
1048 | -webkit-line-clamp: 10; | 1065 | -webkit-line-clamp: 10; |
1049 | -webkit-box-orient: vertical; | 1066 | -webkit-box-orient: vertical; |
1050 | } | 1067 | } |
1051 | -.show6_con2{ | 1068 | + |
1069 | +.show6_con2 { | ||
1052 | overflow: hidden; | 1070 | overflow: hidden; |
1053 | } | 1071 | } |
1054 | -.show6_con2 img { | ||
1055 | 1072 | ||
1056 | -} | 1073 | +.show6_con2 img {} |
1057 | 1074 | ||
1058 | .show6_con2 p { | 1075 | .show6_con2 p { |
1059 | font-size: 16px; | 1076 | font-size: 16px; |
1060 | color: rgba(102, 102, 102, 1); | 1077 | color: rgba(102, 102, 102, 1); |
1061 | line-height: 32px; | 1078 | line-height: 32px; |
1062 | } | 1079 | } |
1080 | + | ||
1081 | + | ||
1063 | /* 星球影院页 */ | 1082 | /* 星球影院页 */ |
1064 | 1083 | ||
1065 | .show_9 { | 1084 | .show_9 { |
@@ -1250,7 +1269,6 @@ body { | @@ -1250,7 +1269,6 @@ body { | ||
1250 | .show_9_video_asideTxt3 img { | 1269 | .show_9_video_asideTxt3 img { |
1251 | width: 40px; | 1270 | width: 40px; |
1252 | cursor: pointer; | 1271 | cursor: pointer; |
1253 | - border-radius: 50%; | ||
1254 | margin-right: 8px; | 1272 | margin-right: 8px; |
1255 | display: inline-block; | 1273 | display: inline-block; |
1256 | } | 1274 | } |
@@ -1262,6 +1280,7 @@ body { | @@ -1262,6 +1280,7 @@ body { | ||
1262 | .show_9_video_asideCon ul li:hover p { | 1280 | .show_9_video_asideCon ul li:hover p { |
1263 | color: #09FF8E; | 1281 | color: #09FF8E; |
1264 | } | 1282 | } |
1283 | + | ||
1265 | .video_mask { | 1284 | .video_mask { |
1266 | position: fixed; | 1285 | position: fixed; |
1267 | top: 44%; | 1286 | top: 44%; |
@@ -1279,6 +1298,7 @@ body { | @@ -1279,6 +1298,7 @@ body { | ||
1279 | color: rgba(255, 255, 255, 1); | 1298 | color: rgba(255, 255, 255, 1); |
1280 | } | 1299 | } |
1281 | 1300 | ||
1301 | + | ||
1282 | /* 更多快报页 */ | 1302 | /* 更多快报页 */ |
1283 | 1303 | ||
1284 | .show_7 { | 1304 | .show_7 { |
@@ -1397,6 +1417,7 @@ body { | @@ -1397,6 +1417,7 @@ body { | ||
1397 | padding-left: 59px; | 1417 | padding-left: 59px; |
1398 | } | 1418 | } |
1399 | 1419 | ||
1420 | + | ||
1400 | /* 相册详情 */ | 1421 | /* 相册详情 */ |
1401 | 1422 | ||
1402 | .show_8 { | 1423 | .show_8 { |
@@ -1415,7 +1436,7 @@ body { | @@ -1415,7 +1436,7 @@ body { | ||
1415 | height: 675px; | 1436 | height: 675px; |
1416 | margin: auto; | 1437 | margin: auto; |
1417 | overflow: hidden; | 1438 | overflow: hidden; |
1418 | - position:relative; | 1439 | + position: relative; |
1419 | } | 1440 | } |
1420 | 1441 | ||
1421 | .gallery-top ul li img { | 1442 | .gallery-top ul li img { |
@@ -1647,6 +1668,7 @@ body { | @@ -1647,6 +1668,7 @@ body { | ||
1647 | color: rgba(153, 153, 153, 1); | 1668 | color: rgba(153, 153, 153, 1); |
1648 | line-height: 22px; | 1669 | line-height: 22px; |
1649 | } | 1670 | } |
1671 | + | ||
1650 | .show_9_video_asideTxt { | 1672 | .show_9_video_asideTxt { |
1651 | padding: 24px 32px; | 1673 | padding: 24px 32px; |
1652 | box-sizing: border-box; | 1674 | box-sizing: border-box; |
@@ -1673,7 +1695,6 @@ body { | @@ -1673,7 +1695,6 @@ body { | ||
1673 | margin-right: 80px; | 1695 | margin-right: 80px; |
1674 | } | 1696 | } |
1675 | 1697 | ||
1676 | - | ||
1677 | .show_9_video_asideTxt3 p { | 1698 | .show_9_video_asideTxt3 p { |
1678 | font-size: 16px; | 1699 | font-size: 16px; |
1679 | float: left; | 1700 | float: left; |
@@ -1682,14 +1703,6 @@ body { | @@ -1682,14 +1703,6 @@ body { | ||
1682 | color: rgba(26, 26, 26, 1); | 1703 | color: rgba(26, 26, 26, 1); |
1683 | } | 1704 | } |
1684 | 1705 | ||
1685 | -.show_9_video_asideTxt3 img { | ||
1686 | - width: 40px; | ||
1687 | - cursor: pointer; | ||
1688 | - border-radius: 50%; | ||
1689 | - margin-right: 8px; | ||
1690 | - display: inline-block; | ||
1691 | -} | ||
1692 | - | ||
1693 | .show_9_video_asideCon ul li:hover img { | 1706 | .show_9_video_asideCon ul li:hover img { |
1694 | opacity: 1; | 1707 | opacity: 1; |
1695 | } | 1708 | } |
@@ -1811,19 +1824,24 @@ body { | @@ -1811,19 +1824,24 @@ body { | ||
1811 | font-size: 18px; | 1824 | font-size: 18px; |
1812 | color: rgba(255, 255, 255, 1); | 1825 | color: rgba(255, 255, 255, 1); |
1813 | } | 1826 | } |
1814 | -.video_box{ | 1827 | + |
1828 | +.video_box { | ||
1815 | width: 100%; | 1829 | width: 100%; |
1816 | height: 30px; | 1830 | height: 30px; |
1817 | visibility: hidden; | 1831 | visibility: hidden; |
1818 | position: absolute; | 1832 | position: absolute; |
1819 | bottom: 0; | 1833 | bottom: 0; |
1820 | } | 1834 | } |
1835 | + | ||
1836 | + | ||
1821 | /*故事更多頁面*/ | 1837 | /*故事更多頁面*/ |
1822 | -.show_story{ | 1838 | + |
1839 | +.show_story { | ||
1823 | width: 1200px; | 1840 | width: 1200px; |
1824 | - margin:70px auto 150px; | 1841 | + margin: 70px auto 150px; |
1825 | } | 1842 | } |
1826 | 1843 | ||
1844 | + | ||
1827 | /* 独角日志页面 */ | 1845 | /* 独角日志页面 */ |
1828 | 1846 | ||
1829 | .show_logBox, | 1847 | .show_logBox, |
1 | -$(function(){ | ||
2 | - var host = 'http://'+window.location.host; | 1 | +$(function() { |
2 | + var host = 'http://' + window.location.host; | ||
3 | // 收藏 | 3 | // 收藏 |
4 | $('.collections').click(function() { | 4 | $('.collections').click(function() { |
5 | - if ($(this).children('img').attr('src') == host+'/themes/simpleboot3/public/assets/starImg/bicon_02.png') { | 5 | + if ($(this).children('img').attr('src') == host + '/themes/simpleboot3/public/assets/starImg/bicon_02.png') { |
6 | var login = operation('/portal/star/collection'); | 6 | var login = operation('/portal/star/collection'); |
7 | - if(login == 0){ | 7 | + if (login == 0) { |
8 | return false; | 8 | return false; |
9 | } | 9 | } |
10 | - $(this).children('img').attr('src', host+'/themes/simpleboot3/public/assets/starImg/bicon_15.png'); | 10 | + $(this).children('img').attr('src', host + '/themes/simpleboot3/public/assets/starImg/bicon_15.png'); |
11 | } else { | 11 | } else { |
12 | var login = operation('/portal/star/cancelCollection'); | 12 | var login = operation('/portal/star/cancelCollection'); |
13 | - if(login == 0){ | 13 | + if (login == 0) { |
14 | return false; | 14 | return false; |
15 | } | 15 | } |
16 | - $(this).children('img').attr('src', host+'/themes/simpleboot3/public/assets/starImg/bicon_02.png'); | 16 | + $(this).children('img').attr('src', host + '/themes/simpleboot3/public/assets/starImg/bicon_02.png'); |
17 | } | 17 | } |
18 | }); | 18 | }); |
19 | //点赞 | 19 | //点赞 |
20 | $('.likes').click(function() { | 20 | $('.likes').click(function() { |
21 | - if ($(this).children('img').attr('src') == host+'/themes/simpleboot3/public/assets/starImg/bicon_03.png') { | 21 | + if ($(this).children('img').attr('src') == host + '/themes/simpleboot3/public/assets/starImg/bicon_03.png') { |
22 | var login = operation('/portal/star/like'); | 22 | var login = operation('/portal/star/like'); |
23 | - if(login == 0){ | 23 | + if (login == 0) { |
24 | return false; | 24 | return false; |
25 | } | 25 | } |
26 | - $(this).children('img').attr('src', host+'/themes/simpleboot3/public/assets/starImg/bicon_16.png'); | 26 | + $(this).children('img').attr('src', host + '/themes/simpleboot3/public/assets/starImg/bicon_16.png'); |
27 | } else { | 27 | } else { |
28 | var login = operation('/portal/star/cancelLike'); | 28 | var login = operation('/portal/star/cancelLike'); |
29 | - if(login == 0){ | 29 | + if (login == 0) { |
30 | return false; | 30 | return false; |
31 | } | 31 | } |
32 | - $(this).children('img').attr('src', host+'/themes/simpleboot3/public/assets/starImg/bicon_03.png'); | 32 | + $(this).children('img').attr('src', host + '/themes/simpleboot3/public/assets/starImg/bicon_03.png'); |
33 | } | 33 | } |
34 | }); | 34 | }); |
35 | 35 | ||
36 | // 收藏更多视频 | 36 | // 收藏更多视频 |
37 | $('#collections').click(function() { | 37 | $('#collections').click(function() { |
38 | - if ($(this).attr('src') == host+'/themes/simpleboot3/public/assets/starImg/bicon_02.png') { | ||
39 | - var login = operation('/portal/star/collection',1); | ||
40 | - if(login == 0){ | 38 | + if ($(this).attr('src') == host + '/themes/simpleboot3/public/assets/starImg/bicon_02.png') { |
39 | + var login = operation('/portal/star/collection', 1); | ||
40 | + if (login == 0) { | ||
41 | return false; | 41 | return false; |
42 | } | 42 | } |
43 | - $(this).attr('src', host+'/themes/simpleboot3/public/assets/starImg/bicon_15.png'); | 43 | + $(this).attr('src', host + '/themes/simpleboot3/public/assets/starImg/bicon_15.png'); |
44 | } else { | 44 | } else { |
45 | - var login = operation('/portal/star/cancelCollection',1); | ||
46 | - if(login == 0){ | 45 | + var login = operation('/portal/star/cancelCollection', 1); |
46 | + if (login == 0) { | ||
47 | return false; | 47 | return false; |
48 | } | 48 | } |
49 | - $(this).attr('src', host+'/themes/simpleboot3/public/assets/starImg/bicon_02.png'); | 49 | + $(this).attr('src', host + '/themes/simpleboot3/public/assets/starImg/bicon_02.png'); |
50 | } | 50 | } |
51 | }); | 51 | }); |
52 | 52 | ||
53 | //点赞 | 53 | //点赞 |
54 | $('#likes').click(function() { | 54 | $('#likes').click(function() { |
55 | - if ($(this).attr('src') == host+'/themes/simpleboot3/public/assets/starImg/bicon_03.png') { | ||
56 | - var login = operation('/portal/star/like',1); | ||
57 | - if(login == 0){ | 55 | + if ($(this).attr('src') == host + '/themes/simpleboot3/public/assets/starImg/bicon_031.png') { |
56 | + var login = operation('/portal/star/like', 1); | ||
57 | + if (login == 0) { | ||
58 | return false; | 58 | return false; |
59 | } | 59 | } |
60 | - $(this).attr('src', host+'/themes/simpleboot3/public/assets/starImg/bicon_16.png'); | 60 | + $(this).attr('src', host + '/themes/simpleboot3/public/assets/starImg/bicon_161.png'); |
61 | } else { | 61 | } else { |
62 | - var login = operation('/portal/star/cancelLike',1); | ||
63 | - if(login == 0){ | 62 | + var login = operation('/portal/star/cancelLike', 1); |
63 | + if (login == 0) { | ||
64 | return false; | 64 | return false; |
65 | } | 65 | } |
66 | - $(this).attr('src', host+'/themes/simpleboot3/public/assets/starImg/bicon_03.png'); | 66 | + $(this).attr('src', host + '/themes/simpleboot3/public/assets/starImg/bicon_031.png'); |
67 | } | 67 | } |
68 | }); | 68 | }); |
69 | 69 | ||
@@ -90,22 +90,22 @@ $(function(){ | @@ -90,22 +90,22 @@ $(function(){ | ||
90 | //头部导航栏切换颜色 | 90 | //头部导航栏切换颜色 |
91 | var str_url = window.location.pathname; | 91 | var str_url = window.location.pathname; |
92 | $('.home_nav_act,.slide_vo').children('a').removeClass('home_nav_act'); | 92 | $('.home_nav_act,.slide_vo').children('a').removeClass('home_nav_act'); |
93 | - var star = 'star';//星球奇境 | ||
94 | - var region = 'region';//星域秀场 | ||
95 | - var enjoy = 'enjoy';//星享体验 | ||
96 | - var scout = 'scout';//星探推荐 | ||
97 | - var active = 'active';//星际活动 | ||
98 | - if(str_url.indexOf(star) != -1){ | 93 | + var star = 'star'; //星球奇境 |
94 | + var region = 'region'; //星域秀场 | ||
95 | + var enjoy = 'enjoy'; //星享体验 | ||
96 | + var scout = 'scout'; //星探推荐 | ||
97 | + var active = 'active'; //星际活动 | ||
98 | + if (str_url.indexOf(star) != -1) { | ||
99 | $('.slide_vo').eq(0).children('a').addClass('home_nav_act'); | 99 | $('.slide_vo').eq(0).children('a').addClass('home_nav_act'); |
100 | - }else if(str_url.indexOf(region) != -1){ | 100 | + } else if (str_url.indexOf(region) != -1) { |
101 | $('.slide_vo').eq(1).children('a').addClass('home_nav_act'); | 101 | $('.slide_vo').eq(1).children('a').addClass('home_nav_act'); |
102 | - }else if(str_url.indexOf(enjoy) != -1){ | 102 | + } else if (str_url.indexOf(enjoy) != -1) { |
103 | $('.slide_vo').eq(2).children('a').addClass('home_nav_act'); | 103 | $('.slide_vo').eq(2).children('a').addClass('home_nav_act'); |
104 | - }else if(str_url.indexOf(scout) != -1){ | 104 | + } else if (str_url.indexOf(scout) != -1) { |
105 | $('.slide_vo').eq(3).children('a').addClass('home_nav_act'); | 105 | $('.slide_vo').eq(3).children('a').addClass('home_nav_act'); |
106 | - }else if(str_url.indexOf(active) != -1){ | 106 | + } else if (str_url.indexOf(active) != -1) { |
107 | $('.slide_vo').eq(4).children('a').addClass('home_nav_act'); | 107 | $('.slide_vo').eq(4).children('a').addClass('home_nav_act'); |
108 | - }else{ | 108 | + } else { |
109 | $('.home_nav_act').children('a').addClass('home_nav_act'); | 109 | $('.home_nav_act').children('a').addClass('home_nav_act'); |
110 | } | 110 | } |
111 | 111 | ||
@@ -114,46 +114,46 @@ $(function(){ | @@ -114,46 +114,46 @@ $(function(){ | ||
114 | $('.page-item:last').children().text('>'); | 114 | $('.page-item:last').children().text('>'); |
115 | 115 | ||
116 | //注册页面 | 116 | //注册页面 |
117 | - $('#register').click(function(){ | 117 | + $('#register').click(function() { |
118 | window.location.href = '/portal/login/register'; | 118 | window.location.href = '/portal/login/register'; |
119 | }); | 119 | }); |
120 | 120 | ||
121 | //登录页面 | 121 | //登录页面 |
122 | - $('#login').click(function(){ | 122 | + $('#login').click(function() { |
123 | window.location.href = '/portal/login/login'; | 123 | window.location.href = '/portal/login/login'; |
124 | }); | 124 | }); |
125 | 125 | ||
126 | //个人中心 | 126 | //个人中心 |
127 | - $('.login_person').click(function(){ | 127 | + $('.login_person').click(function() { |
128 | window.location.href = '/portal/login/info'; | 128 | window.location.href = '/portal/login/info'; |
129 | }); | 129 | }); |
130 | 130 | ||
131 | //修改资料页面 | 131 | //修改资料页面 |
132 | - $('#editInfo').click(function(){ | 132 | + $('#editInfo').click(function() { |
133 | window.location.href = '/portal/login/editInfo'; | 133 | window.location.href = '/portal/login/editInfo'; |
134 | }); | 134 | }); |
135 | 135 | ||
136 | //我的收藏页面 | 136 | //我的收藏页面 |
137 | - $('#myCollection').click(function(){ | 137 | + $('#myCollection').click(function() { |
138 | window.location.href = '/portal/login/myCollection'; | 138 | window.location.href = '/portal/login/myCollection'; |
139 | }); | 139 | }); |
140 | 140 | ||
141 | //评论 | 141 | //评论 |
142 | - $('#comment').click(function(){ | 142 | + $('#comment').click(function() { |
143 | var content = $('#comment_content').val(); | 143 | var content = $('#comment_content').val(); |
144 | var article_id = getUrlParam('id'); | 144 | var article_id = getUrlParam('id'); |
145 | - var url = window.location.pathname+window.location.search; | 145 | + var url = window.location.pathname + window.location.search; |
146 | $.ajax({ | 146 | $.ajax({ |
147 | type: 'POST', | 147 | type: 'POST', |
148 | url: "/portal/star/comment", | 148 | url: "/portal/star/comment", |
149 | data: { | 149 | data: { |
150 | 'content': content, | 150 | 'content': content, |
151 | - 'article_id':article_id, | ||
152 | - 'url':url | 151 | + 'article_id': article_id, |
152 | + 'url': url | ||
153 | 153 | ||
154 | }, | 154 | }, |
155 | dataType: 'json', | 155 | dataType: 'json', |
156 | - success: function (data) { | 156 | + success: function(data) { |
157 | console.log(data); | 157 | console.log(data); |
158 | if (data.code == 1) { | 158 | if (data.code == 1) { |
159 | mask(data.msg); | 159 | mask(data.msg); |
@@ -165,20 +165,20 @@ $(function(){ | @@ -165,20 +165,20 @@ $(function(){ | ||
165 | }); | 165 | }); |
166 | }); | 166 | }); |
167 | //关于我们 | 167 | //关于我们 |
168 | - $('#about_us,#about_us1').click(function(){ | 168 | + $('#about_us,#about_us1').click(function() { |
169 | window.location.href = '/portal/index/aboutUs'; | 169 | window.location.href = '/portal/index/aboutUs'; |
170 | }); | 170 | }); |
171 | //搜索 | 171 | //搜索 |
172 | - $("#keywords").keypress(function (e) { | 172 | + $("#keywords").keypress(function(e) { |
173 | if (e.which == 13) { | 173 | if (e.which == 13) { |
174 | - $("#searchForm").submit();//处理事件 | 174 | + $("#searchForm").submit(); //处理事件 |
175 | } | 175 | } |
176 | }); | 176 | }); |
177 | 177 | ||
178 | var share_url = encodeURIComponent(location.href); | 178 | var share_url = encodeURIComponent(location.href); |
179 | var share_title = encodeURIComponent(document.title); | 179 | var share_title = encodeURIComponent(document.title); |
180 | //分享到微博 | 180 | //分享到微博 |
181 | - $('.weibo').click(function(){ | 181 | + $('.weibo').click(function() { |
182 | var param = { | 182 | var param = { |
183 | url: share_url, | 183 | url: share_url, |
184 | title: share_title, | 184 | title: share_title, |
@@ -193,24 +193,24 @@ $(function(){ | @@ -193,24 +193,24 @@ $(function(){ | ||
193 | }); | 193 | }); |
194 | 194 | ||
195 | //点赞收藏 | 195 | //点赞收藏 |
196 | -function operation(url,id =''){ | ||
197 | - if(id == ''){ | 196 | +function operation(url, id = '') { |
197 | + if (id == '') { | ||
198 | var article_id = getUrlParam('id'); | 198 | var article_id = getUrlParam('id'); |
199 | - }else{ | 199 | + } else { |
200 | var article_id = $('#li_id').val(); | 200 | var article_id = $('#li_id').val(); |
201 | } | 201 | } |
202 | var is_login = 1; | 202 | var is_login = 1; |
203 | - var post_url = window.location.pathname+window.location.search; | 203 | + var post_url = window.location.pathname + window.location.search; |
204 | $.ajax({ | 204 | $.ajax({ |
205 | type: 'POST', | 205 | type: 'POST', |
206 | url: url, | 206 | url: url, |
207 | data: { | 207 | data: { |
208 | - 'article_id':article_id, | ||
209 | - 'post_url':post_url | 208 | + 'article_id': article_id, |
209 | + 'post_url': post_url | ||
210 | }, | 210 | }, |
211 | dataType: 'json', | 211 | dataType: 'json', |
212 | - async : false, | ||
213 | - success: function (data) { | 212 | + async: false, |
213 | + success: function(data) { | ||
214 | if (data.code == 1) { | 214 | if (data.code == 1) { |
215 | mask(data.msg); | 215 | mask(data.msg); |
216 | } else { | 216 | } else { |
@@ -225,20 +225,20 @@ function operation(url,id =''){ | @@ -225,20 +225,20 @@ function operation(url,id =''){ | ||
225 | function mask(msg) { | 225 | function mask(msg) { |
226 | $('.mask').text(msg); | 226 | $('.mask').text(msg); |
227 | $('.mask').show(); | 227 | $('.mask').show(); |
228 | - setTimeout(function(){ | 228 | + setTimeout(function() { |
229 | $('.mask').hide(); | 229 | $('.mask').hide(); |
230 | $('.mask').text(''); | 230 | $('.mask').text(''); |
231 | - },4000); | 231 | + }, 4000); |
232 | } | 232 | } |
233 | 233 | ||
234 | //弹框 | 234 | //弹框 |
235 | function video_mask(msg) { | 235 | function video_mask(msg) { |
236 | $('.mask').text(msg); | 236 | $('.mask').text(msg); |
237 | $('.mask').show(); | 237 | $('.mask').show(); |
238 | - setTimeout(function(){ | 238 | + setTimeout(function() { |
239 | $('.mask').hide(); | 239 | $('.mask').hide(); |
240 | $('.mask').text(''); | 240 | $('.mask').text(''); |
241 | - },6000); | 241 | + }, 6000); |
242 | } | 242 | } |
243 | 243 | ||
244 | //获取url的参数 | 244 | //获取url的参数 |
731 字节
803 字节
@@ -31,6 +31,26 @@ | @@ -31,6 +31,26 @@ | ||
31 | height: 3.5rem; | 31 | height: 3.5rem; |
32 | background-color: black; | 32 | background-color: black; |
33 | } | 33 | } |
34 | + | ||
35 | + .index_seventh_bottom_img2 { | ||
36 | + width: 0.5rem; | ||
37 | + height: 0.5rem; | ||
38 | + } | ||
39 | + | ||
40 | + .index_seventh_bottom_img2 img { | ||
41 | + width: 100%; | ||
42 | + height: 100%; | ||
43 | + } | ||
44 | + | ||
45 | + .index_seventh_bottom_img1 { | ||
46 | + width: 0.8rem; | ||
47 | + height: 0.8rem; | ||
48 | + } | ||
49 | + | ||
50 | + .index_seventh_bottom_img1 img { | ||
51 | + width: 100%; | ||
52 | + height: 100%; | ||
53 | + } | ||
34 | </style> | 54 | </style> |
35 | </head> | 55 | </head> |
36 | 56 | ||
@@ -120,11 +140,11 @@ | @@ -120,11 +140,11 @@ | ||
120 | <div class="index_seventh_bottom_img1"> | 140 | <div class="index_seventh_bottom_img1"> |
121 | <img src="__TMPL__/public/assets/images/cicon_72@2x.png" alt="" /> | 141 | <img src="__TMPL__/public/assets/images/cicon_72@2x.png" alt="" /> |
122 | </div> | 142 | </div> |
123 | - <div class="index_seventh_bottom_img1"> | 143 | + <div class="index_seventh_bottom_img2" style="margin-left:0.3rem;"> |
124 | <img id="collections" src="__TMPL__/public/assets/images/bicon_02.png" alt=""> | 144 | <img id="collections" src="__TMPL__/public/assets/images/bicon_02.png" alt=""> |
125 | </div> | 145 | </div> |
126 | - <div class="index_seventh_bottom_img1"> | ||
127 | - <img id="likes" src="__TMPL__/public/assets/images/bicon_03.png" alt=""> | 146 | + <div class="index_seventh_bottom_img2" style="margin-left:0.2rem;width: 0.55rem;height: 0.55rem;"> |
147 | + <img id="likes" src="__TMPL__/public/assets/images/bicon_031.png" alt=""> | ||
128 | </div> | 148 | </div> |
129 | 149 | ||
130 | <input type="hidden" class="collection" value=""> | 150 | <input type="hidden" class="collection" value=""> |
@@ -281,7 +301,7 @@ | @@ -281,7 +301,7 @@ | ||
281 | // }); | 301 | // }); |
282 | 302 | ||
283 | //标题,国家,取景,上映时间 | 303 | //标题,国家,取景,上映时间 |
284 | - var id = li_index.children('.li_id').val(); | 304 | + var id = li_index.children('.li_id').val(); |
285 | var post_title = li_index.children('.li_post_title').val(); | 305 | var post_title = li_index.children('.li_post_title').val(); |
286 | var city_name = li_index.children('.li_city_name').val(); | 306 | var city_name = li_index.children('.li_city_name').val(); |
287 | var framing = li_index.children('.li_framing').val(); | 307 | var framing = li_index.children('.li_framing').val(); |
@@ -300,43 +320,43 @@ | @@ -300,43 +320,43 @@ | ||
300 | } | 320 | } |
301 | 321 | ||
302 | //是否收藏 | 322 | //是否收藏 |
303 | - function is_collections(article_id){ | 323 | + function is_collections(article_id) { |
304 | var host = 'http://' + window.location.host + '/themes/simpleboot3_mobile/public/assets'; | 324 | var host = 'http://' + window.location.host + '/themes/simpleboot3_mobile/public/assets'; |
305 | $.ajax({ | 325 | $.ajax({ |
306 | type: 'POST', | 326 | type: 'POST', |
307 | url: '/portal/star/is_collections', | 327 | url: '/portal/star/is_collections', |
308 | data: { | 328 | data: { |
309 | - 'id':article_id, | 329 | + 'id': article_id, |
310 | }, | 330 | }, |
311 | dataType: 'json', | 331 | dataType: 'json', |
312 | - async : false, | ||
313 | - success: function (data) { | 332 | + async: false, |
333 | + success: function(data) { | ||
314 | console.log(data); | 334 | console.log(data); |
315 | if (data.code == 1) { | 335 | if (data.code == 1) { |
316 | - $('#collections').attr('src',host+'/images/bicon_15.png') | 336 | + $('#collections').attr('src', host + '/images/bicon_15.png') |
317 | } else { | 337 | } else { |
318 | - $('#collections').attr('src',host+'/images/bicon_02.png') | 338 | + $('#collections').attr('src', host + '/images/bicon_02.png') |
319 | } | 339 | } |
320 | } | 340 | } |
321 | }); | 341 | }); |
322 | } | 342 | } |
323 | 343 | ||
324 | //是否点赞 | 344 | //是否点赞 |
325 | - function is_likes(article_id){ | 345 | + function is_likes(article_id) { |
326 | var host = 'http://' + window.location.host + '/themes/simpleboot3_mobile/public/assets'; | 346 | var host = 'http://' + window.location.host + '/themes/simpleboot3_mobile/public/assets'; |
327 | $.ajax({ | 347 | $.ajax({ |
328 | type: 'POST', | 348 | type: 'POST', |
329 | url: '/portal/star/is_likes', | 349 | url: '/portal/star/is_likes', |
330 | data: { | 350 | data: { |
331 | - 'id':article_id, | 351 | + 'id': article_id, |
332 | }, | 352 | }, |
333 | dataType: 'json', | 353 | dataType: 'json', |
334 | - async : false, | ||
335 | - success: function (data) { | 354 | + async: false, |
355 | + success: function(data) { | ||
336 | if (data.code == 1) { | 356 | if (data.code == 1) { |
337 | - $('#likes').attr('src',host+'/images/bicon_16.png') | 357 | + $('#likes').attr('src', host + '/images/bicon_161.png') |
338 | } else { | 358 | } else { |
339 | - $('#likes').attr('src',host+'/images/bicon_03.png') | 359 | + $('#likes').attr('src', host + '/images/bicon_031.png') |
340 | } | 360 | } |
341 | } | 361 | } |
342 | }); | 362 | }); |
@@ -1500,10 +1500,11 @@ body::-webkit-scrollbar { | @@ -1500,10 +1500,11 @@ body::-webkit-scrollbar { | ||
1500 | /* line-height: 0.58rem; */ | 1500 | /* line-height: 0.58rem; */ |
1501 | } | 1501 | } |
1502 | 1502 | ||
1503 | -.index_seventh_bottom_five img { | 1503 | + |
1504 | +/* .index_seventh_bottom_five img { | ||
1504 | width: 0.8rem; | 1505 | width: 0.8rem; |
1505 | height: 0.8rem; | 1506 | height: 0.8rem; |
1506 | -} | 1507 | +} */ |
1507 | 1508 | ||
1508 | .index_seventh_bottom_img1 { | 1509 | .index_seventh_bottom_img1 { |
1509 | margin-left: 0.2rem | 1510 | margin-left: 0.2rem |
731 字节
803 字节
@@ -17,7 +17,7 @@ $(function() { | @@ -17,7 +17,7 @@ $(function() { | ||
17 | $('.nav_down').slideUp(); | 17 | $('.nav_down').slideUp(); |
18 | } | 18 | } |
19 | }); | 19 | }); |
20 | - | 20 | + |
21 | // 关闭导航 | 21 | // 关闭导航 |
22 | $(document).click(function(e) { | 22 | $(document).click(function(e) { |
23 | if (!$(e.target).closest(".nav_down").length) { | 23 | if (!$(e.target).closest(".nav_down").length) { |
@@ -77,14 +77,14 @@ $(function() { | @@ -77,14 +77,14 @@ $(function() { | ||
77 | // 收藏更多视频 | 77 | // 收藏更多视频 |
78 | $('#collections').click(function() { | 78 | $('#collections').click(function() { |
79 | if ($(this).attr('src') == host + '/images/bicon_02.png') { | 79 | if ($(this).attr('src') == host + '/images/bicon_02.png') { |
80 | - var login = operation('/portal/star/collection',1); | ||
81 | - if(login == 0){ | 80 | + var login = operation('/portal/star/collection', 1); |
81 | + if (login == 0) { | ||
82 | return false; | 82 | return false; |
83 | } | 83 | } |
84 | $(this).attr('src', host + '/images/bicon_15.png'); | 84 | $(this).attr('src', host + '/images/bicon_15.png'); |
85 | } else { | 85 | } else { |
86 | - var login = operation('/portal/star/cancelCollection',1); | ||
87 | - if(login == 0){ | 86 | + var login = operation('/portal/star/cancelCollection', 1); |
87 | + if (login == 0) { | ||
88 | return false; | 88 | return false; |
89 | } | 89 | } |
90 | $(this).attr('src', host + '/images/bicon_02.png'); | 90 | $(this).attr('src', host + '/images/bicon_02.png'); |
@@ -93,18 +93,18 @@ $(function() { | @@ -93,18 +93,18 @@ $(function() { | ||
93 | 93 | ||
94 | //点赞 | 94 | //点赞 |
95 | $('#likes').click(function() { | 95 | $('#likes').click(function() { |
96 | - if ($(this).attr('src') == host + '/images/bicon_03.png') { | ||
97 | - var login = operation('/portal/star/like',1); | ||
98 | - if(login == 0){ | 96 | + if ($(this).attr('src') == host + '/images/bicon_031.png') { |
97 | + var login = operation('/portal/star/like', 1); | ||
98 | + if (login == 0) { | ||
99 | return false; | 99 | return false; |
100 | } | 100 | } |
101 | - $(this).attr('src', host + '/images/bicon_16.png'); | 101 | + $(this).attr('src', host + '/images/bicon_161.png'); |
102 | } else { | 102 | } else { |
103 | - var login = operation('/portal/star/cancelLike',1); | ||
104 | - if(login == 0){ | 103 | + var login = operation('/portal/star/cancelLike', 1); |
104 | + if (login == 0) { | ||
105 | return false; | 105 | return false; |
106 | } | 106 | } |
107 | - $(this).attr('src', host + '/images/bicon_03.png'); | 107 | + $(this).attr('src', host + '/images/bicon_031.png'); |
108 | } | 108 | } |
109 | }); | 109 | }); |
110 | 110 | ||
@@ -211,7 +211,7 @@ $(function() { | @@ -211,7 +211,7 @@ $(function() { | ||
211 | var share_url = encodeURIComponent(location.href); | 211 | var share_url = encodeURIComponent(location.href); |
212 | var share_title = encodeURIComponent(document.title); | 212 | var share_title = encodeURIComponent(document.title); |
213 | //分享到微博 | 213 | //分享到微博 |
214 | - $('.weibo').click(function(){ | 214 | + $('.weibo').click(function() { |
215 | var param = { | 215 | var param = { |
216 | url: share_url, | 216 | url: share_url, |
217 | title: share_title, | 217 | title: share_title, |
@@ -251,10 +251,10 @@ function video_mask(msg) { | @@ -251,10 +251,10 @@ function video_mask(msg) { | ||
251 | }, 6000); | 251 | }, 6000); |
252 | } | 252 | } |
253 | //点赞收藏 | 253 | //点赞收藏 |
254 | -function operation(url,id ='') { | ||
255 | - if(id == ''){ | 254 | +function operation(url, id = '') { |
255 | + if (id == '') { | ||
256 | var article_id = getUrlParam('id'); | 256 | var article_id = getUrlParam('id'); |
257 | - }else{ | 257 | + } else { |
258 | var article_id = $('#li_id').val(); | 258 | var article_id = $('#li_id').val(); |
259 | } | 259 | } |
260 | var is_login = 1; | 260 | var is_login = 1; |
-
请 注册 或 登录 后发表评论