我想更改下拉列表的框样式并为v-autocomplete
下拉列表指定border-radius
样式,如下图所示。
到目前为止我设计的就像下图一样。
到目前为止,我已将 menu-props 属性直接赋予v-autocomplete
标签:
<v-autocomplete
:menu-props="{
nudgeBottom: 15 + 'px',
zIndex: 2,
allowOverflow
}"
:items="searchBarInfo"
rounded
outlined
filled
clearable
item-color="deep-purple"
height="50"
placeholder="Search the ..."
color="rgba(0, 0, 0, 0.7)"
background-color="white"
prepend-inner-icon="mdi-magnify"
class="my-text-style "
:no-data-text="($vuetify.noDataText = 'Nothing found')">
</v-autocomplete>
上面的代码只添加了v-autocomplete
标签,没有添加border-radius
样式。
有没有办法制作类似于您使用 Vuetify 看到的图像的东西v-autocomplete
?
任何帮助,将不胜感激。