提交组件

This commit is contained in:
2024-06-18 17:09:25 +08:00
parent 4366ba42bf
commit ff19c1ea7f
2 changed files with 75 additions and 16 deletions

30
src/views/AppSelect.vue Normal file
View File

@@ -0,0 +1,30 @@
<template>
<el-select v-model="value" placeholder="品类" size="small">
<el-option
v-for="item in options"
:key="item.value"
:label="item.label"
:value="item.value">
</el-option>
</el-select>
</template>
<script>
export default {
name: "AppSelect",
label: "下拉菜单",
data() {
return {
options: [],
value: ''
}
}
}
</script>
<style scoped>
:deep(.el-input__inner) {
background: linear-gradient(180deg, rgba(12, 53, 111, 0) 0%, #0C356F 100%);
border: 1px solid #1760AE;
}
</style>