collection.wxss 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. /* pages/collection/collection.wxss */
  2. .titleBar {
  3. width: 100%;
  4. height: 80rpx;
  5. /* 这个配色不对 */
  6. border-bottom: 1rpx solid #f1f1f1;
  7. display: flex;
  8. justify-content: space-between;
  9. align-items: center;
  10. font-size: 28rpx;
  11. overflow: hidden;
  12. }
  13. .itemTitle {
  14. width: 200rpx;
  15. height: 100%;
  16. text-align: center;
  17. line-height: 80rpx;
  18. position: relative;
  19. color: #aaa;
  20. }
  21. .active:after {
  22. content: '';
  23. width: 40rpx;
  24. height: 8rpx;
  25. position: absolute;
  26. bottom: 0rpx;
  27. left: 70rpx;
  28. border-radius: 15rpx;
  29. background: #ff520f;
  30. }
  31. .active {
  32. font-size: 32rpx;
  33. font-weight: 700;
  34. transition: all 0.3s;
  35. color: #333;
  36. }
  37. .collectionContent {
  38. width: 90%;
  39. margin: 0rpx auto;
  40. margin-top: 10rpx;
  41. }
  42. .collectionContent{
  43. width: 100%;
  44. text-align: center;
  45. position: absolute;
  46. top: 300rpx;
  47. color: #aaaaaa
  48. }
  49. swiper{
  50. display: block;
  51. width: 100%;
  52. }
  53. .swiper-box-item{
  54. height: 400rpx;
  55. }
  56. .NoContent{
  57. width: 90%;
  58. height: auto;
  59. margin: 0rpx auto;
  60. margin-top: 100rpx;
  61. display: flex;
  62. flex-direction: column;
  63. }
  64. .NoContent image{
  65. width: 400rpx;
  66. height: 300rpx;
  67. align-self: center;
  68. }
  69. .but-box{
  70. width: 80%;
  71. margin: 0rpx auto;
  72. margin-top: 40rpx;
  73. text-align: center;
  74. }
  75. .but{
  76. width: 300rpx;
  77. height: 80rpx;
  78. font-size: 40rpx;
  79. line-height: 80rpx;
  80. margin-top: 10rpx;
  81. }