list.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. page {
  12. width: 100%;
  13. height: 100%;
  14. background-color: #F8F6F6;
  15. }
  16. .container {
  17. width: 100%;
  18. height: 100%;
  19. background-color: #F8F6F6;
  20. }
  21. .scroll-list {
  22. width: 100%;
  23. height: 70rpx;
  24. overflow: hidden;
  25. white-space: nowrap;
  26. padding: 0rpx 25rpx;
  27. font-size: 26rpx;
  28. background-color: #FFFFFF;
  29. margin-bottom: 25rpx;
  30. line-height: 60rpx;
  31. }
  32. .scroll-list .scoll-box {
  33. margin-right: 35rpx;
  34. text-align: center;
  35. display: inline-block;
  36. }
  37. .scroll-list .scoll-box.active {
  38. color: #fa2740;
  39. border-bottom: 4rpx solid #fa2740;
  40. }
  41. /* 猜你喜欢 */
  42. .guess-section {
  43. display: -webkit-box;
  44. display: -webkit-flex;
  45. display: flex;
  46. -webkit-flex-wrap: wrap;
  47. flex-wrap: wrap;
  48. padding: 0 20rpx;
  49. }
  50. .guess-section .no-data {
  51. width: 100%;
  52. font-size: 26rpx;
  53. text-align: center;
  54. }
  55. .guess-section .guess-item {
  56. position: relative;
  57. overflow: hidden;
  58. display: -webkit-box;
  59. display: -webkit-flex;
  60. display: flex;
  61. -webkit-box-orient: vertical;
  62. -webkit-box-direction: normal;
  63. -webkit-flex-direction: column;
  64. flex-direction: column;
  65. border: 2rpx solid #eeeeee;
  66. width: 343rpx;
  67. margin-bottom: 4%;
  68. border-radius: 15rpx;
  69. background-color: white;
  70. padding-bottom: 30rpx;
  71. }
  72. .guess-section .guess-item:nth-child(2n + 1) {
  73. margin-right: 24rpx;
  74. }
  75. .guess-section .imagewrapper {
  76. width: 100%;
  77. height: 289rpx;
  78. border-radius: 3px;
  79. margin-bottom: 15rpx;
  80. }
  81. .guess-section .imagewrapper image {
  82. width: 100%;
  83. height: 100%;
  84. }
  85. .guess-section .type {
  86. position: absolute;
  87. top: 25rpx;
  88. right: 25rpx;
  89. font-size: 20rpx;
  90. background: rgba(62, 62, 62, 0.5);
  91. padding: 5rpx 10rpx;
  92. color: #FFFFFF;
  93. }
  94. .guess-section .type .tip {
  95. width: 15rpx;
  96. height: 15rpx;
  97. border-radius: 100%;
  98. margin-right: 15rpx;
  99. background-color: #65D955;
  100. }
  101. .guess-section .info {
  102. padding: 0rpx 25rpx;
  103. font-size: 26rpx;
  104. }
  105. .guess-section .info .name-item {
  106. padding-top: 15rpx;
  107. font-size: 24rpx;
  108. }
  109. .guess-section .info .name-item .tip-box {
  110. font-size: 22rpx;
  111. color: #999999;
  112. }
  113. .guess-section .info .name-item .tip-box image {
  114. width: 50rpx;
  115. height: 45rpx;
  116. }