From 08b5ddfa9a0a2ed52bd7d7b98ca16ef4dcc610a6 Mon Sep 17 00:00:00 2001 From: zhangxiaoxu123 <819527061@qq.com> Date: 星期二, 13 九月 2022 14:19:43 +0800 Subject: [PATCH] 页面修改 --- src/pages/components/showIndexTitle.vue | 35 ++++++++++++++++++++++++++++------- 1 files changed, 28 insertions(+), 7 deletions(-) diff --git a/src/pages/components/showIndexTitle.vue b/src/pages/components/showIndexTitle.vue index 0a5c2e8..20cb7fd 100644 --- a/src/pages/components/showIndexTitle.vue +++ b/src/pages/components/showIndexTitle.vue @@ -40,23 +40,23 @@ </el-menu-item> </div> <div class="showIndex-right"> - <el-menu-item index="/businessPolicy"> + <!--<el-menu-item index="/businessPolicy"> <div class="showIndex-block"> <h1>钀ュ晢鏀跨瓥</h1> </div> - </el-menu-item> + </el-menu-item>--> <el-menu-item> - <div class="showIndex-block"> + <div class="showIndex-block" @click="gotoTXL"> <h1>閫氳褰�</h1> </div> </el-menu-item> - <el-menu-item> - <div class="showIndex-block"> + <!--<el-menu-item> + <div class="showIndex-block" @click="gotoGZZB"> <h1>宸ヤ綔鍛ㄦ姤</h1> </div> - </el-menu-item> + </el-menu-item>--> <el-menu-item> - <div class="showIndex-block"> + <div class="showIndex-block" @click="gotoWDZX"> <h1>鏂囨。涓績</h1> </div> </el-menu-item> @@ -80,8 +80,20 @@ }, mounted() { this.$route.meta.routerParent && (this.activeIndex = '/' + this.$route.meta.routerParent) + window.passToken = this.passToken + window.passToken2 = this.passToken2 + window.passToken3 = this.passToken3 }, methods: { + passToken() { + return this.$store.state.user.token + }, + passToken2() { + return this.$store.state.user.token + }, + passToken3() { + return this.$store.state.user.token + }, goOut() { this.$confirm('鏄惁閫�鍑虹郴缁�, 鏄惁缁х画?', '鎻愮ず', { confirmButtonText: '纭畾', @@ -93,6 +105,15 @@ }) }) + }, + gotoTXL() { + window.android.passToken(this.$store.state.user.token) + }, + gotoGZZB() { //璺宠浆宸ヤ綔鍛ㄦ姤 + window.android.passToken2(this.$store.state.user.token) + }, + gotoWDZX() { //鏂囨。涓績 + window.android.passToken3(this.$store.state.user.token) } }, }; -- Gitblit v1.9.1