diff --git a/src/assets/style/style.css b/src/assets/style/style.css
index 00642b1c..29fb838c 100644
--- a/src/assets/style/style.css
+++ b/src/assets/style/style.css
@@ -532,6 +532,9 @@ li {
.ant-modal {
box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
}
+.ant-modal div[aria-hidden="true"] {
+ display: none !important;
+}
.ant-modal-confirm-confirm .ant-modal-content {
border-radius: 1rem;
}
@@ -1285,30 +1288,40 @@ li {
border: solid 2px rgba(0, 0, 0, 0.55);
color: #000000;
}
-.homeMain_heade .ant-badge {
+.homeMain_heade .ant-badge,
+.account_message .ant-badge {
width: auto;
height: auto;
}
-.homeMain_heade sup.ant-scroll-number {
+.homeMain_heade sup.ant-scroll-number,
+.account_message sup.ant-scroll-number {
height: 2rem;
- min-height: 2rem;
+ min-height: 5px;
width: 2rem;
- min-width: 2rem;
+ min-width: 5px;
padding: 0;
font-size: 1.1rem;
+ padding: 0.2rem;
+ box-sizing: content-box;
display: flex;
align-items: center;
justify-content: center;
}
-.homeMain_heade sup.ant-scroll-number .ant-scroll-number-only {
- width: 100%;
+.homeMain_heade sup.ant-scroll-number.ant-badge-dot,
+.account_message sup.ant-scroll-number.ant-badge-dot {
+ width: auto;
+ height: auto;
+}
+.homeMain_heade sup.ant-scroll-number .ant-scroll-number-only,
+.account_message sup.ant-scroll-number .ant-scroll-number-only {
height: 100%;
font-size: 1.2rem;
display: flex;
align-items: center;
justify-content: center;
}
-.homeMain_heade p.ant-scroll-number-only-unit {
+.homeMain_heade p.ant-scroll-number-only-unit,
+.account_message p.ant-scroll-number-only-unit {
line-height: 2rem;
height: 100%;
}
diff --git a/src/assets/style/style.less b/src/assets/style/style.less
index d045d230..d159d053 100644
--- a/src/assets/style/style.less
+++ b/src/assets/style/style.less
@@ -596,6 +596,7 @@ input:focus{
//弹窗公共样式
.ant-modal{
box-shadow: 0px 0px 6px rgba(0, 0, 0, .2);
+ div[aria-hidden="true"] {display: none !important;}
&.ant-modal-confirm{
&.ant-modal-confirm-confirm{
// top: 50%;
@@ -1428,23 +1429,29 @@ input:focus{
color: rgba(0, 0, 0, 1);
}
}
-.homeMain_heade{
+.homeMain_heade,.account_message{
.ant-badge{
width: auto;
height: auto;
}
sup.ant-scroll-number{
height: 2rem;
- min-height: 2rem;
+ min-height: 5px;
width: 2rem;
- min-width: 2rem;
+ min-width: 5px;
padding: 0;
font-size: 1.1rem;
+ padding: .2rem;
+ box-sizing: content-box;
display: flex;
align-items: center;
justify-content: center;
+ &.ant-badge-dot{
+ width: auto;
+ height: auto;
+ }
.ant-scroll-number-only{
- width: 100%;
+ // width: 100%;
height: 100%;
font-size: 1.2rem;
display: flex;
diff --git a/src/component/Account/accountEdit.vue b/src/component/Account/accountEdit.vue
index bdef2fe5..dd62ae60 100644
--- a/src/component/Account/accountEdit.vue
+++ b/src/component/Account/accountEdit.vue
@@ -27,22 +27,16 @@