shopdiy.css 27 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292
  1. #modify-view{
  2. position: relative;
  3. background: #f9fbff;
  4. padding: 18px 0 0;
  5. }
  6. .all_component_list{
  7. padding: 0 10px;
  8. background: #ffffff;
  9. position: absolute;
  10. left:0px;
  11. top: 0;
  12. overflow: hidden;
  13. -webkit-user-select: none;
  14. -moz-user-select: none;
  15. -ms-user-select: none;
  16. user-select: none;
  17. }
  18. .componnet_list_box{
  19. height: 100%;
  20. overflow-y: auto;
  21. width: 297px;
  22. }
  23. .component_title{
  24. font-weight: normal;
  25. font-size: 14px;
  26. margin: 10px 0 0;
  27. cursor: pointer;
  28. line-height: 40px;
  29. }
  30. .componnet_list_box .component_title img {
  31. width: 16px;
  32. margin-right: 5px;
  33. }
  34. .componnet_list_box ul {
  35. overflow: hidden;
  36. margin: 0;
  37. padding: 0;
  38. -webkit-transition: all .3s;
  39. transition: all .3s;
  40. opacity: 1;
  41. }
  42. .componnet_list_box ul li {
  43. float: left;
  44. color: #303133;
  45. /* padding: 10px 0; */
  46. font-size: 12px;
  47. width: 90px;
  48. height: 72px;
  49. /* line-height: 40px; */
  50. text-align: center;
  51. cursor: pointer;
  52. position: relative;
  53. text-overflow: ellipsis;
  54. white-space: nowrap;
  55. overflow: hidden;
  56. border: 1px solid #EEEEEE;
  57. border-right: 1px solid transparent;
  58. border-top: 1px solid transparent;
  59. }
  60. .componnet_list_box ul li:nth-child(-n+3) {
  61. border-top: 1px solid #EEEEEE;
  62. }
  63. .componnet_list_box ul li:nth-child(3n) {
  64. border-right: 1px solid #EEEEEE;
  65. }
  66. .componnet_list_box ul li:last-child {
  67. border-right: 1px solid #EEEEEE;
  68. }
  69. .componnet_list_box ul li img {
  70. width: 50px;
  71. margin-top: 5px;
  72. }
  73. .componnet_list_box ul li span:nth-of-type(1) {
  74. display: block;
  75. margin-bottom: 5px;
  76. }
  77. .componnet_list_box ul li span:last-child {
  78. font-size: 12px;
  79. color: #909399;
  80. }
  81. .componnet_list_box ul li:not(.disabled):hover {
  82. background: #fde6da;
  83. color: #ff8143;
  84. border: 1px solid #ff8143;
  85. }
  86. .componnet_list_box ul li:not(.disabled):hover span:last-child {
  87. font-size: 12px;
  88. color: #ff8143;
  89. }
  90. .preview-div{
  91. width: 102%;
  92. }
  93. .preview-screen{
  94. overflow: auto;
  95. }
  96. .position-page-btn {
  97. position: absolute;
  98. right: 400px;
  99. border-color: #f7f8fa;
  100. -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1);
  101. box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1);
  102. z-index: 9;
  103. }
  104. .view-wrap{
  105. width: 375px;
  106. padding: 0 30px;
  107. background-repeat: no-repeat;
  108. background-position-y: 64px;
  109. background-size: 100%;
  110. margin: 0 auto 20px;
  111. max-height: 723px;
  112. overflow-x: hidden;
  113. overflow-y: auto;
  114. box-sizing: content-box;
  115. }
  116. .view-wrap::-webkit-scrollbar {
  117. display: none;
  118. }
  119. .screen_head{
  120. height: 64px;
  121. width: 375px;
  122. -webkit-box-shadow: 0 0 14px 0 rgba(0, 0, 0, .1);
  123. box-shadow: 0 0 14px 0 rgba(0, 0, 0, .1);
  124. }
  125. .screen_head > .preview-head_div {
  126. background: url(../../images/diy/head.png) no-repeat 50%/cover;
  127. font-size: 14px;
  128. display: block;
  129. height: 64px;
  130. line-height: 82px;
  131. text-overflow: ellipsis;
  132. white-space: nowrap;
  133. overflow: hidden;
  134. cursor: pointer;
  135. margin: 0 auto;
  136. }
  137. .preview-head_div > .search {
  138. padding: 0 15px;
  139. display: -webkit-box;
  140. display: -ms-flexbox;
  141. display: flex;
  142. -webkit-box-align: center;
  143. -ms-flex-align: center;
  144. align-items: center;
  145. line-height: 93px;
  146. }
  147. .search .img{
  148. width: 85px;
  149. margin-right: 15px;
  150. height: 28px;
  151. background-size: contain;
  152. background-repeat: no-repeat;
  153. background-position: center;
  154. }
  155. .search > span {
  156. -webkit-box-flex: 1;
  157. -ms-flex: 1;
  158. flex: 1;
  159. }
  160. .edit-attribute, .edit-attribute-placeholder {
  161. position: absolute;
  162. top: 0;
  163. right: 0;
  164. background: #ffffff;
  165. border-top: 1px solid #f7f8fa;
  166. width: 360px;
  167. padding: 10px;
  168. z-index: 1;
  169. overflow: hidden;
  170. }
  171. .edit-attribute .attr-wrap {
  172. width: 370px;
  173. overflow-x: hidden;
  174. overflow-y: auto;
  175. height: 600px;
  176. }
  177. .edit-attribute .attr-wrap .restore-wrap {
  178. width: 350px;
  179. }
  180. .edit-attribute .attr-wrap .restore-wrap .attr-title {
  181. padding: 20px 12px;
  182. border-bottom: 1px solid #f2f4f6;
  183. margin-bottom: 10px;
  184. font-weight: bold;
  185. font-size: 20px;
  186. color: #303133;
  187. }
  188. .screen_center{
  189. min-height:613px;
  190. background-color:#fff;
  191. width: 375px;
  192. }
  193. .draggable-element {
  194. border: 1px solid transparent;
  195. }
  196. .draggable-element.selected, .draggable-element:hover {
  197. border: 1px dashed #FF6A00;
  198. }
  199. .draggable-element.selected, .draggable-element:hover {
  200. border: 1px dashed #FF6A00;
  201. }
  202. .del {
  203. background: #999;
  204. color: #FFFFFF;
  205. position: absolute;
  206. border-radius: 50%;
  207. width: 20px;
  208. height: 20px;
  209. font-size: 12px;
  210. font-style: normal;
  211. line-height: 18px;
  212. text-align: center;
  213. right: -10px;
  214. top: -10px;
  215. cursor: pointer;
  216. z-index: 1;
  217. display: none;
  218. }
  219. .draggable-element .preview-draggable:hover .del {
  220. display: block;
  221. }
  222. .draggable-element .preview-draggable .preview-box {
  223. padding: 0;
  224. border-radius: 5px;
  225. }
  226. .component-title .text-title {
  227. text-align: center;
  228. position: relative;
  229. }
  230. .component-title .text-title .text-title-box {
  231. position: relative;
  232. }
  233. .component-title .text-title-1 .text-title-box {
  234. display: inline-block;
  235. }
  236. .component-title .text-title .line-left, .component-title .text-title .line-right {
  237. position: absolute;
  238. display: inline-block;
  239. width: 30px;
  240. height: 1px;
  241. top: 50%;
  242. }
  243. .component-title .text-title-1 .line-left {
  244. left: 0;
  245. margin-left: -30px;
  246. }
  247. .component-title .text-title-1 .line-right {
  248. right: 0;
  249. margin-right: -30px;
  250. }
  251. .custom-save {
  252. padding-top: 20px;
  253. text-align: center;
  254. background: #fff;
  255. padding-left: 290px;
  256. padding-right: 400px;
  257. }
  258. .layui-form-label.sm {
  259. width: 80px;
  260. padding:0px;
  261. }
  262. .edit-attribute .layui-input-block {
  263. margin-left: 80px;
  264. line-height: 34px;
  265. min-height: 34px;
  266. }
  267. .layui-form-label.sm + .layui-input-block {
  268. margin-left: 80px;
  269. }
  270. .layui-form-label.sm {
  271. height: 34px;
  272. line-height: 34px;
  273. padding: 0 10px 0 0;
  274. -webkit-box-sizing: border-box;
  275. box-sizing: border-box;
  276. color: #454545 !important;
  277. }
  278. .component-title h2 {
  279. margin: 0;
  280. font-size: 16px;
  281. overflow: hidden;
  282. text-overflow: ellipsis;
  283. }
  284. .edit-attribute .attr-title {
  285. padding: 20px 12px;
  286. border-bottom: 1px solid #f2f4f6;
  287. margin-bottom: 10px;
  288. font-weight: bold;
  289. font-size: 20px;
  290. color: #303133;
  291. }
  292. .template-edit-title {
  293. display: -webkit-box;
  294. display: -ms-flexbox;
  295. display: flex;
  296. -webkit-box-pack: justify;
  297. -ms-flex-pack: justify;
  298. justify-content: space-between;
  299. -webkit-box-align: center;
  300. -ms-flex-align: center;
  301. align-items: center;
  302. border-bottom: 1px solid #EEEEEE;
  303. padding-top: 15px;
  304. margin-bottom: 15px;
  305. }
  306. .template-edit-title h3 {
  307. font-size: 16px;
  308. padding: 8px 10px;
  309. color: #303133;
  310. font-weight: 600;
  311. }
  312. .template-edit-title i {
  313. display: inline-block;
  314. font-size: 12px;
  315. color: #818181;
  316. cursor: pointer;
  317. -webkit-transition: -webkit-transform .3s;
  318. transition: -webkit-transform .3s;
  319. transition: transform .3s;
  320. transition: transform .3s, -webkit-transform .3s;
  321. -webkit-transition: transform .3s;
  322. }
  323. /**
  324. text begin
  325. */
  326. .layui-form-select dl {
  327. z-index: 9999;
  328. }
  329. .layui-fluid {
  330. overflow: initial;
  331. }
  332. .layui-btn:hover {
  333. opacity: 1;
  334. }
  335. .ns-footer {
  336. display: none;
  337. }
  338. .layui-layout-admin .layui-body .ns-body-content {
  339. min-height: initial;
  340. padding-top: 0;
  341. padding-bottom: 0;
  342. }
  343. .position-page-btn {
  344. position: absolute;
  345. right: 440px;
  346. border-color: #f7f8fa;
  347. -webkit-box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1);
  348. box-shadow: 0 2px 8px 0 rgba(0, 0, 0, .1);
  349. z-index: 9;
  350. }
  351. .ns-padding-left {
  352. padding-left: 10px;
  353. }
  354. h3.template-title {
  355. font-size: 14px;
  356. padding: 15px 10px;
  357. color: #303133;
  358. }
  359. /* 椤堕儴椋庢牸 */
  360. .sytle {
  361. display: -webkit-box;
  362. display: -ms-flexbox;
  363. display: flex;
  364. -ms-flex-wrap: wrap;
  365. flex-wrap: wrap;
  366. }
  367. .sytle .text-title {
  368. margin-right: 20px;
  369. margin-right: 12px;
  370. margin-bottom: 15px;
  371. width: 280px;
  372. height: 220px;
  373. line-height: 220px;
  374. border: 1px solid #cccc;
  375. background-color: #eee;
  376. display: inline-block;
  377. }
  378. .sytle .text-title:nth-child(3n+3) {
  379. margin-right: 0px;
  380. }
  381. .sytle .text-title.active {
  382. border: 1px solid #FF6A00
  383. }
  384. .sytle .text-title img {
  385. width: 100%
  386. }
  387. .template-edit-title {
  388. display: -webkit-box;
  389. display: -ms-flexbox;
  390. display: flex;
  391. -webkit-box-pack: justify;
  392. -ms-flex-pack: justify;
  393. justify-content: space-between;
  394. -webkit-box-align: center;
  395. -ms-flex-align: center;
  396. align-items: center;
  397. border-bottom: 1px solid #EEEEEE;
  398. padding-top: 15px;
  399. margin-bottom: 15px;
  400. }
  401. .template-edit-title h3 {
  402. font-size: 16px;
  403. padding: 8px 10px;
  404. color: #303133;
  405. font-weight: 600;
  406. }
  407. .template-edit-title i {
  408. display: inline-block;
  409. font-size: 12px;
  410. color: #818181;
  411. cursor: pointer;
  412. -webkit-transition: -webkit-transform .3s;
  413. transition: -webkit-transform .3s;
  414. transition: transform .3s;
  415. transition: transform .3s, -webkit-transform .3s;
  416. -webkit-transition: transform .3s;
  417. /* Safari */
  418. }
  419. .template-edit-title i.closed-right {
  420. transform: rotate(-90deg);
  421. -ms-transform: rotate(-90deg);
  422. /* IE 9 */
  423. -webkit-transform: rotate(-90deg);
  424. /* Safari and Chrome */
  425. }
  426. /*棰滆壊閫夋嫨鍣�*/
  427. .colorSelector {
  428. display: inline-block;
  429. vertical-align: middle;
  430. cursor: pointer;
  431. }
  432. .color-selector-reset {
  433. display: inline-block;
  434. line-height: 34px;
  435. cursor: pointer;
  436. margin-right: 20px;
  437. color: #FF6A00
  438. }
  439. .photo-album {
  440. display: none;
  441. }
  442. .selected-style {
  443. cursor: pointer;
  444. float: right;
  445. color: #909399;
  446. }
  447. .selected-style i {
  448. font-size: 12px;
  449. line-height: 34px;
  450. color: #818181;
  451. margin-left: 5px;
  452. }
  453. /* 閾炬帴鍦板潃 */
  454. .layui-input-block span.sm {
  455. display: -webkit-box;
  456. display: -ms-flexbox;
  457. display: flex;
  458. line-height: 34px;
  459. cursor: pointer;
  460. }
  461. .layui-input-block span.sm span {
  462. display: inline-block;
  463. max-width: 145px;
  464. overflow: hidden;
  465. text-overflow: ellipsis;
  466. white-space: nowrap;
  467. }
  468. .layui-input-block span.sm i {
  469. margin-left: 5px;
  470. font-size: 12px;
  471. color: #818181;
  472. }
  473. .component-links .layui-input-block .sm {
  474. float: right;
  475. }
  476. .side-process {
  477. display: inline-block;
  478. margin-right: 15px;
  479. margin-left: 5px;
  480. width: 230px;
  481. vertical-align: middle;
  482. }
  483. .slide-prompt-text {
  484. color: #909399;
  485. }
  486. .side-process .layui-slider-wrap {
  487. top: -17px;
  488. }
  489. .side-process .layui-slider {
  490. height: 3px;
  491. }
  492. .side-process .layui-slider-wrap-btn {
  493. width: 16px;
  494. height: 16px;
  495. }
  496. #diyView {
  497. position: relative;
  498. background: #f7f8fa;
  499. padding: 20px 0 0;
  500. }
  501. .custom-save {
  502. padding-top: 20px;
  503. text-align: center;
  504. background: #fff;
  505. padding-left: 290px;
  506. padding-right: 400px;
  507. }
  508. .preview-wrap {
  509. overflow: hidden;
  510. margin-left: 290px;
  511. margin-right: 350px;
  512. }
  513. .preview-wrap .preview-restore-wrap {
  514. /*overflow: auto;height: 590px;*/
  515. width: 102%;
  516. /*margin-left: 290px;/*210px;*/
  517. /*margin-right: 400px;*/
  518. }
  519. .preview-wrap .preview-restore-wrap .dv-wrap {
  520. overflow: auto;
  521. height: 525px;
  522. }
  523. /*auto*/
  524. .preview-wrap .preview-restore-wrap .diy-view-wrap {
  525. width: 375px;
  526. background-repeat: no-repeat;
  527. background-position-y: 64px;
  528. background-size: 100%;
  529. margin: 0 auto 20px;
  530. }
  531. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head {
  532. height: 64px;
  533. width: 375px;
  534. /*box-shadow: 0 0 14px 0 rgba(0, 0, 0, .1);*/
  535. }
  536. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head > span {
  537. background: url(../img/preview_head.png) no-repeat 50%/cover;
  538. font-size: 14px;
  539. display: block;
  540. text-align: center;
  541. height: 64px;
  542. line-height: 82px;
  543. text-overflow: ellipsis;
  544. white-space: nowrap;
  545. overflow: hidden;
  546. cursor: pointer;
  547. margin: 0 auto;
  548. }
  549. .preview-wrap .preview-restore-wrap .diy-view-wrap .middle {
  550. padding: 10px 20px;
  551. }
  552. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-block {
  553. min-height: 400px;
  554. /*box-shadow: 0 0 4px 0 rgba(0, 0, 0, .1);*/
  555. }
  556. /*缁勪欢鍒楄〃*/
  557. .component-list {
  558. width: 270px;
  559. /*190px;*/
  560. padding: 0 10px;
  561. background: #ffffff;
  562. float: left;
  563. position: absolute;
  564. top: 0;
  565. overflow: hidden;
  566. -webkit-user-select: none;
  567. -moz-user-select: none;
  568. -ms-user-select: none;
  569. user-select: none;
  570. }
  571. .component-list nav {
  572. height: 610px;
  573. overflow-y: auto;
  574. width: 297px;
  575. /*217px;*/
  576. }
  577. .component-list h3 {
  578. font-weight: normal;
  579. font-size: 14px;
  580. margin: 10px 0 0;
  581. cursor: pointer;
  582. line-height: 40px;
  583. }
  584. .component-list h3 img {
  585. width: 16px;
  586. margin-right: 5px;
  587. }
  588. .component-list ul {
  589. overflow: hidden;
  590. margin: 0;
  591. padding: 0;
  592. -webkit-transition: all .3s;
  593. transition: all .3s;
  594. opacity: 1;
  595. }
  596. .component-list ul li {
  597. float: left;
  598. color: #303133;
  599. /* padding: 10px 0; */
  600. font-size: 12px;
  601. width: 90px;
  602. height: 72px;
  603. /*line-height: 40px;*/
  604. text-align: center;
  605. cursor: pointer;
  606. position: relative;
  607. text-overflow: ellipsis;
  608. white-space: nowrap;
  609. overflow: hidden;
  610. border: 1px solid #EEEEEE;
  611. border-right: 1px solid transparent;
  612. border-top: 1px solid transparent;
  613. }
  614. .component-list ul li:nth-child(3n) {
  615. border-right: 1px solid #EEEEEE;
  616. }
  617. .component-list ul li:nth-child(-n+3) {
  618. border-top: 1px solid #EEEEEE;
  619. }
  620. .component-list ul li:last-child {
  621. border-right: 1px solid #EEEEEE;
  622. }
  623. .component-list ul li.hot:after {
  624. content: '';
  625. background: url(../img/hot_component.png) no-repeat center/100%;
  626. position: absolute;
  627. width: 16px;
  628. height: 20px;
  629. margin: 2px 0 0 0;
  630. right: 10%;
  631. top: 10px;
  632. }
  633. .component-list ul li.disabled {
  634. /*cursor: not-allowed;*/
  635. /*color: #bbb;*/
  636. }
  637. .component-list ul li:not(.disabled):hover {
  638. background: #fde6da;
  639. color: #ff8143;
  640. border: 1px solid #ff8143;
  641. }
  642. .component-list ul li img {
  643. width: 50px;
  644. margin-top: 5px;
  645. }
  646. .component-list ul li span:nth-of-type(1) {
  647. display: block;
  648. margin-bottom: 5px;
  649. }
  650. .component-list ul li span:last-child {
  651. font-size: 12px;
  652. color: #909399;
  653. }
  654. .component-list ul li:not(.disabled):hover span:last-child {
  655. font-size: 12px;
  656. color: #ff8143;
  657. }
  658. .js-component-add-count {
  659. display: none;
  660. }
  661. /*棰勮*/
  662. .draggable-element {
  663. border: 1px solid transparent;
  664. /*background: #ffffff;position: relative;*/
  665. }
  666. .draggable-element .preview-draggable {
  667. /* padding:10px; */
  668. padding-top: 1px;
  669. cursor: move;
  670. position: relative;
  671. }
  672. .draggable-element .preview-draggable .preview-box {
  673. padding: 0;
  674. border-radius: 5px;
  675. }
  676. .draggable-element .have-padding .preview-draggable {
  677. padding: 10px;
  678. }
  679. .draggable-element .no-padding .preview-draggable {
  680. padding: 10px 0;
  681. }
  682. .draggable-element.selected,
  683. .draggable-element:hover {
  684. border: 1px dashed #FF6A00;
  685. }
  686. ul li .content-block + .del {
  687. right: unset;
  688. left: 68px;
  689. top: 0;
  690. }
  691. .draggable-element .preview-draggable:hover .del {
  692. display: block;
  693. }
  694. .edit-attribute-placeholder {
  695. display: none;
  696. }
  697. .edit-attribute .attr-wrap .restore-wrap .layui-form-label {
  698. color: #909399 !important;
  699. margin-bottom: 0;
  700. }
  701. .edit-attribute .attr-wrap .restore-wrap .attr-title {
  702. padding: 20px 12px;
  703. border-bottom: 1px solid #f2f4f6;
  704. margin-bottom: 10px;
  705. font-weight: bold;
  706. font-size: 20px;
  707. color: #303133;
  708. }
  709. .edit-attribute .attr-wrap .restore-wrap .layui-tab {
  710. margin: 0 0 10px;
  711. }
  712. .edit-attribute .attr-wrap .restore-wrap .layui-tab .layui-tab-title {
  713. width: 380px;
  714. }
  715. .edit-attribute .attr-wrap .restore-wrap .layui-tab .layui-tab-title li.layui-this:after {
  716. border-top: 0;
  717. }
  718. .edit-attribute .attr-wrap .restore-wrap .layui-tab .layui-tab-title li:first-child.layui-this:after {
  719. border-left: 0;
  720. }
  721. .edit-attribute .attr-wrap .restore-wrap .layui-tab .layui-tab-title li:nth-child(4):after {
  722. border-right: 0;
  723. }
  724. .edit-attribute .attr-wrap .restore-wrap .layui-form input[type=radio] {
  725. display: inline-block;
  726. opacity: 0;
  727. position: absolute;
  728. top: 10px;
  729. width: 60px;
  730. height: 20px;
  731. cursor: pointer;
  732. }
  733. .edit-attribute .attr-wrap .restore-wrap .img-block {
  734. display: inline-block;
  735. margin-right: 10px;
  736. cursor: pointer;
  737. vertical-align: top;
  738. text-align: center;
  739. border: 1px solid #CCCCCC;
  740. width: 66px;
  741. height: 66px;
  742. text-align: center;
  743. line-height: 66px;
  744. }
  745. .edit-attribute .attr-wrap .restore-wrap .img-block img{
  746. width: 56px;
  747. height: 56px;
  748. vertical-align: top;
  749. }
  750. .edit-attribute .attr-wrap .restore-wrap .img-block > div {
  751. position: relative
  752. }
  753. .edit-attribute .attr-wrap .restore-wrap .img-block > div.del {
  754. display: inline-block;
  755. margin-right: 10px;
  756. cursor: pointer;
  757. vertical-align: top;
  758. text-align: center;
  759. border: 1px solid #CCCCCC;
  760. width: 66px;
  761. height: 66px;
  762. text-align: center;
  763. line-height: 66px;
  764. }
  765. .edit-attribute .attr-wrap .restore-wrap .img-block + .content-block {
  766. display: inline-block;
  767. width: calc(100% - 78px);
  768. font-size: 14px;
  769. }
  770. .edit-attribute .attr-wrap .restore-wrap .img-block + .content-block .layui-form-label.sm {
  771. width: 68px;
  772. }
  773. .edit-attribute .attr-wrap .restore-wrap .img-block + .content-block .layui-input-block {
  774. margin-left: 78px;
  775. }
  776. .edit-attribute .attr-wrap .restore-wrap .img-block + .content-block .layui-input-block span.sm {
  777. float: right;
  778. }
  779. .edit-attribute .attr-wrap .restore-wrap .img-block i.add {
  780. display: block;
  781. font-style: normal;
  782. text-align: center;
  783. font-size: 26px;
  784. min-width: 26px;
  785. }
  786. .edit-attribute .attr-wrap .restore-wrap .img-block i.del {
  787. display: none;
  788. }
  789. .edit-attribute .attr-wrap .restore-wrap .img-block:hover i.del {
  790. display: block;
  791. }
  792. .edit-attribute .attr-wrap .restore-wrap .img-block.has-choose-image {
  793. width: 66px;
  794. height: 64px;
  795. border: 1px dashed #e5e5e5;
  796. display: inline-block;
  797. vertical-align: top;
  798. position: relative;
  799. line-height: 64px;
  800. margin-right: 10px;
  801. text-align: center;
  802. padding: 0;
  803. }
  804. .edit-attribute .attr-wrap .restore-wrap .img-block.has-choose-image > div {
  805. width: 66px;
  806. height: 64px;
  807. display: -webkit-box;
  808. display: -ms-flexbox;
  809. display: flex;
  810. -webkit-box-align: center;
  811. -ms-flex-align: center;
  812. align-items: center;
  813. -webkit-box-pack: center;
  814. -ms-flex-pack: center;
  815. justify-content: center;
  816. }
  817. .edit-attribute .attr-wrap .restore-wrap .img-block.has-choose-image img {
  818. width: auto;
  819. height: auto;
  820. max-width: 100%;
  821. max-height: 100%;
  822. }
  823. .edit-attribute .attr-wrap .restore-wrap .img-block.has-choose-image span {
  824. position: absolute;
  825. bottom: 0;
  826. left: 0;
  827. width: 100%;
  828. text-align: center;
  829. font-size: 12px;
  830. background: rgba(0, 0, 0, .6);
  831. color: #ffffff;
  832. line-height: initial;
  833. cursor: pointer;
  834. }
  835. .edit-attribute .attr-wrap .restore-wrap .img-block span {
  836. font-size: 12px;
  837. line-height: 23px;
  838. }
  839. .layui-btn.layui-btn-primary.sm {
  840. margin-top: 5px;
  841. padding: 5px 10px !important;
  842. height: auto;
  843. font-size: 12px;
  844. border-radius: 0;
  845. vertical-align: baseline;
  846. line-height: 1
  847. }
  848. .edit-attribute .attr-wrap .restore-wrap .layui-form-radio {
  849. margin-top: 0;
  850. line-height: 34px;
  851. }
  852. /* 棰滆壊閫夋嫨鍣� */
  853. .flexbox-fix-btn {
  854. -webkit-box-pack: center;
  855. -ms-flex-pack: center;
  856. justify-content: center;
  857. }
  858. .flexbox-fix-btn .btn {
  859. width: 40px;
  860. border: 1px solid #DDDDDD;
  861. color: #666666;
  862. line-height: 22px;
  863. background-color: transparent;
  864. cursor: pointer;
  865. font-size: 12px;
  866. margin: 0;
  867. -webkit-box-sizing: border-box;
  868. box-sizing: border-box;
  869. border-radius: 3px;
  870. }
  871. .layui-unselect.layui-form-radio.layui-form-radioed i:after {
  872. content: "";
  873. position: absolute;
  874. width: 8px;
  875. height: 8px;
  876. background: #FF6A00;
  877. border-radius: 50%;
  878. left: 4px;
  879. top: 13px;
  880. }
  881. .flex {
  882. -webkit-box-pack: justify;
  883. -ms-flex-pack: justify;
  884. justify-content: space-between;
  885. display: -webkit-box;
  886. display: -ms-flexbox;
  887. display: flex;
  888. -webkit-box-align: center;
  889. -ms-flex-align: center;
  890. align-items: center;
  891. }
  892. .flex .flex_fill {
  893. -webkit-box-flex: 1;
  894. -ms-flex: 1;
  895. flex: 1;
  896. text-align: right;
  897. }
  898. .flex .flex_left {
  899. display: -webkit-box;
  900. display: -ms-flexbox;
  901. display: flex;
  902. -webkit-box-align: center;
  903. -ms-flex-align: center;
  904. align-items: center;
  905. }
  906. .flex .flex_left .curr_color {
  907. color: #303133
  908. }
  909. /* 鍗曢€� */
  910. .ns-icon-radio .ns-icon {
  911. float: right;
  912. }
  913. .ns-icon-radio .ns-icon li {
  914. display: inline-block;
  915. width: 50px;
  916. height: 32px;
  917. line-height: 30px;
  918. text-align: center;
  919. border: 1px solid #EEEEEE;
  920. border-right: 1px solid transparent;
  921. cursor: pointer;
  922. float: left;
  923. -webkit-box-sizing: border-box;
  924. box-sizing: border-box;
  925. }
  926. .ns-icon-radio .ns-icon li:last-child {
  927. border-right: 1px solid #EEEEEE;
  928. }
  929. /* 澶嶉€� */
  930. .ns-checkbox-wrap .layui-form-checkbox,
  931. .ns-checkbox-wrap .layui-input-inline-checkbox .layui-form-checkbox {
  932. float: right;
  933. }
  934. .ns-checkbox-wrap .layui-form-item .layui-form-checkbox[lay-skin=primary] {
  935. margin-top: -4px;
  936. }
  937. .ns-checkbox-wrap .layui-input-inline-checkbox span {
  938. color: #909399;
  939. }
  940. .ns-checkbox-wrap .layui-input-block {
  941. margin-left: 15px;
  942. }
  943. .ns-checkbox-wrap .layui-form-item .layui-input-inline-checkbox .layui-form-checkbox[lay-skin=primary] {
  944. margin-top: 8px;
  945. }
  946. /* 鍥剧墖涓婁紶 */
  947. .edit-attribute .attr-wrap .restore-wrap .ns-img-upload .img-block {
  948. /* padding: 4px; */
  949. margin-right: 15px;
  950. float: right;
  951. }
  952. .ns-img-upload + .ns-diy-word-aux {
  953. margin-left: 15px;
  954. }
  955. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head > .preview-head_div {
  956. background: url(../../images/diy/head.png) no-repeat 50%/cover;
  957. font-size: 14px;
  958. display: block;
  959. height: 64px;
  960. line-height: 82px;
  961. text-overflow: ellipsis;
  962. white-space: nowrap;
  963. overflow: hidden;
  964. cursor: pointer;
  965. margin: 0 auto;
  966. }
  967. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head > .preview-head_div > span {
  968. display: block;
  969. padding: 0 15px;
  970. height: 100%;
  971. line-height: 87px;
  972. }
  973. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head > .preview-head_div > .img {
  974. padding: 0 30px;
  975. }
  976. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head > .preview-head_div > .img > img {
  977. width: 85px
  978. }
  979. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head > .preview-head_div > .search {
  980. padding: 0 15px;
  981. display: -webkit-box;
  982. display: -ms-flexbox;
  983. display: flex;
  984. -webkit-box-align: center;
  985. -ms-flex-align: center;
  986. align-items: center;
  987. line-height: 93px;
  988. }
  989. .ns-bg-select .ns-bg-select-ul {
  990. text-align: right;
  991. }
  992. .ns-bg-select .ns-bg-select-ul li {
  993. display: inline-block;
  994. width: 20px;
  995. height: 20px;
  996. border-radius: 3px;
  997. border: 1px solid #d7d7d7;
  998. vertical-align: middle;
  999. cursor: pointer;
  1000. padding: 2px;
  1001. -webkit-box-sizing: border-box;
  1002. box-sizing: border-box;
  1003. margin-left: 5px;
  1004. }
  1005. .ns-bg-select .ns-bg-select-ul li div {
  1006. width: 100%;
  1007. height: 100%;
  1008. border-radius: 3px;
  1009. }
  1010. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head > .preview-head_div > .search > .img {
  1011. width: 85px;
  1012. margin-right: 15px;
  1013. height: 28px;
  1014. background-size: contain;
  1015. background-repeat: no-repeat;
  1016. background-position: center;
  1017. }
  1018. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head > .preview-head_div > .search > span {
  1019. -webkit-box-flex: 1;
  1020. -ms-flex: 1;
  1021. flex: 1
  1022. }
  1023. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head > .preview-head_div > .img_text_search {
  1024. display: -webkit-box;
  1025. display: -ms-flexbox;
  1026. display: flex;
  1027. padding-right: 116px;
  1028. }
  1029. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head > .preview-head_div > .img_text_search .img {
  1030. background-size: contain;
  1031. background-repeat: no-repeat;
  1032. background-position: center;
  1033. margin-left: 15px;
  1034. display: -webkit-box;
  1035. display: -ms-flexbox;
  1036. display: flex;
  1037. margin-top: 30px;
  1038. width: 85px;
  1039. margin-right: 15px;
  1040. height: 28px;
  1041. }
  1042. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head > .preview-head_div > .img_text_search .top-search-box {
  1043. -webkit-box-flex: 1;
  1044. -ms-flex: 1;
  1045. flex: 1;
  1046. height: 30px;
  1047. margin-top: 28px;
  1048. display: -webkit-box;
  1049. display: -ms-flexbox;
  1050. display: flex;
  1051. -webkit-box-align: center;
  1052. -ms-flex-align: center;
  1053. align-items: center;
  1054. -webkit-box-pack: center;
  1055. -ms-flex-pack: center;
  1056. justify-content: center;
  1057. }
  1058. .preview-wrap .preview-restore-wrap .diy-view-wrap .preview-head > .preview-head_div > .img_text_search .top-search-box i {
  1059. margin-right: 10px;
  1060. }
  1061. .flexbox-fix-btn .btn {
  1062. width: 40px;
  1063. border: 1px solid #DDDDDD;
  1064. color: #666666;
  1065. line-height: 22px;
  1066. background-color: transparent;
  1067. cursor: pointer;
  1068. font-size: 12px;
  1069. margin: 0;
  1070. -webkit-box-sizing: border-box;
  1071. box-sizing: border-box;
  1072. border-radius: 3px;
  1073. padding:0px;
  1074. }
  1075. .attr-wrap::-webkit-scrollbar {
  1076. display: none; /* Chrome Safari */
  1077. }
  1078. .attr-wrap {
  1079. overflow-y: scroll;
  1080. scrollbar-color: transparent transparent;
  1081. scrollbar-track-color: transparent;
  1082. -ms-scrollbar-track-color: transparent;
  1083. }
  1084. .attr-wrap .layui-form-radio>i {
  1085. font-size: 16px;
  1086. color: #FF6A00;
  1087. }
  1088. .attr-wrap .layui-anim.layui-icon {
  1089. position: relative;
  1090. }
  1091. .ns-border-color {
  1092. border-color: #FF6A00 !important;
  1093. }
  1094. .layui-layer-page .layui-layer-content {
  1095. padding: 20px;
  1096. }
  1097. .ns-text-color {
  1098. color: #FF6A00 !important;
  1099. }
  1100. .ns-word-aux.sm {
  1101. margin-left: 80px;
  1102. }
  1103. .ns-word-aux {
  1104. margin-left: 200px;
  1105. display: block;
  1106. margin-top: 5px;
  1107. color: #B2B2B2;
  1108. font-size: 12px;
  1109. line-height: 1.6;
  1110. }
  1111. .required {
  1112. color: red;
  1113. margin-right: 3px;
  1114. }
  1115. .ns-word-aux.mid {
  1116. margin-left: 150px;
  1117. }
  1118. .ns-len-mid {
  1119. width: 250px !important;
  1120. }
  1121. .layui-table-page, .layui-table-total {
  1122. border-width: 1px 0 0;
  1123. margin-bottom: -1px;
  1124. overflow: hidden;
  1125. }
  1126. .layui-table-view .layui-table-page {
  1127. position: relative;
  1128. width: auto;
  1129. border-top: 0;
  1130. padding: 0 !important;
  1131. height: 45px !important;
  1132. padding-top: 10px !important;
  1133. font-size: 12px;
  1134. white-space: nowrap;
  1135. text-align: right;
  1136. }
  1137. .layui-table-view .layui-table-page .layui-laypage select {
  1138. padding: 0 42px 0 10px;
  1139. height: 25px!important;
  1140. }
  1141. .layui-input, .layui-select, .ns-input-text, .layui-btn {
  1142. height: 34px;
  1143. line-height: 34px;
  1144. font-size: 14px;
  1145. }