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)
......
...@@ -62,15 +62,15 @@ ...@@ -62,15 +62,15 @@
</div> </div>
<div class="arrt_pannel"> <div class="arrt_pannel">
<template v-if="attr.attributeType == 'input'"> <template v-if="attr.attributeType == 'input'">
<el-input class="arrt_pannel" size="small" :maxlength="attr.maxLength" clearable :placeholder="'请输入' + attr.attributeDesc"></el-input> <el-input class="arrt_pannel" v-model="productModal[item.idName][attr.groupName]" size="small" :maxlength="attr.maxLength" clearable :placeholder="'请输入' + attr.attributeDesc"></el-input>
</template> </template>
<template v-if="attr.attributeType == 'select'"> <template v-if="attr.attributeType == 'select'">
<el-select class="arrt_pannel" size="small" clearable :placeholder="'请选择' + attr.attributeDesc"> <el-select class="arrt_pannel" size="small" clearable :placeholder="'请选择' + attr.attributeDesc">
<el-option v-for="item in []" :key="item.value" :label="item.label" :value="item.value"></el-option> <el-option v-for="option in attr.optionList" v-model="productModal[item.idName][attr.groupName]" :key="option.value" :label="option.label" :value="item.value"></el-option>
</el-select> </el-select>
</template> </template>
<template v-if="attr.attributeType == 'datePicker'"> <template v-if="attr.attributeType == 'datePicker'">
<el-date-picker class="arrt_pannel" size="small" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker> <el-date-picker class="arrt_pannel" v-model="productModal[item.idName][attr.groupName]" size="small" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
</template> </template>
</div> </div>
</div> </div>
...@@ -83,6 +83,39 @@ ...@@ -83,6 +83,39 @@
<!-- 定制权益 --> <!-- 定制权益 -->
<div v-if="equityRadio == '2'" class="auto_widget"> <div v-if="equityRadio == '2'" class="auto_widget">
<el-radio-group v-model="curSelectCustomPro">
<div v-for="(item, index) in customProductList" :key="index" class="product_wrapper">
<div style="padding-left: 73px">
<el-radio :label="item.packageName"></el-radio>
<p class="h20_title product_intro">包括服务项目:{{item.serviceItems}}</p>
</div>
<div v-if="curSelectCustomPro == item.packageName" :key="indexs" class="child_wrap">
<div v-for="(attr, attrindex) in item.groupAttributeList" :key="attrindex">
<div class="attr_wrapper flex_sc">
<div class="attr_label h13_title">
<span v-if="attr.required == 1" style="color: red">*</span>
{{ attr.attributeDesc }}
</div>
<div class="arrt_pannel">
<template v-if="attr.attributeType == 'input'">
<el-input class="arrt_pannel" v-model="productModal[item.idName][attr.groupName]" size="small" :maxlength="attr.maxLength" clearable :placeholder="'请输入' + attr.attributeDesc"></el-input>
</template>
<template v-if="attr.attributeType == 'select'">
<el-select class="arrt_pannel" size="small" clearable :placeholder="'请选择' + attr.attributeDesc">
<el-option v-for="item in []" v-model="productModal[item.idName][attr.groupName]" :key="item.value" :label="item.label" :value="item.value"></el-option>
</el-select>
</template>
<template v-if="attr.attributeType == 'datePicker'">
<el-date-picker class="arrt_pannel" v-model="productModal[item.idName][attr.groupName]" size="small" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
</template>
</div>
</div>
</div>
</div>
</div>
</el-radio-group>
</div>
<!-- <div v-if="equityRadio == '2'" class="auto_widget">
<glsx-combi-form class="edit-form-container" labelWidth="160px" defaultWidth="320px" :formObj="editForm" :formData="editFormDataPro"> <glsx-combi-form class="edit-form-container" labelWidth="160px" defaultWidth="320px" :formObj="editForm" :formData="editFormDataPro">
<template slot="packageCode" slot-scope="scope"> <template slot="packageCode" slot-scope="scope">
<el-radio-group class="package-code-box" v-model="editForm[scope.scope.name]" :disabled="scope.scope.isDisabled" @change="scope.scope.handleRadioChange"> <el-radio-group class="package-code-box" v-model="editForm[scope.scope.name]" :disabled="scope.scope.isDisabled" @change="scope.scope.handleRadioChange">
...@@ -117,9 +150,11 @@ ...@@ -117,9 +150,11 @@
</el-radio-group> </el-radio-group>
</template> </template>
</glsx-combi-form> </glsx-combi-form>
</div> </div> -->
</div> </div>
<!-- 其他信息 --> <!-- 其他信息 -->
<div class="container m-t-10"> <div class="container m-t-10">
<p class="edit-title">其他信息</p> <p class="edit-title">其他信息</p>
...@@ -132,6 +167,9 @@ ...@@ -132,6 +167,9 @@
<glsx-combi-form class="edit-form-container" ref="editFormRefShop" labelWidth="160px" defaultWidth="320px" formRef="editChildRefShop" :formObj="editForm" :formData="editFormDataShop" :formRules="editRuleShop"></glsx-combi-form> <glsx-combi-form class="edit-form-container" ref="editFormRefShop" labelWidth="160px" defaultWidth="320px" formRef="editChildRefShop" :formObj="editForm" :formData="editFormDataShop" :formRules="editRuleShop"></glsx-combi-form>
</div> </div>
<!-- 底部固定按钮 --> <!-- 底部固定按钮 -->
<div style="height: 78px"></div> <div style="height: 78px"></div>
<div <div
...@@ -152,12 +190,10 @@ ...@@ -152,12 +190,10 @@
<el-button size="small" type="default" @click="handleCancel">取消</el-button> <el-button size="small" type="default" @click="handleCancel">取消</el-button>
</div> </div>
</div> </div>
<!-- <div class="footer" :style="{ width: '100%' }">
<el-button v-show="routeInfo.addOrEdit != '5'" type="primary" @click="handleConfirm">{{routeInfo.addOrEdit != '3' ? '提单' : '确定'}}</el-button>
<el-button v-show="routeInfo.addOrEdit == '1'" type="primary" @click="handleReset">重置</el-button>
<el-button v-show="!['3', '5'].includes(routeInfo.addOrEdit)" type="primary" @click="handleDraft">草稿</el-button> <!-- 二维码 -->
<el-button type="default" @click="handleCancel">取消</el-button>
</div> -->
<qrCode :bottom="320" phone="189 3890 7441" :codeUrl="qrcodUrl"></qrCode> <qrCode :bottom="320" phone="189 3890 7441" :codeUrl="qrcodUrl"></qrCode>
</div> </div>
</template> </template>
...@@ -430,29 +466,21 @@ export default { ...@@ -430,29 +466,21 @@ export default {
} }
], ],
curSelectPro: [], curSelectPro: [],
curSelectCustomPro:'',
editProductObj: {}, editProductObj: {},
productList: [], productList: [],
customProductList: [],
productModal: { productModal: {
car:{}, car: {},
crash:{}, crash: {},
stolen:{}, stolen: {},
tire:{}, tire: {},
vip1: {},
vip2: {},
vip3: {}
}, },
// 其他信息 // 其他信息
editRuleOther: { editRuleOther: {
// suggestedSellingPrice: [{ required: true, message: '请输入建议销售价', trigger: 'change' }],
// actualSalesPrice: [
// { required: true, message: '请输入实际销售价', trigger: 'change' },
// {
// validator: (rule, value, callback) => {
// return +this.editForm.suggestedSellingPrice > +value ? callback(new Error('输入价格有误')) : callback()
// },
// trigger: 'change'
// }
// ],
// servicePeriod: [{ required: true, message: '请选择服务期限', trigger: 'change' }],
// effectiveDate: [{ required: true, message: '请选择生效日期', trigger: 'change' }],
// actualSalesPerson: [{ required: true, message: '请输入实际销售人', trigger: 'change' }],
deviceNo: [{ required: false, message: '请输入设备号', trigger: 'change' }], deviceNo: [{ required: false, message: '请输入设备号', trigger: 'change' }],
speAgree: [{ required: false, message: '请输入特别约定', trigger: 'change' }], speAgree: [{ required: false, message: '请输入特别约定', trigger: 'change' }],
speContent: [{ required: false, message: '请输入约定内容', trigger: 'change' }] speContent: [{ required: false, message: '请输入约定内容', trigger: 'change' }]
...@@ -478,55 +506,9 @@ export default { ...@@ -478,55 +506,9 @@ export default {
{ {
label: '约定内容', label: '约定内容',
name: 'speContent', name: 'speContent',
type: 'input' type: 'input',
} inputType: 'textarea'
// { }
// label: '建议销售价',
// name: 'suggestedSellingPrice',
// type: 'input',
// append: '元',
// isDisabled: true,
// maxlength: 11
// },
// {
// label: '实际销售价',
// name: 'actualSalesPrice',
// type: 'input',
// append: '元',
// maxlength: 11
// },
// {
// label: '服务期限',
// name: 'servicePeriod',
// type: 'select',
// noFilter: true,
// optionList: [],
// optionId: 'confId',
// optionLabel: 'confName',
// optionsName: 'servicePeriodList'
// },
// {
// label: '生效日期',
// name: 'effectiveDate',
// type: 'datePicker',
// dateType: 'date',
// valueFormat: 'yyyy-MM-dd',
// customPickerOptions: {
// disabledDate(date) {
// const yesterday = new Date(new Date().setDate(new Date().getDate()))
// if (date < yesterday) {
// return true
// }
// return false
// }
// }
// },
// {
// label: '实际销售人员',
// name: 'actualSalesPerson',
// type: 'input',
// maxlength: 100
// },
], ],
// 店面信息 // 店面信息
editRuleShop: { editRuleShop: {
...@@ -632,8 +614,8 @@ export default { ...@@ -632,8 +614,8 @@ export default {
], ],
servicePeriodList: [ servicePeriodList: [
{ {
confId: 1, value: 1,
confName: '1年' label: '1年'
} }
], ],
carBrandOptions: [], carBrandOptions: [],
...@@ -856,10 +838,28 @@ export default { ...@@ -856,10 +838,28 @@ export default {
} }
] ]
testArr.forEach(item => { testArr.forEach(item => {
if (item.packageType == 2) { if (item.packageName.includes('整车全损无忧')) {
item.idName = 'car'
} else if (item.packageName.includes('轮胎保障服务')) {
item.idName = 'tire'
} else if (item.packageName.includes('碰撞无忧')) {
item.idName = 'crash'
} else if (item.packageName.includes('盗抢全损无忧')) {
item.idName = 'stolen'
} else if (item.packageName.includes('尊享版')) {
item.idName = 'vip1'
} else if (item.packageName.includes('舒享版')) {
item.idName = 'vip2'
} else if (item.packageName.includes('优享版')) {
item.idName = 'vip3'
}
item.serviceItems=item.serviceItemsList.length ? item.serviceItemsList.map(k => k.serviceName).join(',') : ''
let newArr = [] let newArr = []
item.groupAttributeList.map((ele, i) => { item.groupAttributeList.map(ele => {
ele.attributeList.map(e => { ele.attributeList.map(e => {
if(e.attributeDesc=='服务期限'){
e.optionList = this.baseData.servicePeriodList
}
ele.tempobj = { ...e } ele.tempobj = { ...e }
}) })
let newAttr = { let newAttr = {
...@@ -870,52 +870,15 @@ export default { ...@@ -870,52 +870,15 @@ export default {
} }
newArr.push(newAttr) newArr.push(newAttr)
}) })
if (item.packageName.includes('整车全损无忧')) {
item.idName = 'car'
} else if (item.packageName.includes('轮胎保障服务')) {
item.idName = 'tire'
} else if (item.packageName.includes('碰撞无忧')) {
item.idName = 'crash'
} else if (item.packageName.includes('盗抢全损无忧')) {
item.idName = 'stolen'
}
item.groupAttributeList = newArr item.groupAttributeList = newArr
if (item.packageType == 2) {
this.productList.push(item) this.productList.push(item)
} else {
this.customProductList.push(item)
} }
}) })
console.log(this.productList);
this.productModal = {
car:{
service_period:null,
buy_car_type:null,
special_appoint_id:null,
additional_date:null,
additional_price:null,
actual_sales_price:null,
effective_date:null,
additional_device_name:null,
},
crash:{
service_period:null,
actual_sales_price:null,
effective_date:null,
},
stolen:{
service_period:null,
buy_car_type:null,
special_appoint_id:null,
actual_sales_price:null,
effective_date:null,
},
tire:{
service_period:null,
actual_sales_price:null,
effective_date:null,
tireBrand:null,
tireScale:null,
},
}
console.log(this.productModal['car']['service_period']);
}, },
setDisabled(partDisabledList = []) { setDisabled(partDisabledList = []) {
var list = ['Car', 'User', 'Pro', 'Other'] var list = ['Car', 'User', 'Pro', 'Other']
...@@ -1312,7 +1275,7 @@ export default { ...@@ -1312,7 +1275,7 @@ export default {
var errorObjList = [] var errorObjList = []
for (var i = 0; i < list.length; i++) { for (var i = 0; i < list.length; i++) {
if (this.$refs['editFormRef' + list[i]]) { if (this.$refs['editFormRef' + list[i]]) {
var pRef = list[i] == 'Pro' ? this.$refs['editFormRef' + list[i]][0] : this.$refs['editFormRef' + list[i]] var pRef = this.$refs['editFormRef' + list[i]]
pRef.$refs['editChildRef' + list[i]].validate((valid, errorObj) => { pRef.$refs['editChildRef' + list[i]].validate((valid, errorObj) => {
!valid && errorObjList.push(errorObj) !valid && errorObjList.push(errorObj)
flag && (flag = valid) flag && (flag = valid)
...@@ -1335,24 +1298,25 @@ export default { ...@@ -1335,24 +1298,25 @@ export default {
} else { } else {
params.contractNo = '' params.contractNo = ''
} }
this.$apis.beforeSale.checkOrderApi({ vin: this.editForm.vehicle.vin, contractNo: this.routeInfo.contractNo || '' }).then(res => { console.log(params,'确定按钮提交的参数');
if (res.code == '0') { // this.$apis.beforeSale.checkOrderApi({ vin: this.editForm.vehicle.vin, contractNo: this.routeInfo.contractNo || '' }).then(res => {
this.updateEquity(params) // if (res.code == '0') {
} else { // this.updateEquity(params)
this.submit = false // } else {
this.$confirm(res.message, '提示', { // this.submit = false
confirmButtonText: '确定', // this.$confirm(res.message, '提示', {
cancelButtonText: '取消', // confirmButtonText: '确定',
type: 'warning', // cancelButtonText: '取消',
callback: action => { // type: 'warning',
if (action == 'confirm') { // callback: action => {
this.submit = true // if (action == 'confirm') {
this.updateEquity(params) // this.submit = true
} // this.updateEquity(params)
} // }
}) // }
} // })
}) // }
// })
}, },
handleReset() { handleReset() {
this.editForm = { this.editForm = {
...@@ -1410,7 +1374,12 @@ export default { ...@@ -1410,7 +1374,12 @@ export default {
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
} }
.container /deep/ .el-radio__label{
font-weight: 600;
}
.container /deep/ .el-checkbox__label{
font-weight: 600;
}
.before-sale .edit-container { .before-sale .edit-container {
margin-bottom: 84px; margin-bottom: 84px;
} }
...@@ -1460,6 +1429,10 @@ export default { ...@@ -1460,6 +1429,10 @@ export default {
padding: 0 0 32px 0px; padding: 0 0 32px 0px;
.product_wrapper { .product_wrapper {
margin-top: 16px; margin-top: 16px;
.product_intro{
margin-top: 5px;
margin-left: 24px;
}
.child_wrap { .child_wrap {
padding: 16px 0 0 0; padding: 16px 0 0 0;
display: flex; display: flex;
......
...@@ -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"> <!-- //实现高亮竖线 -->
<el-table-column fixed="left" width="5">
<template slot-scope="scope"> <template slot-scope="scope">
<span :scope="scope"></span> <span :scope="scope"></span>
</template> </template>
</el-table-column> --> </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!