布局符合性流程

This commit is contained in:
qq787203167
2022-05-06 17:44:33 +08:00
parent 9cbc17ec4a
commit 7b365267cf
11 changed files with 988 additions and 5 deletions
@@ -8,13 +8,25 @@
<div class="content-text">
<div class="text-field" v-for="(item,index) in standardContentList" :key="index">
<span class="text-field-left" :title="item.title">{{item.title}}</span>
<span class="text-field-right" :title="queryForm[item.value]"
<span class="text-field-right text-field-right-url"
:title="queryForm[item.value]"
@click="urlClick(queryForm[item.value])"
v-if="item.type == 1"
>{{queryForm[item.value]}}</span>
<span class="text-field-right"
:title="queryForm[item.value]" v-else
>{{queryForm[item.value]}}</span>
</div>
</div>
</div>
</template>
<!--
type:
1打开新页面
2显示文件
3点击事件处理\需要传点击事件
-->
<script>
import { getAction, postAction, downloadFile, putAction } from '@/api/manage'
@@ -44,7 +56,13 @@
mounted() {
this.queryForm = this.standardContentQuery
},
methods: {}
methods: {
urlClick(val) {
if (val) {
window.open(val)
}
}
}
}
</script>
@@ -98,6 +116,11 @@
color: #040B29;
font-weight: 400;
}
.text-field-right-url {
color: #00B3BE !important;
cursor: pointer;
}
}
}
</style>