| src/styles/element-ui/element-ui.css | ●●●●● patch | view | raw | blame | history | |
| src/styles/element-ui/element-ui.min.css | ●●●●● patch | view | raw | blame | history | |
| src/styles/element-ui/element-ui.scss | ●●●●● patch | view | raw | blame | history | |
| src/views/activity/index.vue | ●●●●● patch | view | raw | blame | history |
src/styles/element-ui/element-ui.css
@@ -1,5 +1,6 @@ @charset "UTF-8"; .el-table tr th { background: #005ca9; background: #005ca9 !important; color: #fff !important; } @@ -36,3 +37,161 @@ .el-pagination.is-background .el-pager li:hover { color: #1a3252; } .el-input--suffix .el-input__inner { padding-right: 84px; } .el-input__inner { background-color: #14327b; color: #fff; border: 1px solid #005ca9; } .el-select-dropdown { border: 1px solid #005ca9; } .el-select-dropdown__item { font-size: 7px; color: #fff; font-weight: 200; background-color: #26426a !important; } .el-select-dropdown__list { padding: 0; } .el-popper[x-placement^="bottom"] { margin-top: 0px; } .el-popper .popper__arrow, .el-popper .popper__arrow::after { display: none; } .el-select-dropdown__item:hover { background-color: rgba(0, 92, 169, 0.3) !important; } .el-select-dropdown__item:onBlur { background-color: rgba(0, 92, 169, 0.3); } /* 日历样式 */ .el-picker-panel { background-color: #14327b; color: #ffffff; border: 1px solid #93bee7 !important; } .el-picker-panel .el-date-range-picker__time-header { border-bottom: 1px solid #93bee7 !important; } .el-picker-panel__icon-btn { width: 8px; height: 10px; color: #5a81fd !important; } .el-picker-panel .el-input__inner { background-color: #19466f; border: #75ebf2; color: #e8fdff; } .el-picker-panel .el-date-range-picker__content.is-left, .el-picker-panel .el-date-range-picker__content.is-right { border-right: 1px solid #93bee7 !important; background-size: 100% 100%; } .el-picker-panel .el-date-range-picker__header { color: #75ebf2; } .el-picker-panel .el-date-table th { color: #c3e3ec; } .el-picker-panel .el-date-table td.available { width: 14px; height: 14px; font-size: 16px; font-family: Source Han Sans CN; font-weight: bold; color: #6ce6cb; } .el-picker-panel .el-date-table td.available:hover { color: #ffffff; } .el-date-table td.in-range div, .el-date-table td.in-range div:hover, .el-date-table.is-week-mode .el-date-table__row.current div, .el-date-table.is-week-mode .el-date-table__row:hover div { background-color: #4c77b3 !important; } .el-time-panel { background-color: #1b3e6f !important; border: 1px solid #93bee7 !important; } .el-time-spinner__item { color: #c3e3ec !important; } .el-time-spinner__item:hover:not(.disabled):not(.active) { background: #4c77b3 !important; } .el-time-panel__btn { color: #adcfff !important; } .el-picker-panel__footer { background-color: #1b3e6f !important; } .el-icon-d-arrow-left { color: #1475e3 !important; } .el-date-table th { border-bottom: 1px solid #293f6f !important; } /* 时间筛选 */ .el-time-panel__content::after, .el-time-panel__content::before { border-bottom: 1px solid #293f6f !important; border-top: 1px solid #293f6f !important; } .el-time-panel { background-color: #040d27 !important; } .el-time-panel__btn.confirm { background-color: #040d27 !important; color: #1475e3 !important; } .el-time-panel__btn.cancel { background-color: #040d27 !important; color: #6397d1 !important; } .el-time-panel__footer { border-top: none !important; } .el-time-panel { border: none; border-top: 2px solid #293f6f !important; } src/styles/element-ui/element-ui.min.css
@@ -1 +1 @@ .el-table tr th{background:#005ca9;color:#fff !important}.el-table tr:nth-child(2n){background:#14327b;color:#fff !important}.el-table tr:nth-child(2n-1){background:#1d2669;color:#fff}.el-table tr:hover td{cursor:pointer;background-color:rgba(222,176,176,0.2) !important}.el-table::before{height:0px}.el-pagination.is-background .el-pager li:not(.disabled).active{background-color:#005ca9;color:#ffffff !important}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{background-color:#fff}.el-pagination.is-background .el-pager li:hover{color:#1a3252} .el-table tr th{background:#005ca9 !important;color:#fff !important}.el-table tr:nth-child(2n){background:#14327b;color:#fff !important}.el-table tr:nth-child(2n-1){background:#1d2669;color:#fff}.el-table tr:hover td{cursor:pointer;background-color:rgba(222,176,176,0.2) !important}.el-table::before{height:0px}.el-pagination.is-background .el-pager li:not(.disabled).active{background-color:#005ca9;color:#ffffff !important}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{background-color:#fff}.el-pagination.is-background .el-pager li:hover{color:#1a3252}.el-input--suffix .el-input__inner{padding-right:84px}.el-input__inner{background-color:#14327b;color:#fff;border:1px solid #005ca9}.el-select-dropdown{border:1px solid #005ca9}.el-select-dropdown__item{font-size:7px;color:#fff;font-weight:200;background-color:#26426a !important}.el-select-dropdown__list{padding:0}.el-popper[x-placement^="bottom"]{margin-top:0px}.el-popper .popper__arrow,.el-popper .popper__arrow::after{display:none}.el-select-dropdown__item:hover{background-color:rgba(0,92,169,0.3) !important}.el-select-dropdown__item:onBlur{background-color:rgba(0,92,169,0.3)}.el-picker-panel{background-color:#14327b;color:#ffffff;border:1px solid #93bee7 !important}.el-picker-panel .el-date-range-picker__time-header{border-bottom:1px solid #93bee7 !important}.el-picker-panel__icon-btn{width:8px;height:10px;color:#5a81fd !important}.el-picker-panel .el-input__inner{background-color:#19466f;border:#75ebf2;color:#e8fdff}.el-picker-panel .el-date-range-picker__content.is-left,.el-picker-panel .el-date-range-picker__content.is-right{border-right:1px solid #93bee7 !important;background-size:100% 100%}.el-picker-panel .el-date-range-picker__header{color:#75ebf2}.el-picker-panel .el-date-table th{color:#c3e3ec}.el-picker-panel .el-date-table td.available{width:14px;height:14px;font-size:16px;font-family:Source Han Sans CN;font-weight:bold;color:#6ce6cb}.el-picker-panel .el-date-table td.available:hover{color:#ffffff}.el-date-table td.in-range div,.el-date-table td.in-range div:hover,.el-date-table.is-week-mode .el-date-table__row.current div,.el-date-table.is-week-mode .el-date-table__row:hover div{background-color:#4c77b3 !important}.el-time-panel{background-color:#1b3e6f !important;border:1px solid #93bee7 !important}.el-time-spinner__item{color:#c3e3ec !important}.el-time-spinner__item:hover:not(.disabled):not(.active){background:#4c77b3 !important}.el-time-panel__btn{color:#adcfff !important}.el-picker-panel__footer{background-color:#1b3e6f !important}.el-icon-d-arrow-left{color:#1475e3 !important}.el-date-table th{border-bottom:1px solid #293f6f !important}.el-time-panel__content::after,.el-time-panel__content::before{border-bottom:1px solid #293f6f !important;border-top:1px solid #293f6f !important}.el-time-panel{background-color:#040d27 !important}.el-time-panel__btn.confirm{background-color:#040d27 !important;color:#1475e3 !important}.el-time-panel__btn.cancel{background-color:#040d27 !important;color:#6397d1 !important}.el-time-panel__footer{border-top:none !important}.el-time-panel{border:none;border-top:2px solid #293f6f !important} src/styles/element-ui/element-ui.scss
@@ -1,4 +1,5 @@ // 表格 el-table! // ------------------------------------------------------------------ .el-table tr th { background: rgba(0, 92, 169, 1.0) !important; @@ -28,6 +29,8 @@ // 分页 el-pagination! // ------------------------------------------------------------------ .el-pagination.is-background .el-pager li:not(.disabled).active { background-color: rgba(0, 92, 169, 1.0); color: #ffffff !important; @@ -41,4 +44,153 @@ .el-pagination.is-background .el-pager li:hover { color: #1a3252; } } //下拉框 el-select // ------------------------------------------------------------------ .el-input--suffix .el-input__inner { padding-right: 84px; } .el-input__inner { background-color: rgba(20, 50, 123, 1.0); color: #fff; border: 1px solid rgba(0, 92, 169, 1.0); } .el-select-dropdown { border: 1px solid rgba(0, 92, 169, 1.0); } .el-select-dropdown__item { font-size: 7px; color: #fff; font-weight: 200; background-color: #26426a!important; } .el-select-dropdown__list { padding: 0; } .el-popper[x-placement^="bottom"] { margin-top: 0px; } .el-popper .popper__arrow, .el-popper .popper__arrow::after { display: none; } .el-select-dropdown__item:hover { background-color: rgba(0, 92, 169, 0.3)!important; } .el-select-dropdown__item:onBlur { background-color: rgba(0, 92, 169, 0.3); } //时间选择器 el-data-picker // ------------------------------------------------------------------ /* 日历样式 */ .el-picker-panel { background-color: rgba(20, 50, 123, 1.0); color: #ffffff; border: 1px solid #93bee7 !important; } .el-picker-panel .el-date-range-picker__time-header { border-bottom: 1px solid #93bee7 !important; } .el-picker-panel__icon-btn { width: 8px; height: 10px; color: #5a81fd !important; } .el-picker-panel .el-input__inner { background-color: #19466f; border: #75ebf2; color: #e8fdff; } .el-picker-panel .el-date-range-picker__content.is-left, .el-picker-panel .el-date-range-picker__content.is-right { border-right: 1px solid #93bee7 !important; // background: url(./images/矩形.png) center center; background-size: 100% 100%; } .el-picker-panel .el-date-range-picker__header { color: #75ebf2; } .el-picker-panel .el-date-table th { color: #c3e3ec; } .el-picker-panel .el-date-table td.available { width: 14px; height: 14px; font-size: 16px; font-family: Source Han Sans CN; font-weight: bold; color: #6ce6cb; } .el-picker-panel .el-date-table td.available:hover { color: #ffffff; } .el-date-table td.in-range div, .el-date-table td.in-range div:hover, .el-date-table.is-week-mode .el-date-table__row.current div, .el-date-table.is-week-mode .el-date-table__row:hover div { background-color: #4c77b3 !important; } .el-time-panel { background-color: #1b3e6f !important; border: 1px solid #93bee7 !important; } .el-time-spinner__item { color: #c3e3ec !important; } .el-time-spinner__item:hover:not(.disabled):not(.active) { background: #4c77b3 !important; } .el-time-panel__btn { color: #adcfff !important; } .el-picker-panel__footer { background-color: #1b3e6f !important; } .el-icon-d-arrow-left { color: #1475e3 !important; } .el-date-table th { border-bottom: 1px solid #293f6f !important; } /* 时间筛选 */ .el-time-panel__content::after, .el-time-panel__content::before { border-bottom: 1px solid #293f6f !important; border-top: 1px solid #293f6f !important; } .el-time-panel { background-color: #040d27 !important; } .el-time-panel__btn.confirm { background-color: #040d27 !important; color: #1475e3 !important; } .el-time-panel__btn.cancel { background-color: #040d27 !important; color: #6397d1 !important; } .el-time-panel__footer { border-top: none !important; } .el-time-panel { border: none; border-top: 2px solid #293f6f !important; } src/views/activity/index.vue
@@ -30,9 +30,8 @@ <div> <div class="category">活动名称:</div> <div class="category-value"> <el-input size="small" placeholder="请输入活动名称" v-model="searchActivity"> <el-button slot="append" icon="el-icon-search"></el-button> </el-input> <input type="text" placeholder="请输入搜索条件" v-model="searchActivity" /> <button class="el-icon-search"></button> </div> </div> <div> @@ -43,6 +42,7 @@ v-model="selectTime" type="date" placeholder="选择日期" style="width:268px" ></el-date-picker> </div> </div> @@ -527,7 +527,13 @@ height: 100%; color: #fff; background: $bg-color; .title { height: 51px; line-height: 58px; font-weight: 700; font-size: 24px; letter-spacing: 20px; } .search-box { padding: 0 10px; @@ -544,6 +550,38 @@ .category-value { flex: 1; } input { width: 209px; height: 32px; font-size: 12px; text-indent: 1em; color: #ffffff; background-color: rgba(20, 50, 123, 1); border: 1px solid rgba(20, 50, 123, 1); border-radius: 5px 0 0 5px; } input:focus { outline: none; } input::-webkit-input-placeholder { color: rgba(238, 238, 238, 0.7); } button { font-size: 24px; font-weight: 700; width: 60px; height: 32px; background-color: rgba(29, 38, 105, 1); color: #fff; border: 1px solid rgba(29, 38, 105, 1); cursor: pointer; border-radius: 0 5px 5px 0; vertical-align: top; } button:active { background-color: rgba(20, 50, 123, 1); border: 1px solid rgba(20, 50, 123, 1); } } }