perf: perf style (#89)

perf: perf style
This commit is contained in:
一万
2021-10-31 20:24:57 +08:00
committed by GitHub
parent 0fb7b5e983
commit 9ddf449ea7
20 changed files with 161 additions and 166 deletions

View File

@@ -197,7 +197,7 @@ function handleClose() {
</script>
<template>
<div class="dict-container">
<div>
<!-- 工具栏 -->
<vxe-toolbar>
<template #buttons>
@@ -309,10 +309,6 @@ function handleClose() {
</template>
<style lang="scss" scoped>
.dict-container {
margin: 10px;
}
.vxe-input + .vxe-button,
.vxe-input + .vxe-button--dropdown,
.vxe-button + .vxe-button,
@@ -324,6 +320,14 @@ function handleClose() {
border-radius: 0;
}
.vxe-toolbar.size--medium {
padding: 10px;
}
.vxe-table--render-default.size--medium {
margin-top: 12px;
}
.vxe-button.size--medium.type--button {
margin-right: 0.07em;
}

View File

@@ -6,7 +6,7 @@ const gridOptions = reactive({
border: true,
resizable: true,
keepSource: true,
height: 500,
height: 578,
printConfig: {},
importConfig: {},
exportConfig: {},
@@ -162,33 +162,6 @@ const gridOptions = reactive({
sex: "Man ",
age: 35,
address: "Guangzhou"
},
{
id: 100011,
name: "Test11",
nickname: "T11",
role: "Test",
sex: "Women ",
age: 26,
address: "vxe-table 从入门到放弃"
},
{
id: 100012,
name: "Test12",
nickname: "T12",
role: "Develop",
sex: "Man ",
age: 34,
address: "Guangzhou"
},
{
id: 100013,
name: "Test13",
nickname: "T13",
role: "Test",
sex: "Women ",
age: 22,
address: "Shenzhen"
}
];
resolve({
@@ -238,5 +211,5 @@ const gridOptions = reactive({
</script>
<template>
<vxe-grid v-bind="gridOptions" style="width: 98%"></vxe-grid>
<vxe-grid v-bind="gridOptions"></vxe-grid>
</template>