|
@@ -1,324 +1,362 @@
|
1
|
1
|
<template>
|
2
|
|
- <div class="articleDetail">
|
|
2
|
+ <div class="entity-detail">
|
3
|
3
|
<el-card v-loading="loading">
|
4
|
|
- <h3 class="first">{{ articleInfo.title }}</h3>
|
5
|
|
- <!-- <el-divider></el-divider> -->
|
6
|
|
- <p class="second">
|
7
|
|
- <span
|
8
|
|
- >主题分类:<i class="second-content">{{
|
9
|
|
- articleInfo.classify
|
10
|
|
- }}</i></span
|
11
|
|
- >
|
12
|
|
- <span
|
13
|
|
- >办文单位:<i class="second-content">{{ articleInfo.unit }}</i></span
|
14
|
|
- >
|
15
|
|
- <span v-if="articleInfo.contentNum"
|
16
|
|
- >文号:<i class="second-content">{{ articleInfo.contentNum }}</i></span
|
17
|
|
- >
|
18
|
|
- </p>
|
19
|
|
- <!-- <el-divider></el-divider> -->
|
20
|
|
- <div class="third">
|
21
|
|
- <p class="third-top" v-if="articleInfo.source">
|
22
|
|
- <span>来源:{{ articleInfo.source }}</span>
|
23
|
|
- </p>
|
24
|
|
- <!-- 文本类型显示具体内容 -->
|
25
|
|
- <div class="content" v-if="articleInfo.type === false">
|
26
|
|
- <div v-html="articleInfo.content"></div>
|
27
|
|
- </div>
|
28
|
|
- <!-- 文件类型显示文件名字 -->
|
29
|
|
- <div v-if="articleInfo.type === true" class="file-type">
|
30
|
|
- <div
|
31
|
|
- v-for="item in articleInfo.fileList"
|
32
|
|
- :key="item.id"
|
33
|
|
- class="file-list"
|
34
|
|
- >
|
35
|
|
- <el-row style="display: flex;align-items: center;">
|
36
|
|
- <el-col :span="6" class="file_name">
|
37
|
|
- <el-tooltip effect="dark" :disabled="isShowTooltip" :content="item.fileName"
|
38
|
|
- placement="bottom">
|
39
|
|
- <p class="over_flow" @mouseover="onMouseOver(item.id)">
|
40
|
|
- <span
|
41
|
|
- class="file_wrap"
|
42
|
|
- v-if="item.suffix === 'png' || item.suffix === 'pdf'"
|
43
|
|
- @click="previewFile(item)"
|
44
|
|
- :ref="item.id"
|
45
|
|
- >{{ item.fileName }}</span
|
46
|
|
- >
|
47
|
|
- <span v-else :ref="item.id">{{ item.fileName }}</span>
|
48
|
|
- </p>
|
49
|
|
- </el-tooltip>
|
50
|
|
- </el-col>
|
51
|
|
- <el-col :span="8" style="margin-left: 10px;">
|
52
|
|
- <el-button
|
53
|
|
- size="mini"
|
54
|
|
- @click="downloadFile(item)"
|
55
|
|
- :disabled="!item.download"
|
56
|
|
- >下载</el-button
|
57
|
|
- >
|
58
|
|
- </el-col>
|
59
|
|
- </el-row>
|
60
|
|
- <!-- png,pdf格式的文件可在浏览器预览 -->
|
|
4
|
+ <div class="back-button" @click="handleReturn">
|
|
5
|
+ <img :src="backIcon" alt="">
|
|
6
|
+ 返回
|
|
7
|
+ </div>
|
|
8
|
+ <div class="basic-info">
|
|
9
|
+ <div class="basic-info-content" v-for="(item, index) in basicInfo" :key="index">
|
|
10
|
+ <div class="basic-info-title">
|
|
11
|
+ <div class="left">{{ item.title }}</div>
|
|
12
|
+ <div class="right">
|
|
13
|
+ <span v-if="item.isListing" class="right-item">
|
|
14
|
+ <img src="../../../assets/image/u1723.png" alt="">
|
|
15
|
+ 已上架
|
|
16
|
+ </span>
|
|
17
|
+ <span @click.stop="">
|
|
18
|
+ <span v-if="!item.isListing" class="active right-item" @click="handleUp(item.id)">
|
|
19
|
+ <img src="../../../assets/image/u1723.png" alt="">
|
|
20
|
+ 上架
|
|
21
|
+ </span>
|
|
22
|
+ </span>
|
|
23
|
+ <span v-if="!item.isListing" class="right-item">
|
|
24
|
+ <img src="../../../assets/image/u1720.png" alt="">
|
|
25
|
+ 已下架
|
|
26
|
+ </span>
|
|
27
|
+ <span @click.stop="">
|
|
28
|
+ <span v-if="item.isListing" class="active right-item" @click="handleDown(item.id)">
|
|
29
|
+ <img src="../../../assets/image/u1720.png" alt="">
|
|
30
|
+ 下架
|
|
31
|
+ </span>
|
|
32
|
+ </span>
|
|
33
|
+ </div>
|
61
|
34
|
</div>
|
|
35
|
+ <el-row :gutter="20">
|
|
36
|
+ <el-col :span="12" v-for="(cItem, cIndex) in item.content" :key="cIndex">
|
|
37
|
+ <div class="basic-info-item">
|
|
38
|
+ <div class="basic-info-label">{{ cItem.label }}:</div>
|
|
39
|
+ <div class="bacis-info-value">
|
|
40
|
+ <template v-if="cItem.key === 'resultNormalSample'">
|
|
41
|
+ <el-input type="textarea" :value="renderBasicValue(cItem.key)" disabled rows="6"
|
|
42
|
+ :resize="false"></el-input>
|
|
43
|
+ </template>
|
|
44
|
+ <template v-else>
|
|
45
|
+ {{ renderBasicValue(cItem.key) }}
|
|
46
|
+ </template>
|
|
47
|
+ </div>
|
|
48
|
+ </div>
|
|
49
|
+ </el-col>
|
|
50
|
+ </el-row>
|
62
|
51
|
</div>
|
63
|
52
|
</div>
|
64
|
|
- <!-- 文本类型显示附件 -->
|
65
|
|
- <div
|
66
|
|
- class="forth"
|
67
|
|
- v-if="
|
68
|
|
- articleInfo.type === false &&
|
69
|
|
- articleInfo.fileList &&
|
70
|
|
- articleInfo.fileList.length > 0
|
71
|
|
- "
|
72
|
|
- >
|
73
|
|
- <el-row>
|
74
|
|
- <el-col :span="2">附件:</el-col>
|
75
|
|
- <el-col :span="20">
|
76
|
|
- <div
|
77
|
|
- v-for="item in articleInfo.fileList"
|
78
|
|
- :key="item.id"
|
79
|
|
- class="file-list"
|
80
|
|
- >
|
81
|
|
- <!-- png,pdf格式的文件可在浏览器预览 -->
|
82
|
|
- <el-row>
|
83
|
|
- <el-col :span="10" class="file_name">
|
84
|
|
- <el-tooltip effect="dark" :disabled="isShowTooltip" :content="item.fileName"
|
85
|
|
- placement="bottom">
|
86
|
|
- <p class="over_flow" @mouseover="onMouseOver(item.id)">
|
87
|
|
- <span
|
88
|
|
- class="file_wrap"
|
89
|
|
- v-if="item.suffix === 'png' || item.suffix === 'pdf'"
|
90
|
|
- @click="previewFile(item)"
|
91
|
|
- :ref="item.id"
|
92
|
|
- >{{ item.fileName }}</span>
|
93
|
|
- <span v-else :ref="item.id">{{ item.fileName }}</span>
|
94
|
|
- </p>
|
95
|
|
- </el-tooltip>
|
96
|
|
- </el-col>
|
97
|
|
- <el-col :span="8">
|
98
|
|
- <el-button
|
99
|
|
- type="text"
|
100
|
|
- @click="downloadFile(item)"
|
101
|
|
- :disabled="!item.download"
|
102
|
|
- >下载</el-button
|
103
|
|
- >
|
104
|
|
- </el-col>
|
105
|
|
- </el-row>
|
106
|
|
- </div>
|
107
|
|
- </el-col>
|
108
|
|
- </el-row>
|
|
53
|
+ <div class="table-wrapper" v-if="['theme', 'special', 'api', 'message'].includes(type)">
|
|
54
|
+ <div class="table-wrapper-title">
|
|
55
|
+ <span>{{ type === 'api' ? 'API请求参数列表' : '实体属性' }}</span>
|
|
56
|
+ <span v-if="type === 'theme' || type === 'special'">({{ tableData.length }})</span>
|
|
57
|
+ </div>
|
|
58
|
+ <div class="table-content">
|
|
59
|
+ <el-table :data="tableData">
|
|
60
|
+ <el-table-column v-for="(item, index) in columns" :key="index" :label="item.label" :prop="item.key">
|
|
61
|
+ <template slot-scope="scope">
|
|
62
|
+ <span v-if="item.key === 'nameCh'" style="color: #0033FF;">{{ scope.row.nameCh }}</span>
|
|
63
|
+ <span v-else-if="item.key === 'accessPolicy'">{{ scope.row.accessPolicy === 'all' ? '发布+订阅' :
|
|
64
|
+ scope.row.accessPolicy === 'pub' ? ' 发布' : '订阅' }}</span>
|
|
65
|
+ <span v-else>{{ scope.row[item.key] }}</span>
|
|
66
|
+ </template>
|
|
67
|
+ </el-table-column>
|
|
68
|
+ </el-table>
|
|
69
|
+ <div class="table-pagination">
|
|
70
|
+ <el-pagination layout="prev, pager, next" :total="total" @current-change="handlePageChange"
|
|
71
|
+ :current-page.sync="pageNum" :page-size.sync="pageSize">
|
|
72
|
+ </el-pagination>
|
|
73
|
+ </div>
|
|
74
|
+ </div>
|
109
|
75
|
</div>
|
110
|
76
|
</el-card>
|
111
|
77
|
</div>
|
112
|
78
|
</template>
|
113
|
79
|
|
114
|
80
|
<script>
|
115
|
|
-import axios from "axios";
|
116
|
|
-import articleApi from "@/api/index/article.js";
|
|
81
|
+import api from "@/api/homepage/entityDetail.js";
|
|
82
|
+import data from './entityDetailData'
|
|
83
|
+import collectPentacle from '@/assets/image/entityDetail/u1517.svg'
|
|
84
|
+import unCollectPentacle from '@/assets/image/entityDetail/u3076.svg'
|
|
85
|
+import backIcon from '@/assets/image/entityDetail/u1522.png'
|
|
86
|
+
|
117
|
87
|
export default {
|
118
|
88
|
data() {
|
|
89
|
+ let baseInfo = {}
|
|
90
|
+ if (['theme', 'special'].includes(this.$route.query.type)) {
|
|
91
|
+ baseInfo = data.theme
|
|
92
|
+ } else {
|
|
93
|
+ baseInfo = data[this.$route.query.type]
|
|
94
|
+ }
|
119
|
95
|
return {
|
120
|
96
|
loading: false,
|
121
|
97
|
articleInfo: {},
|
122
|
|
- articleId: "",
|
123
|
|
- isShowTooltip: true
|
|
98
|
+ id: this.$route.query.id,
|
|
99
|
+ type: this.$route.query.type, // theme: 主题库,special:专题库,target:指标,api:api服务,message:消息队列
|
|
100
|
+ basicInfo: baseInfo.basic || [],
|
|
101
|
+ columns: baseInfo.columns || [],
|
|
102
|
+ basicData: {},
|
|
103
|
+ tableData: [],
|
|
104
|
+ collectPentacle,
|
|
105
|
+ unCollectPentacle,
|
|
106
|
+ backIcon,
|
|
107
|
+ pageNum: 1,
|
|
108
|
+ pageSize: 10,
|
|
109
|
+ total: 0
|
124
|
110
|
};
|
125
|
111
|
},
|
126
|
|
- watch: {
|
127
|
|
- "$route.query.id": {
|
128
|
|
- handler(val) {
|
129
|
|
- document.documentElement.scrollTop = 0;
|
130
|
|
- this.articleId = val;
|
131
|
|
- this.getArticleInfo();
|
132
|
|
- }
|
133
|
|
- }
|
134
|
|
- },
|
135
|
|
- created() {
|
136
|
|
- this.articleId = this.$route.query.id;
|
137
|
|
- this.getArticleInfo();
|
|
112
|
+ watch: {},
|
|
113
|
+ mounted() {
|
|
114
|
+ this.getData()
|
138
|
115
|
},
|
139
|
|
- mounted() {},
|
140
|
116
|
methods: {
|
141
|
|
- getArticleInfo() {
|
142
|
|
- this.loading = true;
|
143
|
|
- articleApi
|
144
|
|
- .detailIndexContent(this.articleId)
|
145
|
|
- .then(res => {
|
146
|
|
- if (res.success) {
|
147
|
|
- this.articleInfo = res.data;
|
148
|
|
- } else {
|
149
|
|
- this.$message.error(res.message);
|
150
|
|
- }
|
151
|
|
- this.loading = false;
|
152
|
|
- })
|
153
|
|
- .catch(() => {
|
154
|
|
- this.$message.error("请求获取文章详情接口异常");
|
155
|
|
- this.loading = false;
|
156
|
|
- });
|
|
117
|
+ getData() {
|
|
118
|
+ switch (this.type) {
|
|
119
|
+ case 'theme' || 'special':
|
|
120
|
+ this.getThemeData()
|
|
121
|
+ break;
|
|
122
|
+ case 'target':
|
|
123
|
+ this.getTargetData()
|
|
124
|
+ break;
|
|
125
|
+ case 'api':
|
|
126
|
+ this.getApiData()
|
|
127
|
+ break
|
|
128
|
+ case 'message':
|
|
129
|
+ this.getMessageData()
|
|
130
|
+ break
|
|
131
|
+ default:
|
|
132
|
+ break;
|
|
133
|
+ }
|
157
|
134
|
},
|
158
|
|
- // 预览文件
|
159
|
|
- previewFile(file) {
|
160
|
|
- // const url = `${this.baseUrl}/xyjc/index-files/download/${file.id}`;
|
161
|
|
- // axios({
|
162
|
|
- // url: url
|
163
|
|
- // })
|
164
|
|
- // .then(res => {
|
165
|
|
- // console.log(res);
|
166
|
|
- // })
|
167
|
|
- // .catch(() => {
|
168
|
|
- // this.$message.error("请求预览文件接口异常");
|
169
|
|
- // });
|
170
|
|
- window.open(`${this.baseUrl}/xyjc/index-files/view/${file.id}`, "_blank");
|
171
|
|
- // window.open(`${this.baseUrl}/file/${file.fileNewname}`, "_blank");
|
|
135
|
+ getThemeData() {
|
|
136
|
+ api.getThemeInfo({
|
|
137
|
+ id: this.id
|
|
138
|
+ }).then(res => {
|
|
139
|
+ this.basicData = res.data
|
|
140
|
+ })
|
|
141
|
+ this.getThemeTableData()
|
172
|
142
|
},
|
173
|
|
- // 下载文件
|
174
|
|
- downloadFile(file) {
|
175
|
|
- console.log(file);
|
176
|
|
- const id = file.id;
|
177
|
|
- const url = `${this.baseUrl}/xyjc/index-files/download/${id}`;
|
178
|
|
- axios({
|
179
|
|
- url: url,
|
180
|
|
- headers: {
|
181
|
|
- "content-type": "application/json"
|
182
|
|
- },
|
183
|
|
- responseType: "blob"
|
|
143
|
+ getThemeTableData() {
|
|
144
|
+ api.getThemeAttributesList({
|
|
145
|
+ tableModelId: this.id,
|
|
146
|
+ pageNum: this.pageNum,
|
|
147
|
+ pageSize: this.pageSize
|
|
148
|
+ }).then(res => {
|
|
149
|
+ this.tableData = res.data.records
|
|
150
|
+ this.total = res.data.total
|
184
|
151
|
})
|
185
|
|
- .then(res => {
|
186
|
|
- if (res.status === 200) {
|
187
|
|
- const data = res.data,
|
188
|
|
- blob = new Blob([data]),
|
189
|
|
- fileName = file.fileName;
|
190
|
|
- if ("download" in document.createElement("a")) {
|
191
|
|
- // 非IE下载
|
192
|
|
- const elink = document.createElement("a");
|
193
|
|
- elink.download = fileName;
|
194
|
|
- elink.style.display = "none";
|
195
|
|
- elink.href = URL.createObjectURL(blob);
|
196
|
|
- document.body.appendChild(elink);
|
197
|
|
- elink.click();
|
198
|
|
- URL.revokeObjectURL(elink.href); // 释放URL 对象
|
199
|
|
- document.body.removeChild(elink);
|
200
|
|
- } else {
|
201
|
|
- // IE10+下载
|
202
|
|
- navigator.msSaveBlob(blob, fileName);
|
203
|
|
- }
|
204
|
|
- } else {
|
205
|
|
- this.$message.error("下载异常");
|
206
|
|
- }
|
207
|
|
- })
|
208
|
|
- .catch(() => {
|
209
|
|
- this.$message.error("请求下载文件接口异常");
|
210
|
|
- });
|
211
|
152
|
},
|
212
|
|
- onMouseOver(str) {
|
213
|
|
- let parentWidth = this.$refs[str][0].parentNode.offsetWidth;
|
214
|
|
- let contentWidth = this.$refs[str][0].offsetWidth;
|
215
|
|
- // 判断是否开启tooltip功能
|
216
|
|
- if (contentWidth > parentWidth) {
|
217
|
|
- this.isShowTooltip = false;
|
218
|
|
- } else {
|
219
|
|
- this.isShowTooltip = true;
|
220
|
|
- }
|
|
153
|
+ getTargetData() {
|
|
154
|
+ api.getIndexInfo({
|
|
155
|
+ id: this.id
|
|
156
|
+ }).then(res => {
|
|
157
|
+ this.basicData = res.data
|
|
158
|
+ })
|
|
159
|
+ },
|
|
160
|
+ getApiData() {
|
|
161
|
+ api.getApiInfo({
|
|
162
|
+ id: this.id
|
|
163
|
+ }).then(res => {
|
|
164
|
+ this.basicData = res.data
|
|
165
|
+ })
|
|
166
|
+ this.getApiTableData()
|
|
167
|
+ },
|
|
168
|
+ getApiTableData() {
|
|
169
|
+ api.getApiReqParamList({
|
|
170
|
+ apiId: this.id,
|
|
171
|
+ pageNum: this.pageNum,
|
|
172
|
+ pageSize: this.pageSize
|
|
173
|
+ }).then(res => {
|
|
174
|
+ this.tableData = res.data.records
|
|
175
|
+ this.total = res.data.total
|
|
176
|
+ })
|
|
177
|
+ },
|
|
178
|
+ getMessageData() {
|
|
179
|
+ api.getMqsInfo({
|
|
180
|
+ id: this.id
|
|
181
|
+ }).then(res => {
|
|
182
|
+ this.basicData = res.data
|
|
183
|
+ })
|
|
184
|
+ this.getMessageTableData()
|
|
185
|
+ },
|
|
186
|
+ getMessageTableData() {
|
|
187
|
+ api.getMqsPrivs({
|
|
188
|
+ mqsName: this.id,
|
|
189
|
+ pageNum: this.pageNum,
|
|
190
|
+ pageSize: this.pageSize
|
|
191
|
+ }).then(res => {
|
|
192
|
+ this.tableData = res.data.records
|
|
193
|
+ this.total = res.data.total
|
|
194
|
+ })
|
|
195
|
+ },
|
|
196
|
+ renderBasicValue(key) {
|
|
197
|
+ if (key === 'l1,l2,l3') {
|
|
198
|
+ let text = `主题域分组:${this.basicData.l1 || '暂无'}>主题域:${this.basicData.l2 || '暂无'}>业务对象:${this.basicData.l3 || '暂无'}`
|
|
199
|
+ return text
|
|
200
|
+ }
|
|
201
|
+ if (key === 'authType') {
|
|
202
|
+ const value = this.basicData.authType
|
|
203
|
+ let text = '暂无'
|
|
204
|
+ switch (value) {
|
|
205
|
+ case 'NONE':
|
|
206
|
+ text = '无认证'
|
|
207
|
+ break;
|
|
208
|
+ case 'APP':
|
|
209
|
+ text = 'APP认证'
|
|
210
|
+ break;
|
|
211
|
+ case 'IAM':
|
|
212
|
+ text = 'IAM认证'
|
|
213
|
+ break;
|
|
214
|
+ case 'AUTHORIZER':
|
|
215
|
+ text = '自定义认证'
|
|
216
|
+ break;
|
|
217
|
+ default:
|
|
218
|
+ break
|
221
|
219
|
}
|
|
220
|
+ return text
|
|
221
|
+ }
|
|
222
|
+ return this.basicData[key] || '暂无'
|
|
223
|
+ },
|
|
224
|
+ handlePageChange() {
|
|
225
|
+ switch (this.type) {
|
|
226
|
+ case 'theme' || 'special':
|
|
227
|
+ this.getThemeTableData()
|
|
228
|
+ break
|
|
229
|
+ case 'api':
|
|
230
|
+ this.getApiTableData()
|
|
231
|
+ break
|
|
232
|
+ case 'message':
|
|
233
|
+ this.getMessageTableData()
|
|
234
|
+ break
|
|
235
|
+ default:
|
|
236
|
+ break
|
|
237
|
+ }
|
|
238
|
+ },
|
|
239
|
+ handleReturn() {
|
|
240
|
+ this.$router.go(-1)
|
|
241
|
+ },
|
|
242
|
+ handleDown() {
|
|
243
|
+ console.log('down')
|
|
244
|
+ },
|
|
245
|
+ handleUp() {
|
|
246
|
+ console.log('up')
|
|
247
|
+ }
|
222
|
248
|
}
|
223
|
249
|
};
|
224
|
250
|
</script>
|
225
|
251
|
|
226
|
252
|
<style lang="scss" scoped>
|
227
|
|
-.articleDetail {
|
228
|
|
- font-size: 16px;
|
229
|
|
- color: #333;
|
230
|
|
- .first {
|
231
|
|
- text-align: center;
|
232
|
|
- font-size: 28px;
|
233
|
|
- font-family: "PingFangSC-Regular", "PingFang SC";
|
234
|
|
- font-weight: normal;
|
235
|
|
- padding: 10px 0;
|
|
253
|
+.back-button {
|
|
254
|
+ padding: 10px;
|
|
255
|
+ cursor: pointer;
|
|
256
|
+ border: 1px solid #333;
|
|
257
|
+ width: fit-content;
|
|
258
|
+ margin-bottom: 10px;
|
|
259
|
+ display: flex;
|
|
260
|
+ align-items: center;
|
|
261
|
+
|
|
262
|
+ img {
|
|
263
|
+ height: 20px;
|
236
|
264
|
}
|
237
|
|
- // .el-divider {
|
238
|
|
- // margin: 15px 0;
|
239
|
|
- // }
|
240
|
|
- .second {
|
241
|
|
- border-top: 1px solid #e4e4e4;
|
242
|
|
- border-bottom: 1px solid #e4e4e4;
|
243
|
|
- padding: 20px 0 40px;
|
244
|
|
- font-size: 16px;
|
245
|
|
- display: flex;
|
246
|
|
- justify-content: space-between;
|
247
|
|
- color: #333;
|
248
|
|
- .second-content {
|
249
|
|
- color: #666;
|
250
|
|
- font-style: normal;
|
251
|
|
- }
|
|
265
|
+}
|
|
266
|
+
|
|
267
|
+.basic-info {
|
|
268
|
+ position: relative;
|
|
269
|
+ border: 1px solid #e4e4e4;
|
|
270
|
+ padding: 20px;
|
|
271
|
+}
|
|
272
|
+
|
|
273
|
+.basic-info-title {
|
|
274
|
+ font-size: 20px;
|
|
275
|
+ color: #333;
|
|
276
|
+ font-weight: 700;
|
|
277
|
+ margin-bottom: 10px;
|
|
278
|
+ margin-top: 10px;
|
|
279
|
+ .left{
|
|
280
|
+ float: left;
|
252
|
281
|
}
|
253
|
|
- .third {
|
254
|
|
- border-bottom: 1px solid #e4e4e4;
|
255
|
|
- padding-bottom: 20px;
|
256
|
|
- .third-top {
|
257
|
|
- padding-top: 20px;
|
258
|
|
- font-size: 16px;
|
259
|
|
- }
|
260
|
|
- /deep/ .content {
|
261
|
|
- margin-top: 25px;
|
262
|
|
- // .title {
|
263
|
|
- // text-align: center;
|
264
|
|
- // font-size: 18px;
|
265
|
|
- // margin-bottom: 20px;
|
266
|
|
- // font-weight: normal;
|
267
|
|
- // }
|
268
|
|
- img {
|
269
|
|
- max-width: 100%;
|
270
|
|
- }
|
271
|
|
- video {
|
272
|
|
- width: 100%;
|
|
282
|
+ .right{
|
|
283
|
+ float: right;
|
|
284
|
+ font-family: 'PingFangSC-Regular', 'PingFang SC', sans-serif;
|
|
285
|
+ font-weight: 400;
|
|
286
|
+ color: #666666;
|
|
287
|
+ font-size: 14px;
|
|
288
|
+ .right-item{
|
|
289
|
+ img{
|
|
290
|
+ width: 24px;
|
|
291
|
+ height: 21px;
|
|
292
|
+ vertical-align: middle;
|
273
|
293
|
}
|
|
294
|
+ margin-right: 10px;
|
274
|
295
|
}
|
275
|
|
- .file-type {
|
276
|
|
- margin-top: 30px;
|
277
|
|
- .file-list {
|
278
|
|
- margin-left: 20px;
|
279
|
|
- .file_wrap {
|
280
|
|
- text-decoration: underline;
|
281
|
|
- color: #0170f0;
|
282
|
|
- }
|
283
|
|
- .download {
|
284
|
|
- margin-left: 15px;
|
285
|
|
- }
|
286
|
|
- .file_wrap:hover {
|
287
|
|
- cursor: pointer;
|
288
|
|
- }
|
289
|
|
- .over_flow {
|
290
|
|
- white-space: nowrap;
|
291
|
|
- overflow: hidden;
|
292
|
|
- text-overflow: ellipsis;
|
293
|
|
- }
|
294
|
|
- }
|
|
296
|
+ .active{
|
|
297
|
+ color: #0000FF;
|
|
298
|
+ z-index: 10;
|
295
|
299
|
}
|
296
|
300
|
}
|
297
|
|
- .forth {
|
298
|
|
- line-height: 30px;
|
299
|
|
- padding: 20px 0 30px;
|
300
|
|
- .file-list {
|
301
|
|
- .file_wrap {
|
302
|
|
- text-decoration: underline;
|
303
|
|
- color: #0170f0;
|
304
|
|
- }
|
305
|
|
- .download {
|
306
|
|
- margin-left: 15px;
|
307
|
|
- }
|
308
|
|
- .file_wrap:hover {
|
309
|
|
- cursor: pointer;
|
310
|
|
- }
|
311
|
|
- // .file_name {
|
312
|
|
- // white-space: nowrap;
|
313
|
|
- // overflow: hidden;
|
314
|
|
- // text-overflow: ellipsis;
|
315
|
|
- // }
|
316
|
|
- .over_flow {
|
317
|
|
- white-space: nowrap;
|
318
|
|
- overflow: hidden;
|
319
|
|
- text-overflow: ellipsis;
|
320
|
|
- }
|
321
|
|
- }
|
|
301
|
+}
|
|
302
|
+
|
|
303
|
+.collect-button {
|
|
304
|
+ display: flex;
|
|
305
|
+ position: absolute;
|
|
306
|
+ right: 20px;
|
|
307
|
+ top: 20px;
|
|
308
|
+ align-items: center;
|
|
309
|
+ cursor: pointer;
|
|
310
|
+}
|
|
311
|
+
|
|
312
|
+.basic-info-item {
|
|
313
|
+ display: flex;
|
|
314
|
+ align-items: center;
|
|
315
|
+ font-size: 20px;
|
|
316
|
+ color: #333;
|
|
317
|
+}
|
|
318
|
+
|
|
319
|
+.basic-info-label {
|
|
320
|
+ white-space: nowrap;
|
|
321
|
+}
|
|
322
|
+
|
|
323
|
+.bacis-info-value {
|
|
324
|
+ flex: 1;
|
|
325
|
+}
|
|
326
|
+
|
|
327
|
+.table-wrapper-title {
|
|
328
|
+ font-size: 20px;
|
|
329
|
+ padding: 20px;
|
|
330
|
+ border: 1px solid #e4e4e4;
|
|
331
|
+ display: flex;
|
|
332
|
+
|
|
333
|
+ span {
|
|
334
|
+ border-bottom: 2px solid #0066ff;
|
|
335
|
+ }
|
|
336
|
+}
|
|
337
|
+
|
|
338
|
+.table-content {
|
|
339
|
+ border: 1px solid #e4e4e4;
|
|
340
|
+ padding: 20px;
|
|
341
|
+}
|
|
342
|
+
|
|
343
|
+.table-pagination {
|
|
344
|
+ display: flex;
|
|
345
|
+ flex-direction: row-reverse;
|
|
346
|
+}
|
|
347
|
+
|
|
348
|
+/deep/ .el-table th.el-table__cell {
|
|
349
|
+ background-color: #f2f2f2;
|
|
350
|
+}
|
|
351
|
+
|
|
352
|
+/deep/ .el-table {
|
|
353
|
+ font-size: 24px;
|
|
354
|
+}
|
|
355
|
+.clearfix{
|
|
356
|
+ &:after {
|
|
357
|
+ content: "";
|
|
358
|
+ display: table;
|
|
359
|
+ clear: both;
|
322
|
360
|
}
|
323
|
361
|
}
|
324
|
362
|
</style>
|