@import '~uview-ui/theme.scss'; @import "ckeditor"; /** 常用内外边距样式 */ @each $v in (8, 10, 12, 14, 16, 20, 24, 32, 48, 56, 64, 80) { //gap .gap-#{$v} { gap: #{$v}px } .font-#{$v} { font-size: #{$v}px; } @each $padMar, $pm in (mar:margin, pad:padding) { .#{$padMar}-#{$v} { #{$pm}: #{$v}px } //纵向 .#{$padMar}-v#{$v} { #{$pm}-top: #{$v}px; #{$pm}-bottom: #{$v}px; } //横向 .#{$padMar}-h#{$v} { #{$pm}-left: #{$v}px; #{$pm}-right: #{$v}px; } @each $pos, $p in (l:left, r:right, t:top, b:bottom) { .#{$padMar}-#{$pos+$v} { #{$pm}-#{$p}: #{$v}px } } } } @each $where in (sticky, fixed) { @each $pos, $p in (l:left, r:right, t:top, b:bottom) { .#{$where}-#{$pos} { position: fixed; #{$p}: 0; z-index: 202301031019; width: 100%; } } } .bg-fff { background-color: #fff; } @font-face { font-family: 'iconfont'; /* project id 1862352 */ src: url('https://at.alicdn.com/t/font_1862352_jpvud12digs.eot'); src: url('https://at.alicdn.com/t/font_1862352_jpvud12digs.eot?#iefix') format('embedded-opentype'), url('https://at.alicdn.com/t/font_1862352_jpvud12digs.woff2') format('woff2'), url('https://at.alicdn.com/t/font_1862352_jpvud12digs.woff') format('woff'), url('https://at.alicdn.com/t/font_1862352_jpvud12digs.ttf') format('truetype'), url('https://at.alicdn.com/t/font_1862352_jpvud12digs.svg#iconfont') format('svg'); } .iconfont { font-family: "iconfont" !important; font-size: 32px; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } page { width: 100vw; min-height: 100vh; overflow-x: hidden; background-color: #f3f6f9; overflow-y: auto; } ::-webkit-scrollbar { width: 0; height: 0; color: transparent; } .page { width: 100%; height: 100%; background-color: #f3f6f9; } .text-hover { background: transparent; opacity: 0.5; } .bg-hover { background: #eee !important; } .flex { display: flex; align-items: center; &.spb { justify-content: space-between; } &.wrap { flex-wrap: wrap; } &.column { flex-direction: column; } &.start { align-items: flex-start; } } .fill { flex: 1; min-width: 0; min-height: 0; } .flex-align { display: flex; align-items: center; } .flex-between { display: flex; align-items: center; justify-content: space-between; } .flex1 { flex: 1; } .solid { border-bottom: 2px solid #E8E8E8; } .flex-row { display: flex; flex-direction: row; align-items: center; } .flex-column { display: flex; flex-direction: column; } uni-button[disabled] { background-color: #F7F7F7 !important; color: #999 !important; border: 0; } uni-button:after { border: none !important; } .break-word { word-break: break-all; } .masking-layer { position: absolute; left: 0; top: 0; height: 100%; width: 100%; background-color: rgb(0, 0, 0); opacity: 0.6; } /* 入口页列表 */ // .list { // justify-content: space-between; // align-items: center; // height: 112px; // background-color: #fff; // padding-left: 32px; // padding-right: 32px; // box-sizing: border-box; // } // .list-cell { // width: 48px; // height: 48px; // } .input-placeholder, .textarea-placeholder { color: #999999; font-size: 30px; } .title-sub { height: 112px; margin-left: 16px; width: 654px; justify-content: space-between; align-items: center; background: rgba(255, 255, 255, 1); font-size: 32px; color: #333333; } .more { width: 32px; height: 32px; } .title-line { border-bottom: 2px solid #DDDDDD; } .last { margin-top: 16px; } .no-content-pds { margin-top: 360px; width: 100%; text-align: center; } .no-content-pds view { height: 40px; font-size: 28px; line-height: 40px; font-family: PingFangSC-Regular, PingFangSC; } .no-content-pds .text { color: rgba(51, 51, 51, 1); } .no-content-pds .text-p { color: rgba(153, 153, 153, 1); margin-top: 16px; } /* margin */ .mar-t8 { margin-top: 16px; } .mar-b8 { margin-bottom: 16px; } .mar-r20 { margin-right: 40px; } .mar-l10 { margin-left: 20px; } /* color */ .color-333 { color: #333; } .color-999 { color: #999; } .color-red { color: #FF4466; } .color-666 { color: #666; } .color-467DFE { color: #467DFE; } .color-135AB8 { color: #197DF0 !important; } /* */ .font-12 { font-size: 24px; } /* */ .report { position: fixed; bottom: 0; width: 100%; height: 112px; background-color: #197DF0; color: #fff; text-align: center; line-height: 112px; font-size: 32px; } .text-right { text-align: right; } input::-webkit-input-placeholder { color: #999; } .textarea-placeholder { color: #666; font-size: 26px; } /* 多级下拉选择css */ .type-picke-more { position: fixed; width: 100%; height: 330px; bottom: 0; left: 0; background-color: #fff; z-index: 99; } .type-picke-more picker-view-column { text-align: center; line-height: 110px; } /* 固定在顶部 */ .fixed-top { position: fixed; top: 0; left: 0; width: 100%; } /* 固定在底部 */ .fixed-bottom { position: fixed; bottom: 0; left: 0; width: 100%; z-index: 99; } /* 背景颜色为蓝色的按钮 */ .confirm-btn { background-color: #197DF0; height: 112px; line-height: 112px; color: #fff; font-size: 32px; text-align: center; } /* 顶部搜索栏 */ .header-search { width: 100%; height: 112px; padding: 16px 32px 32px 32px; box-sizing: border-box; background: #197DF0; } .header-search .search-input-content { width: 686px; height: 64px; background: #0D6DDC; border-radius: 32px; padding: 14px 24px 0; box-sizing: border-box; position: relative; } .header-search .search-icon { width: 34px; height: 34px; position: absolute; top: 18px; left: 24px; } .header-search .search-input { display: inline-block; width: calc(100% - 58px); height: 36px; line-height: 36px; color: #fff; font-size: 28px; padding-left: 58px; } /* 顶部搜索栏 */ /* 顶部搜索框 (带下拉选择) */ .header-search-select { width: 100%; height: 112px; background: #197DF0; padding: 24px 32px; box-sizing: border-box; } .header-search-select .select-content { display: inline-block; width: 206px; line-height: 64px; font-weight: 500; font-size: 28px; color: #fff; vertical-align: top; } .header-search-select .select-content img { width: 32px; height: 32px; vertical-align: middle; } .header-search-select .input-content { display: inline-block; width: calc(100% - 206px); height: 64px; background: #0D6DDC; border-radius: 32px; padding: 14px 24px 0 58px; box-sizing: border-box; position: relative; } .header-search-select .search-icon { width: 34px; height: 34px; position: absolute; top: 18px; left: 24px; } .header-search-select .search-input { display: inline-block; width: calc(100% - 58px); height: 36px; line-height: 36px; color: #fff; padding-left: 20px; font-size: 28px; } /* 顶部搜索框 (带下拉选择) */ /* 顶部筛选框 */ .header-select { width: 100%; height: 96px; background-color: #fff; padding: 24px 0; box-sizing: border-box; display: flex; } .header-select .select-item { flex: 1; height: 48px; line-height: 48px; text-align: center; color: #666; font-size: 26px; } .header-select .down-icon { width: 32px; height: 32px; vertical-align: middle; margin-left: 8px; } .header-select .select-item:nth-of-type(2) { border-left: 2px solid #eee; } /* 顶部筛选框 */ /* 顶部tab类型切换栏 */ .header-tab { height: 96px; background-color: #4181FF; padding: 20px 0; display: flex; align-items: center; box-sizing: border-box; } .header-tab .tab-item { flex: 1; text-align: center; position: relative; color: #fff; font-size: 28px; } .header-tab .tab-active { font-weight: 500; } .header-tab .active-line { position: absolute; width: 40px; height: 4px; background: #FFF; top: 48px; left: 50%; transform: translate(-50%, -50%); } /* 顶部tab类型切换栏 */ /* 下划线 */ .underline { text-decoration: underline; } /* 字体加粗 500 */ .fw500 { font-weight: 500; } /* u-input字体大小重置 */ .fs-32 .u-input__input { line-height: 42px !important; font-size: 32px !important; height: 180px !important; overflow-y: scroll; } /* button样式重置 */ button { margin: 0; padding: 0; background-color: #fff; line-height: inherit; border-radius: 0; border: none; display: flex; justify-content: center; align-items: center; } button::after { border: none; } .button-hover { background-color: #fff; } .btn-wrapper { position: fixed; left: 50%; bottom: 0; z-index: 11; width: 100%; padding: 20px 0 20px 0 !important; transform: translateX(-50%); background: #f3f6f9; } .bottomBtn { color: #fff; font-size: 34px; background: #4181FF; border-radius: 16px; height: 88px; display: flex; align-items: center; justify-content: center; margin: 8px 24px; } .btn-wrapper { .btn { width: 686px; height: 88px; line-height: 88px; margin: 0 auto; padding: 0 !important; text-align: center; color: #fff; font-size: 34px; background: #4181FF; border-radius: 16px; } .disabled { color: #B9E7D0; background: #50C48A; } } .rich-content { ::v-deep { p { margin: 20px 0; line-height: 1.4; font-size: 30px; text-align: justify; color: #444; } image { // margin: 20px 0; } } } .tabs { position: fixed; top: 0; left: 0; z-index: 11; width: 100%; padding: 10px 0 10px 16px; box-sizing: border-box; background: #4181FF; }