| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941 |
- $--color-primary: #368FEC;
- html, body {
- padding: 0;
- margin: 0;
- width: 100%;
- height: 100%;
- }
- html, body, div, span, applet, object, iframe,
- h1, h2, h3, h4, h5, h6, p, blockquote, pre,
- a, abbr, acronym, address, big, cite, code,
- del, dfn, em, img, ins, kbd, q, s, samp,
- small, strike, strong, sub, sup, tt, var,
- b, u, i, center,
- dl, dt, dd, ol, ul, li,
- fieldset, form, label, legend,
- table, caption, tbody, tfoot, thead, tr, th, td,
- article, aside, canvas, details, embed,
- figure, figcaption, footer, header, hgroup,
- menu, nav, output, ruby, section, summary,
- time, mark, audio, video {
- margin: 0;
- padding: 0;
- border: 0;
- vertical-align: baseline;
- word-break: break-word!important;
- }
- /* HTML5 display-role reset for older browsers */
- article, aside, details, figcaption, figure,
- footer, header, hgroup, menu, nav, section {
- display: block;
- }
- body {
- line-height: 1;
- }
- ol, ul {
- list-style: none;
- }
- blockquote, q {
- quotes: none;
- }
- blockquote:before, blockquote:after,
- q:before, q:after {
- content: '';
- content: none;
- }
- table {
- border-collapse: collapse;
- border-spacing: 0;
- }
- a {
- text-decoration: none;
- }
- .iconfont {
- font-weight: 500;
- }
- //去左边框
- .crm-border-left-no{
- border-left: none!important;
- .el-input__wrapper{
- //padding: 0 !important;
- }
- .el-input__inner, .el-button{
- border-left: none;
- }
- }
- //去圆角
- .crm-border-radius-no{
- border-radius: 0!important;
- .el-input__inner, .el-button{
- border-radius: 0;
- }
- .el-select__wrapper,.el-input__wrapper{
- border-radius: 0;
- }
- }
- .el-input__wrapper{
- width: 100%;
- }
- //下划线
- .crm-text-underline{
- text-decoration: underline;
- cursor: pointer;
- }
- //小手
- .crm-cursor {
- cursor: pointer;
- user-select: none;
- }
- //字体按钮
- .crm-font-btn {
- cursor: pointer;
- user-select: none;
- color: rgba(64, 123, 158, 1);
- }
- .crm-font-btn:hover {
- color: rgba(64, 123, 158, 0.8);
- }
- //一行,...
- .crm-one-font {
- word-break: keep-all;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- //2行,...(多行)
- .crm-tow-font {
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- }
- //滚动条
- ::-webkit-scrollbar {
- /*滚动条整体样式*/
- width: 3px;
- /*高宽分别对应横竖滚动条的尺寸*/
- height: 6px;
- }
- ::-webkit-scrollbar-thumb {
- /*滚动条里面小方块*/
- border-radius: 6px;
- @include bg_main();
- background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, .2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, .2) 50%, rgba(255, 255, 255, .2) 75%, transparent 75%, transparent);
- }
- ::-webkit-scrollbar-track {
- /*滚动条里面轨道*/
- -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
- /*border-radius: 10px;*/
- background: #ededed;
- }
- //滑动
- .slide-right-enter-active,
- .slide-right-leave-active {
- position: absolute;
- top: 0;
- left: 0;
- transform: translate(0, 0);
- transition: all .35s .1s linear;
- }
- .slide-right-enter {
- position: absolute;
- transform: translate(-100%, 0);
- }
- .slide-right-leave-active {
- position: absolute;
- transform: translate(100%, 0);
- }
- .slideinup-enter-active,
- .slideinup-leave-active {
- opacity: .5;
- position: absolute;
- transform: translate(0, 0);
- transition: all .35s .1s linear;
- }
- .slideinup-enter {
- opacity: 0;
- position: absolute;
- transform: translate(0, -100%);
- }
- .slideinup-leave-active {
- opacity: 0;
- position: absolute;
- transform: translate(0, 100%);
- }
- //dialog
- .el-dialog--center .el-dialog__body{
- text-align:initial;
- padding:25px 25px 30px;
- }
- .dialog_header_w.el-dialog {
- width: 650px;
- .el-dialog__header {
- border-bottom: 1px solid;
- @include border_gray_3();
- font-weight: bold;
- font-size: 14px;
- }
- .dialog-footer {
- margin-top: 20px;
- text-align: center;
- }
- }
- .dialog_header_b.el-dialog {
- width: 500px;
- .el-dialog__header {
- @include bg_gray_6();
- @include font_white();
- font-weight: bold;
- font-size: 14px;
- .el-dialog__title {
- @include font_white();
- }
- }
- .dialog-footer {
- margin-top: 20px;
- text-align: center;
- }
- }
- //消息提示框样式
- .el-message.crm_message {
- padding: 0;
- border: none;
- height: 40px;
- line-height: 40px;
- transform: translate(10%);
- .el-message__icon {
- width: 40px;
- height: 40px;
- font-size: 24px;
- line-height: 40px;
- text-align: center;
- color: #ffffff;
- }
- .el-message__content {
- margin-right: 10px;
- width: calc(100% - 40px);
- text-align: center;
- }
- }
- //成功
- .el-message.crm_message.crm_msg_suc {
- .el-message__icon {
- background-color: #45CE61;
- }
- .el-message__content {
- color: #45CE61;
- }
- }
- //失败
- .el-message.crm_message.crm_msg_err {
- .el-message__icon {
- background-color: #EB3F57;
- }
- .el-message__content {
- color: #EB3F57;
- }
- }
- //警告
- .el-message.crm_message.crm_msg_war {
- .el-message__icon {
- background-color: #EB3F57;
- }
- .el-message__content {
- color: #EB3F57;
- }
- }
- .el-message-box__message{
- width: 100%;
- }
- .el-table th {
- background-color: #f5f5f5;
- color: #333333;
- font-weight: 700;
- }
- .el-table--striped .el-table__body tr.el-table__row--striped td {
- background-color: #f5f5f5;
- }
- @media only screen and (max-width: 767px) {
- .hidden-xs-only {
- display: none !important
- }
- }
- @media only screen and (min-width: 768px) {
- .hidden-sm-and-up {
- display: none !important
- }
- }
- @media only screen and (min-width: 768px) and (max-width: 991px) {
- .hidden-sm-only {
- display: none !important
- }
- }
- @media only screen and (max-width: 991px) {
- .hidden-sm-and-down {
- display: none !important
- }
- }
- @media only screen and (min-width: 992px) {
- .hidden-md-and-up {
- display: none !important
- }
- }
- @media only screen and (min-width: 992px) and (max-width: 1199px) {
- .hidden-md-only {
- display: none !important
- }
- }
- @media only screen and (max-width: 1199px) {
- .hidden-md-and-down {
- display: none !important
- }
- }
- @media only screen and (min-width: 1200px) {
- .hidden-lg-and-up {
- display: none !important
- }
- }
- @media only screen and (min-width: 1200px) and (max-width: 1919px) {
- .hidden-lg-only {
- display: none !important
- }
- }
- @media only screen and (max-width: 1919px) {
- .hidden-lg-and-down {
- display: none !important
- }
- }
- @media only screen and (min-width: 1920px) {
- .hidden-xl-only {
- display: none !important
- }
- }
- .view {
- padding: 10px;
- border-radius: 8px;
- background-color: #ffffff;
- height: calc(100% - 20px);
- position: relative;
- overflow: hidden;
- overflow-y: auto;
- }
- //选中时边框
- .el-input.is-active .el-input__inner,
- .el-input__inner:focus,
- .el-button:active,
- .el-range-editor.is-active,
- .el-range-editor.is-active:hover {
- border-color: #DCDFE6!important;
- }
- //分页
- .crm_pagination {
- display: flex;
- justify-content: flex-end;
- align-items: center;
- margin-top: 20px;
- .crm_page_total {
- line-height: 32px;
- span {
- margin: 0 3px;
- font-size: 14px;
- color: #929292;
- }
- }
- }
- //tab显示
- .crm-chooseTab{
- text-align: left;
- margin-bottom: 20px;
- border-bottom: 1px solid #DCDFE6;
- .chooseLang{
- margin-top: 2px;
- margin-right: 10px;
- >span{
- border: 1px solid #DCDFE6;
- border-bottom: none;
- padding: 0 8px;
- min-width: 100px;
- display: inline-block;
- height: 32px;
- line-height: 32px;
- box-sizing: border-box;
- text-align: center;
- font-size: 14px;
- }
- span.active{
- @include border_bottom_blue_1();
- @include bg_main();
- @include font_white();
- }
- }
- }
- //搜索块
- .crm_search {
- .el-form {
- display: flex;
- .el-row {
- flex: 1;
- .el-col {
- display: flex;
- flex-wrap: wrap;
- .el-date-editor {
- top: 1px;
- }
- }
- }
- .crm_search_down {
- width: 120px;
- .el-input__inner{
- background-color: #F5F5F5;
- }
- }
- .crm_search_down_special {
- width: 120px;
- .el-input__inner{
- background-color: #368FEC;
- color: #ffffff;
- border: transparent;
- }
- }
- .el-form-item {
- margin-bottom: 10px;
- //margin-right: 15px;
- .search_action_btn > span {
- margin-left: 20px;
- font-weight: bold;
- white-space: nowrap;
- padding: 6px 10px;
- background-color: #368FEC;
- color: #FFFFFF;
- border-radius: 2px;
- min-width: 90px;
- display: inline-block;
- line-height: 20px;
- box-sizing: border-box;
- i {
- margin-right: 4px;
- font-weight: bold;
- }
- }
- }
- }
- }
- //表格操作块
- .crm_table_btn {
- white-space: nowrap;
- > span {
- margin: 4px 8px;
- font-size: 16px;
- i {
- font-weight: bold;
- }
- }
- }
- //底部按钮
- .dialog-footer{
- .el-button{
- min-width: 100px;
- }
- }
- //大图展示关闭
- .el-image{
- .el-icon-circle-close{
- @include font_white();
- }
- }
- // 消息提示框
- .crm_message_box.el-message-box {
- width: 480px;
- height: 200px;
- text-align: center;
- box-shadow: 0 6px 20px 0 rgba(201, 193, 193, .5);
- border-radius: 4px;
- .el-message-box__header {
- border-bottom: 1px solid rgba(226, 226, 226, 1);
- .el-message-box__title {
- line-height: 20px;
- color: rgba(0, 0, 0, 1);
- font-size: 16px;
- }
- .el-message-box__headerbtn {
- display: none;
- }
- }
- .el-message-box__content {
- padding-top: 30px;
- padding-bottom: 30px;
- font-size: 18px;
- color: rgba(102, 102, 102, 1);
- }
- .el-message-box__btns {
- margin-bottom: 10px;
- text-align: center;
- justify-content: center;
- .el-button {
- width: 100px;
- height: 36px;
- font-size: 14px;
- }
- }
- }
- //遮罩
- .crm_verified_info_mask {
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(43, 48, 67, 0.65);
- z-index: 89;
- }
- //折叠
- .crm_collapse_info.el-collapse{
- border: none;
- .el-collapse-item__header, .el-collapse-item__wrap{
- border: none;
- }
- .el-collapse-item__header{
- background: #F5F5F5;
- padding: 0 20px;
- height: 40px;
- line-height: 40px;
- color: #2B3043;
- font-weight: bold;
- i{
- color: #2B3043;
- font-weight: bold;
- }
- }
- .el-collapse-item__wrap{
- padding: 0 20px;
- }
- .el-collapse-item__content{
- padding-bottom: 5px;
- .el-form-item{
- margin-bottom: 0;
- .el-form-item__content{
- text-align: left;
- }
- }
- }
- }
- //开关
- .crm_switch .el-switch__label {
- position: absolute;
- display: none;
- max-width: 25px;
- overflow: hidden;
- color: #FFFFFF!important;
- }
- .crm_switch.crm_switch_width .el-switch__label {
- position: absolute;
- display: none;
- max-width: 50px;
- overflow: hidden;
- color: #FFFFFF!important;
- }
- /*打开时文字位置设置*/
- .crm_switch .el-switch__label--right {
- z-index: 1;
- left: -3px;
- }
- /*关闭时文字位置设置*/
- .crm_switch .el-switch__label--left {
- z-index: 1;
- right: 0;
- }
- /*显示文字*/
- .crm_switch .el-switch__label.is-active {
- display: block;
- }
- .crm_switch.el-switch .el-switch__core {
- width: 50px !important;
- overflow: hidden;
- }
- .crm_switch.crm_switch_width.el-switch .el-switch__core {
- width: 75px !important;
- overflow: hidden;
- }
- .crm_switch.el-switch.is-checked .el-switch__core::after{
- z-index: 2;
- }
- //状态颜色
- .crm_state_blue {
- text-align: center;
- background-color: #368FEC;
- }
- .crm_state_green {
- text-align: center;
- background-color: #87D068;
- }
- .crm_state_gray {
- text-align: center;
- background-color: #A1A1A1;
- }
- .crm_state_red {
- text-align: center;
- background-color: #EB3F57;
- }
- .crm_state_yellow {
- text-align: center;
- background-color: rgb(231, 211, 31);
- }
- .crm_state_orange {
- text-align: center;
- background-color: #FF9800;
- }
- .crm_state_violet {
- text-align: center;
- background-color: #a492be;
- }
- //表格颜色
- .el-table th.is-leaf {
- background-color: #F2F2F2;
- }
- //label样式
- #TradingDetailedInfo .el-form-item__label{
- border-radius: 2px;
- @include bg_gray_7();
- font-weight: bold;
- text-align: center!important;
- min-height: 40px!important;
- box-sizing: border-box;
- }
- #TradingDetailedInfo .el-form-item__content{
- min-height: 40px!important;
- line-height: 1.5;
- box-sizing: border-box;
- border: 1px solid;
- display: flex;
- align-content: center;
- align-items: center;
- justify-content: center;
- @include border_gray_4();
- @include bg_white();
- text-align: center!important;
- .el-input__inner,.el-input{
- height: 34px;
- border: none;
- text-align: center;
- }
- }
- #TradingDetailedInfo .el-form-item{
- margin-bottom: 20px!important;
- }
- //input前置后置背景色
- .el-input-group__append, .el-input-group__prepend{
- background-color: #F2F2F2!important;
- }
- //富文本层级
- .tox-silver-sink{
- z-index: 9999!important;
- }
- //表格加载
- .el-loading-mask {
- .el-icon-loading{
- font-size: 28px;
- }
- }
- //
- .el-popper.el-dropdown-menu{
- width: max-content;
- }
- .el-popper.el-cascader__dropdown{
- max-width: 1200px;
- width: auto;
- .el-cascader-panel{
- width: 100%;
- display: flex;
- flex-wrap: wrap;
- }
- .el-cascader-menu,.el-cascader-menu__wrap{
- width: 300px;
- height: 300px;
- }
- }
- //表头英文时按单词换行
- .el-table thead th > .cell{
- word-break: break-word!important;
- }
- //新增弹出样式
- #TradingDetailedInfoAdd.InfoBox {
- width: 450px;
- height: 100%;
- padding: 15px 0;
- border-radius: 2px;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- box-shadow: 0px 3px 5px 0px rgba(49, 49, 49, 0.35);
- position: fixed;
- background-color: #FFFFFF;
- z-index: 100;
- overflow: hidden;
- overflow-y: auto;
- top: 0;
- right: -455px;
- -webkit-transition: all 0.6s;
- -moz-transition: all 0.6s;
- -o-transition: all 0.6s;
- transition: all 0.6s;
- .header {
- text-align: left;
- height: 25px;
- line-height: 25px;
- margin: 0 20px 10px;
- font-size: 14px;
- display: flex;
- justify-content: space-between;
- .title {
- font-weight: bold;
- }
- i.el-icon-close {
- text-align: right !important;
- font-weight: bold;
- margin-right: 7px;
- }
- }
- .btn {
- display: inline-block;
- padding: 10px;
- background-color: #368FEC;
- color: #FFFFFF;
- border-radius: 2px;
- text-align: center;
- min-width: 120px;
- margin: 25px 0;
- }
- .deleteBtn{
- display: inline-block;
- min-width: 100px;
- height: 30px;
- line-height: 30px;
- text-align: center;
- background-color: #EB3F57;
- color: #FFFFFF;
- }
- .avatar-uploader{
- display: inline-block;
- .updateBtn{
- display: inline-block;
- text-align: left;
- i{
- font-weight: bold;
- font-size: 20px;
- margin-right: 5px;
- }
- }
- }
- .channelBanks{
- padding-top: 10px;
- border-bottom: 1px solid #DCDFE6;
- }
- .channel{
- text-align: left!important;
- .btn {
- display: inline;
- padding: 10px;
- background-color: #368FEC;
- color: #FFFFFF;
- border-radius: 2px;
- text-align: center;
- min-width: 120px;
- margin: 25px 0;
- }
- }
- .channel-tit{
- display: flex;
- justify-content: space-between;
- align-items: center;
- height: 40px;
- background-color: #F2F2F2;
- padding: 0 15px;
- box-sizing: border-box;
- margin-bottom: 10px;
- .add{
- border: 1px dashed #368FEC;
- color: #368FEC;
- line-height: 20px;
- display: inline-block;
- width: 20px;
- height: 20px;
- font-weight: bold;
- i{
- font-weight: bold;
- font-size: 12px;
- margin-left: 4px;
- }
- }
- }
- .custom-tree-node {
- flex: 1;
- display: flex;
- align-items: center;
- justify-content: space-between;
- font-size: 14px;
- padding-right: 4px;
- i{
- margin-left: 4px;
- /*font-weight: bold;*/
- }
- }
- .dialog_header_w{
- width: 850px!important;
- .code{
- padding: 6px 12px;
- background-color: #368FEC;
- color: #FFFFFF;
- border-radius: 2px;
- margin-left: 10px;
- }
- .chooseLang{
- >span{
- border: 1px solid #DCDFE6;
- padding: 0 8px;
- min-width: 100px;
- display: inline-block;
- height: 40px;
- line-height: 40px;
- box-sizing: border-box;
- text-align: center;
- }
- span.active{
- @include border_red_1();
- @include font_main();
- }
- }
- }
- .el-form {
- border-top: 1px solid #E4E4E4;
- padding: 10px 0;
- text-align: left;
- position: relative;
- .el-form-item {
- margin-bottom: 20px;
- padding: 0 20px;
- }
- .authorityBox.el-form-item .el-form-item__content{
- display: contents;
- }
- }
- .el-select {
- width: 100%;
- }
- .el-date-editor.el-input {
- width: 100%;
- }
- .el-upload {
- width: 100%;
- }
- .channel{
- .el-input__inner {
- text-align: left;
- }
- }
- .online-editing.el-form-item{
- .el-form-item__content-item{
- border: none!important;
- }
- }
- }
- #TradingDetailedInfoAdd.InfoBox.active {
- right: 0;
- }
- // 统一 select 和 input 的宽度
- .el-select,
- .el-input,
- .el-date-editor.el-input,
- .el-date-editor.el-input__inner {
- width: 100%;
- min-width: 192px;
- }
- .el-select .el-input {
- width: 100%;
- }
- .el-input__inner {
- width: 100%;
- }
|