|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div class="hc-layout-box create-project">
|
|
|
- <hc-card title="有标题的卡片" :scrollbar="true">
|
|
|
+ <hc-card title="有标题的卡片" :scrollbar="true" is-action-btn>
|
|
|
<template #header>
|
|
|
<div class="project-title">项目信息填写</div>
|
|
|
</template>
|
|
@@ -150,18 +150,18 @@
|
|
|
</el-form>
|
|
|
</hc-card>
|
|
|
</div>
|
|
|
- <div class="action-box">
|
|
|
- <el-button type="info">
|
|
|
- <span class="text-white">取消</span>
|
|
|
- </el-button>
|
|
|
- <el-button color="#20C98B" type="primary">
|
|
|
- <span class="text-white">创建</span>
|
|
|
- </el-button>
|
|
|
- <el-button type="warning">
|
|
|
- <span class="text-white">保存</span>
|
|
|
- </el-button>
|
|
|
- </div>
|
|
|
</el-form>
|
|
|
+ <template #action>
|
|
|
+ <el-button type="info">
|
|
|
+ <span class="text-white">取消</span>
|
|
|
+ </el-button>
|
|
|
+ <el-button color="#20C98B" type="primary">
|
|
|
+ <span class="text-white">创建</span>
|
|
|
+ </el-button>
|
|
|
+ <el-button type="warning">
|
|
|
+ <span class="text-white">保存</span>
|
|
|
+ </el-button>
|
|
|
+ </template>
|
|
|
</hc-card>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -178,8 +178,8 @@ const baseForm = ref({
|
|
|
key7:'',
|
|
|
key8:'',
|
|
|
key9:'',
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
})
|
|
|
const baseFormRules = {
|
|
|
key1: {
|
|
@@ -297,7 +297,7 @@ const yearFormRules = {
|
|
|
font-size: var(--el-form-label-font-size);
|
|
|
}
|
|
|
.action-box{
|
|
|
-
|
|
|
+
|
|
|
text-align: center;
|
|
|
width: 100%;
|
|
|
}
|