|
|
@@ -2,6 +2,7 @@
|
|
|
<div class="serve">
|
|
|
<div class="imgs">
|
|
|
<img :src="navImg" alt="服务">
|
|
|
+ <!-- <img src="./images/u136.jpg" alt=""> -->
|
|
|
<p>做你创业路上的</p>
|
|
|
<h4>技术合伙人</h4>
|
|
|
</div>
|
|
|
@@ -86,6 +87,7 @@
|
|
|
<script>
|
|
|
/* eslint-disable */
|
|
|
import HomeFooter from '../components/footer';
|
|
|
+import navImg from './images/u136.jpg'
|
|
|
import workImg1 from './/images/work1.png';
|
|
|
import workImg2 from './/images/work2.png';
|
|
|
import workImg3 from './/images/work3.png';
|
|
|
@@ -99,7 +101,7 @@ export default {
|
|
|
data(){
|
|
|
return{
|
|
|
api_address:global_api_address.api_address,
|
|
|
- navImg:'',
|
|
|
+ navImg:navImg,
|
|
|
"workImg1":workImg1,
|
|
|
"workImg2":workImg2,
|
|
|
"workImg3":workImg3,
|
|
|
@@ -181,26 +183,26 @@ export default {
|
|
|
components:{
|
|
|
HomeFooter
|
|
|
},
|
|
|
-mounted(){
|
|
|
- let vm=this;
|
|
|
- let time=new Date().getTime()+''; //计算出验证用的时间戳
|
|
|
- let api="api_get_picture"; //验证用的字符串
|
|
|
- let md5Str=this.$md5(api+time); //验证用的md5函数
|
|
|
- let sendParam = {
|
|
|
- "timestamp":time,
|
|
|
- "method":api,
|
|
|
- "sign":md5Str
|
|
|
- }
|
|
|
- this.axios.post(this.api_address+"/api/api.php",Qs.stringify(sendParam)
|
|
|
- ).then((res)=>{
|
|
|
- vm.newList=res.data
|
|
|
- // console.log(vm.newList.data)
|
|
|
- // console.log(typeof vm.newList)
|
|
|
- this.navImg=this.api_address+"/"+res.data.data[1].url
|
|
|
- }).catch(error=>{
|
|
|
- console.log(error)
|
|
|
- })
|
|
|
-}
|
|
|
+// mounted(){
|
|
|
+// let vm=this;
|
|
|
+// let time=new Date().getTime()+''; //计算出验证用的时间戳
|
|
|
+// let api="api_get_picture"; //验证用的字符串
|
|
|
+// let md5Str=this.$md5(api+time); //验证用的md5函数
|
|
|
+// let sendParam = {
|
|
|
+// "timestamp":time,
|
|
|
+// "method":api,
|
|
|
+// "sign":md5Str
|
|
|
+// }
|
|
|
+// this.axios.post(this.api_address+"/api/api.php",Qs.stringify(sendParam)
|
|
|
+// ).then((res)=>{
|
|
|
+// vm.newList=res.data
|
|
|
+// // console.log(vm.newList.data)
|
|
|
+// // console.log(typeof vm.newList)
|
|
|
+// this.navImg=this.api_address+"/"+res.data.data[1].url
|
|
|
+// }).catch(error=>{
|
|
|
+// console.log(error)
|
|
|
+// })
|
|
|
+// }
|
|
|
}
|
|
|
</script>
|
|
|
|