2
This commit is contained in:
64
draggable-panels/src/views/TestPage2.vue
Normal file
64
draggable-panels/src/views/TestPage2.vue
Normal file
@@ -0,0 +1,64 @@
|
||||
<template>
|
||||
<div class="test-page">
|
||||
<h2>测试页面 2 - 表单布局</h2>
|
||||
<el-row :gutter="20">
|
||||
<el-col :span="24">
|
||||
<div class="grid-content">表单标题区域</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-row :gutter="20" style="margin-top: 20px;">
|
||||
<el-col :span="6">
|
||||
<div class="grid-content">标签</div>
|
||||
</el-col>
|
||||
<el-col :span="18">
|
||||
<div class="grid-content">输入框</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-row :gutter="20" style="margin-top: 20px;">
|
||||
<el-col :span="6">
|
||||
<div class="grid-content">标签</div>
|
||||
</el-col>
|
||||
<el-col :span="18">
|
||||
<div class="grid-content">输入框</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
||||
<el-row :gutter="20" style="margin-top: 20px;">
|
||||
<el-col :span="24">
|
||||
<div class="grid-content">提交按钮</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue'
|
||||
|
||||
const formData = ref({
|
||||
name: '',
|
||||
email: ''
|
||||
})
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.test-page {
|
||||
padding: 20px;
|
||||
background: #fafafa;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
h2 {
|
||||
color: #333;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.grid-content {
|
||||
background: #67c23a;
|
||||
color: white;
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
border-radius: 4px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user