提交 269c1d64 编写于 作者: Neuromancer255's avatar Neuromancer255

编辑器禁用功能修改

上级 404b4258
......@@ -57,6 +57,12 @@
.item-interactive-disabled{
ion-label{
-webkit-text-fill-color: #000;
-webkit-opacity: 0.6 !important;
-webkit-opacity: 0.25 !important;
}
}
.item-disabled {
ion-label{
-webkit-opacity: 0.7 !important;
-webkit-text-fill-color: #000;
}
}
\ No newline at end of file
<template>
<ion-item :class="[classes,labelPos.toLowerCase()]">
<ion-item :class="[classes,labelPos.toLowerCase()]" :disabled="disabled">
<template v-if="uiStyle == 'STYLE2'">
<ion-label class="sc-ion-label-ios-h sc-ion-label-ios-s ios hydrated" :class="required?'app-form-item-label-required':'app-form-item-label-notRequired'" :style="{minWidth:labelWidth+'px'}" position="floating" v-if="isShowCaption && labelWidth > 0">{{isEmptyCaption ? '' : caption}}</ion-label>
<slot></slot>
......@@ -61,6 +61,14 @@ export default class AppFormItem extends Vue {
*/
@Prop() public caption!: string;
/**
* 是否禁用
*
* @type {boolean}
* @memberof AppFormItem
*/
@Prop() public disabled?: boolean;
/**
* 错误信息
*
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册