2022-02-08 04:04:45 +00:00
|
|
|
<template>
|
|
|
|
<div class="form-field">
|
|
|
|
<slot></slot>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
.form-field {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: stretch;
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
label {
|
|
|
|
margin-right: 15px;
|
2022-02-12 06:23:07 +00:00
|
|
|
font-weight: 500;
|
|
|
|
line-height: 35px;
|
|
|
|
text-align: right;
|
|
|
|
color: #999;
|
2022-02-08 04:04:45 +00:00
|
|
|
width: 150px;
|
|
|
|
}
|
2022-02-12 06:23:07 +00:00
|
|
|
label::after {
|
|
|
|
content: ':'
|
|
|
|
}
|
2022-02-08 04:04:45 +00:00
|
|
|
.form-field + .form-field {
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.form-field + button {
|
|
|
|
margin-top: 15px;
|
|
|
|
}
|
|
|
|
</style>
|