【发布时间】:2021-01-21 06:19:35
【问题描述】:
Quasar File Picker 组件更改<q-file> 中所选文件名的文本颜色。
选择的文本文件是 test.odt,如何更改它的文本颜色,例如 Red?
<q-file
standout
class="registration-field text-red"
bg-color="blue-2"
v-model="registrationNumber"
color="red"
>
<template v-slot:prepend>
<q-icon name="o_insert_photo" size="24px" color="blue" />
</template>
<template v-slot:append>
<div class="attachment text-grey-14">File</div>
</template>
</q-file>
我尝试过使用样式道具 color="red",但它不起作用。
有人知道吗?
【问题讨论】:
标签: javascript vue.js vuejs2 quasar-framework