Repository navigation
Expand file tree
/
Copy pathmaterialScience_detals.html
More file actions
330 lines (300 loc) · 9.97 KB
/
Copy pathmaterialScience_detals.html
File metadata and controls
330 lines (300 loc) · 9.97 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
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>胤舜密封</title>
<link rel="stylesheet" href="./element.css">
<link rel="stylesheet" href="./style/theme/index.css">
<style>
* {
margin: 0;
padding: 0;
}
#app {
padding-top: 140px;
}
.header {
background-color: #FFFFFF;
position: fixed;
top: 0;
left: 0;
z-index: 150;
width: 100%;
height: 144px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.header_left {
width: 26%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
.header_left img {
width: 220px;
}
.header_right {
display: flex;
flex-direction: row;
align-items: center;
}
.header_right_index {
width: 122px;
height: 43px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
background: #18a575;
border-radius: 21.5px;
font-size: 22px;
line-height: 22px;
color: #ffffff;
margin-right: 30px;
}
.header_right_indexs {
font-size: 22px;
line-height: 22px;
color: #666666;
margin-right: 24px;
border: none;
text-decoration: none;
}
.content_header {
height: 50px;
width: 100%;
background-color: #F2F2F2;
padding: 0 240px;
box-sizing: border-box;
display: flex;
flex-direction: row;
align-items: center;
color: #666666;
}
.content_list {
padding: 60px 240px;
box-sizing: border-box;
}
.content_lists {
width: 100%;
height: 100%;
border: 1px solid #B7B7B7;
position: relative;
padding: 40px;
border-radius: 5px;
box-sizing: border-box;
}
.content_lists_title {
width: 100px;
height: 20px;
font-size: 18px;
line-height: 20px;
text-align: center;
position: absolute;
display: block;
top: -10px;
left: 40px;
background: #FFFFFF;
}
.content_lists_form {
width: 60%;
}
.select_sou {
cursor: pointer;
color: #FFFFFF;
line-height: 40px;
width: 120px;
height: 40px;
background: #18a575;
text-align: center;
margin-left: 10px;
border-radius: 20px;
font-size: 14px;
}
.select_chong {
cursor: pointer;
color: #353535;
line-height: 40px;
width: 120px;
height: 40px;
text-align: center;
margin-left: 10px;
border-radius: 20px;
border: 1px solid #B7B7B7;
box-sizing: border-box;
font-size: 14px;
}
.buttonList {
position: absolute;
bottom: -32px;
right: -123px;
display: flex;
flex-direction: row;
}
video {
width: 100%;
height: 100%;
}
.Collection {
display: flex;
flex-direction: row;
align-items: center;
cursor: pointer;
}
.Collection img {
width: 15px;
margin-right: 5px;
}
.Collection span {
display: block;
font-size: 14px;
line-height: 14px;
margin-top: 3px;
}
.elFormItems {
width: 500px;
}
.elInput {
width: 100%;
}
.bottomsDiv {
width: 100%;
}
.bottomsDiv_top {
height: 12px;
background-color: #358FE5;
}
.bottomsDiv_div {
width: 100%;
height: 227px;
background: #004b43;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
box-sizing: border-box;
}
.bottomsDiv_div_div {
display: flex;
flex-direction: column;
margin-left: 20px;
font-size: 14px;
line-height: 24px;
color: #94c2a2;
text-align: center;
}
.bottomsDiv_div img {
width: 140px;
margin-bottom: 20px;
}
.header_img {
width: 100%;
}
.header_img img {
width: 100%;
}
</style>
</head>
<body>
<div id="app" class="appVue">
<top-header></top-header>
<div class="header_img">
<img src="./img/headerLogo.png" alt="">
</div>
<div class="content">
<div class="content_header">
当前位置:首页 > 详情
</div>
<div class="content_list">
<div class="content_lists">
<span class="content_lists_title">详情</span>
<div class="content_lists_form">
<el-descriptions :column="1" :title="materialDetailsList.name">
<el-descriptions-item label="材料名称">{{materialDetailsList.name}}</el-descriptions-item>
<el-descriptions-item label="材料描述">{{materialDetailsList.describe}}</el-descriptions-item>
<el-descriptions-item label="适用介质">{{materialDetailsList.yes_medium}}</el-descriptions-item>
<el-descriptions-item label="不适用介质">{{materialDetailsList.no_medium}}</el-descriptions-item>
<el-descriptions-item label="硬度(Shore A)">{{materialDetailsList.no_medium}}</el-descriptions-item>
<el-descriptions-item label="拉伸强度(Mpa)">{{materialDetailsList.str_hardness}}</el-descriptions-item>
<el-descriptions-item label="扯断伸长率(%)">{{materialDetailsList.Elongation}}</el-descriptions-item>
<el-descriptions-item label="100%杨氏模量(Mpa)">{{materialDetailsList.modulus}}</el-descriptions-item>
<el-descriptions-item label="比重(g/m³)">{{materialDetailsList.proportion}}</el-descriptions-item>
<el-descriptions-item label="压缩永久变形(%)">{{materialDetailsList.deformation}}</el-descriptions-item>
<el-descriptions-item label="建议使用温度">{{materialDetailsList.proposal_tem_min}} ~ {{materialDetailsList.proposal_tem_max}}</el-descriptions-item>
</el-descriptions>
</div>
</div>
</div>
</div>
<div class="bottomsDiv">
<!-- <div class="bottomsDiv_top"></div>-->
<div class="bottomsDiv_div">
<img src="./img/bottoms_1.png" alt="">
<div class="bottomsDiv_div_div">
<span>公司地址:上海市天目西路511号锦程大厦807-808室 200070 / 公司电话:(8621)63800019 传真:(8621)63800089</span>
<span>胤舜密封技术有限公司 版权所有 CopyRight 沪ICP备13031219号-2</span>
</div>
</div>
</div>
</div>
</body>
</html>
<script src="./vue.js"></script>
<script src="./element.js"></script>
<script src="./header.js"></script>
<script src="fetchS.js"></script>
<script>
new Vue({
el: '#app',
data: function () {
return {
routine: [],
routine_select: [],
perfluoride: [],
perfluoride_select: [],
form: {
medium: '',
user_id: JSON.parse(localStorage.getItem('YinShunUser')).id,
min: '',
max: '',
value: '',
hard_min_max: '',
},
rules: {
medium: [
{required: true, message: '请选择介质', trigger: 'blur'}
],
value: [
{required: true, message: '请选择兼容性', trigger: 'blur'}
],
hard_min_max: [
{required: true, message: '请选择硬度', trigger: 'blur'}
],
},
mediumList: [],
selectList: [],
materialDetailsList: [],
}
},
mounted() {
this.materialDetails();
},
methods: {
materialDetails() {
fetchFun('http://webapi.issealing.com/api/index/materialDetails?name=' + window.location.href.split('=')[1],"GET")
.then(res => {
console.log(111, res)
if (res.code === 200) {
this.materialDetailsList = res.data
}
})
},
}
})
</script>