goods_edit.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671
  1. @CHARSET "UTF-8";
  2. /* .layui-tab-content {
  3. padding: 10px 0 30px;
  4. } */
  5. .layui-form-label{
  6. width: 140px;
  7. }
  8. .layui-form-label + .layui-input-block{
  9. margin-left: 140px;
  10. }
  11. .word-aux{
  12. margin-left: 140px;
  13. }
  14. .layui-block {
  15. margin-bottom: 15px;
  16. overflow: hidden;
  17. }
  18. .commodity-type-box{
  19. display: flex;
  20. }
  21. .commodity-type-item{
  22. margin-right: 15px;
  23. padding: 15px 20px;
  24. display: flex;
  25. justify-content: center;
  26. align-items: center;
  27. flex-direction: column;
  28. border: 1px solid #e5e5e5;
  29. cursor: pointer;
  30. /* background: #e5e5e5; */
  31. }
  32. /* .commodity-type-item span:last-of-type{
  33. color: #999;
  34. } */
  35. /* 商品分类 */
  36. .js-attr-list,
  37. .js-new-attr-list {
  38. max-width: 1000px !important;
  39. }
  40. .js-new-attr-list .prompt-block {
  41. border: none;
  42. border-top: 1px solid #e6e6e6;
  43. }
  44. .cate-input-default {
  45. position: relative;
  46. }
  47. .cate-input-default button {
  48. position: absolute;
  49. top: 1px;
  50. right: 1px;
  51. border: 0;
  52. height: 32px;
  53. line-height: 32px;
  54. border-left: 1px solid #E6E6E6;
  55. }
  56. .goods-category-wrap {
  57. position: relative;
  58. }
  59. .goods-category-wrap .layui-block {
  60. overflow: inherit;
  61. }
  62. .goods-category-list {
  63. /* width: 800px; */
  64. background-color: #FFFFFF;
  65. border: 1px solid #E6E6E6;
  66. position: absolute;
  67. left: 200px;
  68. z-index: 999;
  69. display: none;
  70. }
  71. /*商品分类弹出框*/
  72. .category-list {
  73. overflow: hidden;
  74. }
  75. .category-list .item {
  76. width: 260px;
  77. position: relative;
  78. float: left;
  79. /* border: 1px solid #cccccc; */
  80. background: #fff;
  81. /* width: 32.2%; */
  82. height: 345px;
  83. /* margin: 0 0.5%; */
  84. overflow-y: auto;
  85. }
  86. .category-list .item:last-child {
  87. margin-right: 0;
  88. }
  89. .category-list .item li {
  90. display: flex;
  91. padding: 10px;
  92. cursor: pointer;
  93. font-size: 12px;
  94. }
  95. .category-list .item li .category-name {
  96. display: inline-block;
  97. margin-left: 4px;
  98. white-space: nowrap;
  99. width: 210px;
  100. text-overflow: ellipsis;
  101. overflow: hidden;
  102. }
  103. .category-list .item li .right-arrow {
  104. width: 7px;
  105. height: 7px;
  106. border: 1px solid;
  107. border-color: #666 #666 transparent transparent;
  108. transform: rotate(45deg) translateY(6px);
  109. }
  110. .js-selected-category .right-arrow {
  111. margin-right: 5px;
  112. width: 7px;
  113. height: 7px;
  114. border: 1px solid;
  115. border-color: #666 #666 transparent transparent;
  116. transform: rotate(45deg);
  117. display: inline-block;
  118. }
  119. .selected-category-wrap {
  120. padding: 10px;
  121. border-bottom: 1px solid #cccccc;
  122. }
  123. /*底部按钮*/
  124. .fixed-btn {
  125. width: 100%;
  126. text-align: center;
  127. position: fixed;
  128. bottom: 0;
  129. margin: 0 0 0 -15px !important;
  130. background: #F9F9F9;
  131. line-height: 80px;
  132. z-index: 1000;
  133. border-top: 1px solid #e5e5e5;
  134. }
  135. .footer {
  136. padding-bottom: 160px;
  137. }
  138. .fixed-btn > button {
  139. vertical-align: middle;
  140. }
  141. /*, .fixed-btn > button:nth-child(2)*/
  142. .fixed-btn > button:first-child {
  143. display: none;
  144. }
  145. input[disabled] {
  146. cursor: not-allowed;
  147. }
  148. .spec-edit-list {
  149. margin-bottom: 10px;
  150. -webkit-user-select: none;
  151. -ms-user-select: none;
  152. -moz-user-select: none
  153. }
  154. .spec-edit-list .spec-item {
  155. border: 1px dotted transparent;
  156. padding: 10px;
  157. position: relative;
  158. background: #fff;
  159. }
  160. .spec-edit-list .spec-item .layui-form-item:last-child {
  161. margin-bottom: 0;
  162. }
  163. .spec-edit-list .spec-item:hover {
  164. border-color: #9E9E9E;
  165. cursor: move;
  166. }
  167. .spec-edit-list .spec-item .spec-value ul {
  168. margin-bottom: 10px;
  169. }
  170. .spec-edit-list .spec-item .spec-value ul li {
  171. display: inline-block;
  172. line-height: 30px;
  173. height: 30px;
  174. /*padding: 0 15px;*/
  175. border-radius: 2px;
  176. border: 1px solid #e9e9e9;
  177. background: #f7f7f7;
  178. font-size: 12px;
  179. /*transition: all 0.3s cubic-bezier(0.78, 0.14, 0.15, 0.86);*/
  180. vertical-align: middle;
  181. opacity: 1;
  182. margin: 4px 8px 4px 0;
  183. cursor: pointer;
  184. position: relative;
  185. }
  186. .spec-edit-list .spec-item .spec-value ul li .spec-txt:focus{
  187. border:none;
  188. outline:none;
  189. background: #fff;
  190. display: block;
  191. padding: 0 30px;
  192. }
  193. .spec-edit-list .spec-item .spec-value ul li .spec-txt{
  194. padding: 0 15px;
  195. }
  196. .spec-edit-list .spec-item .spec-value ul li .img-wrap {
  197. display: inline-block;
  198. margin-right: 5px;
  199. vertical-align: middle;
  200. width: 25px;
  201. overflow: hidden;
  202. height: 25px;
  203. line-height: 25px;
  204. }
  205. .spec-edit-list .spec-item .spec-value ul li .img-wrap img {
  206. max-width: 100%;
  207. }
  208. .spec-edit-list .spec-item .spec-value ul li span {
  209. vertical-align: middle;
  210. }
  211. .spec-edit-list .spec-item .spec-value ul li i {
  212. font-size: 12px;
  213. position: absolute;
  214. top: -8px;
  215. right: -8px;
  216. width: 16px;
  217. height: 16px;
  218. line-height: 16px;
  219. text-align: center;
  220. color: #fff;
  221. -webkit-border-radius: 10px;
  222. -moz-border-radius: 10px;
  223. border-radius: 10px;
  224. background: rgba(0, 0, 0, 0.3);
  225. display: none;
  226. }
  227. .spec-edit-list .spec-item .spec-value ul li:hover i {
  228. display: block;
  229. }
  230. .spec-edit-list .spec-item .spec-value > a {
  231. /*font-size: 12px;*/
  232. }
  233. .spec-edit-list .spec-item .layui-icon-close {
  234. font-size: 12px;
  235. position: absolute;
  236. top: -8px;
  237. right: -8px;
  238. width: 16px;
  239. height: 16px;
  240. line-height: 16px;
  241. text-align: center;
  242. color: #fff;
  243. -webkit-border-radius: 10px;
  244. -moz-border-radius: 10px;
  245. border-radius: 10px;
  246. background: rgba(0, 0, 0, 0.3);
  247. cursor: pointer;
  248. }
  249. .spec-edit-list .spec-item .add-spec-value-popup {
  250. position: absolute;
  251. z-index: 10;
  252. cursor: auto;
  253. left: -15px;
  254. top: 35px;
  255. background-color: #fff;
  256. border-radius: 2px;
  257. box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
  258. padding: 15px;
  259. display: none;
  260. }
  261. .spec-edit-list .layui-unselect.layui-form-select {
  262. display: none;
  263. }
  264. /*批量操作*/
  265. .batch-operation-sku {
  266. display: none;
  267. }
  268. .batch-operation-sku span {
  269. margin-right: 10px;
  270. display: inline-block;
  271. height: 34px;
  272. line-height: 34px;
  273. cursor: pointer;
  274. }
  275. .batch-operation-sku input {
  276. display: inline-block;
  277. }
  278. .batch-operation-sku input,
  279. .batch-operation-sku button {
  280. display: none;
  281. }
  282. .sku-table {
  283. display: none;
  284. -webkit-user-select: none;
  285. -ms-user-select: none;
  286. -moz-user-select: none
  287. }
  288. .sku-table .layui-input-block .img-wrap {
  289. display: inline-block;
  290. position: relative;
  291. margin: 8px;
  292. border: 1px solid #e5e5e5;
  293. }
  294. .sku-table .layui-input-block .img-wrap a {
  295. display: block;
  296. width: 50px;
  297. height: 50px;
  298. line-height: 50px;
  299. text-align: center;
  300. overflow: hidden;
  301. }
  302. .sku-table .layui-input-block .img-wrap a img {
  303. width: 100%;
  304. }
  305. .sku-table .layui-input-block .img-wrap .operation {
  306. position: absolute;
  307. top: 0;
  308. z-index: 10;
  309. width: 50px;
  310. height: 50px;
  311. background: rgba(0, 0, 0, 0.3);
  312. color: #fff;
  313. cursor: pointer;
  314. line-height: 50px;
  315. text-align: center;
  316. display: none;
  317. }
  318. .sku-table .layui-input-block .img-wrap:hover .operation {
  319. display: block;
  320. }
  321. .sku-table .layui-input-block .img-wrap .operation i {
  322. font-size: 20px;
  323. }
  324. .sku-table .layui-input-block .upload-sku-img {
  325. border: 1px dashed #d9d9d9;
  326. width: 50px;
  327. height: 50px;
  328. border-radius: 2px;
  329. background-color: #fbfbfb;
  330. text-align: center;
  331. cursor: pointer;
  332. margin: 8px;
  333. display: inline-block;
  334. padding: 15px 0;
  335. box-sizing: border-box;
  336. }
  337. .sku-table .layui-input-block .layui-form-radio {
  338. margin: 6px 0px 0 0;
  339. padding: 0;
  340. }
  341. .sku-table .layui-input-block .layui-form-radio>i {
  342. margin-right: 3px;
  343. }
  344. .js-shipping-template {
  345. display: none;
  346. }
  347. .js-goods-image {
  348. margin-bottom: 10px;
  349. overflow: hidden;
  350. }
  351. .goods-image-wrap .item {
  352. overflow: hidden;
  353. margin-bottom: 10px;
  354. margin-right: 10px;
  355. display: inline-block;
  356. }
  357. /* .goods-image-wrap .item, .goods-image-wrap .item.empty {
  358. display: block;
  359. float: left;
  360. width: 78px;
  361. height: 78px;
  362. position: relative;
  363. border: 1px solid #e5e5e5;
  364. text-align: center;
  365. transition: background-color 0.3s ease;
  366. }
  367. .goods-image-wrap .item.empty {
  368. background: url("../img/goods_empty.gif");
  369. background-size: 100%;
  370. } */
  371. /* .goods-image-wrap .item.js-add-goods-image {
  372. line-height: 78px;
  373. font-size: 30px;
  374. color: #bbbbbb;
  375. cursor: pointer;
  376. }
  377. */
  378. /* .goods-image-wrap .item .img-wrap {
  379. width: 80px;
  380. line-height: 80px;
  381. } */
  382. /* .goods-image-wrap .item .img-wrap img {
  383. width: 100%;
  384. height: 100%;
  385. } */
  386. /* .goods-image-wrap .item .operation {
  387. position: absolute;
  388. top: 0;
  389. z-index: 10;
  390. width: 80px;
  391. height: 80px;
  392. line-height: 80px;
  393. background: rgba(0, 0, 0, 0.3);
  394. color: #fff;
  395. cursor: pointer;
  396. text-align: center;
  397. display: none;
  398. } */
  399. /* .goods-image-wrap .item:hover .operation {
  400. display: block;
  401. }
  402. */
  403. /* .goods-image-wrap .item .operation i {
  404. font-size: 20px;
  405. margin-right: 15px;
  406. }
  407. .goods-image-wrap .item .operation i:last-child {
  408. margin-right: 0;
  409. } */
  410. .layui-word-aux {
  411. font-size: 12px;
  412. }
  413. /* 展示视频 */
  414. .video-thumb {
  415. display: block;
  416. float: left;
  417. width: 250px;
  418. height: 120px;
  419. position: relative;
  420. }
  421. .delete-video {
  422. width: 51px;
  423. height: 51px;
  424. cursor: pointer;
  425. position: absolute;
  426. right: 150px;
  427. top: 45px;
  428. color: #fff;
  429. /* background-image: url('../img/video_thumb_close.png'); */
  430. /* background-size: 100%; */
  431. z-index: 100;
  432. }
  433. .replace-video {
  434. width: 75px;
  435. height: 51px;
  436. cursor: pointer;
  437. position: absolute;
  438. right: 50px;
  439. top: 45px;
  440. color: #fff;
  441. /* background-image: url('../img/video_thumb_close.png'); */
  442. /* background-size: 100%; */
  443. z-index: 100;
  444. }
  445. .replace-video2 {
  446. right: 100px;
  447. }
  448. .mask {
  449. position: absolute;
  450. left: 0;
  451. width: 250px;
  452. height: 92px;
  453. background: #000;
  454. opacity: 0.6;
  455. cursor: pointer;
  456. z-index:10;
  457. }
  458. .del-img {
  459. width: 14px;
  460. margin-right: 5px;
  461. padding-bottom: 2px;
  462. }
  463. .up-img {
  464. width: 14px;
  465. height: 14px;
  466. margin-right: 5px;
  467. padding-bottom: 3px;
  468. }
  469. .up-video {
  470. position: absolute;
  471. left: 0;
  472. width: 250px;
  473. height: 92px;
  474. cursor: pointer;
  475. z-index:10;
  476. }
  477. .video-thumb .hide {
  478. display: none !important;
  479. }
  480. .video-thumb > #goods_video {
  481. width: 100% !important;
  482. height: 121px;
  483. background: #ffffff;
  484. }
  485. .file-title {
  486. font-size: 12px;
  487. }
  488. .file-title > div {
  489. margin-top: 10px;
  490. }
  491. .file-title ul {
  492. color: #FF6600;
  493. }
  494. .js-attr-list {
  495. display: none;
  496. }
  497. .js-more-spec {
  498. display: none;
  499. }
  500. .js-goods-shop-category .layui-form-select {
  501. margin-bottom: 10px;
  502. }
  503. .js-goods-shop-category .layui-form-select:last-child {
  504. margin-bottom: 0;
  505. }
  506. .js-goods-shop-category .item {
  507. position: relative;
  508. }
  509. .js-goods-shop-category .item .layui-icon-close {
  510. font-size: 12px;
  511. position: absolute;
  512. top: -8px;
  513. right: -8px;
  514. width: 16px;
  515. height: 16px;
  516. line-height: 16px;
  517. text-align: center;
  518. color: #fff;
  519. -webkit-border-radius: 10px;
  520. -moz-border-radius: 10px;
  521. border-radius: 10px;
  522. background: rgba(0, 0, 0, 0.3);
  523. cursor: pointer;
  524. }
  525. .layui-input {
  526. display: inline-block;
  527. }
  528. .layui-form-mid {
  529. float: none;
  530. }
  531. .screen .layui-form-item .layui-form-mid {
  532. float: left;
  533. }
  534. .layui-form-item .layui-form-checkbox[lay-skin=primary] {
  535. margin-top: 0px;
  536. }
  537. .prompt-block .prompt-box {
  538. text-align: center;
  539. }
  540. .prompt-block .prompt-box:after {
  541. border-right-color: #FFFFFF;
  542. bottom: -23px;
  543. }
  544. /* 商品分类 */
  545. .goods-category-wrap-box {display: inline-block;position: relative;z-index: 10}
  546. .goods-category-wrap-box .layui-block {display: block; position: relative;}
  547. .goods-category-wrap-box .category-wrap {position: absolute; left: 0; top: 44px; display: none; border: 1px solid #EEEEEE; z-index: 999; background: #fff;}
  548. .goodsCategory{width: 220px;height: 350px;overflow-y: auto;box-sizing: border-box}
  549. .goodsCategory::-webkit-scrollbar{width: 3px;}
  550. .goodsCategory::-webkit-scrollbar-track{-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);border-radius: 10px;background-color: #fff;}
  551. .goodsCategory::-webkit-scrollbar-thumb{height: 20px;border-radius: 10px;-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);background-color: #ccc;}
  552. .goodsCategory ul{margin-left: 0;}
  553. .goodsCategory::-webkit-scrollbar {
  554. display: none; /* Chrome Safari */
  555. }
  556. .goodsCategory {
  557. scrollbar-width: none; /* firefox */
  558. -ms-overflow-style: none; /* IE 10+ */
  559. overflow-x: hidden;
  560. overflow-y: auto;
  561. }
  562. .goodsCategory ul li{text-align: left;padding:0 10px;line-height: 30px;}
  563. .goodsCategory ul li i{float: right;line-height: 30px;}
  564. .goodsCategory ul li:hover{cursor: pointer;}
  565. .goodsCategory ul li:hover,.goodsCategory ul li.selected{background: #ff8143;color: #fff;}
  566. .goodsCategory ul li span{width: 110px;display: inline-block;white-space: nowrap;text-overflow: ellipsis;overflow: hidden;vertical-align: middle;font-size:12px;}
  567. .one{left: 0;}
  568. .two{left: 185px;border-left:0;}
  569. .three{left: 370px;width: 185px;border-left:0;}
  570. .selectGoodsCategory{width: 185px;height: 45px;border:1px solid #CCCCCC;position: absolute;z-index: 100;left: 0;margin-top: 296px;box-sizing: border-box;border-collapse: collapse;background: #fff;}
  571. .selectGoodsCategory a{height: 30px;text-align: center;color: #fff;line-height: 30px; margin: 6px;padding: 0 5px;text-decoration:none;}
  572. .goodsCategory ul li i {float: right;line-height: 30px;}
  573. .hide {display: none;}
  574. .goods-category-mask {width: 100%;height: 100%;position: fixed;left: 0;top: 0;z-index: 9;}
  575. .confirm-select {border: 1px solid #ff8143;}
  576. .el-input__inner {height:34px;line-height:34px;border-radius:2px;}
  577. .delivery-caozuo {
  578. margin-left: 10px;
  579. cursor: pointer;
  580. }