index.wxss 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* pages/previousEditions/index.wxss */
  2. .scrollarea {
  3. width: 100%;
  4. height: 100%;
  5. }
  6. .index_main {
  7. background-image: url("https://cxzx.smcic.net/topic/tool/img/%E5%B0%91%E5%84%BF%E4%B9%A6%E7%94%BB%E5%A4%A7%E8%B5%9B/home_top.jpg");
  8. background-repeat: no-repeat;
  9. background-size: 100%;
  10. padding-top: 955rpx;
  11. padding-bottom: 45rpx;
  12. box-sizing: border-box;
  13. }
  14. .list{
  15. width: 618rpx;
  16. margin: 0 auto;
  17. }
  18. .list .item {
  19. width: 100%;
  20. height: 335rpx;
  21. background-color: #000;
  22. position: relative;
  23. }
  24. .list .title {
  25. color: #fff;
  26. position: absolute;
  27. bottom: 0;
  28. width: 100%;
  29. background-color: #00000090;
  30. height: 1.5em;
  31. line-height: 1.5em;
  32. padding: 0 10rpx;
  33. box-sizing: border-box;
  34. font-size: 30rpx;
  35. white-space: nowrap; /* 防止文本换行 */
  36. overflow: hidden; /* 隐藏超出容器的内容 */
  37. text-overflow: ellipsis; /* 在超出内容的地方显示省略号 */
  38. }
  39. .image {
  40. width: 507rpx;
  41. display: block;
  42. margin: 55rpx auto 0 auto;
  43. }
  44. .image:last-child {
  45. display: none;
  46. }