Commit 37f4ef41 authored by xinzhedeai's avatar xinzhedeai

fix: 应急演练页面显示优化

parent 5b6b566c
......@@ -314,7 +314,7 @@ body {
transform: translateY(-50%);
}
.title_requirediv::before {
left: 3px
left: 1px
}
......@@ -328,7 +328,7 @@ body {
input:disabled {
background-color: #fff;
color: #9b9fab;
color: #737373;
}
select:disabled {
......@@ -343,6 +343,7 @@ select:disabled {
/* 可选:统一背景色 */
background-color: white;
opacity: 1;
}
.form-label-div {
......@@ -360,4 +361,9 @@ select:disabled {
margin-top: 0.25rem;
margin-bottom: 0.15rem;
flex-wrap: wrap;
}
/* 日期禁用文字颜色调整 */
.van-field__control:disabled {
-webkit-text-fill-color: #737373;
}
\ No newline at end of file
......@@ -327,7 +327,7 @@ body {
input:disabled {
background-color: #fff;
color: #9b9fab;
color: #737373;
}
select:disabled {
......@@ -342,6 +342,7 @@ select:disabled {
/* 可选:统一背景色 */
background-color: white;
opacity: 1;
}
.form-label-div {
......@@ -359,4 +360,8 @@ select:disabled {
margin-top: 0.25rem;
margin-bottom: 0.15rem;
flex-wrap: wrap;
}
/* 日期禁用文字颜色调整 */
.van-field__control:disabled {
-webkit-text-fill-color: #737373;
}
\ No newline at end of file
......@@ -30,26 +30,32 @@ window.addEventListener("load", function() {
},
methods: {
markAllAsRead() { // 全部标记为已读
http2.post(
{
serviceId: API_KEY_MAP['submit']['id'],
interfacePublicKey: API_KEY_MAP['submit']['publicKey'],
interfacePrivateKey: API_KEY_MAP['submit']['privateKey'],
reqParams: {
sign: 25, // post 设置已读
merId: this.merId,
},
},
(res) => {
var result = JSON.parse(res)
if (result && result.code == 200) {
vant.Toast({
message: '操作成功',
})
}
}
)
},
http2.post(
{
serviceId: API_KEY_MAP['submit']['id'],
interfacePublicKey: API_KEY_MAP['submit']['publicKey'],
interfacePrivateKey: API_KEY_MAP['submit']['privateKey'],
reqParams: {
sign: 36, // post 设置已读
},
},
(res) => {
if (!res) {
// 中台返回为undefined 重新请求
setTimeout(() => {
this.markAllAsRead()
}, 0)
return
}
var result = JSON.parse(res)
if (result && result.code == 200) {
vant.Toast({
message: '操作成功',
})
}
}
)
},
reset() {
this.page = 1
this.size = 10
......
......@@ -328,7 +328,7 @@ body {
input:disabled {
background-color: #fff;
color: #9b9fab;
color: #737373;
}
select:disabled {
......@@ -343,6 +343,8 @@ select:disabled {
/* 可选:统一背景色 */
background-color: white;
opacity: 1;
}
.form-label-div {
......@@ -365,4 +367,9 @@ select:disabled {
iframe{
height: 58vh;
border: none;
}
/* 日期禁用文字颜色调整 */
.van-field__control:disabled {
-webkit-text-fill-color: #737373;
}
\ No newline at end of file
......@@ -20,21 +20,21 @@
<div class="form-item">
<span class="form-label title_require">单位名称</span>
<div class="form-input-wrap" style="font-size: 15px;color: #9b9fab;">
<div class="form-input-wrap" style="font-size: 15px;color: #737373;">
{{ formData.merName }}
</div>
</div>
<div class="form-item">
<span class="form-label title_require">联系人</span>
<div class="form-input-wrap" style="font-size: 15px;color: #9b9fab;">
<div class="form-input-wrap" style="font-size: 15px;color: #737373;">
{{ formData.merchantName }}
</div>
</div>
<div class="form-item">
<span class="form-label title_require">电话</span>
<div class="form-input-wrap" style="font-size: 15px;color: #9b9fab;">
<div class="form-input-wrap" style="font-size: 15px;color: #737373;">
{{ formData.merchantPhone }}
</div>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment