diff --git a/src/bundle/pages/clue/detail.vue b/src/bundle/pages/clue/detail.vue new file mode 100644 index 0000000..5cde311 --- /dev/null +++ b/src/bundle/pages/clue/detail.vue @@ -0,0 +1,165 @@ + + + + + diff --git a/src/components/design-switch-field.vue b/src/components/design-switch-field.vue index ee8dc5c..0f8a9f8 100644 --- a/src/components/design-switch-field.vue +++ b/src/components/design-switch-field.vue @@ -14,6 +14,7 @@ v-model="innerValue" :activeValue="1" :inactiveValue="0" + :disabled="disabled" @change="handleSwitchChange" > @@ -45,6 +46,10 @@ const props = defineProps({ labelWidth: { type: Number, default: 120 + }, + disabled: { + type: Boolean, + default: false } }) const emit = defineEmits(['update:modelValue']) diff --git a/src/components/design-textarea-field.vue b/src/components/design-textarea-field.vue index 17c9f6b..92fff85 100644 --- a/src/components/design-textarea-field.vue +++ b/src/components/design-textarea-field.vue @@ -21,6 +21,7 @@ :placeholder="placeholder" :border="border" :autoHeight="autoHeight" + :disabled="disabled" placeholderStyle="color: '#7c7e82'" >