精简页面请求结果提示/调整老年化模式指引样式

This commit is contained in:
2021-10-27 10:01:58 +08:00
parent bd0b8efd0c
commit 1210c59220
5 changed files with 8 additions and 28 deletions

View File

@@ -122,14 +122,14 @@ export default {
right: 130px; right: 130px;
position: absolute; position: absolute;
top: 50px; top: 50px;
width: 120px; width: 65px;
} }
> div:nth-child(n + 3) { > div:nth-child(n + 3) {
text-align: center; text-align: center;
width: 100%; width: 100%;
} }
> :nth-child(3) { > :nth-child(3) {
top: 300px; top: 175px;
position: absolute; position: absolute;
> span { > span {
font-size: 24px; font-size: 24px;
@@ -138,19 +138,19 @@ export default {
} }
} }
> :nth-child(4) { > :nth-child(4) {
top: 410px; top: 280px;
position: absolute; position: absolute;
} }
> :nth-child(5) { > :nth-child(5) {
top: 500px; top: 350px;
position: absolute; position: absolute;
} }
> :nth-child(6) { > :nth-child(6) {
display: flex; display: flex;
align-items: center; align-items: center;
top: 550px; top: 385px;
justify-content: center; justify-content: center;
position: absolute; position: absolute;
input { input {

View File

@@ -296,6 +296,7 @@ export default {
} else { } else {
this.onInit(); this.onInit();
} }
// this.onInit();
this.setLocationAplus(); this.setLocationAplus();
SetTicket(this.$route.query.ticket); SetTicket(this.$route.query.ticket);
$(".logout").css("display", "none"); $(".logout").css("display", "none");
@@ -382,7 +383,7 @@ export default {
} }
}, },
setIdCard(id) { setIdCard(id) {
return id == "加载中..." return id == "无数据"
? id ? id
: id.substr(0, 6) + "********" + id.substr(14, 4); : id.substr(0, 6) + "********" + id.substr(14, 4);
}, },

View File

@@ -65,7 +65,7 @@ export default {
// 初始数据 // 初始数据
info: { info: {
userName: "无数据", userName: "无数据",
idCard: "522121199001012012", idCard: "无数据",
prjList: [ prjList: [
{ {
area: "无数据", area: "无数据",
@@ -115,13 +115,6 @@ export default {
"https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs" "https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs"
); );
}, 3000); }, 3000);
} else {
this.$message({
message: "请求出错",
type: "error",
duration: 3000,
center: true
});
} }
} }
}, },

View File

@@ -116,13 +116,6 @@ export default {
"https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs" "https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs"
); );
}, 3000); }, 3000);
} else {
this.$message({
message: "请求出错",
type: "error",
duration: 3000,
center: true
});
} }
} }
}, },

View File

@@ -182,13 +182,6 @@ export default {
"https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs" "https://puser.zjzwfw.gov.cn/sso/mobile.do?action=oauth&scope=1&servicecode=fwzs"
); );
}, 3000); }, 3000);
} else {
this.$message({
message: "请求出错",
type: "error",
duration: 3000,
center: true
});
} }
} }
}, },