|
|
@@ -6,18 +6,58 @@
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
|
|
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
|
|
|
<style>
|
|
|
-
|
|
|
+ .img-margin{
|
|
|
+ margin: 60pt 0 30pt 30pt;
|
|
|
+ }
|
|
|
+ .title-div{
|
|
|
+ width:100%;
|
|
|
+ height:50px;
|
|
|
+ margin:0 0 20pt 30pt
|
|
|
+ }
|
|
|
+ .title-font{
|
|
|
+ font-size: 40pt;
|
|
|
+ height:50px;
|
|
|
+ line-height: 50px;
|
|
|
+ vertical-align: auto;
|
|
|
+ text-align: left;
|
|
|
+ color: #333333;
|
|
|
+ font-weight: bold
|
|
|
+ }
|
|
|
+ .margin-style{
|
|
|
+ margin:0 30pt 20pt 30pt
|
|
|
+ }
|
|
|
+ .div-border{
|
|
|
+ width: 100%;
|
|
|
+ height: 150px;
|
|
|
+ border-radius: 8pt;
|
|
|
+ border: #cccccc solid 1px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: left;
|
|
|
+ }
|
|
|
+ .img-style{
|
|
|
+ width: 90px;
|
|
|
+ height: 90px;
|
|
|
+ margin: 28px 0 0 20px;
|
|
|
+ }
|
|
|
+ .content-style{
|
|
|
+ font-size: 30px;
|
|
|
+ color: #333333;
|
|
|
+ margin: 30px 20px 0 20px;
|
|
|
+ }
|
|
|
</style>
|
|
|
</head>
|
|
|
<body>
|
|
|
- <img src="./img/bnBag.png" width="85%" height="180px" style="margin: 60pt 0 30pt 30pt">
|
|
|
- <div style="width:100%;height:50px;margin:0 0 20pt 30pt">
|
|
|
- <div style="font-size: 40pt;height:50px;line-height: 50px;vertical-align: auto;text-align: left;color: #333333;font-weight: bold" >产品技术资料</div>
|
|
|
+ <img src="./img/bnBag.png" width="85%" height="180px" class="img-margin">
|
|
|
+ <div class="title-div">
|
|
|
+ <div class="title-font" >产品技术资料</div>
|
|
|
</div>
|
|
|
- <div style="margin:0 0 20pt 30pt">
|
|
|
- <div style="width: 100%;height: 150px;border-radius: 8pt;border: #cccccc solid 0.5pt">
|
|
|
+ <div class="margin-style">
|
|
|
+ <div class="div-border">
|
|
|
+ <img src="./img/word.svg" class="img-style">
|
|
|
+ <div class="content-style">BLGX支耳式蜗轮型中线蝶阀DN50-600 PN16送审图(自制整轴)</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <div class="margin-style" id="boxContainer"></div>
|
|
|
<script>
|
|
|
window.onload = async function(){
|
|
|
var loc=location.href;
|
|
|
@@ -35,6 +75,13 @@
|
|
|
axios.post('http://61.164.207.46:8000/yos/rest/index', param)
|
|
|
.then(function (response) {
|
|
|
console.log(response)
|
|
|
+ for (var i=0;i<response.length -1;i++){
|
|
|
+ a='<div class="div-border">';
|
|
|
+ a += '<img src="./img/word.svg" class="img-style">';
|
|
|
+ a += '<div class="content-style">'+response[i].remarks+'</div>';
|
|
|
+ a+='</div>';
|
|
|
+ $(".boxContainer").append(a);
|
|
|
+ }
|
|
|
})
|
|
|
.catch(function (error) {
|
|
|
console.log(error);
|