Browse Source

学生标签11

lijie 1 year ago
parent
commit
3a75132c1b
5 changed files with 59 additions and 7 deletions
  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
  5. 2 2
      pages/studentRanked/studentRanked.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>

+ 2 - 2
pages/studentRanked/studentRanked.vue

@@ -16,7 +16,7 @@
             </view>
             </view>
         </u-popup> -->
         </u-popup> -->
 
 
-		<view class="txt-white ui-flex-row ui-flex-align-center"
+		<view  class="txt-white ui-flex-row ui-flex-align-center"
 			style="border-bottom: 4px solid #4472C4;padding-left: 40rpx;height: 54px;"
 			style="border-bottom: 4px solid #4472C4;padding-left: 40rpx;height: 54px;"
 			:style="{'background-color': multiSelect ? '#4472c4' : ''}">
 			:style="{'background-color': multiSelect ? '#4472c4' : ''}">
 			<view class="ui-p ui-flex-row">
 			<view class="ui-p ui-flex-row">
@@ -26,7 +26,7 @@
                     <u-icon name="arrow-down-fill" color="#fff"></u-icon>
                     <u-icon name="arrow-down-fill" color="#fff"></u-icon>
                 </view> -->
                 </view> -->
 				<el-dropdown trigger="click">
 				<el-dropdown trigger="click">
-					<span class="f40 txt-white ui-ml30" style="cursor:pointer;">
+					<span  class="f40 txt-white ui-ml30" style="cursor:pointer;">
 						李老师<i class="el-icon-arrow-down el-icon--right"></i>
 						李老师<i class="el-icon-arrow-down el-icon--right"></i>
 					</span>
 					</span>
 					<el-dropdown-menu slot="dropdown">
 					<el-dropdown-menu slot="dropdown">