8 changed files with 91 additions and 62 deletions
After Width: | Height: | Size: 557 B |
After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 162 KiB After Width: | Height: | Size: 7.7 KiB |
Before Width: | Height: | Size: 1.5 KiB |
@ -1,17 +1,60 @@ |
|||||
<template> |
<template> |
||||
<div class="label-edit-model"> |
<div class="label-edit-model"> |
||||
<Draggable></Draggable> |
<Draggable></Draggable> |
||||
<Button>123</Button> |
<!-- <div class="model-head"><Button type="primary" danger>重新调整</Button></div> --> |
||||
|
<Row> |
||||
|
<Col :span="24" class="label-attribute"> |
||||
|
<Row> |
||||
|
<Col :span="4">标签名称 :</Col> |
||||
|
<Col :span="8"><Input size="small"></Input></Col> |
||||
|
</Row> |
||||
|
</Col> |
||||
|
<Col :span="24" class="label-attribute"> |
||||
|
<Row> |
||||
|
<Col :span="4">标签X轴 :</Col> |
||||
|
<Col :span="8"> |
||||
|
<InputNumber size="small" :min="0" :max="1" :step="0.001" /> |
||||
|
</Col> |
||||
|
</Row> |
||||
|
</Col> |
||||
|
<Col :span="24" class="label-attribute"> |
||||
|
<Row> |
||||
|
<Col :span="4">标签Y轴 :</Col> |
||||
|
<Col :span="8"> |
||||
|
<InputNumber size="small" :min="0" :max="1" :step="0.001" /> |
||||
|
</Col> |
||||
|
</Row> |
||||
|
</Col> |
||||
|
<Col :span="24" class="label-attribute"> |
||||
|
<div class="label-btn"> |
||||
|
<Button type="primary">保存</Button> |
||||
|
<Button style="color:black;">取消</Button> |
||||
|
</div> |
||||
|
</Col> |
||||
|
</Row> |
||||
|
|
||||
</div> |
</div> |
||||
</template> |
</template> |
||||
|
|
||||
<script setup lang='ts'> |
<script setup lang='ts'> |
||||
import {Button} from 'ant-design-vue' |
import { Input, Row, Col, InputNumber, Button } from 'ant-design-vue' |
||||
import Draggable from '@/components/Draggable.vue' |
import Draggable from '@/components/Draggable.vue' |
||||
</script> |
</script> |
||||
|
|
||||
<style scoped lang='less'> |
<style scoped lang='less'> |
||||
.label-edit-model{ |
.label-edit-model { |
||||
position: relative; |
position: relative; |
||||
|
|
||||
|
.model-head { |
||||
|
text-align: center; |
||||
|
} |
||||
|
|
||||
|
.label-attribute { |
||||
|
padding-bottom: 10px; |
||||
|
} |
||||
|
|
||||
|
.label-btn { |
||||
|
text-align: right; |
||||
|
} |
||||
} |
} |
||||
</style> |
</style> |
Loading…
Reference in new issue