chart_list.html 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <title>Document</title>
  8. <style>
  9. html,body{
  10. margin: 0;
  11. padding: 0;
  12. }
  13. div{
  14. box-sizing: border-box;
  15. }
  16. .box{
  17. width: 294px;
  18. height: 338px;
  19. background-color: #fff;
  20. padding: 25px 16px 16px 15px;
  21. border-radius: 4px;
  22. border: 1px solid #ECECEC;
  23. background-image: url('https://hzstatic.hzinsights.com/static/icon/hzyb/chart_wait.png');
  24. background-position: top right;
  25. background-size: 84px 84px;
  26. background-repeat: no-repeat;
  27. }
  28. .title{
  29. font-size: 16px;
  30. font-weight: bold;
  31. margin-bottom: 10px;
  32. }
  33. .content-box{
  34. background-color: #f5f5f5;
  35. height: 164px;
  36. margin-bottom: 5px;
  37. overflow: hidden;
  38. }
  39. .content-box .item{
  40. width: 115px;
  41. height: 140px;
  42. background: #FFFFFF;
  43. box-shadow: 0px 0px 6px 0px rgba(154,141,123,0.16);
  44. border-radius: 4px;
  45. margin: 10px 5px;
  46. padding: 10px;
  47. float: left;
  48. }
  49. .content-box .item-title{
  50. display: -webkit-box;
  51. overflow: hidden;
  52. text-overflow: ellipsis;
  53. -webkit-line-clamp: 2;
  54. -webkit-box-orient: vertical;
  55. min-height: 35px;
  56. font-size: 14px;
  57. }
  58. .content-box .item-img{
  59. width: 100%;
  60. height: 80px;
  61. margin-top: 5px;
  62. object-fit: cover;
  63. }
  64. .flex{
  65. height: 64px;
  66. margin-top: 10px;
  67. font-size: 14px;
  68. }
  69. .xcx-img{
  70. width: 64px;
  71. height: 64px;
  72. float: right;
  73. }
  74. </style>
  75. </head>
  76. <body>
  77. <div class="box">
  78. <div class="title">ETA图库</div>
  79. <div class="content-box">
  80. <div class="item">
  81. <div class="item-title">标题标题标题标题标题标题标题标题标题标题</div>
  82. <img class="item-img" src="https://hzstatic.hzinsights.com/static/icon/hzyb/chart_wait.png" alt="">
  83. </div>
  84. <div class="item">
  85. <div class="item-title">标题</div>
  86. <img class="item-img" src="" alt="">
  87. </div>
  88. </div>
  89. <div style="text-align:center;font-size:14px;color:#999">长按图片分享</div>
  90. <div class="flex">
  91. <div style="float: left;">
  92. <div>长按识别小程序码</div>
  93. <div style="color:#999">查看更多</div>
  94. </div>
  95. <img class="xcx-img" src="" alt="">
  96. </div>
  97. </div>
  98. </body>
  99. </html>