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 @@
-
-
昵称:
-
- -
-
用户名:
- +
-
我的签名:
+
邮箱:
- +
@@ -77,7 +71,9 @@ export default defineComponent({ let Cropper = ref() // provide('exhibitionList',exhibitionList) let handleCropperSuccess = (event:any)=>{ - let {file, fileData} =event + console.log(event); + + let {file, fileData,base64} =event console.log(file,fileData); Cropper.value.closeCropper() } @@ -157,8 +153,8 @@ export default defineComponent({ margin: 0 auto; position: relative; img{ - width: 20rem; - height: 20rem; + width: 15rem; + height: 15rem; border-radius: 50%; } .accountEdit_page_head_upload{ diff --git a/src/component/Account/accountHome.vue b/src/component/Account/accountHome.vue index 2c1fadbb..8f4da02a 100644 --- a/src/component/Account/accountHome.vue +++ b/src/component/Account/accountHome.vue @@ -9,8 +9,7 @@
diff --git a/src/component/Account/accountMessage.vue b/src/component/Account/accountMessage.vue index 8d38f22b..39db09dd 100644 --- a/src/component/Account/accountMessage.vue +++ b/src/component/Account/accountMessage.vue @@ -6,13 +6,26 @@
-