feat ui设计稿
This commit is contained in:
@@ -63,20 +63,21 @@ function onDrop(event: DragEvent): void {
|
||||
</template>
|
||||
|
||||
<style lang="less" scoped>
|
||||
// 设计稿(06/07 附件条):实底 #EDEDED 灰条、无描边、90 设计px ≈ 69px 高
|
||||
.upload-area {
|
||||
.flex(column, center);
|
||||
gap: @spacing-xs;
|
||||
padding: @spacing-lg;
|
||||
border: 1px dashed @border-color-dark;
|
||||
border-radius: @radius-base;
|
||||
background: @bg-color-light;
|
||||
min-height: 69px;
|
||||
padding: @spacing-base;
|
||||
border: none;
|
||||
border-radius: @radius-sm;
|
||||
background: @demand-upload-bg;
|
||||
cursor: pointer;
|
||||
transition: border-color 0.2s, background 0.2s;
|
||||
transition: background 0.2s;
|
||||
|
||||
&:hover,
|
||||
&.is-dragging {
|
||||
border-color: @primary-color;
|
||||
background: @primary-light;
|
||||
background: darken(@demand-upload-bg, 5%);
|
||||
}
|
||||
|
||||
&.is-disabled {
|
||||
@@ -85,8 +86,8 @@ function onDrop(event: DragEvent): void {
|
||||
}
|
||||
|
||||
&__icon {
|
||||
font-size: @font-size-xl;
|
||||
color: @primary-color;
|
||||
font-size: @font-size-lg;
|
||||
color: @text-color-disabled;
|
||||
}
|
||||
|
||||
&__hint {
|
||||
|
||||
Reference in New Issue
Block a user