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

1

@@ -225,7 +225,7 @@ @@ -225,7 +225,7 @@
225 <div class="center_card_one"><span></span></div> 225 <div class="center_card_one"><span></span></div>
226 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.1.id}"> 226 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.1.id}">
227 <div class="center_card_cantant"> 227 <div class="center_card_cantant">
228 - <div class="center_card_catant_one">{$res_month.1.post_title}</div> 228 + <div class="center_card_catant_one txt-cut">{$res_month.1.post_title}</div>
229 <div class="center_card_catant_two">{$res_month.1.category_name}</div> 229 <div class="center_card_catant_two">{$res_month.1.category_name}</div>
230 </div> 230 </div>
231 </a> 231 </a>
@@ -253,9 +253,7 @@ @@ -253,9 +253,7 @@
253 <div class="center_card_one"><span></span></div> 253 <div class="center_card_one"><span></span></div>
254 <div class="center_card_cantant"> 254 <div class="center_card_cantant">
255 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.2.id}"> 255 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.2.id}">
256 - <div class="center_card_catant_one">  
257 - {$res_month.2.post_title}  
258 - </div> 256 + <div class="center_card_catant_one txt-cut">{$res_month.2.post_title}</div>
259 <div class="center_card_catant_two"> 257 <div class="center_card_catant_two">
260 {$res_month.2.category_name} 258 {$res_month.2.category_name}
261 </div> 259 </div>
@@ -284,9 +282,7 @@ @@ -284,9 +282,7 @@
284 <div class="center_card_one"><span></span></div> 282 <div class="center_card_one"><span></span></div>
285 <div class="center_card_cantant"> 283 <div class="center_card_cantant">
286 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.3.id}"> 284 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.3.id}">
287 - <div class="center_card_catant_one">  
288 - {$res_month.3.post_title}  
289 - </div> 285 + <div class="center_card_catant_one txt-cut">{$res_month.3.post_title}</div>
290 <div class="center_card_catant_two"> 286 <div class="center_card_catant_two">
291 {$res_month.3.category_name} 287 {$res_month.3.category_name}
292 </div> 288 </div>
@@ -315,7 +311,7 @@ @@ -315,7 +311,7 @@
315 <div class="center_card_one"><span></span></div> 311 <div class="center_card_one"><span></span></div>
316 <div class="center_card_cantant"> 312 <div class="center_card_cantant">
317 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.4.id}"> 313 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.4.id}">
318 - <div class="center_card_catant_one"> 314 + <div class="center_card_catant_one txt-cut">
319 {$res_month.4.post_title} 315 {$res_month.4.post_title}
320 </div> 316 </div>
321 <div class="center_card_catant_two"> 317 <div class="center_card_catant_two">
@@ -346,7 +342,7 @@ @@ -346,7 +342,7 @@
346 <div class="center_card_one"><span></span></div> 342 <div class="center_card_one"><span></span></div>
347 <div class="center_card_cantant"> 343 <div class="center_card_cantant">
348 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.5.id}"> 344 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.5.id}">
349 - <div class="center_card_catant_one"> 345 + <div class="center_card_catant_one txt-cut">
350 {$res_month.5.post_title} 346 {$res_month.5.post_title}
351 </div> 347 </div>
352 <div class="center_card_catant_two"> 348 <div class="center_card_catant_two">
@@ -377,7 +373,7 @@ @@ -377,7 +373,7 @@
377 <div class="center_card_one"><span></span></div> 373 <div class="center_card_one"><span></span></div>
378 <div class="center_card_cantant"> 374 <div class="center_card_cantant">
379 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.6.id}"> 375 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.6.id}">
380 - <div class="center_card_catant_one"> 376 + <div class="center_card_catant_one txt-cut">
381 {$res_month.6.post_title} 377 {$res_month.6.post_title}
382 </div> 378 </div>
383 <div class="center_card_catant_two"> 379 <div class="center_card_catant_two">
@@ -408,7 +404,7 @@ @@ -408,7 +404,7 @@
408 <div class="center_card_one"><span></span></div> 404 <div class="center_card_one"><span></span></div>
409 <div class="center_card_cantant"> 405 <div class="center_card_cantant">
410 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.7.id}"> 406 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.7.id}">
411 - <div class="center_card_catant_one"> 407 + <div class="center_card_catant_one txt-cut">
412 {$res_month.7.post_title} 408 {$res_month.7.post_title}
413 </div> 409 </div>
414 <div class="center_card_catant_two"> 410 <div class="center_card_catant_two">
@@ -439,7 +435,7 @@ @@ -439,7 +435,7 @@
439 <div class="center_card_one"><span></span></div> 435 <div class="center_card_one"><span></span></div>
440 <div class="center_card_cantant"> 436 <div class="center_card_cantant">
441 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.8.id}"> 437 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.8.id}">
442 - <div class="center_card_catant_one"> 438 + <div class="center_card_catant_one txt-cut">
443 {$res_month.8.post_title} 439 {$res_month.8.post_title}
444 </div> 440 </div>
445 <div class="center_card_catant_two"> 441 <div class="center_card_catant_two">
@@ -470,7 +466,7 @@ @@ -470,7 +466,7 @@
470 <div class="center_card_one"><span></span></div> 466 <div class="center_card_one"><span></span></div>
471 <div class="center_card_cantant"> 467 <div class="center_card_cantant">
472 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.9.id}"> 468 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.9.id}">
473 - <div class="center_card_catant_one"> 469 + <div class="center_card_catant_one txt-cut">
474 {$res_month.9.post_title} 470 {$res_month.9.post_title}
475 </div> 471 </div>
476 <div class="center_card_catant_two"> 472 <div class="center_card_catant_two">
@@ -501,7 +497,7 @@ @@ -501,7 +497,7 @@
501 <div class="center_card_one"><span></span></div> 497 <div class="center_card_one"><span></span></div>
502 <div class="center_card_cantant"> 498 <div class="center_card_cantant">
503 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.10.id}"> 499 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.10.id}">
504 - <div class="center_card_catant_one"> 500 + <div class="center_card_catant_one txt-cut">
505 {$res_month.10.post_title} 501 {$res_month.10.post_title}
506 </div> 502 </div>
507 <div class="center_card_catant_two"> 503 <div class="center_card_catant_two">
@@ -532,7 +528,7 @@ @@ -532,7 +528,7 @@
532 <div class="center_card_one"><span></span></div> 528 <div class="center_card_one"><span></span></div>
533 <div class="center_card_cantant"> 529 <div class="center_card_cantant">
534 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.11.id}"> 530 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.11.id}">
535 - <div class="center_card_catant_one"> 531 + <div class="center_card_catant_one txt-cut">
536 {$res_month.11.post_title} 532 {$res_month.11.post_title}
537 </div> 533 </div>
538 <div class="center_card_catant_two"> 534 <div class="center_card_catant_two">
@@ -563,7 +559,7 @@ @@ -563,7 +559,7 @@
563 <div class="center_card_one"><span></span></div> 559 <div class="center_card_one"><span></span></div>
564 <div class="center_card_cantant"> 560 <div class="center_card_cantant">
565 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.12.id}"> 561 <a href="/portal/enjoy/getEnjoyDetail?id={$res_month.12.id}">
566 - <div class="center_card_catant_one"> 562 + <div class="center_card_catant_one txt-cut">
567 {$res_month.12.post_title} 563 {$res_month.12.post_title}
568 </div> 564 </div>
569 <div class="center_card_catant_two"> 565 <div class="center_card_catant_two">
@@ -443,7 +443,10 @@ body {} @@ -443,7 +443,10 @@ body {}
443 } 443 }
444 444
445 .center_card_catant_one { 445 .center_card_catant_one {
  446 + -webkit-line-clamp: 2;
446 font-size: 0.26rem; 447 font-size: 0.26rem;
  448 + padding: 0 0.12rem;
  449 + box-sizing: border-box;
447 font-family: PingFang-SC-Medium; 450 font-family: PingFang-SC-Medium;
448 font-weight: 500; 451 font-weight: 500;
449 color: rgba(26, 26, 26, 1); 452 color: rgba(26, 26, 26, 1);