feat: There is no way the, phoneHome 自适应
This commit is contained in:
@@ -63,7 +63,7 @@ service.interceptors.response.use(
|
|||||||
// ignored
|
// ignored
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(res.data && res.data.respCode != undefined && res.data.respCode === 'LE505'){
|
if(res.data && res.data.respCode !== undefined && res.data.respCode === 'LE505'){
|
||||||
if (isMobile()) {
|
if (isMobile()) {
|
||||||
localStorage.removeItem('token')
|
localStorage.removeItem('token')
|
||||||
return router.push('/phoneIndex')
|
return router.push('/phoneIndex')
|
||||||
|
|||||||
+7
-1
@@ -179,7 +179,13 @@ router.beforeEach(function (to, from, next) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}else {
|
}else {
|
||||||
next()
|
// 区分手机端首页 单独逻辑处理 token 为空 跳回验证页面重新验证
|
||||||
|
if(fromName === 'databaseSearch' || fromName === 'standDynamics' ||
|
||||||
|
fromName === 'domesticStand' || fromName === 'domesticDetails'){
|
||||||
|
next('/loginVerifyPhone')
|
||||||
|
}else {
|
||||||
|
next()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (toName.slice(0,5) !== 'phone') {
|
if (toName.slice(0,5) !== 'phone') {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<!--国内标准法规详情页-->
|
<!--国内标准法规详情页-->
|
||||||
<template>
|
<template>
|
||||||
<div class="other-standard-details v-class" :style="'width:' + (500) + 'px;'+'height:' + (screenHeight) + 'px'" :class="{'hidden': !isMoreAwayBtn}">
|
<div class="other-standard-details v-class" :style="'width:' + (500) + 'px;'+'height:' + (screenHeight) + 'px'">
|
||||||
<!--title 标题-->
|
<!--title 标题-->
|
||||||
<div class="details-header">
|
<div class="details-header">
|
||||||
<span v-if="sarStandardsInfoEO.standYear === null">{{ sarStandardsInfoEO.standSortShow || '' }} {{
|
<span v-if="sarStandardsInfoEO.standYear === null">{{ sarStandardsInfoEO.standSortShow || '' }} {{
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
<label style="float: left">{{ child.attrName }}</label>
|
<label style="float: left">{{ child.attrName }}</label>
|
||||||
<template v-if="child.value && child.value.length > 0">
|
<template v-if="child.value && child.value.length > 0">
|
||||||
<!-- 单个文件时-->
|
<!-- 单个文件时-->
|
||||||
<div style="position: relative;margin-left: 214px; line-height: 32px">
|
<div style="position: relative;margin-left: 19em; line-height: 32px">
|
||||||
<div v-for="(file, fileIndex) in child1Func(child.value)" style="display: flex;">
|
<div v-for="(file, fileIndex) in child1Func(child.value)" style="display: flex;">
|
||||||
<span v-if="child.value && child.value.length > 0 && child.value.length === 1" style="display: flex; align-items: center;">
|
<span v-if="child.value && child.value.length > 0 && child.value.length === 1" style="display: flex; align-items: center;">
|
||||||
<a style="font-size:0.2rem;color: #409EFF;cursor: pointer;display: inline-block"
|
<a style="font-size:0.2rem;color: #409EFF;cursor: pointer;display: inline-block"
|
||||||
@@ -172,7 +172,7 @@
|
|||||||
}}</span>
|
}}</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="half">
|
<p class="half">
|
||||||
<label style=" margin-right: 34vw;">是否纳入认证清单</label><span>{{
|
<label style=" margin-right: 11em;">是否纳入认证清单</label><span>{{
|
||||||
sarStandardsInfoEO.isRelateAccess ? (sarStandardsInfoEO.isRelateAccess === '1' ? '是' : '否') : '-'
|
sarStandardsInfoEO.isRelateAccess ? (sarStandardsInfoEO.isRelateAccess === '1' ? '是' : '否') : '-'
|
||||||
}}</span>
|
}}</span>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user