diy.scss 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575
  1. $color:#29c8a1;
  2. .dis-flex {
  3. display: -webkit-box;
  4. display: -webkit-flex;
  5. display: -ms-flexbox;
  6. display: flex;
  7. }
  8. .flex-x-around {
  9. justify-content: space-around;
  10. }
  11. .flex-dir-row {
  12. flex-direction: row; }
  13. .flex-dir-column {
  14. -webkit-box-orient: vertical;
  15. -webkit-flex-direction: column;
  16. -ms-flex-direction: column;
  17. flex-direction: column; }
  18. .flex-x-center {
  19. -webkit-box-pack: center;
  20. -webkit-justify-content: center;
  21. -ms-flex-pack: center;
  22. justify-content: center; }
  23. .flex-y-center {
  24. -webkit-box-align: center;
  25. -webkit-align-items: center;
  26. -ms-flex-align: center;
  27. align-items: center; }
  28. .appdiy-module-container{
  29. width:375px; height:667px; border: 1px solid #eee; display: flex; flex-direction: column; top:70px; left:711px; position: fixed; background:#fff; box-shadow:#dcdcdc 0 3px 16px;
  30. /***页面标题***/
  31. .appdiy-title{ height:50px; position: relative; background:#fff; text-align:center;
  32. img{position: absolute; z-index:1; right:12px; top:50%; transform: translateY(-50%); width:72px; height:30px; background:rgba(0,0,0,0.2); border-radius:30px; }
  33. .tit{ font-size:15px; line-height:50px; margin:0; padding:0;position: relative; z-index:1; }
  34. .el-icon-arrow-left{ position: absolute; left:0; top:0; z-index:1; width:40px; height:100%; color:#888; cursor: pointer; font-size:20px; display: flex; justify-content: center; align-items: center;}
  35. }
  36. /**模块大框架***/
  37. .appdiy-module{ flex:1; background:#ffffff; position: relative; height:100%; overflow-y:auto;z-index:99;}
  38. .appdiy-module::-webkit-scrollbar{ width:0;}
  39. /**无模块***/
  40. .appdiy-nomodule{ width:100%; height:100%; display: flex; justify-content: center; align-items: center;
  41. h2{ font-size:15px;}
  42. }
  43. /***模块项***/
  44. .appdiy-module-item{ position: relative;
  45. .xline{ z-index:2; position: absolute; display: none;
  46. &:nth-child(1){ left:0; border-left:1px dashed $color; top:0; height:100%;}
  47. &:nth-child(2){ left:0; border-top:1px dashed $color; top:0; width:100%;}
  48. &:nth-child(3){ right:0; border-right:1px dashed $color; top:0; height:100%;}
  49. &:nth-child(4){ left:0; border-bottom:1px dashed $color; bottom:0; width:100%;}
  50. }
  51. &.on { .xline{ display: block;} }
  52. }
  53. /**空白提示***/
  54. .placeholder{ height:80px; margin:10px 0; display: flex; justify-content: center; background:#eee; color:#eee; align-items: center; border:1px dashed #eee;
  55. &.on{ color:$color; border-color:$color; background:#e4fff1; }
  56. }
  57. /***右侧操作按钮***/
  58. .appdiy-module-option{ position: absolute; top:0; right:-25px; width:25px; background:rgba(0,0,0,0.6); z-index:20;
  59. li{ cursor: pointer; span{ height:25px; transform: scale(1); display: block; font-size:12px; display: flex; justify-content: center; align-items:center; color:#fff;}
  60. &:hover{background:$color;}
  61. }
  62. }
  63. /***模块标题***/
  64. .module-item-title{ background:#fff; position: relative; z-index: 1; font-size:14px; padding:14px 12px; border-bottom:1px solid #eee; display: flex; justify-content: space-between; align-items: center;
  65. .mo{ color:#666;}
  66. }
  67. /***标题模块2***/
  68. .module-item-twtit{ font-size:14px; position: relative; z-index: 1; padding:0 12px; padding-top:10px;}
  69. /***导航模块***/
  70. .module-common{ margin-top:10px; position: relative; .mg0{ margin-top:0;} }
  71. .module-background{ width: 100%; background:#fff; position: absolute; left:0; top:0; right:0; bottom:0;background-size:100%;}
  72. .module-item-nav{
  73. .item-nav-con{ position: relative; z-index:1; padding:0 5px; padding-bottom:10px; display: flex; flex-wrap: wrap;
  74. &.col5 { .item{ width:20%; } }
  75. .item{ padding-top:12px; width:25%; text-align: center;
  76. .item-nav-img{ width:55px; height:55px; margin:0 auto;}
  77. .item-nav-text{ font-size:12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; color:#333; padding-top:5px; }
  78. }
  79. }
  80. }
  81. /***幻灯片组***/
  82. .module-item-slide{ margin-top:10px; position: relative; .mg0{ margin-top:0;}
  83. .item-slide-con{ position: relative; overflow: hidden;}
  84. .diy-item-slide{ position: relative; z-index: 1; padding:10px;
  85. .item{
  86. .pic{ img { display:block; width:100%; height:100%; object-fit: cover;}}
  87. }
  88. }
  89. }
  90. /***多图级***/
  91. .module-item-duo{ margin-top:10px; position: relative; .mg0{ margin-top:0;}
  92. .item-duo-con{ position: relative; overflow: hidden;}
  93. .item-duo-display__list{ position: relative; display:flex; flex-wrap: wrap; z-index: 1; padding-right:10px; padding-top:10px; overflow: hidden;
  94. &.col1{ .item{ width:100%; } }
  95. &.col2{ .item{ width:50%; } }
  96. &.col3{ .item{ width:33.333333%; } }
  97. &.col4{ .item{ width:25%; } }
  98. &.col5{ .item{ width:20%; } }
  99. .item{ width:33.3333333%; padding-left:10px; padding-bottom:10px;
  100. .c{ overflow:hidden;
  101. img{ object-fit: cover; display:block; width:100%;}
  102. .txt{ white-space: nowrap; padding:5px 10px; text-align:center; overflow: hidden; text-overflow: ellipsis;} }
  103. }
  104. }
  105. .item-duo-display__slide{
  106. width: 100000px;
  107. position: relative; z-index: 1; padding-right:10px; padding-top:10px; overflow: hidden;
  108. &.col1{ .item{ width:363px } }
  109. &.col2{ .item{ width:181px; } }
  110. &.col3{ .item{ width:121px; } }
  111. &.col4{ .item{ width:90px; } }
  112. &.col5{ .item{ width:72px; } }
  113. .item{float: left; width:91px; padding-left:10px; padding-bottom:10px;
  114. .c{ overflow:hidden;
  115. img{ object-fit: cover; display:block; width:100%;}
  116. .txt{ white-space: nowrap; padding:5px 10px; text-align:center; overflow: hidden; text-overflow: ellipsis;} }
  117. }
  118. }
  119. }
  120. /***图片橱窗***/
  121. .module-item-window{ margin-top:0px; position: relative; .mg0{ margin-top:0;}
  122. .item-window-con{ position: relative; overflow: hidden;}
  123. .item-window-style1{ position: relative; display:flex; flex-wrap: wrap; z-index: 1; overflow: hidden;
  124. .display {
  125. height: 0;
  126. width: 100%;
  127. margin: 0;
  128. padding-bottom: 50%;
  129. position: relative; }
  130. .display img {
  131. width: 100%;
  132. height: 100%; }
  133. .display .display-left {
  134. width: 50%;
  135. height: 100%;
  136. position: absolute;
  137. top: 0;
  138. left: 0; }
  139. .display .display-right {
  140. width: 50%;
  141. height: 100%;
  142. position: absolute;
  143. top: 0;
  144. left: 50%; }
  145. .display .display-right1 {
  146. width: 100%;
  147. height: 50%;
  148. position: absolute;
  149. overflow: hidden;
  150. top: 0;
  151. left: 0; }
  152. .display .display-right1-style3 {
  153. width: 100%;
  154. height: 100%;
  155. position: absolute;
  156. overflow: hidden;
  157. top: 0;
  158. left: 0; }
  159. .display .display-right2 {
  160. width: 100%;
  161. height: 50%;
  162. position: absolute;
  163. overflow: hidden;
  164. top: 50%;
  165. left: 0; }
  166. .display .display-right2 .left {
  167. width: 50%;
  168. height: 100%;
  169. position: absolute;
  170. top: 0;
  171. left: 0; }
  172. .display .display-right2 .right {
  173. width: 50%;
  174. height: 100%;
  175. position: absolute;
  176. top: 0;
  177. left: 50%; }
  178. }
  179. }
  180. /***搜索框***/
  181. .module-item-search{position: relative; width: 100%; .mg0{ margin-top:0;}
  182. .item-search-con{ width: 100%;position: relative; overflow: hidden;}
  183. .item-search{ width: 100%;position: relative; display:flex; flex-wrap: wrap; z-index: 1;overflow: hidden;
  184. .diy-search {
  185. width: 100%;
  186. padding-top: 10px;
  187. padding-left: 10px;
  188. padding-right: 10px;
  189. }
  190. .diy-search .hotkeybox {
  191. padding-top: 5px;
  192. }
  193. .diy-search .inner {
  194. height: 30px;
  195. background: #fff;
  196. overflow: hidden; }
  197. .diy-search .inner.radius {
  198. border-radius: 5px; }
  199. .diy-search .inner.round {
  200. border-radius: 30px; }
  201. .diy-search .inner .search-input {
  202. height: 30px;
  203. width: 100%;
  204. line-height: 30px;
  205. color: #999999;
  206. padding: 0 10px; }
  207. }
  208. }
  209. /***优惠券***/
  210. .module-item-coupon{position: relative; width: 100%;
  211. .item-coupon-con{ width: 100%;position: relative; overflow: hidden;}
  212. .item-coupon{ width: 100%;position: relative; z-index: 1;overflow: hidden;
  213. .diy-coupon {padding: 10px 0;}
  214. .diy-coupon .coupon-item {
  215. display: block;
  216. font-size: 1.3rem;
  217. width: 180px;
  218. height: 60px;
  219. position: relative;
  220. color: #fff;
  221. overflow: hidden;
  222. box-sizing: border-box; }
  223. .diy-coupon .coupon-item i.before {
  224. content: "";
  225. position: absolute;
  226. z-index: 1;
  227. width: 1.6rem;
  228. height: 1.6rem;
  229. top: 50%;
  230. left: -.8rem;
  231. -webkit-transform: translateY(-50%);
  232. transform: translateY(-50%);
  233. -webkit-border-radius: 80%;
  234. border-radius: 80%;
  235. background-color: #fff; }
  236. .diy-coupon .coupon-item .left-content {
  237. position: relative;
  238. float: left;
  239. width: 70%;
  240. height: 100%;
  241. background-color: #E5004F;
  242. font-size: 12px; }
  243. .diy-coupon .coupon-item .left-content .content-top .price {
  244. font-size: 2rem; }
  245. .diy-coupon .coupon-item .left-content.color__blue {
  246. background: linear-gradient(-125deg, #57bdbf, #2f9de2); }
  247. .diy-coupon .coupon-item .left-content.color__red {
  248. background: linear-gradient(-128deg, #ff6d6d, #ff3636); }
  249. .diy-coupon .coupon-item .left-content.color__violet {
  250. background: linear-gradient(-113deg, #ef86ff, #b66ff5); }
  251. .diy-coupon .coupon-item .left-content.color__yellow {
  252. background: linear-gradient(-141deg, #f7d059, #fdb054); }
  253. .diy-coupon .coupon-item .right-receive {
  254. float: right;
  255. width: 30%;
  256. height: 100%;
  257. background-color: #4e4e4e;
  258. text-align: center; }
  259. .diy-coupon .coupon-item .right-receive span {
  260. font-size: 1rem; }
  261. }
  262. }
  263. /***单图模块***/
  264. .module-item-imagesingle{ margin-top:10px; position: relative; .mg0{ margin-top:0;}
  265. .item-imagesingle-con{ position: relative; overflow: hidden;}
  266. .item-imagesingle{ position: relative; z-index: 1; overflow: hidden;
  267. .item{ position: relative; overflow: hidden;
  268. img{ object-fit: cover; display:block; width:100%;}
  269. }
  270. }
  271. }
  272. /***视频模块***/
  273. .module-item-video{ margin-top:10px; position: relative; .mg0{ margin-top:0;}
  274. .item-video-con{ position: relative; overflow: hidden;}
  275. .item-video{ position: relative; z-index: 1; padding:10px 0; overflow: hidden;
  276. .diy-video video {
  277. display: block;
  278. width: 100%;
  279. height: 100%; }
  280. }
  281. }
  282. /***公告模块***/
  283. .module-item-notice{ margin-top:10px; position: relative; .mg0{ margin-top:0;}
  284. .item-notice-con{ position: relative; overflow: hidden;}
  285. .item-notice{ position: relative; z-index: 1; overflow: hidden;
  286. .diy-notice {
  287. padding: 4px 10px;
  288. line-height: 26px; }
  289. .diy-notice .notice__icon img {
  290. width: 16px;
  291. height: 16px; }
  292. .diy-notice .notice__text {
  293. padding-left: 5px; }
  294. }
  295. }
  296. /***图文模块***/
  297. .module-item-tuwen{ margin-top:10px; position: relative; .mg0{ margin-top:0;}
  298. .item-tuwen-con{ position: relative; overflow: hidden;}
  299. .item-tuwen-style1{ position: relative; z-index: 1; padding:10px 0; overflow: hidden;
  300. .tit{ white-space: nowrap; font-size:14px; font-weight: bold; padding:10px; padding-top:0; text-align:left; overflow: hidden; text-overflow: ellipsis;}
  301. .item{ margin:0 10px; position: relative; overflow: hidden;
  302. img{ object-fit: cover; display:block; height:150px; width:100%;}
  303. .note{ line-height:18px; color:#fff; background:rgba(0,0,0,0.5); position: absolute; bottom:0; padding:6px 10px; width:100%;}
  304. }
  305. }
  306. .item-tuwen-style2{ position: relative; display:flex; flex-wrap: wrap; z-index: 1; padding-bottom:10px; overflow: hidden;
  307. .item{ padding:0 10px; padding-top:10px;
  308. img{ object-fit: cover; display:block; height:150px; width:100%;}
  309. .tit{ white-space: nowrap; font-size:14px; font-weight: bold; padding-top:10px; text-align:left; overflow: hidden; text-overflow: ellipsis;}
  310. .note{ line-height:20px; color:#999; padding-top:10px;}
  311. }
  312. }
  313. }
  314. /***商品模块***/
  315. .module-item-goods{margin-top:10px; position: relative; .mg0{ margin-top:0;}
  316. .item-goods-con{ position: relative; overflow: hidden;}
  317. .noadd{ height:200px; display: flex; align-items: center; justify-content: center; width:100%;}
  318. .item-goods-display__list{
  319. .item-goods{ position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; padding:10px; padding-top:0; overflow: hidden;
  320. &.style2{ .item{ width: calc(100%/2 - 5px);
  321. .yh { font-size:10px;}
  322. .price{ span { b { font-size:12px;} i{ font-size:10px;} } }
  323. }
  324. }
  325. &.style3{ .item{ width: calc(100%/3 - 5px);
  326. .pic{ overflow: hidden; position: relative; height:100px;
  327. img{ object-fit: cover; display:block; height:100%; width:100%;}
  328. span{ background:red; color:#fff; padding:2px 5px; border-bottom-right-radius:5px; position: absolute; left:0; top:0;}
  329. }
  330. .yh { font-size:10px;}
  331. .price{ span { b { font-size:12px;} i{ font-size:10px;} } }
  332. }
  333. }
  334. .item{ width:100%; margin-top:12px; border-radius:3px; position: relative; overflow: hidden;
  335. .pic{ overflow: hidden; position: relative; height:150px;
  336. img{ object-fit: cover; display:block; height:100%; width:100%;}
  337. span{ background:red; color:#fff; padding:2px 5px; border-bottom-right-radius:5px; position: absolute; left:0; top:0;}
  338. }
  339. .tit{ white-space: nowrap; padding-top:5px; font-size:14px; overflow: hidden; text-overflow: ellipsis;}
  340. .yh{ display: flex; overflow: hidden; justify-content: space-between; align-items:center; color:#999; margin-top:5px;
  341. span{ padding:2px 5px; background:#F73E44; color:#fff; font-size:12px;}
  342. label{flex:1; overflow: hidden; text-align: right;}
  343. }
  344. .price{ padding-top:5px; color:#666; display: flex; overflow: hidden; justify-content: space-between; align-items:center;
  345. span{ flex:1; overflow: hidden; b{ font-size:14px; color:#F73E44; } i{ color:#bfbfbf; font-style: normal; padding-left:5px; text-decoration: line-through;} }
  346. label{ padding:2px 5px; background:#F73E44; color:#fff;}
  347. }
  348. .ju{ padding-top:5px; color:#999; font-size:11px; white-space: nowrap; overflow: hidden; text-overflow:ellipsis; }
  349. }
  350. }
  351. }
  352. .item-goods-display__slide{width: 100000px;
  353. position: relative; z-index: 1; padding-right:10px; padding-top:10px; overflow: hidden;
  354. .item-goods{ z-index: 1; flex-wrap: wrap; justify-content: space-between; padding:10px; padding-top:0; overflow: hidden;
  355. &.style2{ .item{ width:181px;
  356. .yh { font-size:10px;}
  357. .price{ span { b { font-size:12px;} i{ font-size:10px;} } }
  358. }
  359. }
  360. &.style3{ .item{ width:121px;
  361. .pic{ overflow: hidden; position: relative; height:100px;
  362. img{ object-fit: cover; display:block; height:100%; width:100%;}
  363. span{ background:red; color:#fff; padding:2px 5px; border-bottom-right-radius:5px; position: absolute; left:0; top:0;}
  364. }
  365. .yh { font-size:10px;}
  366. .price{ span { b { font-size:12px;} i{ font-size:10px;} } }
  367. }
  368. }
  369. .item{ float: left; width:353px; padding-right:10px; margin-top:12px; border-radius:3px; position: relative; overflow: hidden;
  370. .pic{ overflow: hidden; position: relative; height:150px;
  371. img{ object-fit: cover; display:block; height:100%; width:100%;}
  372. span{ background:red; color:#fff; padding:2px 5px; border-bottom-right-radius:5px; position: absolute; left:0; top:0;}
  373. }
  374. .tit{ white-space: nowrap; padding-top:5px; font-size:14px; overflow: hidden; text-overflow: ellipsis;}
  375. .yh{ display: flex; overflow: hidden; justify-content: space-between; align-items:center; color:#999; margin-top:5px;
  376. span{ padding:2px 5px; background:#F73E44; color:#fff; font-size:12px;}
  377. label{flex:1; overflow: hidden; text-align: right;}
  378. }
  379. .price{ padding-top:5px; color:#666; display: flex; overflow: hidden; justify-content: space-between; align-items:center;
  380. span{ flex:1; overflow: hidden; b{ font-size:14px; color:#F73E44; } i{ color:#bfbfbf; font-style: normal; padding-left:5px; text-decoration: line-through;} }
  381. label{ padding:2px 5px; background:#F73E44; color:#fff;}
  382. }
  383. .ju{ padding-top:5px; color:#999; font-size:11px; white-space: nowrap; overflow: hidden; text-overflow:ellipsis; }
  384. }
  385. }
  386. }
  387. .item-goods-display__li{
  388. .item-goods{ z-index: 1; padding:10px; padding-top:0; overflow: hidden;
  389. .item{ width:353px; padding-right:10px; margin-top:12px; border-radius:3px; position: relative; overflow: hidden;
  390. .pic{ float: left; width: 100px; height:100px;
  391. img{ object-fit: cover; display:block; height:100%; width:100%;}
  392. span{ background:red; color:#fff; padding:2px 5px; border-bottom-right-radius:5px; position: absolute; left:0; top:0;}
  393. }
  394. .c{ float: left; padding-left: 10px;padding-right: 10px; width: 180px; line-height: 20px;
  395. .tit { padding-top:5px; font-size:14px; }
  396. .yh{ display: flex; overflow: hidden; justify-content: space-between; align-items:center; color:#999; margin-top:5px;
  397. span{ padding:2px 5px; background:#F73E44; color:#fff; font-size:12px;}
  398. label{flex:1; overflow: hidden; text-align: right;}
  399. }
  400. .price{ padding-top:5px; color:#666; display: flex; overflow: hidden; justify-content: space-between; align-items:center;
  401. span{ flex:1; overflow: hidden; b{ font-size:14px; color:#F73E44; } i{ color:#bfbfbf; font-style: normal; padding-left:5px; text-decoration: line-through;} }
  402. label{ padding:2px 5px; background:#F73E44; color:#fff;}
  403. }
  404. .ju{ padding-top:5px; color:#999; font-size:11px; white-space: nowrap; overflow: hidden; text-overflow:ellipsis; }
  405. }
  406. .settechnical{ float: left; width: 60px; text-align: center; padding:5px 5px; margin-top: 30px; font-size: 12px; background:#F73E44; color:#fff;}
  407. }
  408. }
  409. }
  410. }
  411. /***拼团模块***/
  412. .module-item-tuan{margin-top:10px; position: relative; .mg0{ margin-top:0;}
  413. .item-tuan-con{ position: relative; overflow: hidden;}
  414. .noadd{ height:200px; display: flex; align-items: center; justify-content: center; width:100%;}
  415. .item-tuan{ position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; padding:10px; padding-top:0; overflow: hidden;
  416. &.style2{ .item{ width: calc(100%/2 - 5px);
  417. .yh { font-size:10px;}
  418. .price{ span { b { font-size:12px;} i{ font-size:10px;} } }
  419. }
  420. }
  421. &.style3{ .item{ width: calc(100%/3 - 5px);
  422. .pic{ overflow: hidden; position: relative; height:100px;
  423. img{ object-fit: cover; display:block; height:100%; width:100%;}
  424. span{ background:red; color:#fff; padding:2px 5px; border-bottom-right-radius:5px; position: absolute; left:0; top:0;}
  425. }
  426. .yh { font-size:10px;}
  427. .price{ span { b { font-size:12px;} i{ font-size:10px;} } }
  428. }
  429. }
  430. .item{ width:100%; margin-top:12px; border-radius:3px; position: relative; overflow: hidden;
  431. .pic{ overflow: hidden; position: relative; height:150px;
  432. img{ object-fit: cover; display:block; height:100%; width:100%;}
  433. span{ background:red; color:#fff; padding:2px 5px; border-bottom-right-radius:5px; position: absolute; left:0; top:0;}
  434. }
  435. .tit{ white-space: nowrap; padding-top:5px; font-size:14px; overflow: hidden; text-overflow: ellipsis;}
  436. .yh{ display: flex; overflow: hidden; justify-content: space-between; align-items:center; color:#999; margin-top:5px;
  437. span{ padding:2px 5px; background:#F73E44; color:#fff; font-size:12px;}
  438. label{flex:1; overflow: hidden; text-align: right;}
  439. }
  440. .price{ padding-top:5px; color:#666; display: flex; overflow: hidden; justify-content: space-between; align-items:center;
  441. span{ flex:1; overflow: hidden; b{ font-size:14px; color:#F73E44; } i{ color:#bfbfbf; font-style: normal; padding-left:5px; text-decoration: line-through;} }
  442. label{ padding:2px 5px; background:#F73E44; color:#fff;}
  443. }
  444. .ju{ padding-top:5px; color:#999; font-size:11px; white-space: nowrap; overflow: hidden; text-overflow:ellipsis; }
  445. }
  446. }
  447. }
  448. /***秒杀模块***/
  449. .module-item-miaosha{margin-top:10px; position: relative; .mg0{ margin-top:0;}
  450. .item-miaosha-con{ position: relative; overflow: hidden;}
  451. .noadd{ height:200px; display: flex; align-items: center; justify-content: center; width:100%;}
  452. .item-miaosha{ position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; padding:10px; padding-top:0; overflow: hidden;
  453. &.style2{ .item{ width: calc(100%/2 - 5px);
  454. .yh { font-size:10px;}
  455. .price{ span { b { font-size:12px;} i{ font-size:10px;} } }
  456. }
  457. }
  458. &.style3{ .item{ width: calc(100%/3 - 5px);
  459. .pic{ overflow: hidden; position: relative; height:100px;
  460. img{ object-fit: cover; display:block; height:100%; width:100%;}
  461. span{ background:red; color:#fff; padding:2px 5px; border-bottom-right-radius:5px; position: absolute; left:0; top:0;}
  462. }
  463. .yh { font-size:10px;}
  464. .price{ span { b { font-size:12px;} i{ font-size:10px;} } }
  465. }
  466. }
  467. .item{ width:100%; margin-top:12px; border-radius:3px; position: relative; overflow: hidden;
  468. .pic{ overflow: hidden; position: relative; height:150px;
  469. img{ object-fit: cover; display:block; height:100%; width:100%;}
  470. span{ background:red; color:#fff; padding:2px 5px; border-bottom-right-radius:5px; position: absolute; left:0; top:0;}
  471. }
  472. .tit{ white-space: nowrap; padding-top:5px; font-size:14px; overflow: hidden; text-overflow: ellipsis;}
  473. .yh{ display: flex; overflow: hidden; justify-content: space-between; align-items:center; color:#999; margin-top:5px;
  474. span{ padding:2px 5px; background:#F73E44; color:#fff; font-size:12px;}
  475. label{flex:1; overflow: hidden; text-align: right;}
  476. }
  477. .price{ padding-top:5px; color:#666; display: flex; overflow: hidden; justify-content: space-between; align-items:center;
  478. span{ flex:1; overflow: hidden; b{ font-size:14px; color:#F73E44; } i{ color:#bfbfbf; font-style: normal; padding-left:5px; text-decoration: line-through;} }
  479. label{ padding:2px 5px; background:#F73E44; color:#fff;}
  480. }
  481. .ju{ padding-top:5px; color:#999; font-size:11px; white-space: nowrap; overflow: hidden; text-overflow:ellipsis; }
  482. }
  483. }
  484. }
  485. /***会员礼包模块***/
  486. .module-item-membergoods{margin-top:10px; position: relative; .mg0{ margin-top:0;}
  487. .item-membergoods-con{ position: relative; overflow: hidden;}
  488. .noadd{ height:200px; display: flex; align-items: center; justify-content: center; width:100%;}
  489. .item-membergoods{ position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; padding:10px; padding-top:0; overflow: hidden;
  490. &.style2{ .item{ width: calc(100%/2 - 5px);
  491. .yh { font-size:10px;}
  492. .price{ span { b { font-size:12px;} i{ font-size:10px;} } }
  493. }
  494. }
  495. &.style3{ .item{ width: calc(100%/3 - 5px);
  496. .pic{ overflow: hidden; position: relative; height:100px;
  497. img{ object-fit: cover; display:block; height:100%; width:100%;}
  498. span{ background:red; color:#fff; padding:2px 5px; border-bottom-right-radius:5px; position: absolute; left:0; top:0;}
  499. }
  500. .yh { font-size:10px;}
  501. .price{ span { b { font-size:12px;} i{ font-size:10px;} } }
  502. }
  503. }
  504. .item{ width:100%; margin-top:12px; border-radius:3px; position: relative; overflow: hidden;
  505. .pic{ overflow: hidden; position: relative; height:150px;
  506. img{ object-fit: cover; display:block; height:100%; width:100%;}
  507. span{ background:red; color:#fff; padding:2px 5px; border-bottom-right-radius:5px; position: absolute; left:0; top:0;}
  508. }
  509. .tit{ white-space: nowrap; padding-top:5px; font-size:14px; overflow: hidden; text-overflow: ellipsis;}
  510. .yh{ display: flex; overflow: hidden; justify-content: space-between; align-items:center; color:#999; margin-top:5px;
  511. span{ padding:2px 5px; background:#F73E44; color:#fff; font-size:12px;}
  512. label{flex:1; overflow: hidden; text-align: right;}
  513. }
  514. .price{ padding-top:5px; color:#666; display: flex; overflow: hidden; justify-content: space-between; align-items:center;
  515. span{ flex:1; overflow: hidden; b{ font-size:14px; color:#F73E44; } i{ color:#bfbfbf; font-style: normal; padding-left:5px; text-decoration: line-through;} }
  516. label{ padding:2px 5px; background:#F73E44; color:#fff;}
  517. }
  518. .ju{ padding-top:5px; color:#999; font-size:11px; white-space: nowrap; overflow: hidden; text-overflow:ellipsis; }
  519. }
  520. }
  521. }
  522. /***师傅模块***/
  523. .module-item-technical{margin-top:10px; position: relative; .mg0{ margin-top:0;}
  524. .item-technical-con{ position: relative; overflow: hidden;}
  525. .noadd{ height:200px; display: flex; align-items: center; justify-content: center; width:100%;}
  526. .item-technical{ position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: space-between; padding:10px; padding-top:0; overflow: hidden;
  527. &.style2{ .item{ width: calc(100%/2 - 5px);
  528. .yh { font-size:10px;}
  529. .price{ span { b { font-size:12px;} i{ font-size:10px;} } }
  530. }
  531. }
  532. &.style3{ .item{ width: calc(100%/3 - 5px);
  533. .pic{ overflow: hidden; position: relative; height:100px;
  534. img{ object-fit: cover; display:block; height:100%; width:100%;}
  535. span{ background:red; color:#fff; padding:2px 5px; border-bottom-right-radius:5px; position: absolute; left:0; top:0;}
  536. }
  537. .yh { font-size:10px;}
  538. .price{ span { b { font-size:12px;} i{ font-size:10px;} } }
  539. }
  540. }
  541. .item{ width:100%; margin-top:12px; border-radius:3px; position: relative; overflow: hidden;
  542. .pic{ overflow: hidden; position: relative; height:150px;
  543. img{ object-fit: cover; display:block; height:100%; width:100%;}
  544. span{ background:red; color:#fff; padding:2px 5px; border-bottom-right-radius:5px; position: absolute; left:0; top:0;}
  545. }
  546. .tit{ white-space: nowrap; padding-top:5px; font-size:14px; overflow: hidden; text-overflow: ellipsis;}
  547. .yh{ display: flex; overflow: hidden; justify-content: space-between; align-items:center; color:#999; margin-top:5px;
  548. span{ padding:2px 5px; background:#F73E44; color:#fff; font-size:12px;}
  549. label{flex:1; overflow: hidden; text-align: right;}
  550. }
  551. .price{ padding-top:5px; color:#666; display: flex; overflow: hidden; justify-content: space-between; align-items:center;
  552. span{ flex:1; overflow: hidden; b{ font-size:14px; color:#F73E44; } i{ color:#bfbfbf; font-style: normal; padding-left:5px; text-decoration: line-through;} }
  553. label{ padding:2px 5px; background:#F73E44; color:#fff;}
  554. }
  555. .ju{ padding-top:5px; color:#999; font-size:11px; white-space: nowrap; overflow: hidden; text-overflow:ellipsis; }
  556. }
  557. }
  558. }
  559. /***师傅模块end***/
  560. }
  561. /**预览***/
  562. .appdiy-preview{position: fixed; left:0; right:0; margin:auto; top:50%; width:375px; margin-top:-333px; z-index:1000;
  563. .el-icon-close{ position: absolute; width:25px; height:25px; right:-30px; top:0; cursor: pointer; color:#fff; border:1px solid #fff; border-radius:50%; display: flex; align-items: center; justify-content: center; font-size:16px; cursor: pointer;}
  564. .appdiy-module-container{ position: static; top:0; left:0; box-shadow:none; border-radius:0;}
  565. }