Commit 51ebfcab by 杨北旺

合并v1.0.1代码

1 parent 8da4237b
...@@ -6658,9 +6658,9 @@ ...@@ -6658,9 +6658,9 @@
} }
}, },
"glsx-components": { "glsx-components": {
"version": "1.3.0", "version": "1.3.1",
"resolved": "https://registry.npmmirror.com/glsx-components/download/glsx-components-1.3.0.tgz", "resolved": "https://registry.npmmirror.com/glsx-components/download/glsx-components-1.3.1.tgz",
"integrity": "sha512-J+tCvYONoAjD2XCWCkBFuemcEPiqpMA8XKxJHG5iZxnhEqWNkROiukEeYWQLQAsFQ1e2Wcv3QgI5ZJHBaz9fnQ==", "integrity": "sha512-Zsh7zfQ5svPZeGWPbyRTjn6kaDeg8en3oPqDGZhWbJX2BpEj1lZ8bbXj3E9rjmegNUKZgyM2g6JBzJN0aGtRZA==",
"requires": { "requires": {
"core-js": "^3.6.5", "core-js": "^3.6.5",
"element-ui": "^2.15.6", "element-ui": "^2.15.6",
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
"el-tree-transfer": "^2.2.6", "el-tree-transfer": "^2.2.6",
"element-ui": "^2.4.5", "element-ui": "^2.4.5",
"glsx-common": "^1.4.6", "glsx-common": "^1.4.6",
"glsx-components": "^1.3.0", "glsx-components": "^1.3.1",
"lodash": "^4.17.21", "lodash": "^4.17.21",
"vue": "^2.6.10", "vue": "^2.6.10",
"vue-router": "^3.1.3", "vue-router": "^3.1.3",
......
...@@ -21,6 +21,7 @@ export async function bootstrap({ history, common, messenger, globalState, route ...@@ -21,6 +21,7 @@ export async function bootstrap({ history, common, messenger, globalState, route
Vue.prototype.$message = message Vue.prototype.$message = message
Vue.prototype.$messageBox = messageBox Vue.prototype.$messageBox = messageBox
Vue.prototype.$defaultStartDate = '2021-07-01' Vue.prototype.$defaultStartDate = '2021-07-01'
// Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: globalState.session.token } }) Vue.prototype.$http = new common.Http({ response, request, sign, secret, alert: message.error, headers: { token: globalState.session.token } })
// Vue.prototype.$setGlobalState = globalState.actions.setGlobalState // Vue.prototype.$setGlobalState = globalState.actions.setGlobalState
const routesData = common.utils.deepClone(globalState.routers) const routesData = common.utils.deepClone(globalState.routers)
......
...@@ -465,10 +465,10 @@ export default { ...@@ -465,10 +465,10 @@ export default {
} }
} }
.table_wrap /deep/ .el-table--enable-row-hover .el-table__body tr:hover{ // .table_wrap /deep/ .el-table--enable-row-hover .el-table__body tr:hover{
background: #f4f3ff !important; // background: #f4f3ff !important;
} // }
.table_wrap /deep/ .el-table tbody tr:hover >td{ // .table_wrap /deep/ .el-table tbody tr:hover >td{
background: #f4f3ff !important; // background: #f4f3ff !important;
} // }
</style> </style>
...@@ -616,10 +616,10 @@ export default { ...@@ -616,10 +616,10 @@ export default {
margin-bottom: 20px; margin-bottom: 20px;
} }
// 表格悬浮样式 // 表格悬浮样式
.table_wrap /deep/ .el-table--enable-row-hover .el-table__body tr:hover { // .table_wrap /deep/ .el-table--enable-row-hover .el-table__body tr:hover {
background: #f4f3ff !important; // background: #f4f3ff !important;
} // }
.table_wrap /deep/ .el-table tbody tr:hover > td { // .table_wrap /deep/ .el-table tbody tr:hover > td {
background: #f4f3ff !important; // background: #f4f3ff !important;
} // }
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -20,7 +20,12 @@ ...@@ -20,7 +20,12 @@
</div> --> </div> -->
</div> </div>
<div class="table_widget"> <div class="table_widget">
<el-table :data="tableData" height="350" style="100%" highlight-current-row> <el-table :data="tableData" class="hightline" height="350" style="100%" highlight-current-row>
<el-table-column fixed="left" width="5">
<template slot-scope="scope">
<span :scope="scope"></span>
</template>
</el-table-column>
<el-table-column label="排名" width="100" align="center" type="index" :index="index => index + 1"></el-table-column> <el-table-column label="排名" width="100" align="center" type="index" :index="index => index + 1"></el-table-column>
<el-table-column prop="merchantName" label="门店名称" align="center"></el-table-column> <el-table-column prop="merchantName" label="门店名称" align="center"></el-table-column>
<el-table-column label="总产值" width="500"> <el-table-column label="总产值" width="500">
...@@ -178,10 +183,10 @@ export default { ...@@ -178,10 +183,10 @@ export default {
} }
} }
} }
.table_widget /deep/ .el-table--enable-row-hover .el-table__body tr:hover{ // .table_widget /deep/ .el-table--enable-row-hover .el-table__body tr:hover{
background: #f4f3ff !important; // background: #f4f3ff !important;
} // }
.table_widget /deep/ .el-table tbody tr:hover >td{ // .table_widget /deep/ .el-table tbody tr:hover >td{
background: #f4f3ff !important; // background: #f4f3ff !important;
} // }
</style> </style>
\ No newline at end of file \ No newline at end of file
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
</div> </div>
<div v-if="accountLevel < 3" class="find_wrap new_find_wrapper"> <div v-if="accountLevel < 3" class="find_wrap new_find_wrapper">
<div class="left_widget"> <div class="left_widget">
<div class="cell_wrapper flex_sc" style="margin-right:5px"> <div class="cell_wrapper flex_sc" style="margin-right: 5px">
<div class="cell_label h13_title">商户名</div> <div class="cell_label h13_title">商户名</div>
<!-- <div v-if="accountLevel == 2" class="cell_label h13_title">商户名</div> --> <!-- <div v-if="accountLevel == 2" class="cell_label h13_title">商户名</div> -->
<!-- <div v-if="accountLevel == 1 && !isAdmin" class="cell_label h13_title">省级经销商</div> <!-- <div v-if="accountLevel == 1 && !isAdmin" class="cell_label h13_title">省级经销商</div>
...@@ -169,12 +169,13 @@ ...@@ -169,12 +169,13 @@
</div> </div>
</div> </div>
<div class="table_wrap"> <div class="table_wrap">
<el-table id="initTable" :data="tableData"> <el-table id="initTable" class="hightline" :data="tableData">
<!-- <el-table-column fixed="left" width="5"> <!-- //实现高亮竖线 -->
<template slot-scope="scope"> <el-table-column fixed="left" width="5">
<span :scope="scope"></span> <template slot-scope="scope">
</template> <span :scope="scope"></span>
</el-table-column> --> </template>
</el-table-column>
<el-table-column label="序号" align="center" width="100px" type="index" :index="index => index + (currentPage - 1) * pageSize + 1"></el-table-column> <el-table-column label="序号" align="center" width="100px" type="index" :index="index => index + (currentPage - 1) * pageSize + 1"></el-table-column>
<el-table-column label="订单信息" align="center"> <el-table-column label="订单信息" align="center">
<template v-for="(ele, index) in tableCoulumList"> <template v-for="(ele, index) in tableCoulumList">
...@@ -955,9 +956,9 @@ export default { ...@@ -955,9 +956,9 @@ export default {
right: 15px; right: 15px;
} }
} }
.new_find_wrapper{ .new_find_wrapper {
// padding: 9px 0 9px 15px; // padding: 9px 0 9px 15px;
padding:0 0 0 15px; padding: 0 0 0 15px;
} }
.tipper { .tipper {
width: 100%; width: 100%;
...@@ -1065,62 +1066,10 @@ export default { ...@@ -1065,62 +1066,10 @@ export default {
.right_select /deep/ .el-select .el-tag__close.el-icon-close { .right_select /deep/ .el-select .el-tag__close.el-icon-close {
display: none; display: none;
} }
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar { .table_wrap /deep/ .el-table__row>td{
// /*width: 0;宽度为0隐藏*/ border-right: none;
// width: 2px !important; }
// border: none; .table_wrap /deep/ .el-table th.is-leaf:first-child{
// } border-right: none;
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb { }
// border-radius: 6px;
// height: 2px !important;
// background: #E9E8FF; //滚动条颜色
// border: none;
// }
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar-track {
// // box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
// border-radius: 6px;
// background: white; //滚动条背景色
// border: none;
// }
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar {
// width: 10px;
// height: 10px;
// /* display: none; */
// }
// /*正常情况下滑块的样式*/
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
// background-color: rgba(0, 0, 0, 0.05);
// border-radius: 10px;
// box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
// }
// /*鼠标悬浮在该类指向的控件上时滑块的样式*/
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar-thumb {
// /* background-color: rgba(0, 0, 0, 0.2); */
// background: #e9e8ff;
// border-radius: 10px;
// box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
// }
// /*鼠标悬浮在滑块上时滑块的样式*/
// /* &::-webkit-scrollbar-thumb:hover {
// background-color: rgba(0, 0, 0, 0.4);
// box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
// } */
// /*正常时候的主干部分*/
// .table_wrap /deep/ .el-table__body-wrapper::-webkit-scrollbar-track {
// border-radius: 10px;
// box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
// background-color: white;
// }
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!