Commit 37f4ef41 authored by xinzhedeai's avatar xinzhedeai

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

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