Browse Source

样式优化

master
nizongfeng 1 year ago
parent
commit
02a2830867
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      application/admin/view/order_main/index.html

+ 7
- 1
application/admin/view/order_main/index.html View File

@@ -201,7 +201,7 @@
<el-table-column label="子订单" type="expand">
<template slot-scope="scope">
<el-table ref="multipleTable" :data="scope.row.subOrder" border tooltip-effect="dark"
style="font-size:12px;width: 94%;margin-left: 2%;margin-right: 4%">
style="border: 2px solid #71ebce; font-size:12px;width: 94%;margin-left: 2%;margin-right: 4%" :row-class-name="tableRowClassName">
<el-table-column prop="id" label="订单ID" min-width="30" ></el-table-column>
<el-table-column prop="type" label="类型" min-width="30" ></el-table-column>
<el-table-column label="名称" min-width="80" >
@@ -678,11 +678,17 @@
}).catch(function (error) {
console.log(error);
});
},
tableRowClassName({row, rowIndex}){
return 'success-row';
}
}
})
</script>
<style lang="scss" scoped>
.el-table .success-row {
background: #f6fbf6;
}
/*修改展开按钮的样式 start*/
/*1.取消原本展开的旋转动效*/
.el-table__expand-icon{


Loading…
Cancel
Save