From d942877495ceea1575e64fb6d4e2972f6da10cac Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期三, 11 一月 2023 10:09:24 +0800 Subject: [PATCH] 2023/1/11 肖辉 修改UI样式 --- src/views/operate/car/myIndex/index.vue | 47 ++++++++++++++++++++++++++--------------------- 1 files changed, 26 insertions(+), 21 deletions(-) diff --git a/src/views/operate/car/myIndex/index.vue b/src/views/operate/car/myIndex/index.vue index f1c2e2a..a16b704 100644 --- a/src/views/operate/car/myIndex/index.vue +++ b/src/views/operate/car/myIndex/index.vue @@ -24,8 +24,11 @@ :class="[item.checked ? 'is-active' : '', 'type-item']">{{ item.name }}</div> </div> <!-- 鏁版嵁灞曠ず --> - <el-table ref="multipleTable" - :header-cell-style="{'font-weight': '650', 'line-height': '45px' }" + <el-table + border + stripe + ref="multipleTable" + :header-cell-style="{'background':'#F5F5F5','font-weight': '650', 'line-height': '45px' }" :data="tableData" style="width: 100%" :row-class-name="tableRowClassName" @selection-change="tableChange"> <el-table-column type="selection" min-width="5"> @@ -80,7 +83,7 @@ <!-- tools --> <div class="tools"> <div class="funs"> - <div class="funsItem funs-sp"> + <div class="funsItem funs-sp funs-first"> <el-checkbox v-model="all" @change="selectAll()">鍏ㄩ��</el-checkbox> </div> <div class="funsItem funs-sp"> @@ -338,10 +341,10 @@ }, selectChange(list) { if (this.tempList.length !== 0) { - + this.preMyIdx = list; this.mulDelete(this.tempList); - + } else { this.myIdx = this.preMyIdx; this.$message({ @@ -389,15 +392,15 @@ <style lang="scss" scoped> .userList { text-align: left; - margin: 10px 20px; + padding: 10px 20px; color: #4b9bb7; - + border: 1px solid #ccc; header { // background-color: #09152f; - border: 1pox solid #fff; + border: 1px solid #fff; .headerContent { - padding: 0 40px; + padding: 0; display: flex; line-height: 100px; justify-content: space-between; @@ -417,7 +420,7 @@ &::v-deep .el-input__inner { // background-color: #09152f; - border: 1px solid #17324c; + //border: 1px solid #17324c; } } @@ -432,14 +435,14 @@ .el-button { padding: 12px 25px; - border-radius: 20px; + //border-radius: 20px; } } .addBtn { - background-color: #eb5d01; + //background-color: #eb5d01; border: none; - border-radius: 20px; + //border-radius: 20px; padding: 12px 30px; } } @@ -447,14 +450,14 @@ &::v-deep .el-input__inner { // background-color: #09152f; - border: 1px solid #17324c; + //border: 1px solid #17324c; } main { // background-color: #09152f; margin-top: 20px; padding-bottom: 50px; - border: 1pox solid #fff; + border: 1px solid #fff; .btn span:hover { cursor: pointer; @@ -479,7 +482,7 @@ .is-active { // background-color: #070f22; border-radius: 4px; - color: #fff; + color: #2f54eb; } } @@ -487,15 +490,17 @@ display: flex; justify-content: space-between; align-items: center; - padding: 0 20px; + padding: 0; .funs { display: flex; .funs-sp { - border: 1px solid #17324c; + border: 1px solid #DCDFE6; } - + .funs-first{ + margin-left: 0!important; + } .funsItem { line-height: 28px; display: flex; @@ -503,7 +508,7 @@ border-radius: 4px; font-size: 12px; margin-left: 10px; - + border: 1px solid #DCDFE6; .el-checkbox { width: 80px; padding: 0 10px; @@ -652,4 +657,4 @@ padding: 0; } } -</style> \ No newline at end of file +</style> -- Gitblit v1.8.0