public/index.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/assets/css/main.css | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/assets/images/wrongIcon.png | 补丁 | 查看 | 原始文档 | blame | 历史 | |
src/components/page/IndexXTYH.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
public/index.html
@@ -5,6 +5,37 @@ <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"> <title>峰峰矿区智慧停车</title> <style> .loading { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); text-align: center; z-index: -1; } .spinner { width: 50px; height: 50px; border: 5px solid #ccc; border-top-color: #409EFF; border-radius: 50%; animation: spin 1s infinite linear; } .text { margin-top: 10px; font-size: 16px; color: #666; } @keyframes spin { to { transform: rotate(360deg); } } </style> <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=tuVbv4tLIzoX7IWdeKeTwojDqPILFoe5"></script> <!--<script src="//mapv.baidu.com/build/mapv.min.js"></script> <script src="https://code.bdstatic.com/npm/mapvgl@1.0.0-beta.127/dist/mapvgl.min.js"></script>--> @@ -14,6 +45,10 @@ <title>峰峰智慧泊车系统</title> </head> <body> <div class="loading" style="display:block"> <div class="spinner"></div> <div class="text">正在加载中...</div> </div> <div id="app"></div> </body> </html> src/assets/css/main.css
@@ -9,6 +9,7 @@ .wrapper { width: 100%; height: 100%; background: #fff; } body { src/assets/images/wrongIcon.png
src/components/page/IndexXTYH.vue
@@ -385,13 +385,12 @@ if(this.type == 0 ){ //微信,获取code if(this.code==null||this.code==""){ // var url = encodeURIComponent("http://hesuancj.cn/#/index2?code2="+this.code2); var url = encodeURIComponent("http://hesuancj.cn/#/index2?code2="+this.code2); // window.location.href = `http://192.168.0.8:8082/#/Index2?code=${encodeURIComponent('123')}&state=STATE?code2=${encodeURIComponent(this.code2)}` // window.location.href =url; window.location.href ="https://open.weixin.qq.com/connect/oauth2/authorize?" + "appid=wx46e756aed958f895&redirect_uri="+url+"&response_type=code" + "&scope=snsapi_userinfo&state=STATE#wechat_redirect"; "&scope=SCOPE&state=STATE#wechat_redirect"; }else{ this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/api/getOpenId', {id:this.outParkId,code:this.code}, res => { if(res.code === 0){