|
@@ -0,0 +1,290 @@
|
|
1
|
+<template>
|
|
2
|
+ <div class="order">
|
|
3
|
+ <div class="conentBox">
|
|
4
|
+ <div class="conent">
|
|
5
|
+ <div class="header">资产信息</div>
|
|
6
|
+ <div>
|
|
7
|
+ <div class="label headtop" id="info">{{result[0]}}</div>
|
|
8
|
+
|
|
9
|
+ <div class="info">
|
|
10
|
+ <p>
|
|
11
|
+ <span class="fl">编码:</span>
|
|
12
|
+ <span class="fr">{{result[1]}}</span>
|
|
13
|
+ </p>
|
|
14
|
+ <p>
|
|
15
|
+ <span class="fl">型号:</span>
|
|
16
|
+ <span class="fr">{{result[2]}}</span>
|
|
17
|
+ </p>
|
|
18
|
+ <p>
|
|
19
|
+ <span class="fl">序列号:</span>
|
|
20
|
+ <span class="fr">{{result[3]}}</span>
|
|
21
|
+ </p>
|
|
22
|
+ <p>
|
|
23
|
+ <span class="fl">用途:</span>
|
|
24
|
+ <span class="fr">{{result[4]}}</span>
|
|
25
|
+ </p>
|
|
26
|
+ <p>
|
|
27
|
+ <span class="fl">IP:</span>
|
|
28
|
+ <span class="fr">{{result[5]}}</span>
|
|
29
|
+ </p>
|
|
30
|
+ <p>
|
|
31
|
+ <span class="fl">位置:</span>
|
|
32
|
+ <span class="fr">{{result[6]}}</span>
|
|
33
|
+ </p>
|
|
34
|
+ </div>
|
|
35
|
+ </div>
|
|
36
|
+ </div>
|
|
37
|
+ </div>
|
|
38
|
+ </div>
|
|
39
|
+</template>
|
|
40
|
+
|
|
41
|
+<script>
|
|
42
|
+ export default {
|
|
43
|
+ data(){
|
|
44
|
+ return {
|
|
45
|
+ result:[]
|
|
46
|
+ }
|
|
47
|
+ },
|
|
48
|
+ methods:{
|
|
49
|
+
|
|
50
|
+ },
|
|
51
|
+ created(){
|
|
52
|
+ this.result = JSON.parse(this.$route.params.data);
|
|
53
|
+ }
|
|
54
|
+ }
|
|
55
|
+</script>
|
|
56
|
+
|
|
57
|
+<style lang="less" scoped>
|
|
58
|
+i.iconfont.blue {
|
|
59
|
+ color: #005395;
|
|
60
|
+}
|
|
61
|
+.order {
|
|
62
|
+ .header {
|
|
63
|
+ width: 100%;
|
|
64
|
+ height: 0.88rem;
|
|
65
|
+ line-height: 0.88rem;
|
|
66
|
+ text-align: center;
|
|
67
|
+ color: #fff;
|
|
68
|
+ font-size: 0.37rem;
|
|
69
|
+ background: linear-gradient(#2e2f32, #414246);
|
|
70
|
+ position: fixed;
|
|
71
|
+ top: 0;
|
|
72
|
+ z-index: 6;
|
|
73
|
+ }
|
|
74
|
+ .navBar {
|
|
75
|
+ width: 100%;
|
|
76
|
+ height: 0.96rem;
|
|
77
|
+ line-height: 0.96rem;
|
|
78
|
+ background-color: #fafafa;
|
|
79
|
+ font-size: 0.28rem;
|
|
80
|
+ position: fixed;
|
|
81
|
+ top: 0.88rem;
|
|
82
|
+
|
|
83
|
+ div {
|
|
84
|
+ width: 33.33%;
|
|
85
|
+ text-align: center;
|
|
86
|
+ &.p50{
|
|
87
|
+ width: 49.99% ;
|
|
88
|
+ }
|
|
89
|
+ a {
|
|
90
|
+ display: inline-block;
|
|
91
|
+ height: 0.9rem;
|
|
92
|
+ width: 1.7rem;
|
|
93
|
+ padding: 0 0.1rem;
|
|
94
|
+ &.active {
|
|
95
|
+ color: #005395;
|
|
96
|
+ border-bottom: 0.06rem solid #005395;
|
|
97
|
+ }
|
|
98
|
+ }
|
|
99
|
+ }
|
|
100
|
+ }
|
|
101
|
+
|
|
102
|
+ .headtop {
|
|
103
|
+ margin-top: 0.88rem;
|
|
104
|
+ }
|
|
105
|
+ .label {
|
|
106
|
+ background-color: #eeeeee;
|
|
107
|
+ height: 0.6rem;
|
|
108
|
+ line-height: 0.58rem;
|
|
109
|
+ padding-left: 0.2rem;
|
|
110
|
+ font-size: 0.24rem;
|
|
111
|
+ color: #666666;
|
|
112
|
+ span {
|
|
113
|
+ font-size: 0.2rem;
|
|
114
|
+ display: inline-block;
|
|
115
|
+ margin-left: 0.08rem;
|
|
116
|
+ color: #999999;
|
|
117
|
+ }
|
|
118
|
+ &.formLabel {
|
|
119
|
+ background-color: #fff;
|
|
120
|
+ }
|
|
121
|
+ }
|
|
122
|
+ .conentBox {
|
|
123
|
+ width: 100%;
|
|
124
|
+ .conent {
|
|
125
|
+ font-size: 0.32rem;
|
|
126
|
+ font-weight: 400;
|
|
127
|
+ line-height: 0.45rem;
|
|
128
|
+ // border-bottom: 0.16rem solid #e5e5e5;
|
|
129
|
+
|
|
130
|
+ .shows {
|
|
131
|
+ display: none;
|
|
132
|
+ }
|
|
133
|
+ .boeder_B {
|
|
134
|
+ border-bottom: 0.01rem solid #ccc;
|
|
135
|
+ }
|
|
136
|
+ p {
|
|
137
|
+ &.desc{
|
|
138
|
+ overflow: hidden;
|
|
139
|
+ }
|
|
140
|
+ .grayFont {
|
|
141
|
+ width: 75%;
|
|
142
|
+ text-align: right;
|
|
143
|
+ overflow-x: scroll;
|
|
144
|
+ }
|
|
145
|
+ }
|
|
146
|
+ .bottom {
|
|
147
|
+ overflow: hidden;
|
|
148
|
+ line-height: 0.86rem;
|
|
149
|
+ border-bottom: 0.01rem solid #e6e6e6;
|
|
150
|
+ font-size: 0.24rem;
|
|
151
|
+ color: #999;
|
|
152
|
+ padding: 0 0.24rem 0 0.48rem;
|
|
153
|
+ }
|
|
154
|
+ .info {
|
|
155
|
+ color: #999;
|
|
156
|
+ font-size: 0.28rem;
|
|
157
|
+ overflow: hidden;
|
|
158
|
+ .head {
|
|
159
|
+ border-bottom: 0.01rem solid #e6e6e6;
|
|
160
|
+ p {
|
|
161
|
+ padding: 0.24rem 0.3rem;
|
|
162
|
+ i {
|
|
163
|
+ color: #00559d;
|
|
164
|
+ }
|
|
165
|
+ }
|
|
166
|
+ }
|
|
167
|
+ p {
|
|
168
|
+ line-height: 0.4rem;
|
|
169
|
+ padding: 0.1rem 0.24rem;
|
|
170
|
+ overflow: hidden;
|
|
171
|
+ .overflowEllipsis2 {
|
|
172
|
+ margin-left: 1.96rem;
|
|
173
|
+ }
|
|
174
|
+ }
|
|
175
|
+ .info_hide {
|
|
176
|
+ padding: 0.2rem 0.24rem;
|
|
177
|
+ border-bottom: 0.01rem solid #e6e6e6;
|
|
178
|
+ .hide {
|
|
179
|
+ color: #00559d;
|
|
180
|
+ }
|
|
181
|
+ }
|
|
182
|
+ .imgs-container{
|
|
183
|
+ a{
|
|
184
|
+ color:#03c !important;
|
|
185
|
+ &:visited{
|
|
186
|
+ color: #551a8b !important;
|
|
187
|
+ }
|
|
188
|
+ }
|
|
189
|
+ img {
|
|
190
|
+ width: 1.5rem;
|
|
191
|
+ height: 1.5rem;
|
|
192
|
+ margin-right: 0.7rem;
|
|
193
|
+ &:nth-child(1) {
|
|
194
|
+ margin-left: 0.75rem;
|
|
195
|
+ }
|
|
196
|
+ }
|
|
197
|
+ }
|
|
198
|
+ .progress {
|
|
199
|
+ padding: 0.2rem 0.2rem;
|
|
200
|
+ overflow: hidden;
|
|
201
|
+ transition-duration: .2s;
|
|
202
|
+ transition-timing-function: linear;
|
|
203
|
+ &.progressHide{
|
|
204
|
+ height: 1.7rem;
|
|
205
|
+ }
|
|
206
|
+ .progress_info {
|
|
207
|
+ overflow: hidden;
|
|
208
|
+ margin-bottom: 0.1rem;
|
|
209
|
+ &:nth-last-child(1) {
|
|
210
|
+ .cont {
|
|
211
|
+ border: none !important;
|
|
212
|
+ }
|
|
213
|
+ }
|
|
214
|
+ .progress_info_L {
|
|
215
|
+ float: left;
|
|
216
|
+ color: #333;
|
|
217
|
+ max-width: 18%;
|
|
218
|
+ }
|
|
219
|
+ .progress_info_R {
|
|
220
|
+ float: right;
|
|
221
|
+ margin-left: 0.09rem;
|
|
222
|
+ width: 80%;
|
|
223
|
+ font-size: 0.25rem;
|
|
224
|
+ .time {
|
|
225
|
+ i {
|
|
226
|
+ margin-left: -0.15rem;
|
|
227
|
+ &.icon-icon_weizuo {
|
|
228
|
+ color: #005495;
|
|
229
|
+ }
|
|
230
|
+ &.icon-icon_zhengzaijinx {
|
|
231
|
+ color: #48a843;
|
|
232
|
+ font-size: 0.37rem;
|
|
233
|
+ }
|
|
234
|
+ }
|
|
235
|
+ span {
|
|
236
|
+ margin-left: 0.15rem;
|
|
237
|
+ }
|
|
238
|
+ }
|
|
239
|
+ .cont {
|
|
240
|
+ border-left: 1px solid #999;
|
|
241
|
+ padding-left: 0.4rem;
|
|
242
|
+ min-height: 0.4rem;
|
|
243
|
+ &.blue {
|
|
244
|
+ border-left: 1px solid #005395;
|
|
245
|
+ }
|
|
246
|
+ }
|
|
247
|
+
|
|
248
|
+ .text1 {
|
|
249
|
+ font-size: 0.15rem;
|
|
250
|
+ }
|
|
251
|
+ .text2 {
|
|
252
|
+ color: #666;
|
|
253
|
+ word-break: break-all;
|
|
254
|
+ }
|
|
255
|
+ p {
|
|
256
|
+ padding: 0;
|
|
257
|
+ }
|
|
258
|
+ }
|
|
259
|
+ }
|
|
260
|
+ }
|
|
261
|
+ }
|
|
262
|
+ .txtLabel {
|
|
263
|
+ width: 100%;
|
|
264
|
+ overflow: hidden;
|
|
265
|
+ padding: 0.32rem 0.24rem 0.32rem 0.32rem;
|
|
266
|
+ .txt {
|
|
267
|
+ width: 30%;
|
|
268
|
+ color: #666;
|
|
269
|
+ }
|
|
270
|
+ .cube-textarea-wrapper {
|
|
271
|
+ width: 62%;
|
|
272
|
+ }
|
|
273
|
+ }
|
|
274
|
+ .sub {
|
|
275
|
+ background: #ececec;
|
|
276
|
+ .cube-btn {
|
|
277
|
+ background-color: #005395 !important;
|
|
278
|
+ width: 90%;
|
|
279
|
+ margin: 0.2rem auto;
|
|
280
|
+ border-radius: 8px;
|
|
281
|
+ }
|
|
282
|
+ }
|
|
283
|
+ }
|
|
284
|
+ }
|
|
285
|
+ .showwrap {
|
|
286
|
+ width: 75%;
|
|
287
|
+ text-align: right;
|
|
288
|
+ }
|
|
289
|
+}
|
|
290
|
+</style>
|