From 1f4adcbc3c44fd9fcabcd8bbb7bc0edd0eed063d Mon Sep 17 00:00:00 2001 From: "452061493@qq.com" <452061493@qq.com> Date: Mon, 17 Jun 2024 17:11:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8Fbug=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/goods-card/index.vue | 8 +- src/views/Home.vue | 68 +++++++++------- src/views/HomeWx.vue | 69 +++++++++------- src/views/My.vue | 18 ++--- src/views/Shop.vue | 16 ++-- src/views/administrative/appointment.vue | 14 ++-- src/views/administrative/appointmentEdit.vue | 8 +- src/views/administrative/appointmentList.vue | 24 +++--- src/views/administrative/userFilter.vue | 46 +++++++---- src/views/common/analyse.vue | 2 +- src/views/common/setting.vue | 20 ++--- src/views/enforce/assistUserFilter.vue | 48 ++++++++---- src/views/enforce/earlyWarning.vue | 22 +++--- src/views/enforce/enforceNotice.vue | 24 +++--- src/views/enforce/enforcementPlan.vue | 24 +++--- src/views/enforce/enforcementPlanAdd.vue | 35 +++++---- src/views/enforce/enterpriseBaseInfo.vue | 46 +++++------ src/views/enforce/enterpriseScanPreview.vue | 10 +-- src/views/enforce/enterpriseWarningInfo.vue | 36 ++++----- src/views/enforce/historyCheck.vue | 24 +++--- src/views/enforce/noScan.vue | 38 +++++---- src/views/enforce/scanPageTest.vue | 2 +- src/views/enforce/scanQrCode.vue | 18 ++--- src/views/enforce/sign.vue | 52 ++++++------- src/views/enforce/userFilter.vue | 44 +++++++---- src/views/enforce/zqyjjdmFilter.vue | 2 +- src/views/enforceHome.vue | 78 ++++++++++--------- src/views/enterprise/caseFilter.vue | 2 +- src/views/enterprise/companyFilter.vue | 4 +- src/views/enterprise/complaint.vue | 20 +++-- src/views/enterprise/complaintList.vue | 36 ++++----- src/views/enterprise/complaintNoScan.vue | 24 +++--- .../enterprise/enterpriseInspectionDetail.vue | 8 +- .../enterprise/enterpriseInspectionList.vue | 22 +++--- src/views/enterprise/qrCode.vue | 20 +++-- src/views/enterprise/qrCodeHistory.vue | 24 +++--- src/views/enterprise/register.vue | 26 ++++++- src/views/enterprise/registrationDetail.vue | 63 ++++++++------- src/views/enterprise/registrationEdit.vue | 50 ++++++------ src/views/enterprise/registrationList.vue | 24 +++--- .../enterprise/registrationSelectList.vue | 32 ++++---- src/views/login.vue | 14 ++-- 42 files changed, 651 insertions(+), 514 deletions(-) diff --git a/src/components/goods-card/index.vue b/src/components/goods-card/index.vue index cc3685e..e7e131a 100644 --- a/src/components/goods-card/index.vue +++ b/src/components/goods-card/index.vue @@ -58,10 +58,10 @@ diff --git a/src/views/HomeWx.vue b/src/views/HomeWx.vue index c29cd1a..a801ff8 100644 --- a/src/views/HomeWx.vue +++ b/src/views/HomeWx.vue @@ -239,9 +239,9 @@ overflow-y: auto; .carousel_box { - height: 150px; + height: 4rem; width: 100%; - padding-bottom: 10px; + padding-bottom: 0.27rem; } @@ -253,7 +253,7 @@ bottom: 1%; .boutique_body { - padding: 0px 0px 10px 0px; + padding: 0 0 0.27rem 0; display: flex; justify-content: center; } @@ -262,9 +262,9 @@ position: relative; margin: 2% 0; width: 90%; - height: 3.66667rem; + height: 3.67rem; text-align: right; - border-radius: 10px; + border-radius: 0.27rem; .box-qr-code-text { position: absolute; @@ -278,14 +278,14 @@ .box-qr-code::before { content: ""; position: absolute; - top: -5px; - left: -5px; + top: -0.14rem; + left: -0.14rem; z-index: 0; - width: calc(100% + 4px); - height: calc(100% + 4px); + width: calc(100% + 0.13rem); + height: calc(100% + 0.13rem); background-color: #fff; - border: 5px solid rgba(255,255,255,0.5); - border-radius: 10px; + border: 0.14rem solid rgba(255,255,255,0.5); + border-radius: 0.27rem; } .box-qr-code::after { @@ -296,7 +296,7 @@ z-index: 1; width: 100%; height: 100%; - border-radius: 10px; + border-radius: 0.26667rem; background: #fff url("../assets/images/item_code.jpg") no-repeat left; background-size: auto 100%; border: 1px solid #8db4ff; @@ -306,9 +306,9 @@ position: relative; margin-right: 2%; width: 50%; - height: 3.66667rem; + height: 3.67rem; text-align: right; - border-radius: 10px; + border-radius: 0.27rem; .box-info-text { position: absolute; @@ -322,14 +322,14 @@ .box-info::before { content: ""; position: absolute; - top: -5px; - left: -5px; + top: -0.14rem; + left: -0.14rem; z-index: 0; - width: calc(100% + 4px); - height: calc(100% + 4px); + width: calc(100% + 0.13rem); + height: calc(100% + 0.13rem); background-color: #fff; - border: 5px solid rgba(255,255,255,0.5); - border-radius: 10px; + border: 0.14rem solid rgba(255,255,255,0.5); + border-radius: 0.27rem; } .box-info::after { @@ -340,7 +340,7 @@ z-index: 1; width: 100%; height: 100%; - border-radius: 10px; + border-radius: 0.27rem; background: #fff url("../assets/images/item_checkc.jpg") no-repeat left; background-size: auto 100%; border: 1px solid #8db4ff; @@ -350,9 +350,9 @@ position: relative; margin-left: 3%; width: 35%; - height: 3.66667rem; + height: 3.67rem; text-align: right; - border-radius: 10px; + border-radius: 0.27rem; .box-complaint-text { position: absolute; @@ -367,14 +367,14 @@ .box-complaint::before { content: ""; position: absolute; - top: -5px; - left: -5px; + top: -0.14rem; + left: -0.14rem; z-index: 0; - width: calc(100% + 4px); - height: calc(100% + 4px); + width: calc(100% + 0.13rem); + height: calc(100% + 0.13rem); background-color: #fff; - border: 5px solid rgba(255,255,255,0.5); - border-radius: 10px; + border: 0.14rem solid rgba(255,255,255,0.5); + border-radius: 0.27rem; } .box-complaint::after { @@ -385,7 +385,7 @@ z-index: 1; width: 100%; height: 100%; - border-radius: 10px; + border-radius: 0.27rem; background: #fff url("../assets/images/item_complain.jpg") no-repeat left; background-size: auto 100%; border: 1px solid #8db4ff; @@ -408,10 +408,19 @@ background: url("../assets/images/logo.png") no-repeat; background-size: 100% auto; } + @media screen and (max-width: 380px) { .home .warp_body { background: #c6e6ff url("../assets/images/bg_c.jpg") no-repeat top; background-size: 100% auto; } } + + @media screen and (min-width: 540px) { + .home .warp_body { + background: #c6e6ff url("../assets/images/bg_c.jpg") no-repeat top; + background-size: 100% auto; + } + } + diff --git a/src/views/My.vue b/src/views/My.vue index 362d807..4bf058b 100644 --- a/src/views/My.vue +++ b/src/views/My.vue @@ -29,7 +29,7 @@ -
{{ item.c201002 }}
+{{ item.c201002 }}
处罚类别:予以处罚
@@ -369,25 +369,16 @@ //border-radius: 0.25rem; background-image: linear-gradient(to bottom, #ebf3fb, #fff); overflow-y: auto; - margin-top: 1%; + margin-top: 0.15rem; } - .qy-name { - font-size: 0.4rem; - margin: 0 4.25%; - height: 1.2rem; - line-height: 3.5; - font-weight: 600; - color: #000; - border-bottom: 2px solid #f3f4f5; - } - - .zf-name { - /* height: 1.2rem; */ - margin: 0 0 0.25rem 0; - font-size: .35rem; + .qy-name, .zf-name { + margin: 0 0.27rem; + font-size: 0.42rem; + height: 1.2rem; + background-color: white; font-weight: 600; - line-height: 1.25; + line-height: 3.5; } /* vant4的 Toast 和 Popup 样式冲突,会导致 Toast 变成白底 */ @@ -408,20 +399,22 @@ margin: auto; width: 100%; height: 0.25rem; - background-color: #f4f4f4; + background-color: #ebf3fb; border: 0; } .file-upload { - min-height: 4.5rem; - position: relative; + position: relative; + min-height: 4.2rem; + padding: 0.27rem 0.43rem; + box-sizing: border-box; } .file-upload-center { position: absolute; height: 20%; top: 10%; - left: 2%; + left: 0.43rem; font-size: 0.35rem; span { @@ -433,7 +426,8 @@ .file { position: absolute; bottom: 10%; - left: 2%; + left: 0.43rem; + width: calc(100% - 0.86rem); } .preview-cover { @@ -451,8 +445,8 @@ .goods_box { display: flex; background-color: #fff; - margin: 10px; - border-radius: 10px; + margin: 0.27rem; + border-radius: 0.27rem; .swipe_cell { width: 100%; @@ -461,13 +455,13 @@ .card_box { display: flex; width: 100%; - padding: 10px 0px; + padding: 0.27rem 0; flex-direction: column; border-bottom: 1px solid #f3f4f5; .card_body { background-color: #fff; - border-radius: 10px; + border-radius: 0.27rem; flex: 1; } diff --git a/src/views/enforce/enterpriseScanPreview.vue b/src/views/enforce/enterpriseScanPreview.vue index 97b0d95..34d87d2 100644 --- a/src/views/enforce/enterpriseScanPreview.vue +++ b/src/views/enforce/enterpriseScanPreview.vue @@ -180,11 +180,11 @@ const goBack = () => { } .white-body { - margin: 0 4%; - width: 92%; - height: 100%; + margin: 0 3%; + width: 94%; + height: 99%; background-color: #fff; - border-radius: 0.25rem; + border-radius: 0.27rem; } } @@ -273,7 +273,7 @@ const goBack = () => { height: 1.5rem; background-color: #1367fe; border-radius: 50%; - box-shadow: 0 0 0.26667rem #1367fe; + box-shadow: 0 0 0.27rem #1367fe; color: #fff; font-size: 0.4rem; text-align: center; diff --git a/src/views/enforce/enterpriseWarningInfo.vue b/src/views/enforce/enterpriseWarningInfo.vue index 95c7ac1..4e67287 100644 --- a/src/views/enforce/enterpriseWarningInfo.vue +++ b/src/views/enforce/enterpriseWarningInfo.vue @@ -34,8 +34,8 @@{{ item.createTime }}
执法时间:{{ item.createTime }}
@@ -301,10 +301,10 @@ const oneCheckbox = (item) => { display: flex; flex-direction: column; overflow: hidden; - background-color: #f4f4f4; + background-color: #ebf3fb; .header_body { - height: 50px; + height: 1.33rem; } .shop-center { @@ -315,8 +315,8 @@ const oneCheckbox = (item) => { .goods_box { display: flex; background-color: #fff; - margin: 10px; - border-radius: 10px; + margin: 0.27rem; + border-radius: 0.27rem; .swipe_cell { width: 100%; @@ -325,11 +325,11 @@ const oneCheckbox = (item) => { .card_box { display: flex; width: 100%; - padding: 10px 0px; + padding: 0.27rem 0; flex-direction: column; .card_body { background-color: #fff; - border-radius: 10px; + border-radius: 0.27rem; flex: 1; } .card_box_span { @@ -356,8 +356,8 @@ const oneCheckbox = (item) => { //height: 101px; position: relative; .footer-one-btn { - height: 50px; - bottom: 51px; + height: 13.5rem; + bottom: 13.6rem; } } } @@ -366,8 +366,8 @@ const oneCheckbox = (item) => { height: 0.7rem; display: flex; flex-direction: row; - padding-left: 10px; - margin-top: 10px; + padding-left: 0.27rem; + margin-top: 0.27rem; align-items: end; .search-button { width: 15%; @@ -382,12 +382,12 @@ const oneCheckbox = (item) => { height: 3%; display: flex; flex-direction: row; - padding-left: 10px; - margin-top: 10px; + padding-left: 0.27rem; + margin-top: 0.27rem; align-items: end; position: relative; .date-select{ - font-size: 20px; + font-size: 0.52rem; margin-left: 2%; i { transform: rotate(90deg); @@ -404,7 +404,7 @@ const oneCheckbox = (item) => { } .van-checkbox { - margin-left: 10px; + margin-left: 0.27rem; position: absolute; top: 45%; } @@ -422,7 +422,7 @@ const oneCheckbox = (item) => { width: 10%; height: 0.9rem; background: #1367fe; - border: 0.02667rem solid #1367fe; + border: 0.01rem solid #1367fe; border-radius: 0 0.15rem 0.15rem 0; color: #fff; text-align: center; diff --git a/src/views/login.vue b/src/views/login.vue index c1afc4c..c0c4164 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -13,7 +13,7 @@ :rules="[{ required: true, message: '请填写用户名' }]" />