index.wxss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /**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.png");
  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. padding: 5rpx 51rpx;
  16. color: #91725D;
  17. font-size: 30rpx;
  18. line-height: 2em;
  19. }
  20. .btn {
  21. 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/btn_border.png");
  22. background-repeat: no-repeat;
  23. background-size: 100%;
  24. text-align: center;
  25. width: 305rpx;
  26. height: 72rpx;
  27. line-height: 72rpx;
  28. font-size: 34rpx;
  29. color: #A57044;
  30. margin: 44rpx auto;
  31. }
  32. .list_value {
  33. font-size: 26rpx;
  34. text-indent: 15rpx;
  35. }
  36. video {
  37. display: block;
  38. margin: 0 auto;
  39. width: 620rpx;
  40. height: 349rpx;
  41. margin-bottom: 73rpx;
  42. }
  43. .item {
  44. width: 100%;
  45. height: 335rpx;
  46. background-color: #000;
  47. position: relative;
  48. }
  49. .item_image{
  50. width: 100%;
  51. height: 335rpx;
  52. }
  53. .title {
  54. color: #fff;
  55. position: absolute;
  56. bottom: 0;
  57. width: 100%;
  58. background-color: #00000090;
  59. height: 1.5em;
  60. line-height: 1.5em;
  61. padding: 0 10rpx;
  62. box-sizing: border-box;
  63. font-size: 30rpx;
  64. white-space: nowrap; /* 防止文本换行 */
  65. overflow: hidden; /* 隐藏超出容器的内容 */
  66. text-overflow: ellipsis; /* 在超出内容的地方显示省略号 */
  67. }
  68. .item_bg {
  69. margin-bottom: 15rpx;
  70. }
  71. .item_bg:last-child{
  72. margin-bottom: 0;
  73. }
  74. .image {
  75. width: 507rpx;
  76. display: block;
  77. margin: 55rpx auto 0 auto;
  78. }
  79. .image:last-child {
  80. display: none;
  81. }