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