Files
dvcp_v2_wechat_app/src/common/common.scss
2022-02-14 17:30:08 +08:00

808 lines
12 KiB
SCSS

@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: 100%;
height: 100%;
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;
}
.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;
}
.image {
width: 48px;
height: 48px;
}
.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;
}
/**
* author: Di (微信小程序开发工程师)
* organization: WeAppDev(微信小程序开发论坛)(http://weappdev.com)
* 垂直微信小程序开发交流社区
*
* github地址: https://github.com/icindy/wxParse
*
* for: 微信小程序富文本解析
* detail : http://weappdev.com/t/wxparse-alpha0-1-html-markdown/184
*/
.wxParse {
width: 100%;
font-family: Helvetica, sans-serif;
font-size: 28px;
color: #666;
line-height: 1.8;
}
.wxParse view {
word-break: hyphenate;
}
.wxParse .inline {
display: inline;
margin: 0;
padding: 0;
}
.wxParse .div {
margin: 0;
padding: 0;
}
.wxParse .h1 {
font-size: 2em;
margin: 0.67em 0;
}
.wxParse .h2 {
font-size: 1.5em;
margin: 0.83em 0;
}
.wxParse .h3 {
font-size: 1.17em;
margin: 1em 0;
}
.wxParse .h4 {
margin: 1.33em 0;
}
.wxParse .h5 {
font-size: 0.83em;
margin: 1.67em 0;
}
.wxParse .h6 {
font-size: 0.67em;
margin: 2.33em 0;
}
.wxParse .h1,
.wxParse .h2,
.wxParse .h3,
.wxParse .h4,
.wxParse .h5,
.wxParse .h6,
.wxParse .b,
.wxParse .strong {
font-weight: bolder;
}
.wxParse .p {
margin: 1em 0;
word-wrap: break-word;
}
.wxParse .i,
.wxParse .cite,
.wxParse .em,
.wxParse .var,
.wxParse .address {
font-style: italic;
}
.wxParse .pre,
.wxParse .tt,
.wxParse .code,
.wxParse .kbd,
.wxParse .samp {
font-family: monospace;
}
.wxParse .pre {
overflow: auto;
background: #f5f5f5;
padding: 8px;
white-space: pre;
margin: 1em 0;
}
.wxParse .code {
display: inline;
background: #f5f5f5;
}
.wxParse .big {
font-size: 1.17em;
}
.wxParse .small,
.wxParse .sub,
.wxParse .sup {
font-size: 0.83em;
}
.wxParse .sub {
vertical-align: sub;
}
.wxParse .sup {
vertical-align: super;
}
.wxParse .s,
.wxParse .strike,
.wxParse .del {
text-decoration: line-through;
}
.wxParse .strong,
.wxParse .s {
display: inline;
}
.wxParse .a {
color: deepskyblue;
}
.wxParse .video {
text-align: center;
margin: 10px 0;
}
.wxParse .video-video {
width: 100%;
}
.wxParse .img {
display: inline-block;
width: 0;
height: 0;
max-width: 100% !important;
overflow: hidden;
}
.wxParse .blockquote {
margin: 5px 0;
padding: 10px 0 10px 10px;
font-family: Courier, Calibri, "宋体";
background: #f5f5f5;
border-left: 3px solid #dbdbdb;
}
.wxParse .blockquote .p {
margin: 0;
}
.wxParse .ul,
.wxParse .ol {
display: block;
margin: 1em 0;
padding-left: 16px;
}
.wxParse .ol {
list-style-type: disc;
}
.wxParse .ol {
list-style-type: decimal;
}
.wxParse .li {
display: list-item;
align-items: baseline;
text-align: match-parent;
}
.wxParse .ul .ul,
.wxParse .ol .ul {
list-style-type: circle;
}
.wxParse .ol .ol .ul,
.wxParse .ol .ul .ul,
.wxParse .ul .ol .ul,
.wxParse .ul .ul .ul {
list-style-type: square;
}
.wxParse .u {
text-decoration: underline;
}
.wxParse .hide {
display: none;
}
.wxParse .del {
display: inline;
}
.wxParse .figure {
overflow: hidden;
}
.wxParse .table {
width: 100%;
overflow: auto;
}
.wxParse .thead,
.wxParse .tfoot,
.wxParse .tr {
display: flex;
flex-direction: row;
}
.wxParse .tr {
width: 100%;
display: flex;
/*border-right: 1px solid #e0e0e0;*/
border-bottom: 1px solid #e0e0e0;
}
.wxParse .th,
.wxParse .td {
display: flex;
width: 260px;
overflow: auto;
padding: 5px;
/*border-left: 1px solid #e0e0e0;*/
text-align: center;
}
.wxParse .td:last-child {
border-top: 1px solid #e0e0e0;
}
.wxParse .th {
background: #f0f0f0;
border-top: 1px solid #e0e0e0;
}
.btn-wrapper {
position: fixed;
left: 50%;
bottom: 0;
z-index: 11;
width: 100%;
padding: 20px 0 20px 0 !important;
transform: translateX(-50%);
background: #f3f6f9;
}
.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;
}