5 changed files with 136 additions and 5 deletions
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 1.2 KiB |
@ -0,0 +1,56 @@ |
|||
<template> |
|||
<div class="region-select"> |
|||
<span class="title">行政区划</span> |
|||
<el-select size="small" class="sy-region-select"> |
|||
<el-option label="广东省" value="1"></el-option> |
|||
</el-select> |
|||
</div> |
|||
</template> |
|||
|
|||
<script setup lang="ts"> |
|||
defineOptions({ |
|||
name: "RegionSelect", |
|||
}); |
|||
</script> |
|||
|
|||
<style scoped lang="less"> |
|||
.region-select { |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: flex-start; |
|||
height: 32px; |
|||
border-radius: 4px; |
|||
overflow: hidden; |
|||
.title { |
|||
background: #36b29e; |
|||
height: 100%; |
|||
display: flex; |
|||
align-items: center; |
|||
justify-content: center; |
|||
padding: 5px 10px; |
|||
font-family: Source Han Sans; |
|||
font-size: 14px; |
|||
font-weight: normal; |
|||
line-height: 22px; |
|||
text-align: right; |
|||
letter-spacing: 0px; |
|||
|
|||
/* 文字&图标/Font Wh1 */ |
|||
color: rgba(255, 255, 255, 0.9); |
|||
} |
|||
|
|||
:deep(.sy-region-select) { |
|||
width: 194px; |
|||
background: rgba(255, 255, 255, 0.8); |
|||
color: rgba(0, 0, 0, 0.9); |
|||
.sy-input--small .sy-input__wrapper { |
|||
.sy-select__caret { |
|||
color: rgba(0, 0, 0, 0.9); |
|||
} |
|||
} |
|||
::-webkit-input-placeholder { |
|||
color: rgba(0, 0, 0, 0.9); |
|||
} |
|||
} |
|||
} |
|||
</style> |
Loading…
Reference in new issue