style.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. @CHARSET "UTF-8";
  2. .align-right {
  3. text-align: right;
  4. }
  5. .lineheight-clear {
  6. line-height: 1 !important;
  7. }
  8. /* 分类 */
  9. .many-goods-list .goods-cate-list {
  10. display: flex;
  11. align-items: center;
  12. padding: 20px 0;
  13. overflow: hidden;
  14. }
  15. .many-goods-list .goods-cate-list .split-line {
  16. width: 1px;
  17. height: 15px;
  18. background-color: #E5E5E5;
  19. margin-right: calc((100% - 61px * 4) / 6);
  20. margin-left: calc((100% - 61px * 4) / 6);
  21. }
  22. .many-goods-list .goods-cate-list .goods-cate-item {
  23. width: 60px;
  24. flex-shrink: 0;
  25. text-align: center;
  26. }
  27. .many-goods-list .goods-cate-list .goods-cate-item p:first-child {
  28. font-size: 16px;
  29. color: #303133;
  30. line-height: 1;
  31. }
  32. .many-goods-list .goods-cate-list .goods-cate-item p:nth-child(2) {
  33. font-size: 12px;
  34. color: #909399;
  35. margin-top: 5px;
  36. line-height: 18px;
  37. }
  38. .many-goods-list .goods-cate-list .goods-cate-item.active p:first-child {
  39. font-weight: 600;
  40. }
  41. .many-goods-list .goods-cate-list .goods-cate-item.active p:nth-child(2) {
  42. color: #FFFFFF;
  43. border-radius: 10px;
  44. }
  45. /* 显示内容 */
  46. .goods-show-box .layui-input-inline {
  47. padding-left: 20px;
  48. }
  49. .control-goods-list-small .control-goods-sellnum-abs {
  50. position: absolute;
  51. right: 5px;
  52. bottom: 10px;
  53. line-height: 25px;
  54. }
  55. /* 商品来源选择 */
  56. .source-selected {
  57. display: flex;
  58. }
  59. .source-selected .source {
  60. flex: 1;
  61. }
  62. .source-selected .source-item {
  63. display: inline-block;
  64. width: 50px;
  65. height: 32px;
  66. text-align: center;
  67. border: 1px solid #e5e5e5;
  68. padding: 5px;
  69. cursor: pointer;
  70. background: #ffffff;
  71. box-sizing: border-box;
  72. border-right: 1px transparent solid;
  73. display: flex;
  74. align-items: center;
  75. justify-content: center;
  76. }
  77. .source-selected .source-item img {
  78. display: inline-block;
  79. }
  80. .source-selected .source-item:last-child {
  81. border-right: 1px solid #e5e5e5;
  82. }
  83. /* 商品列表风格 */
  84. .goods-list-style, .goods-cate-style {
  85. display: none;
  86. }
  87. .style-list-con-goods, .style-cate-con-goods {
  88. display: flex;
  89. flex-wrap: wrap;
  90. }
  91. .style-list-con-goods .style-li-goods, .style-cate-con-goods .style-li-goods {
  92. width: 32%;
  93. height: 465px;
  94. line-height: 465px;
  95. margin-right: 2%;
  96. margin-bottom: 15px;
  97. cursor: pointer;
  98. border: 1px solid #ededed;
  99. background: #f7f8fa;
  100. box-sizing: border-box;
  101. overflow: hidden;
  102. }
  103. .style-cate-con-goods .style-li-goods {
  104. height: 220px;
  105. line-height: 220px;
  106. }
  107. .style-list-con-goods .style-li-goods:nth-child(3n),
  108. .style-cate-con-goods .style-li-goods:nth-child(3n) {
  109. margin-right: 0;
  110. }
  111. .style-list-con-goods .style-li-goods img,
  112. .style-cate-con-goods .style-li-goods img {
  113. width: 100%;
  114. }
  115. .goods-category-layer {
  116. display: none;
  117. }
  118. .layui-layer-content .category-wrap .category-item,
  119. .layui-layer-content .category-head {
  120. height: 30px;
  121. line-height: 30px;
  122. border: 1px solid #ededed;
  123. border-radius: 5px;
  124. padding: 0 15px;
  125. margin: 0 15px 10px 0;
  126. box-sizing: border-box;
  127. color: #666;
  128. font-size: 12px;
  129. }
  130. .layui-layer-content .category-head {
  131. background: #eee;
  132. height: 40px;
  133. line-height: 40px;
  134. }
  135. .layui-layer-content .category-wrap {
  136. overflow-y: scroll;
  137. height: calc(100% - 45px);
  138. }
  139. .layui-layer-content .category-wrap::-webkit-scrollbar {
  140. display: none;
  141. }
  142. .layui-layer-content .category-wrap .category-item {
  143. cursor: pointer;
  144. white-space: nowrap;
  145. overflow: hidden;
  146. text-overflow: ellipsis;
  147. }
  148. /* 编辑内容 */
  149. .many-goods-list-edit li {
  150. border: 1px dashed #e5e5e5;
  151. position: relative;
  152. padding: 10px;
  153. margin-bottom: 10px;
  154. cursor: pointer;
  155. }
  156. .many-goods-list-edit li:hover .content-block + .del {
  157. display: inline-block;
  158. }
  159. .many-goods-list-edit .add-item {
  160. padding: 10px;
  161. border: 1px dashed #FF6A00;
  162. margin: 16px 0 10px;
  163. cursor: pointer;
  164. text-align: center;
  165. }
  166. .many-goods-list-edit .add-item i {
  167. display: inline-block;
  168. height: 24px;
  169. line-height: 24px;
  170. font-size: 18px;
  171. font-style: normal;
  172. margin-right: 10px;
  173. }
  174. .many-goods-list-edit .add-item span {
  175. display: inline-block;
  176. height: 24px;
  177. line-height: 24px;
  178. }
  179. .many-goods-list-edit ul li .content-block + .del {
  180. left: unset;
  181. right: 10px;
  182. }