Commit 48c9269f authored by miaojiale's avatar miaojiale

表单

parent 44d9c511
<template> <template>
<div> <div id="publicContent">
<el-tabs <el-tabs
v-model="activeName" v-model="activeName"
type="card" type="card"
style="margin-top: 10px" style="margin-top: 10px"
class="publicTab"
v-loading="fromLoading" v-loading="fromLoading"
v-if="formTabs && formTabs.length > 0" v-if="formTabs && formTabs.length > 0"
@tab-click="handleTabClick" @tab-click="handleTabClick"
...@@ -60,3 +61,31 @@ export default { ...@@ -60,3 +61,31 @@ export default {
}, },
} }
</script> </script>
<style lang="scss" scoped>
#publicContent {
padding: 32px 24px;
}
.publicTab {
width: calc(100% - 200px);
}
::v-deep {
.el-tabs--card > .el-tabs__header {
border-bottom: none;
}
.el-tabs--card > .el-tabs__header .el-tabs__nav {
border: none;
}
.el-tabs--card > .el-tabs__header .el-tabs__item {
min-width: 116px;
text-align: center;
background: #f0f1fa;
font-size: 14px;
border: none;
}
.el-tabs--card > .el-tabs__header .el-tabs__item.is-active {
background: #4e68ff;
color: #fff;
}
}
</style>
...@@ -34,11 +34,13 @@ ...@@ -34,11 +34,13 @@
></template ></template
> >
<span class="label"> 仅显示重要字段 :</span> <div class="label">
<span class="value"> <!-- 仅显示重要字段 : -->
<el-switch v-model="isShowImprotant" @change="imFieldChange"> </div>
</el-switch> <div class="value">
</span> <!-- <el-switch v-model="isShowImprotant" @change="imFieldChange">
</el-switch> -->
</div>
</el-row> </el-row>
<div <div
class="my-form" class="my-form"
...@@ -94,7 +96,7 @@ export default { ...@@ -94,7 +96,7 @@ export default {
return { return {
btnType: "", btnType: "",
isShowImprotant: false, isShowImprotant: false,
asideShow: true, asideShow: false,
widgetFormPreview: {}, widgetFormPreview: {},
formData: { formData: {
formEdit: {}, formEdit: {},
...@@ -313,7 +315,8 @@ export default { ...@@ -313,7 +315,8 @@ export default {
z-index: 9; z-index: 9;
} }
.header { .header {
box-shadow: 0 1px 4px rgb(0 21 41 / 8%); height: 20px;
// box-shadow: 0 1px 4px rgb(0 21 41 / 8%);
padding-right: 20px; padding-right: 20px;
position: relative; position: relative;
font-size: 15px; font-size: 15px;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment