From 2a177a25321e231bb86c88704feb94f4a7130780 Mon Sep 17 00:00:00 2001
From: yj <2077506045@qq.com>
Date: 星期四, 11 四月 2024 17:27:52 +0800
Subject: [PATCH] 优化LAQ、CIAQ、MAQ、API、JAQ产品的答题逻辑,防止客户误操作导致的流程卡点。
---
src/layout/index.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/layout/index.vue b/src/layout/index.vue
index bb4060f..9dfe0b4 100644
--- a/src/layout/index.vue
+++ b/src/layout/index.vue
@@ -6,15 +6,15 @@
<!--鍥介檯鍖栫殑璇█閫夋嫨-->
<!--<component :is="langSelect"></component>-->
</div>
- <div class="head-user" style="float:left;margin-bottom:10px">
+ <div class="head-user" style="float:left;">
<el-dropdown trigger="click" placement="bottom">
- <el-image v-if="productType==='API_Fan'" style="width: 150px;margin-top:10px;" :src="require('@/assets/logo-apifan.png')" fit="fill"></el-image>
+ <el-image v-if="productType==='API_Fan'" :style="{'width': isMobile?'120px':'150px','margin-top':'5px'}" :src="require('@/assets/logo-apifan.png')" fit="fill"></el-image>
<el-badge v-else style="height: 50px;">
<el-avatar class="el-dropdown-avatar" size="medium" :src="userInfo.imagePath === null ? require('@/assets/logo-t.jpg') : userInfo.imagePath"></el-avatar>
</el-badge>
<el-dropdown-menu slot="dropdown">
<!-- <el-dropdown-item divided>淇濆瓨閫�鍑�</el-dropdown-item>-->
- </el-dropdown-menu>
+ </el-dropdown-menu>
</el-dropdown>
</div>
</el-header>
@@ -37,7 +37,8 @@
userInfo: {
imagePath: null
},
- langSelect: 'langSelect'
+ langSelect: 'langSelect',
+ isMobile: /Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obile|ini)/.test(navigator.userAgent)
}
},
created () {
--
Gitblit v1.9.1