소스 검색

Merge branch 'master' into dev

# Conflicts:
#	layouts/default.vue
#	pages/job/index.vue
bruce 5 년 전
부모
커밋
e4661b312d
1개의 변경된 파일7개의 추가작업 그리고 1개의 파일을 삭제
  1. 7 1
      pages/job/index.vue

+ 7 - 1
pages/job/index.vue

@@ -323,7 +323,13 @@
       setTimeout(() => {
         this.isShowDownLoad = true;
         console.log("this.isShowDownload=", this.isShowDownLoad);
-      }, 500);
+      }, 500)
+
+      let ua = navigator.userAgent;
+
+      this.isBaiduxapp = navigator.userAgent.indexOf('swan/') > -1;
+      console.log(this.$route.params);
+      this.isWxapp = this.$route.query.isWxMini && this.$route.query.isWxMini == 1;
     },
     methods: {
       //移动端选择器