修改bug 56447 资料中心-资料详情,UI问题
This commit is contained in:
@@ -4,17 +4,18 @@
|
|||||||
<div class="back" title="返回" @click="back">
|
<div class="back" title="返回" @click="back">
|
||||||
<i class="el-icon-back"></i>
|
<i class="el-icon-back"></i>
|
||||||
</div>
|
</div>
|
||||||
<div class="title">
|
</div>
|
||||||
{{ detailInfoForm.dataTitle + '-详情' }}
|
<!--title 标题-->
|
||||||
</div>
|
<div class="details-header">
|
||||||
|
<span>
|
||||||
|
{{detailInfoForm.dataTitle}}
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<transition name="el-zoom-in-top">
|
<transition name="el-zoom-in-top">
|
||||||
<div class="transition-box">
|
<div class="transition-box">
|
||||||
<p class="transition-box-p">
|
<p class="transition-box-p">
|
||||||
<label class="transition-box-label">类型:</label>
|
<label class="transition-box-label">类型:</label>
|
||||||
<span class="transition-box-span">
|
<span class="transition-box-span">{{ detailInfoForm.dataType }}</span>
|
||||||
{{ detailInfoForm.dataType }}
|
|
||||||
</span>
|
|
||||||
</p>
|
</p>
|
||||||
<p class="transition-box-p">
|
<p class="transition-box-p">
|
||||||
<label class="transition-box-label">资料标题:</label>
|
<label class="transition-box-label">资料标题:</label>
|
||||||
@@ -204,8 +205,8 @@ export default {
|
|||||||
|
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.detailInfoId = this.$route.params.id
|
this.detailInfoId = this.$route.query.id
|
||||||
console.log('13', this.$route.params.id)
|
console.log('13', this.$route.query.id)
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
let fileId
|
let fileId
|
||||||
@@ -250,15 +251,14 @@ export default {
|
|||||||
.transition-box {
|
.transition-box {
|
||||||
padding: 0 10% 0 10%;
|
padding: 0 10% 0 10%;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
font-size: 28px;
|
font-size: 16px;
|
||||||
|
|
||||||
.transition-box-p {
|
.transition-box-p {
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
|
border-bottom: 1px solid #E5E5E5;
|
||||||
.transition-box-label {
|
.transition-box-label {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
font-weight: bolder;
|
width: 100px;
|
||||||
width: 200px;
|
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -266,6 +266,8 @@ export default {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
color: #7e8083;
|
color: #7e8083;
|
||||||
width: calc(~'100% - 100px');
|
width: calc(~'100% - 100px');
|
||||||
|
word-break: break-all;
|
||||||
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
.file-box {
|
.file-box {
|
||||||
@@ -277,6 +279,7 @@ export default {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: #4498f0;
|
color: #4498f0;
|
||||||
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
@@ -309,4 +312,18 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
.details-header {
|
||||||
|
padding: 34px 20%;
|
||||||
|
font-size: 20px;
|
||||||
|
font-weight: bold;
|
||||||
|
color: #555555;
|
||||||
|
text-align: center;
|
||||||
|
word-break: break-all;
|
||||||
|
white-space: pre-wrap;
|
||||||
|
& > span {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -134,12 +134,14 @@
|
|||||||
prop="dataType"
|
prop="dataType"
|
||||||
width="250"
|
width="250"
|
||||||
label="类型"
|
label="类型"
|
||||||
|
:show-overflow-tooltip="true"
|
||||||
align="center">
|
align="center">
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column
|
<el-table-column
|
||||||
prop="dataTitle"
|
prop="dataTitle"
|
||||||
min-width="250"
|
min-width="250"
|
||||||
label="资料标题"
|
label="资料标题"
|
||||||
|
:show-overflow-tooltip="true"
|
||||||
align="center">
|
align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span @click.stop="toDetail(scope.row)" style="cursor:pointer;color: #409eff">{{ scope.row.dataTitle }}</span>
|
<span @click.stop="toDetail(scope.row)" style="cursor:pointer;color: #409eff">{{ scope.row.dataTitle }}</span>
|
||||||
@@ -602,7 +604,7 @@ export default {
|
|||||||
toDetail(row){
|
toDetail(row){
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: "dataCenterDetail",
|
name: "dataCenterDetail",
|
||||||
params: {
|
query: {
|
||||||
id: row.id
|
id: row.id
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user