Browse Source

domain md

zhangjie 2 years ago
parent
commit
5fec781947
3 changed files with 6 additions and 3 deletions
  1. 1 1
      src/assets/styles/home.scss
  2. 4 1
      src/plugins/utils.js
  3. 1 1
      src/views/Home.vue

+ 1 - 1
src/assets/styles/home.scss

@@ -415,7 +415,7 @@
   height: 30px;
   height: 30px;
   bottom: 0;
   bottom: 0;
   left: 0;
   left: 0;
-  z-index: 9;
+  z-index: 99;
   padding: 5px 0;
   padding: 5px 0;
   line-height: 20px;
   line-height: 20px;
   color: $--color-text-gray-3;
   color: $--color-text-gray-3;

+ 4 - 1
src/plugins/utils.js

@@ -400,7 +400,10 @@ export function blobToText(blob) {
 
 
 export function parseHrefParam(href, paramName = null) {
 export function parseHrefParam(href, paramName = null) {
   if (!href) return;
   if (!href) return;
-  const paramStr = href.split("?")[1];
+  let paramStr = href.split("?")[1];
+  if (!paramStr) return;
+
+  paramStr = paramStr.split("#")[0];
   if (!paramStr) return;
   if (!paramStr) return;
 
 
   let params = {};
   let params = {};

+ 1 - 1
src/views/Home.vue

@@ -107,8 +107,8 @@
           <router-view />
           <router-view />
         </div>
         </div>
       </div>
       </div>
-      <view-footer></view-footer>
     </div>
     </div>
+    <view-footer></view-footer>
 
 
     <!-- 修改密码 -->
     <!-- 修改密码 -->
     <reset-pwd
     <reset-pwd