projectDetail.vue
6.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
<template>
<div class="project_container">
<NafmHeader navClass="nafmii-head-bg3" title="项目详情" />
<main class="project_content">
<h2 class="title">
{{detailInfo.title}}
</h2>
<p class="status">
<span>
{{detailInfo.status}}
</span>
</p>
<section class="basic_info">
<h3 class="section_title">
项目基本信息
</h3>
<div class="basic_content">
<p>
<span class="item_title">企业名称</span>
<span class="item_info">{{detailInfo.basicInfo.companyName}}</span>
</p>
<p>
<span class="item_title">品种</span>
<span class="item_info">{{detailInfo.basicInfo.variety}}</span>
</p>
<p>
<span class="item_title">注册或备案</span>
<span class="item_info">{{detailInfo.basicInfo.record}}</span>
</p>
<p>
<span class="item_title">注册金额(亿元)</span>
<span class="item_info">{{detailInfo.basicInfo.registeredCapital}}</span>
</p>
<p>
<span class="item_title">主承销商</span>
<span class="item_info">{{detailInfo.basicInfo.leadUnderwriter}}</span>
</p>
<p>
<span class="item_title">会计师事务所</span>
<span class="item_info">{{detailInfo.basicInfo.CPAFirm}}</span>
</p>
<p>
<span class="item_title">律师事务所</span>
<span class="item_info">{{detailInfo.basicInfo.lawFirm}}</span>
</p>
<p>
<span class="item_title">注册通知书文号</span>
<span class="item_info">{{detailInfo.basicInfo.registrationNoticeNo}}</span>
</p>
<p>
<span class="item_title">更新日期</span>
<span class="item_info">{{detailInfo.basicInfo.updateTime}}</span>
</p>
</div>
</section>
<section class="msg_open">
<h3 class="section_title">
信息披露
</h3>
<nav>
<span :class="actNav === item.id ? 'act_nav' : ''" v-for="item in navList" :key="item.id" @click="navSwitch(item.id)">{{item.name}}</span>
</nav>
<main class="msg_content">
<div class="msg_item" v-for="item in msgList" :key="item.id">
<p class="msg_title">
<van-icon :name="PDFIcon" />
<a href="">{{item.title}}</a>
</p>
<p class="update_time">
<van-icon :name="clockIcon" />
更新时间:
{{item.updateTime}}
</p>
</div>
</main>
</section>
</main>
</div>
</template>
<script>
export default {
name: 'ProjectDetail',
data() {
return {
detailInfo: {
title: '南京市高淳区城市投资有限公司关于发行2021年度第一期中期票据的注册文件',
status: '已受理',
basicInfo: {
companyName: '南京市高淳区城市投资有限公司',
variety: 'MTN',
record: '注册',
registeredCapital: '8',
leadUnderwriter: 'XXX',
CPAFirm: 'XXX',
lawFirm: 'XXX',
registrationNoticeNo: '中市协注[2021]MTN199号',
updateTime: '2021.05.01'
}
},
navList: [{
name: '初稿',
id: 'first',
}, {
name: '上会稿',
id: 'middle'
}, {
name: '终稿',
id: 'final'
}],
actNav: 'first',
msgList: [{
title: '【初稿】无锡产业发展集团有限公司2020年三季度财务报表',
updateTime: '2021-4-12 ',
id: 1
}, {
title: '【初稿】无锡产业发展集团有限公司2020年三季度财务报表',
updateTime: '2021-4-12 ',
id: 2
}],
PDFIcon: require('@/assets/icon/pdf.png'),
clockIcon: require('@/assets/icon/icon_clock.png')
}
},
methods: {
navSwitch(actNav) {
this.actNav = actNav
}
}
}
</script>
<style lang="less" scoped>
.project_container {
width: 100%;
height: 100%;
.project_content {
width: 384px;
margin: 16px auto 0;
.title {
color: #333333;
font-size: 19px;
font-family: PingFangSC-Semibold;
}
.status {
text-align: right;
padding: 13px 0;
span {
display: inline-block;
width: 51px;
text-align: center;
font-size: 11px;
line-height: 20px;
color: #ffffff;
border-radius: 10px;
background-color: #0079ff;
}
}
.section_title {
color: #222222;
font-size: 16px;
font-family: PingFangSC-Semibold;
line-height: 16px;
padding-left: 6px;
border-left: 2.5px solid #135faa;
}
.basic_info {
padding: 5px 0;
.basic_content {
margin: 15px 0;
padding: 0px 15px;
border-radius: 8px;
background-color: #ffffff;
box-shadow: 0px 0px 6px 0px rgba(2, 15, 41, 0.06);
p {
display: flex;
justify-content: space-between;
font-size: 14px;
line-height: 34px;
.item_title {
color: #666666;
}
.item_info {
color: #333333;
}
}
}
}
.msg_open {
nav {
text-align: center;
margin: 20px 0;
span {
color: #666666;
font-size: 12px;
margin: 0 24px;
}
.act_nav {
color: #135faa;
font-size: 14px;
font-family: PingFangSC-Semibold;
border-bottom: 2.5px solid #135faa;
}
}
.msg_item {
border-radius: 8px;
background-color: #ffffff;
box-shadow: 0px 0px 6px 0px rgba(2, 15, 41, 0.06);
margin-bottom: 10px;
}
.msg_title {
font-size: 13px;
margin-left: 15px;
border-bottom: 0.5px solid rgba(2, 15, 41, 0.06);
display: flex;
padding: 10px 0;
.van-icon {
font-size: 35px;
}
a {
color: #388de2;
padding: 0 15px;
}
}
.update_time {
display: flex;
align-items: center;
text-align: right;
color: #888d8d;
font-size: 12px;
padding: 10px 15px;
}
}
}
}
</style>