@@ -57,11 +57,11 @@ export default {
}else{
//开发环境读配置
if(Config.isLocal==2){
- Config.baseUrl='http://125.124.170.221:8000'
- // Config.baseUrl='http://zhxy.com'
+ // Config.baseUrl='http://125.124.170.221:8000'
+ Config.baseUrl='http://zhxy.com'
}
@@ -73,6 +73,12 @@
"navigationBarTitleText": "",
"enablePullDownRefresh": false
+ },{
+ "path": "pages/error/400",
+ "style": {
+ "navigationBarTitleText": "",
+ "enablePullDownRefresh": false
+ }
],
@@ -0,0 +1,40 @@
+<template>
+ <view>
+ <h1 style="color: aqua;" id="myButton">22222</h1>
+ <text style="font-size: 25px;color: #333;">
+ 400
+ </text>
+ </view>
+ <text style="font-size: 18px;color: #999;">
+ {{errMsg}}
+</template>
+
+<script>
+ export default {
+ data() {
+ return {
+ },
+ onLoad(query) {
+ this.errMsg = query.errMsg || ''
+ methods: {
+ show(){
+ triggerPopup(){
+ window.location.href = "#popup";
+</script>
+<style>
+</style>
@@ -1,6 +1,7 @@
<template>
<view>
+ <h1 style="color: aqua;" id="myButton" @click="triggerPopup()">11111111111</h1>
<text style="font-size: 25px;color: #333;">
404 Page Not Found
</text>
@@ -24,7 +25,12 @@
this.errMsg = query.errMsg || ''
},
methods: {
-
+ window.location.href = "#/pages/error/400";
</script>