From 14e13fa7b4a425ed7ffaeae5820dd2f36e451fc9 Mon Sep 17 00:00:00 2001 From: zhusiyu <410827992@qq.com> Date: Mon, 8 Aug 2022 15:18:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=B4=E9=83=A8=E8=83=8C=E6=99=AF=E5=9B=BE?= =?UTF-8?q?=E7=89=87=EF=BC=8C=E7=82=B9=E5=87=BB=E5=A4=B4=E5=83=8F=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/common/modal/ModalPanel.vue | 64 +++++-------------- .../screenAdaptation/common/commonInfo.vue | 60 +++-------------- .../pages/homePages/menuTop/personInfo.vue | 6 +- .../pages/secondPages/top.vue | 36 +++++------ 4 files changed, 46 insertions(+), 120 deletions(-) diff --git a/src/components/common/modal/ModalPanel.vue b/src/components/common/modal/ModalPanel.vue index 12afecb..ba7477a 100644 --- a/src/components/common/modal/ModalPanel.vue +++ b/src/components/common/modal/ModalPanel.vue @@ -1,10 +1,10 @@ @@ -78,7 +77,6 @@ contentHtml: this.$props.infoObj && this.$props.infoObj.content ? this.$props.infoObj.content : "", // uploadPerson:"", // contentHtml:"", - isPartyCenter: false, } }, watch: { @@ -97,32 +95,14 @@ this.infoTitle = newData.title; this.infoArr = newData.infoArr; this.contentHtml = newData.content; - }, - $route: { - handler(val, oldval){ - if (val.path === '/partyCenter/party') { - this.isPartyCenter = true - } else { - this.isPartyCenter = false - } - }, - }, + } }, mounted(){ - this.getHref() // if (this.infoId && this.infoId !== "") { // this.getDataInfo(); // } }, methods: { - getHref(){ - this.href = window.location.hash - if (this.href === '#/partyCenter/party') { - this.isPartyCenter = true - } else { - this.isPartyCenter = false - } - }, //获取数据明细数据 getDataInfo: function () { if (!this.infoId || this.infoId === "") { @@ -182,7 +162,6 @@ height: 50px; display: flex; align-items: center; - margin-left: 100px; } .ant-modal-body { .common-info-style { @@ -193,7 +172,7 @@ flex-direction: column; .title-content-style { width: 100%; - min-height: 90px; + min-height: 30px; display: flex; justify-content: center; align-items: center; @@ -202,44 +181,23 @@ } } .info-content-style { - width: 87%; + width: 100%; height: 30px; display: flex; align-items: center; - justify-content: center; - background: #525E7B; - padding: 25px 0; - margin: 0 auto; - font-size: 18px; + justify-content: flex-end; } .content-info-style { width: 100%; - height: 350px; - font-size: 18px; - line-height: 10px; - margin-top: 20px; - overflow: hidden; + height: 400px; .content-scroll-style { display: flex; flex-wrap: wrap; - height: 100% !important; - p { - line-height: 30px !important; - } - span { - line-height: 30px !important; - } } } - .title-logo-png { - vertical-align: middle; - border-style: none; - width: 240px; - height: 150px; - position: absolute; - top: -10px; - left: -10px; - } + /*.content-info-style > div > div {*/ + /*overflow: hidden !important;*/ + /*}*/ } } } diff --git a/src/views/screenAdaptation/pages/homePages/menuTop/personInfo.vue b/src/views/screenAdaptation/pages/homePages/menuTop/personInfo.vue index faaf851..27defe8 100644 --- a/src/views/screenAdaptation/pages/homePages/menuTop/personInfo.vue +++ b/src/views/screenAdaptation/pages/homePages/menuTop/personInfo.vue @@ -1,9 +1,9 @@