albumDetaill.css 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. .top-pane {
  2. display: flex;
  3. justify-content: space-between;
  4. margin: 0 10px;
  5. }
  6. .top-pane .el-image {
  7. width: 200px;
  8. height: 100px;
  9. object-fit: fill;
  10. }
  11. .center-box {
  12. display: flex;
  13. flex: 9;
  14. }
  15. .publish-date {
  16. flex: 1;
  17. display: flex;
  18. justify-content: end;
  19. }
  20. .image-space {
  21. margin-right: 20px;
  22. }
  23. .album-box {
  24. flex-direction: column;
  25. display: flex;
  26. justify-content: space-between;
  27. }
  28. .album-name {
  29. font-weight: 600;
  30. font-size: 16px;
  31. }
  32. .tag-box {
  33. display: flex;
  34. flex-wrap: wrap;
  35. margin-top: 20px;
  36. }
  37. .tag-name {
  38. background: #ffefd4;
  39. padding: 2px 15px;
  40. border-radius: 5px;
  41. color: #ff7f4e;
  42. margin: 5px 10px 0 0;
  43. }
  44. .center-pane {
  45. display: flex;
  46. justify-content: center;
  47. margin: 50px 0 20px 1px;
  48. }
  49. .num-box {
  50. display: flex;
  51. flex-direction: column;
  52. align-items: center;
  53. font-weight: 400;
  54. margin-right: 120px;
  55. font-size: 16px;
  56. }
  57. .num-box .goods-num {
  58. margin-bottom: 20px;
  59. }
  60. .goods-detail-pane {
  61. display: grid;
  62. grid-template-columns: repeat(auto-fit, 240px);
  63. grid-column-gap: 20px;
  64. min-height: 100vh;
  65. margin-bottom: 60px;
  66. }
  67. .goods-detail-box {
  68. width: 240px;
  69. border: 1px solid #ccc;
  70. transition: all 0.3s;
  71. position: relative;
  72. overflow: hidden;
  73. margin-bottom: 20px;
  74. height: 354px;
  75. }
  76. .goods-detail-box:hover {
  77. border-color: #df0f0f;
  78. height: 374px;
  79. }
  80. .goods-detail-box .box-li-img {
  81. width: 240px;
  82. height: 240px;
  83. position: relative;
  84. }
  85. .goods-detail-box img {
  86. width: 240px;
  87. height: 240px;
  88. }
  89. .goods-detail-box .center {
  90. display: none;
  91. width: 100%;
  92. font-size: 12px;
  93. position: absolute;
  94. bottom: 0;
  95. line-height: 30px;
  96. z-index: 2;
  97. background: #e1564c;
  98. color: #fff;
  99. font-weight: 600;
  100. text-align: center;
  101. }
  102. .goods-detail-box:hover .center {
  103. display: flex;
  104. }
  105. .goods-detail-box .center .center-detail {
  106. width: 66.6%;
  107. border-right: 2px solid #ccc;
  108. text-align: center;
  109. cursor: pointer;
  110. }
  111. .goods-detail-box .center .center-import {
  112. flex: 1;
  113. text-align: center;
  114. }
  115. .goods-detail-box .title {
  116. margin: 0 0 0 5px;
  117. height: 40px;
  118. display: -webkit-box;
  119. -webkit-line-clamp: 2;
  120. overflow: hidden;
  121. text-overflow: ellipsis;
  122. line-height: 20px;
  123. -webkit-box-orient: vertical;
  124. }
  125. .goods-detail-box .bottom-one {
  126. display: flex;
  127. justify-content: space-around;
  128. font-size: 12px;
  129. }
  130. .goods-detail-box .bottom-two {
  131. display: none;
  132. justify-content: space-evenly;
  133. font-size: 12px;
  134. }
  135. .goods-detail-box:hover .bottom-two {
  136. display: flex;
  137. }
  138. .goods-detail-box .bottom-line {
  139. display: flex;
  140. flex-direction: column;
  141. align-items: center;
  142. justify-content: center;
  143. }
  144. .goods-detail-box .in-price {
  145. color: #ff6767;
  146. }
  147. .vue-page {
  148. padding: 20px;
  149. }
  150. .vue-page-bottom {
  151. display: flex;
  152. align-items: center;
  153. justify-content: space-between;
  154. }
  155. .vue-page-bottom .tip {
  156. color: #ff7a78;
  157. font-size: 15px;
  158. }
  159. .form-pane {
  160. margin: 20px 0;
  161. }