|
@@ -4,15 +4,19 @@
|
|
|
<meta charset="UTF-8">
|
|
<meta charset="UTF-8">
|
|
|
<title>商品资料页</title>
|
|
<title>商品资料页</title>
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
|
<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>
|
|
|
|
|
+
|
|
|
</head>
|
|
</head>
|
|
|
<body>
|
|
<body>
|
|
|
<img src="./img/bnBag.png" width="85%" height="180px" style="margin: 60pt 0 30pt 30pt">
|
|
<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="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>
|
|
<div style="font-size: 40pt;height:50px;line-height: 50px;vertical-align: auto;text-align: left;color: #333333;font-weight: bold" >产品技术资料</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div></div>
|
|
|
|
|
|
|
+ <div style="margin:0 0 20pt 30pt">
|
|
|
|
|
+ <div style="width: 100%;height: 100px;border-radius: 8pt;border: #cccccc solid 0.5pt">
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
<script>
|
|
<script>
|
|
|
- const dataList = []
|
|
|
|
|
window.onload = async function(){
|
|
window.onload = async function(){
|
|
|
var loc=location.href;
|
|
var loc=location.href;
|
|
|
var n1=loc.length;
|
|
var n1=loc.length;
|
|
@@ -26,13 +30,13 @@
|
|
|
"code": code
|
|
"code": code
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
|
- $.ajax({
|
|
|
|
|
- url:'http://61.164.207.46:8000/yos/rest/index',
|
|
|
|
|
- data:param,
|
|
|
|
|
- type:"POST"
|
|
|
|
|
- }).done(function (res){
|
|
|
|
|
- alert(res)
|
|
|
|
|
|
|
+ axios.post('http://61.164.207.46:8000/yos/rest/index', param)
|
|
|
|
|
+ .then(function (response) {
|
|
|
|
|
+ console.log(response)
|
|
|
})
|
|
})
|
|
|
|
|
+ .catch(function (error) {
|
|
|
|
|
+ console.log(error);
|
|
|
|
|
+ });
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|
|
|
</body>
|
|
</body>
|