Browse Source

toolbar禁用样式修改

main
likunming 2 weeks ago
parent
commit
e0aaf0fdd6
  1. 2
      io.sc.platform.core.frontend/src/platform/components/radio/WExtRadio.vue
  2. 10
      io.sc.platform.core.frontend/src/platform/components/toolbar/WToolbar.vue

2
io.sc.platform.core.frontend/src/platform/components/radio/WExtRadio.vue

@ -2,7 +2,7 @@
<div v-show="fieldMethodsClass.getShow(props, modelValue)" class="w-ext-radio"> <div v-show="fieldMethodsClass.getShow(props, modelValue)" class="w-ext-radio">
<w-label :required="fieldMethodsClass.getRequired(props, modelValue)" :label="attrs.label" :size="16" :light="lightLabelComputed"> <w-label :required="fieldMethodsClass.getRequired(props, modelValue)" :label="attrs.label" :size="16" :light="lightLabelComputed">
<template v-if="props.hideOptions" #after> <template v-if="props.hideOptions" #after>
<q-btn flat round color="primary" icon="expand" size="xs" @click="expandOptionsModelValue = !expandOptionsModelValue" /> <q-btn flat round color="primary" :icon="expandOptionsModelValue ? 'vertical_align_center' : 'expand'" size="xs" @click="expandOptionsModelValue = !expandOptionsModelValue" />
</template> </template>
</w-label> </w-label>
<div class="w-ext-radios"> <div class="w-ext-radios">

10
io.sc.platform.core.frontend/src/platform/components/toolbar/WToolbar.vue

@ -115,23 +115,23 @@ defineExpose({
<style lang="css"> <style lang="css">
.w-toolbar .q-btn.disabled { .w-toolbar .q-btn.disabled {
opacity: 0.7 !important; opacity: 0.7 !important;
color: #a8a8a8; color: #a8a8a8 !important;
} }
.w-toolbar .q-item.disabled { .w-toolbar .q-item.disabled {
opacity: 0.6 !important; opacity: 0.6 !important;
color: #a8a8a8; color: #a8a8a8 !important;
} }
.w-toolbar-btn-dropdown .q-btn.disabled { .w-toolbar-btn-dropdown .q-btn.disabled {
opacity: 0.7 !important; opacity: 0.7 !important;
color: #a8a8a8; color: #a8a8a8 !important;
} }
.w-toolbar-btn-dropdown .q-item.disabled { .w-toolbar-btn-dropdown .q-item.disabled {
opacity: 0.6 !important; opacity: 0.6 !important;
color: #a8a8a8; color: #a8a8a8 !important;
} }
.w-toolbar-menu .q-item.disabled { .w-toolbar-menu .q-item.disabled {
opacity: 0.6 !important; opacity: 0.6 !important;
color: #a8a8a8; color: #a8a8a8 !important;
} }
.w-toolbar .q-btn-dropdown__arrow { .w-toolbar .q-btn-dropdown__arrow {
margin-left: 0px !important; margin-left: 0px !important;

Loading…
Cancel
Save