2 Achegas fec526a887 ... e5ae372350

Autor SHA1 Mensaxe Data
  lijie e5ae372350 Merge branch 'master' of 121.40.237.253:lijie/zhxy-desk hai 1 ano
  lijie 3a75132c1b 学生标签11 hai 1 ano
Modificáronse 4 ficheiros con 57 adicións e 5 borrados
  1. 4 4
      common/js/http.js
  2. 6 0
      pages.json
  3. 40 0
      pages/error/400.vue
  4. 7 1
      pages/error/404.vue

+ 4 - 4
common/js/http.js

@@ -57,11 +57,11 @@ export default {
 		}else{
 		}else{
 			//开发环境读配置
 			//开发环境读配置
 			if(Config.isLocal==2){
 			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'
 			}else{
 			}else{
-				// Config.baseUrl='http://zhxy.com'
-				Config.baseUrl='http://125.124.170.221:8000'
+				Config.baseUrl='http://zhxy.com'
+				// Config.baseUrl='http://125.124.170.221:8000'
 			}
 			}
 		}
 		}
 		
 		

+ 6 - 0
pages.json

@@ -73,6 +73,12 @@
 				"navigationBarTitleText": "",
 				"navigationBarTitleText": "",
 				"enablePullDownRefresh": false
 				"enablePullDownRefresh": false
 			}
 			}
+		},{
+			"path": "pages/error/400",
+			"style": {
+				"navigationBarTitleText": "",
+				"enablePullDownRefresh": false
+			}
 		}
 		}
     ],
     ],
 
 

+ 40 - 0
pages/error/400.vue

@@ -0,0 +1,40 @@
+<template>
+    <view>
+        <view>
+			<h1 style="color: aqua;" id="myButton">22222</h1>
+            <text style="font-size: 25px;color: #333;">
+                400 
+            </text>
+        </view>
+        <view>
+            <text style="font-size: 18px;color: #999;">
+                {{errMsg}}
+            </text>
+        </view>
+    </view>
+</template>
+
+<script>
+    export default {
+        data() {
+            return {
+
+            }
+        },
+        onLoad(query) {
+            this.errMsg = query.errMsg || ''
+        },
+        methods: {
+			show(){
+				
+			},
+			triggerPopup(){
+				window.location.href = "#popup";
+			}
+        }
+    }
+</script>
+
+<style>
+
+</style>

+ 7 - 1
pages/error/404.vue

@@ -1,6 +1,7 @@
 <template>
 <template>
     <view>
     <view>
         <view>
         <view>
+			<h1 style="color: aqua;" id="myButton" @click="triggerPopup()">11111111111</h1>
             <text style="font-size: 25px;color: #333;">
             <text style="font-size: 25px;color: #333;">
                 404 Page Not Found
                 404 Page Not Found
             </text>
             </text>
@@ -24,7 +25,12 @@
             this.errMsg = query.errMsg || ''
             this.errMsg = query.errMsg || ''
         },
         },
         methods: {
         methods: {
-
+			show(){
+				
+			},
+			triggerPopup(){
+				window.location.href = "#/pages/error/400";
+			}
         }
         }
     }
     }
 </script>
 </script>