html { line-height: 1.15; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; box-sizing: border-box; }
|
body { margin: 0; padding: 20px; }
|
article, aside, footer, header, nav, section { display: block; }
|
h1 { font-size: 2em; margin: 0.67em 0; }
|
figcaption, figure, main { display: block; }
|
figure { margin: 1em 40px; }
|
hr { box-sizing: content-box; height: 0; overflow: visible; }
|
pre { font-family: monospace, monospace; font-size: 1em; }
|
a { background-color: transparent; -webkit-text-decoration-skip: objects; }
|
abbr[title] { border-bottom: none; text-decoration: underline; text-decoration: underline dotted; }
|
b, strong { font-weight: inherit; font-weight: bolder; }
|
code, kbd, samp { font-family: monospace, monospace; font-size: 1em; }
|
dfn { font-style: italic; }
|
mark { background-color: #ff0; color: #000; }
|
small { font-size: 80%; }
|
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
|
sub { bottom: -0.25em; }
|
sup { top: -0.5em; }
|
audio, video { display: inline-block; }
|
audio {
|
&:not([controls]) { display: none; height: 0; }
|
}
|
img { border-style: none; }
|
svg {
|
&:not(:root) { overflow: hidden; }
|
}
|
button, input, optgroup, select, textarea { font-family: sans-serif; font-size: 100%; line-height: 1.15; margin: 0; }
|
button, input { overflow: visible; }
|
button, select { text-transform: none; }
|
button, html [type="button"], [type="reset"], [type="submit"] { -webkit-appearance: button; }
|
button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner { border-style: none; padding: 0; }
|
button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring { outline: 1px dotted ButtonText; }
|
fieldset { padding: 0.35em 0.75em 0.625em; }
|
legend { box-sizing: border-box; color: inherit; display: table; max-width: 100%; padding: 0; white-space: normal; }
|
progress { display: inline-block; vertical-align: baseline; }
|
textarea { overflow: auto; }
|
[type="checkbox"], [type="radio"] { box-sizing: border-box; padding: 0; }
|
[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button { height: auto; }
|
[type="search"] { -webkit-appearance: textfield; outline-offset: -2px; }
|
[type="search"]::-webkit-search-cancel-button, [type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
|
::-webkit-file-upload-button { -webkit-appearance: button; font: inherit; }
|
details, menu { display: block; }
|
summary { display: list-item; }
|
canvas { display: inline-block; }
|
template { display: none; }
|
[hidden] { display: none; }
|
.clearfix {
|
&:after { content: "."; display: block; clear: both; visibility: hidden; height: 0; font-size: 0; }
|
}
|
::-moz-selection { background: #009688; color: #fff; }
|
::selection { background: #159b76; color: #fff; }
|
::-webkit-scrollbar { width: 6px; height: 6px; }
|
::-webkit-scrollbar-thumb { border-radius: 10px; background-color: #bdbdbd; -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); }
|
.twolist-hidden { display: -webkit-box; word-break: break-all; text-overflow: ellipsis; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
|
.form-edit-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; width: 100%; min-width: 1200px; background: #fff; -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; -webkit-box-align: start; -ms-flex-align: start; align-items: flex-start; }
|
.edit-body { height: auto; width: calc(100% - 700px - 300px); }
|
.center-container { width: 375px; height: 806px; border: 1px solid #e9e9e9; box-shadow: 0 3px 10px #dcdcdc; position: relative;
|
.model-title { height: 88px; width: 100%; position: relative;
|
img { width: 100%; height: 100%; }
|
}
|
}
|
.nav-aside { width: 300px; height: auto; position: relative;
|
.components-wrap { border: 1px solid #e9e9e9; padding: 10px; text-align: left; color: #666;
|
.components-title { padding: 5px; border-bottom: 1px solid #f0f0f0; margin-bottom: 35px;
|
.text { padding: 0 10px; border-left: 4px solid #ff7159; }
|
}
|
.components-list { display: -webkit-box; display: -ms-flexbox; display: flex;
|
.component-item { padding: 10px;
|
ul { position: relative; overflow: hidden; padding: 0; margin: 0; }
|
}
|
.component-item-title { font-size: 12px; color: #999; margin: 10px 0; }
|
.component-item-li { width: 74px; float: left; padding: 3px 0; margin: 5px; text-align: center; height: 50px; text-align: center; display: block; background-color: #f5f5f5; border: 1px solid #ddd; font-size: 12px; color: #333; cursor: pointer; -webkit-transition: all 0.5s; transition: all 0.5s; height: auto;
|
.iconfont { font-size: 20px !important; margin-bottom: 5px; margin-right: 0 !important; }
|
.text { padding: 0; margin-top: 5px; }
|
}
|
}
|
}
|
}
|
.urlBox { width: 800px; border: 1px solid #e9e9e9; box-shadow: 0 3px 10px #dcdcdc; position: relative; padding: 10px;
|
p { font-size: 13px; word-break: break-all; line-height: 30px; }
|
}
|
.recycle { position: absolute; top: 43px; right: 26px;
|
ul { position: relative;
|
li {
|
&.component-item-li { display: none; }
|
}
|
.layout-main { position: absolute; width: 100%; height: 30px; top: 10px; left: 0; }
|
.ghost { background: #fff; border: 1px dashed #409eff; position: absolute; left: 0; line-height: 30px; height: 30px; overflow: hidden; list-style: none; font-size: 0;
|
&::after { content: '删除组件'; display: block; background: #fff; position: absolute; text-align: center; top: 0; left: 0; right: 0; font-size: 12px; color: #000; z-index: 2000; }
|
}
|
}
|
}
|
.recycle-content { width: 55px; padding: 3px 0; margin: 5px; text-align: center; height: 45px; text-align: center; background-color: #fff; border: 1px solid #ddd; font-size: 12px; color: #333; -webkit-transition: all 0.5s; transition: all 0.5s; height: auto;
|
.iconfont { font-size: 16px !important; margin-right: 0px !important; margin-bottom: 3px; }
|
.text { margin-top: 5px; }
|
}
|
.layout-list { height: 710px; overflow-y: scroll;
|
.layout-main { position: relative;
|
&.npr { position: static !important; }
|
.drag { position: relative; }
|
.lay-item { display: -webkit-box; display: -ms-flexbox; display: flex; }
|
.lay-notice { line-height: 32px; padding: 2px 10px; background: #fff; overflow: hidden;
|
.notice-right { height: 32px; overflow: hidden;
|
.notice-text { text-overflow: ellipsis; overflow: hidden; white-space: nowrap; }
|
}
|
.iconfont { color: #ff7159; margin-right: 2px; }
|
}
|
.lay-guide {
|
.line { width: 100%; height: 0px; border-top: 1px solid #000; }
|
}
|
.lay-textarea {
|
textarea { display: block; width: 100%; border: none; }
|
}
|
.lay-navBar {
|
&.row3 {
|
.item { width: 33.3333%; }
|
}
|
&.row4 {
|
.item { width: 25%; }
|
}
|
&.row5 {
|
.item { width: 20%; }
|
}
|
.item { float: left; text-align: center; padding: 10px 0; }
|
.item-image { margin-bottom: 4px; text-align: center;
|
img { height: 44px; width: 44px; object-fit: cover; }
|
}
|
.item-text { height: 20px; line-height: 20px; width: 70px; margin: 0 auto; text-align: center; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
|
}
|
.lay-imgSingle {
|
.img-wrap { display: block; margin: 0; height: auto; flex: 1; position: relative;
|
img { display: block; width: 100%; }
|
.img-btn { display: block; position: absolute; bottom: 25px; left: 40px; width: 80px; height: 30px; line-height: 30px; text-align: center; }
|
}
|
}
|
.lay-imgSlide {
|
.el-carousel { overflow: hidden !important; width: 100%; height: 175px !important; }
|
}
|
.el-carousel__container { height: 175px !important; }
|
.el-carousel__item { height: 175px !important; }
|
.lay-search { width: 100%; height: 50px; padding: 7px 13px;
|
.iconfont { position: absolute; top: 50%; -webkit-transform: translateY(-50%); -ms-transform: translateY(-50%); transform: translateY(-50%); right: 15px; color: #999; font-size: 18px !important; }
|
}
|
.lay-search-c { width: 100%; height: 100%; position: relative; }
|
.lay-search-input { width: 100%; height: 100%; border-radius: 50px; background-color: #e9e9e9; border: none; padding: 0 15px; color: #999; cursor: move;
|
&.square { border-radius: 0; }
|
&.radius { border-radius: 5px; }
|
&.round { border-radius: 18px; }
|
}
|
.btn-clone { position: absolute; height: 18px; line-height: 18px; right: 50px; bottom: 2px; z-index: 90; width: 36px; text-align: center; font-size: 10px; color: #fff; background: #409eff; cursor: pointer; z-index: 1300; }
|
.btn-delete { position: absolute; height: 18px; line-height: 18px; right: 2px; bottom: 2px; z-index: 90; width: 36px; text-align: center; font-size: 10px; color: #fff; background: rgba(0, 0, 0, 0.4); cursor: pointer; z-index: 1300; }
|
}
|
.ghost { background: #fff; border: 1px dashed #409eff;
|
&::after { background: #fff; }
|
}
|
li {
|
&.ghost { position: relative; line-height: 30px; list-style: none; font-size: 0;
|
&::after { content: '放到这里'; display: block; background: #fff; position: absolute; left: 50%; margin-left: -32px; top: 0; font-size: 16px; color: #999; z-index: 10; }
|
}
|
}
|
}
|
.layout-list .layout-main.active .drag:before, .layout-main:hover .drag:before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; border: 2px dashed #ff7159; cursor: move; z-index: 1001; }
|
.lay-navBar { min-height: 88px; }
|
.lay-article { background: #f7f7f7;
|
.article-wrap { width: 100%; height: 100px; padding: 15px; background: #fff;
|
&:not(last-child) { margin-bottom: 10px; }
|
.article-left { float: left; height: 100%; width: 200px; }
|
.article-img { float: right; width: 120px; height: 70px;
|
img { display: block; width: 120px; height: 100%; object-fit: cover; }
|
}
|
}
|
}
|
.savePageBtn { padding: 10px 13px; border-top: 1px dotted #ddd; display: flex; justify-content: space-between; }
|
.lay-special { height: 30px; align-items: center;
|
.special-left { width: 70px; padding: 5px 10px;
|
img { width: 100%; }
|
}
|
}
|
.lay-goods { background: rgb(246, 246, 246);
|
.goods-head { height: 40px; display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 0 10px; }
|
.goods-tab-head { min-height: 40px; display: inline-block; justify-content: flex-start; align-items: center; background: #fff; padding: 0 10px;
|
div { padding: 3px 10px; background: #e9e9e9; border-radius: 10px; margin: 5px 5px; float: left; }
|
}
|
&.list { height: auto;
|
.goods-item { float: left; }
|
}
|
&.slide { overflow-x: hidden; white-space: nowrap; width: auto;
|
.goods-item { float: none; display: inline-block; }
|
}
|
.goods-item {
|
&.column2 { width: 50%; padding: 3px; float: left; }
|
&.column1 { width: 100%; padding: 8px; height: 140px; display: flex; background: #fff; margin-bottom: 8px;
|
.goods-price { margin-top: 50px; }
|
.goods-image { width: 120px; height: 120px; padding: 0;
|
img { width: 120px; height: 120px; padding: 0; }
|
}
|
.goods-detail { flex: 1; }
|
}
|
&.column3 { width: 33%; padding: 3px; }
|
.goods-image { position: relative; width: 100%; height: 0; padding-bottom: 100%; overflow: hidden; background: #fff;
|
&:after { content: ''; display: block; margin-top: 100%; }
|
img { position: absolute; width: 100%; height: 100%; top: 0; left: 0; -o-object-fit: cover; object-fit: cover; }
|
}
|
.goods-detail { padding: 4px; background: #fff; font-size: 13px;
|
.goods-name { height: 40px; overflow: hidden; margin-bottom: 5px; }
|
.goods-price { font-size: 15px; color: red; }
|
}
|
}
|
&.group { background: #fff; padding: 10px; }
|
.group-item { width: 300px; padding: 10px; position: relative; background: rgb(246, 246, 246); height: 120px; display: inline-block; margin-right: 15px;
|
.group-image { width: 98px; height: 98px; position: absolute; left: 10px; top: 10px;
|
img { width: 100%; height: 100%; object-fit: cover; }
|
}
|
.group-detail { position: absolute; top: 10px; left: 120px; bottom: 10px; right: 0;
|
.group-price { position: absolute; top: 50px; left: 0px; font-size: 18px; color: #ff7159; }
|
.group-time { position: absolute; bottom: 0px; left: 0px; font-size: 12px;
|
span { color: #ff7159; padding: 3px; text-align: center;
|
&.time { background: #fff; }
|
}
|
}
|
.buy-icon { position: absolute; bottom: 0; right: 10px; display: block; width: 20px; height: 20px;
|
img { width: 100%; }
|
}
|
}
|
}
|
}
|
.lay-service { width: 50px; height: 50px; padding: 4px; position: absolute; bottom: 30px; right: 10px; }
|
.lay-record { width: 210px; background: rgba(0,0,0,0.25); position: absolute !important; top: 30%; z-index: 9999; cursor: pointer;
|
&.left { left: 0; }
|
&.right { right: 0; }
|
&:before { cursor: pointer !important; }
|
}
|
.record-item { height: 30px; line-height: 30px; padding-left: 10px;
|
.text { color: #ff7159; }
|
}
|
.lay-coupon { padding: 4px 12px;
|
.coupon-item { width: 100%; box-sizing: border-box; background: linear-gradient(to right, #ff6565, #ff8a8a); margin: .1rem 0; border-radius: 5px; overflow: hidden; position: relative;
|
.coupon-left { width: 28%; height: 50px; color: rgb(255, 247, 247); font-size: 12px; padding: 0 14px; float: left; margin: 12px 0; text-align: center; box-sizing: border-box; border-right: 1px dotted #fff; display: inline-block;
|
p { position: relative; top: 50%; transform: translateY(-50%); }
|
}
|
.coupon-right { width: 50%; height: 100%; float: left; text-align: left; color: #fff; box-sizing: border-box; padding: 10px; display: inline-block; font-size: 12px;
|
.conpon-f { font-size: 14px; }
|
}
|
.coupon-btn { padding: 0 8px; background-color: #ffe7e7; color: #ff5454; font-size: 12px; position: absolute; top: 50%; transform: translateY(-50%); right: 10px; border-radius: 2px; }
|
}
|
}
|
.lay-imgWindow { min-height: 100px;
|
&.row0 {
|
.display { height: 0; width: 100%; margin: 0; padding-bottom: 50%; position: relative; }
|
}
|
&.row2 {
|
.img-wrap { width: 50%; height: 150px; }
|
}
|
&.row3 {
|
.img-wrap { width: 33%; height: 150px; }
|
}
|
&.row4 {
|
.img-wrap { width: 25%; height: 150px; }
|
}
|
.img-wrap { float: left; box-sizing: border-box;
|
img { width: 100%; height: 100%; object-fit: cover; }
|
}
|
}
|
.display {
|
img { width: 100%; height: 100%; }
|
.display-left { width: 50%; height: 100%; position: absolute; top: 0; left: 0; }
|
.display-right { width: 50%; height: 100%; position: absolute; top: 0; left: 50%;
|
.display-right1 { width: 100%; height: 50%; position: absolute; top: 0; left: 0; }
|
.display-right2 { width: 100%; height: 50%; position: absolute; top: 50%; left: 0;
|
.left { width: 50%; height: 100%; position: absolute; top: 0; left: 0; }
|
.right { width: 50%; height: 100%; position: absolute; top: 0; left: 50%; }
|
}
|
}
|
}
|
.lay-video {
|
.video-wrap { width: 100%; z-index: 1200;
|
video { display: block; width: 100%; }
|
}
|
}
|
.pl25 { padding-left: 25px; }
|
.custom-tip { margin-top: 40px;
|
p { margin-bottom: 5px; }
|
}
|
#selectGoods {
|
li { float: left; margin: 10px; height: 70px; width: 70px; background: #f7fafc; position: relative; border-radius: 3px; cursor: move;
|
img { width: 100%; height: 100%; object-fit: cover; }
|
.icon-delete { position: absolute; top: -6px; right: -6px; border-radius: 50%; text-align: center; cursor: pointer; font-size: 18px; transition: background-color .3s ease-out, border-color .3s ease-out; -webkit-transition: background-color .3s ease-out, border-color .3s ease-out;
|
&:hover { color: #000; }
|
}
|
}
|
}
|
#selectGroupPurchaseGoods, #selectSeckillGoods {
|
li { float: left; margin: 10px; height: 100px; width: calc(100% - 20px); background: #f7fafc; position: relative; border-radius: 3px; cursor: move;
|
.left { float: left; width: 170px; height: 90px;
|
img { width: 170px; height: 90px; object-fit: cover; }
|
}
|
.right { float: left; width: calc(100% - 180px); height: 90px; margin-left: 10px; }
|
.icon-delete { position: absolute; top: -6px; right: -6px; border-radius: 50%; text-align: center; cursor: pointer; font-size: 18px; transition: background-color .3s ease-out, border-color .3s ease-out; -webkit-transition: background-color .3s ease-out, border-color .3s ease-out;
|
&:hover { color: #000; }
|
}
|
}
|
}
|
.divider { height: 0; margin: 20px auto; overflow: hidden; clear: both; border-top: 1px dashed #ccc; }
|
.el-color-picker { height: 24px !important; vertical-align: middle; }
|
.el-color-picker__trigger { height: 24px !important; }
|
.reset-color { display: inline-block; padding: 0 10px; border: 1px solid #bdbdbd; text-align: center; height: 20px; line-height: 20px; vertical-align: middle; margin-left: 5px; }
|
.main-body { padding: 10px; border: 1px solid #e9e9e9;
|
.el-form-item { padding: 0px; margin-bottom: 0 !important; font-size: 12px !important; }
|
.el-form-item__label { font-size: 12px !important; line-height: 40px !important; }
|
.el-slider__runway { margin: 12px 0 !important; }
|
}
|
.custom-item-t { padding: 5px; border-bottom: 1px solid #f0f0f0; margin-bottom: 15px; }
|
.custom-item-t-c { padding: 0 10px; border-left: 4px solid #ff7159; text-align: left; }
|
.custom-item {
|
.layui-form-label { box-sizing: content-box; }
|
.content { padding: 10px; }
|
.drag-block { height: 30px; background: #f2f2f2; cursor: move; position: relative;
|
.handle-icon { position: absolute; right: 0px; top: 0; width: 30px; height: 30px; line-height: 30px; text-align: center; cursor: pointer;
|
.iconfont { font-size: 16px !important; color: #999; margin: 0 auto;
|
&:hover { color: #ff7159; }
|
}
|
}
|
}
|
.content-item { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; margin-bottom: 5px;
|
.item-label { width: 90px; }
|
.el-input { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; }
|
}
|
li { border: 1px dashed #e9e9e9;
|
&.ghost { border-color: #ff7159; }
|
}
|
.addImg { width: 100%; height: 32px; line-height: 32px; text-align: left; border: 1px dashed #e9e9e9; margin-top: 15px; cursor: pointer; padding-left: 5px;
|
.iconfont { font-size: 12px !important; margin-right: 5px !important; }
|
&:hover { color: #ff7159; }
|
}
|
}
|
.content-item {
|
.el-form-item { flex: 1; }
|
.el-radio-group {
|
.el-radio { margin-bottom: 10px; }
|
}
|
}
|
.el-select-dropdown__item {
|
&.second {
|
span { padding-left: 15px !important; }
|
}
|
}
|
.number-input { width: 100%; padding: 5px; margin-bottom: 4px; border: 0; border-bottom: 1px solid #c2cad8; transition: all ease-in-out 0.15s;
|
&:focus { border-color: #ff7159; }
|
}
|
.tpl-block { flex: 1; padding-left: 20px; }
|
.tpl-item { width: 75px; height: 75px; display: inline-block; border: 1px solid #e5e5e5; margin: 0 10px 15px 0; padding-top: 5px; background-color: #fff; text-align: center; cursor: pointer;
|
&.active { border: 1px solid #ff7159; }
|
.tpl-item-image { height: 40px;
|
img { height: auto; width: 60px; margin: 0 auto; vertical-align: middle; }
|
}
|
.tpl-item-text { margin-top: 10px; font-size: 12px; }
|
}
|
.selectLinkVal { width: 100%; padding: 0px 10px; color: #555; height: 30px; line-height: 30px; margin-top: 5px; border: 1px solid #bdbdbd; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; font-size: 12px; }
|
.layout-select { width: 100%; padding: 5px 6px; color: #555; line-height: 1.5; margin-bottom: 4px; }
|
.el-select { width: 100% !important; }
|
.el-input__inner, .el-textarea__inner { border-radius: 0 !important; border: 1px solid #bdbdbd !important; height: 30px !important; line-height: 30px !important; padding: 0 10px !important; font-size: 12px !important; }
|
.ml20 { margin-left: 20px; }
|
.layout-tip { color: #838fa1; font-size: 12px; }
|
*, *:before, *:after { box-sizing: inherit; }
|
.layui-nav {
|
.layui-nav-item { box-sizing: content-box; }
|
}
|
|
|
.tabBarItem { border: 1px solid #e9e9e9; margin-bottom: 10px; padding: 10px; }
|