goods.scss 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. @charset "utf-8";
  2. .uploader-list {
  3. .file-item {
  4. img {
  5. width: 110px;
  6. }
  7. }
  8. }
  9. /* 多规格 */
  10. .goods-spec-many {
  11. display: none;
  12. .goods-spec-box {
  13. margin-top: 15px;
  14. border: 1px solid #e4e4e4;
  15. padding: 20px;
  16. border-radius: 4px;
  17. &.style-simplify {
  18. margin-top: 0;
  19. padding: 0;
  20. border: none;
  21. border-radius: 0;
  22. }
  23. }
  24. input {
  25. font-size: 1.3rem !important;
  26. padding-left: 10px !important;
  27. border: 1px solid #e3e2e5 !important;
  28. &.am-field-error {
  29. border-color: #dd514c !important;
  30. }
  31. }
  32. .spec-group-item {
  33. margin-bottom: 25px;
  34. .spec-group-name {
  35. margin-bottom: 15px;
  36. span {
  37. font-size: 1.5rem;
  38. }
  39. .icon-shanchu1 {
  40. display: inline-block;
  41. }
  42. }
  43. .spec-list {
  44. .spec-item {
  45. position: relative;
  46. margin-right: 12px;
  47. margin-bottom: 12px;
  48. span {
  49. min-width: 50px;
  50. display: inline-block;
  51. border: 1px solid #ddd;
  52. text-align: center;
  53. padding: 0 15px;
  54. border-radius: 2px;
  55. font-size: 1.3rem;
  56. line-height: 30px;
  57. }
  58. &:hover {
  59. .icon-shanchu1 {
  60. visibility: visible;
  61. }
  62. }
  63. .icon-shanchu1 {
  64. position: absolute;
  65. width: 20px;
  66. top: -9px;
  67. right: -9px;
  68. visibility: hidden;
  69. }
  70. }
  71. }
  72. .spec-item-add {
  73. input {
  74. width: 110px;
  75. border-top-left-radius: 4px;
  76. border-bottom-left-radius: 4px;
  77. }
  78. button {
  79. display: table-cell;
  80. height: 32px;
  81. font-size: 1.3rem;
  82. border-color: #e3e2e5;
  83. border-left: none;
  84. border-top-right-radius: 4px;
  85. border-bottom-right-radius: 4px;
  86. outline: none;
  87. }
  88. }
  89. }
  90. .icon-shanchu1 {
  91. cursor: pointer;
  92. text-align: center;
  93. color: #ababab;
  94. font-size: 1.3rem;
  95. &:hover {
  96. color: #6b6b6b;
  97. }
  98. }
  99. .spec-group-button {
  100. button {
  101. color: #2589ff;
  102. background-color: #fff;
  103. border-color: #2589ff;
  104. font-size: 12px;
  105. border-radius: 4px;
  106. outline: 0;
  107. font-weight: 400;
  108. padding: .6em 1em;
  109. outline: none !important;
  110. }
  111. }
  112. .spec-group-add {
  113. //display: none;
  114. .spec-group-add-item {
  115. margin-bottom: 10px;
  116. input {
  117. width: 160px;
  118. border-radius: 4px;
  119. display: inline-block;
  120. margin-left: 12px;
  121. }
  122. }
  123. }
  124. .goods-sku {
  125. //display: none;
  126. .goods-spec-line {
  127. border: 1px dashed #e3e2e5;
  128. }
  129. .spec-batch {
  130. margin-bottom: 15px;
  131. .am-form-label {
  132. padding-top: 0;
  133. }
  134. .am-form-group {
  135. margin-left: .6rem;
  136. margin-bottom: .8rem;
  137. input {
  138. width: 140px;
  139. }
  140. &:first-child {
  141. margin-left: 0;
  142. }
  143. }
  144. }
  145. .spec-sku-tabel {
  146. td {
  147. &.td-spec-value {
  148. padding: .7rem 1.3rem !important;
  149. }
  150. &.spec-image {
  151. font-size: 0;
  152. .upload-image {
  153. display: inline-block;
  154. width: 32px;
  155. height: 32px;
  156. border: 1px dashed #E3E2E5;
  157. border-radius: 4px;
  158. text-align: center;
  159. cursor: pointer;
  160. color: #B2AEBC;
  161. .iconfont {
  162. line-height: 32px;
  163. font-size: 1.2rem;
  164. }
  165. &:hover {
  166. border: 1px dashed #2589ff;
  167. color: #2589ff;
  168. }
  169. }
  170. .data-image {
  171. position: relative;
  172. display: inline-block;
  173. width: 32px;
  174. height: 32px;
  175. cursor: pointer;
  176. img {
  177. width: 100%;
  178. height: 100%;
  179. }
  180. .image-delete {
  181. display: none;
  182. position: absolute;
  183. top: -8px;
  184. right: -8px;
  185. cursor: pointer;
  186. height: 15px;
  187. width: 15px;
  188. line-height: 15px;
  189. background: rgba(153, 153, 153, 0.7);
  190. border-radius: 50%;
  191. text-align: center;
  192. color: #fff !important;
  193. font-size: 1rem;
  194. &:hover {
  195. background: #000;
  196. }
  197. }
  198. &:hover {
  199. .image-delete {
  200. display: block;
  201. }
  202. }
  203. }
  204. }
  205. }
  206. input {
  207. display: inline-block !important;
  208. &.ipt-goods-no {
  209. width: 140px;
  210. }
  211. &.ipt-w80 {
  212. width: 80px;
  213. }
  214. }
  215. }
  216. }
  217. .spec-group-button {
  218. button {
  219. &:hover, &:focus {
  220. color: #fbfbfb;
  221. background-color: #19a7f0;
  222. }
  223. }
  224. }
  225. }