fix 文件为空时的颜色调整
This commit is contained in:
@@ -146,7 +146,8 @@
|
|||||||
line-height: 100%;
|
line-height: 100%;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
span::before{
|
|
||||||
|
span::before {
|
||||||
content: '*';
|
content: '*';
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -159,7 +160,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/deep/ .van-field {
|
/deep/ .van-field {
|
||||||
.van-field__control[readonly]{
|
.van-field__control[readonly] {
|
||||||
color: #969799;
|
color: #969799;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.readonly-file-display-empty {
|
||||||
|
color: rgba(150, 151, 153, 0.6);
|
||||||
|
}
|
||||||
|
|||||||
+4
-2
@@ -42,9 +42,11 @@
|
|||||||
:border="false">
|
:border="false">
|
||||||
<template slot="input">
|
<template slot="input">
|
||||||
<template v-if="standardList && standardList.length > 0">
|
<template v-if="standardList && standardList.length > 0">
|
||||||
<div v-for="item in standardList" :key="item.id">{{ item.standardNumber }} {{ item.standardName }}</div>
|
<div v-for="item in standardList" :key="item.id" class="readonly-file-display-empty">{{ item.standardNumber }}
|
||||||
|
{{ item.standardName }}
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div v-else>{{ global.emptyLine }}</div>
|
<div v-else class="readonly-file-display-empty">{{ global.emptyLine }}</div>
|
||||||
</template>
|
</template>
|
||||||
</van-field>
|
</van-field>
|
||||||
<!--流程说明-->
|
<!--流程说明-->
|
||||||
|
|||||||
@@ -70,7 +70,7 @@
|
|||||||
:border="false">
|
:border="false">
|
||||||
<template v-slot:input>
|
<template v-slot:input>
|
||||||
<file-display v-if="basicInfo.standardTextFileId" :file-ids="basicInfo.standardTextFileId" />
|
<file-display v-if="basicInfo.standardTextFileId" :file-ids="basicInfo.standardTextFileId" />
|
||||||
<div v-else>{{ global.emptyLine }}</div>
|
<div v-else class="readonly-file-display-empty">{{ global.emptyLine }}</div>
|
||||||
</template>
|
</template>
|
||||||
</van-field>
|
</van-field>
|
||||||
<!--相关文件-->
|
<!--相关文件-->
|
||||||
@@ -84,7 +84,7 @@
|
|||||||
:border="false">
|
:border="false">
|
||||||
<template v-slot:input>
|
<template v-slot:input>
|
||||||
<file-display v-if="basicInfo.relatedFile" :file-ids="basicInfo.relatedFile" />
|
<file-display v-if="basicInfo.relatedFile" :file-ids="basicInfo.relatedFile" />
|
||||||
<div v-else>{{ global.emptyLine }}</div>
|
<div v-else class="readonly-file-display-empty">{{ global.emptyLine }}</div>
|
||||||
</template>
|
</template>
|
||||||
</van-field>
|
</van-field>
|
||||||
<!--征求意见结束日期-->
|
<!--征求意见结束日期-->
|
||||||
|
|||||||
@@ -75,7 +75,7 @@
|
|||||||
:border="false">
|
:border="false">
|
||||||
<template v-slot:input v-if="fileField.includes(formItem.dbFieldName)">
|
<template v-slot:input v-if="fileField.includes(formItem.dbFieldName)">
|
||||||
<file-display :file-ids="formInline[formItem.dbFieldName]" v-if="!!formInline[formItem.dbFieldName]" />
|
<file-display :file-ids="formInline[formItem.dbFieldName]" v-if="!!formInline[formItem.dbFieldName]" />
|
||||||
<div v-else>{{ global.emptyLine }}</div>
|
<div v-else class="readonly-file-display-empty">{{ global.emptyLine }}</div>
|
||||||
</template>
|
</template>
|
||||||
</van-field>
|
</van-field>
|
||||||
</van-form>
|
</van-form>
|
||||||
|
|||||||
Reference in New Issue
Block a user