diff --git a/src/App.vue b/src/App.vue index 3e73504..211e674 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,8 +11,8 @@ - - + diff --git a/src/pages/modules/systemmanage/user.vue b/src/pages/modules/systemmanage/user.vue index e69de29..a42b7db 100644 --- a/src/pages/modules/systemmanage/user.vue +++ b/src/pages/modules/systemmanage/user.vue @@ -0,0 +1,144 @@ + + + + + diff --git a/src/style/common.styl b/src/style/common.styl index 1724da7..f0eb680 100644 --- a/src/style/common.styl +++ b/src/style/common.styl @@ -21,21 +21,21 @@ ::-webkit-scrollbar-track { - -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3); + -webkit-box-shadow: inset 0 0 0px rgba(0,0,0,0.3); border-radius: 10px; background-color: #F5F5F5; } ::-webkit-scrollbar { - width: 12px; + width: 0px; background-color: #F5F5F5; } ::-webkit-scrollbar-thumb { border-radius: 10px; - -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); + -webkit-box-shadow: inset 0 0 0px rgba(0,0,0,.3); background-color: #e5e5e5; } @@ -53,8 +53,6 @@ overflow hidden .left_side _wh(2.72rem, 100%) -.right_side - _wh(100%, 100%) .filter-table width 100% @@ -108,3 +106,223 @@ white-space pre-line word-break break-all overflow-y auto + +// 公用 +.row:before, .row:before + display table + content "" +.row:after + clear: both +.button + display: inline-block; + line-height: 1; + white-space: nowrap; + cursor: pointer; + background: #fff; + border: 1px solid #dcdfe6; + color: #606266; + -webkit-appearance: none; + text-align: center; + box-sizing: border-box; + outline: none; + margin: 0; + transition: .1s; + font-weight: 500; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; + padding: 12px 20px; + font-size: 14px; + border-radius: 18px; +.button+.button + margin-left: 10px; +.button--primary + color: #fff; + background-color: $red; + border-color: $red1; +.button--info + color: #fff; + background-color: $gray; + border-color: $gray1; +.modal + position: fixed; + left: 0; + top: 0; + width: 100%; + height: 100%; + opacity: .5; + background: #000; + z-index: 101; +.dialog_wrapper + position: fixed; + top: 0; + right: 0; + bottom: 0; + left: 0; + overflow: auto; + z-index: 102; +.dialog + position: relative; + margin: 0 auto 50px; + background: #fff; + border-radius: 16px; + box-shadow: 0 1px 3px rgba(0,0,0,.3); + box-sizing: border-box; + width: 65%; + margin-top: 15vh; +.dialog_header + padding: 20px 20px 10px; +.dialog_title + line-height: 24px; + font-size: 18px; + color: #303133; +.dialog_headerbtn + position: absolute; + top: 20px; + right: 20px; + padding: 0; + background: transparent; + border: none; + outline: none; + cursor: pointer; + font-size: 16px; +.dialog_body + padding: 30px 20px; + color: #606266; + font-size: 14px; + word-break: break-all; +.form + width 100% + _fj(flex-start) + .form_item + width 48% + margin-bottom: 20px + .form_item+.form_item + margin-left 4% +.form_item__label + width: 86px; + text-align: left; + vertical-align: middle; + float: left; + font-size: 14px; + color: #606266; + line-height: 40px; + padding: 0 12px 0 0; + box-sizing: border-box; + i + color $red2 +.form_item__content + width: calc(100% - 86px) + margin-left: 86px; + line-height: 40px; + position: relative; + font-size: 14px; +.form_item__input + width 100% + -webkit-appearance: none; + background-color: #fff; + background-image: none; + border-radius: 4px; + border: 1px solid $gray1; + box-sizing: border-box; + color: #696969; + display: inline-block; + font-size: 14px; + height: 40px; + line-height: 40px; + outline: none; + padding: 0 15px; + transition: border-color .2s cubic-bezier(.645,.045,.355,1); + width: 100%; +.form_item__radio + color: #606266; + font-weight: 500; + line-height: 1; + position: relative; + cursor: pointer; + display: inline-block; + white-space: nowrap; + outline: none; + font-size: 14px; + margin-right: 30px; + -moz-user-select: none; + -webkit-user-select: none; + -ms-user-select: none; +.radio__input + white-space: nowrap; + cursor: pointer; + outline: none; + display: inline-block; + padding: 2px + position: relative; + vertical-align: middle; + border 1px solid $gray1 + border-radius 50% +.radio__label + display: inline-block; + font-size: 14px; + padding-left: 10px; +.icon_radio_checked + color $red2 +.el-select + width 100% +.el-select:hover .el-input__inner, .el-input__inner + border-color $gray1 +.el-select .el-input__inner:focus, .el-select .el-input.is-focus .el-input__inner + border-color $red1 +.el-select-dropdown__item.selected + color $red2 +.el-input__inner + color #696969 +.dialog_footer + padding: 10px 20px 20px; + text-align: center; + box-sizing: border-box; + +// 用户管理 +.right_side + _wh(100%, 100%) + padding 20px 20px 30px 20px +.buttons_wrapper + .row + margin-bottom 10px +.grid_wrapper + width 100% + table + table-layout: fixed; + width: 100%; + border-collapse: separate; + border-spacing: 0; + border: 0 + th + box-sizing: border-box; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + white-space: nowrap; + text-align: center; + position: sticky; + top: 0; + background: #d7d7d7; + font-size: 14px; + line-height: 23px; + color: #323232; + font-weight: bold; + z-index: 100; + padding 12px 10px; + td + box-sizing: border-box; + overflow: hidden; + white-space: nowrap; + text-overflow: ellipsis; + white-space: nowrap; + padding: 12px 10px; + border-bottom: 1px dashed $gray1; + border-right: 1px dashed $gray1; + text-align: center; + font-size: 14px; + line-height: 23px; + color: #323232; + background: #fff; + &:last-child + border-right: none; diff --git a/src/style/iconfont.styl b/src/style/iconfont.styl index a974ca9..127e40e 100644 --- a/src/style/iconfont.styl +++ b/src/style/iconfont.styl @@ -9,4 +9,12 @@ content: '\ee34' .icon_admin &::before - content: '\e7a3' \ No newline at end of file + content: '\e7a3' +.icon_close + color: #909399 + &::before + content '\e659' +.icon_radio + color #ffffff + &::before + content '\e608' \ No newline at end of file diff --git a/src/style/mixin.styl b/src/style/mixin.styl index f7b21fe..9208d9e 100644 --- a/src/style/mixin.styl +++ b/src/style/mixin.styl @@ -1,8 +1,12 @@ -$red = #e74f1a +$red = #FD6A35 +$red1 = #E74F19 +$red2 = #FA6400 $green = #6CBE8B $yellow = #E9B451 $blue = #6798ef -$gray = #c9c9c9 +$gray = #989EBB +$gray1 = #8B90A6 +$gray2 = #DFE1E6 $fc1 = #464646