BUG 28232 28235

This commit is contained in:
aixianling
2022-03-15 15:36:19 +08:00
parent 94bb8f6e4b
commit f78ddf18dc
3 changed files with 46 additions and 42 deletions

32
src/components/AiMore.vue Normal file
View File

@@ -0,0 +1,32 @@
<template>
<section class="AiMore">
<u-icon name="arrow-right" color="#ddd" :label="value||placeholder" label-pos="left" :label-color="labelColor" label-size="32"/>
</section>
</template>
<script>
export default {
name: "AiMore",
model: {
prop: "value",
event: "change"
},
props: {
placeholder: {default: "请选择"},
value: String
},
computed: {
isEmpty() {
return !this.value
},
labelColor() {
return this.isEmpty ? "#999" : "#333"
}
}
}
</script>
<style lang="scss" scoped>
.AiMore {
}
</style>