livehome.wxss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. /* pages/livehome/livehome.wxss */
  2. .live-list-box{
  3. padding: 20rpx;
  4. }
  5. .live-list::after{
  6. content: '';
  7. display: block;
  8. clear: both;
  9. }
  10. .live-list{
  11. position: relative;
  12. width: 100%;
  13. height: 500rpx;
  14. box-shadow: 0 5rpx 20rpx rgba(0,0,0,0.3);
  15. margin-bottom: 20rpx;
  16. }
  17. .goods-bg{
  18. position: absolute;
  19. top: 0;
  20. left: 0;
  21. width: 100%;
  22. height: 100%;
  23. }
  24. .goods-bg image{
  25. width: 100%;
  26. height: 100%;
  27. background: #f1f1f1;
  28. }
  29. .goods-info{
  30. position: absolute;
  31. top: 0;
  32. left: 0;
  33. width: 100%;
  34. height: 100%;
  35. background: linear-gradient(rgba(0,0,0,0),rgba(0,0,0,0),rgba(0,0,0,0.3));
  36. }
  37. .goods-state{
  38. position: absolute;
  39. top: 30rpx;
  40. background: #666;
  41. padding-right: 20rpx;
  42. border-top-right-radius: 26rpx;
  43. border-bottom-right-radius: 26rpx;
  44. }
  45. .goods-state view{
  46. float: left;
  47. font-size:24rpx;
  48. color: #fff;
  49. }
  50. .goods-state .goods-state-left{
  51. background: #e22;
  52. padding: 10rpx 20rpx;
  53. }
  54. .goods-state-left image{
  55. float: left;
  56. height: 30rpx;
  57. width: 30rpx;
  58. margin-right: 8rpx;
  59. }
  60. .goods-state-left text{
  61. float: left;
  62. display: block;
  63. }
  64. .goods-state .goods-state-right{
  65. padding: 10rpx 20rpx;
  66. }
  67. .goods-title{
  68. padding: 0 20rpx;
  69. position: absolute;
  70. left: 0;
  71. bottom: 20rpx;
  72. }
  73. .goods-title text{
  74. color: #fff;
  75. display: block;
  76. }
  77. .goods-intro{
  78. font-size: 28rpx;
  79. }
  80. .goods-name{
  81. text-align: center;
  82. }
  83. .auctioneer{
  84. position: absolute;
  85. top: 90rpx;
  86. padding: 0 20rpx;
  87. background: rgba(0, 0, 0, 0.3)
  88. }
  89. .auctioneer text{
  90. font-size: 28rpx;
  91. color: #fff;
  92. }