From 7d1aa498b421938b6875aeea129c1a632bb73760 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E6=AF=85?= <1335909236@qq.com> Date: Thu, 18 Sep 2025 09:57:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A6=96=E9=A1=B5=E5=B8=83?= =?UTF-8?q?=E5=B1=80,=E7=A1=AE=E4=BF=9D=E4=B8=8D=E4=BC=9A=E5=9B=A0?= =?UTF-8?q?=E4=B8=BA=E5=B1=8F=E5=B9=95=E5=B0=BA=E5=AF=B8=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E6=B7=B7=E4=B9=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.css | 12 ++++++------ pages/index/index.vue | 15 +++++++++------ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/pages/index/index.css b/pages/index/index.css index 1ea631e7..c7fe18ca 100644 --- a/pages/index/index.css +++ b/pages/index/index.css @@ -260,7 +260,7 @@ page { /* 广告横幅 */ .serverList1 { - width: 100%; + width: 97%; height: 450rpx; display: flex; flex-wrap: wrap; @@ -279,19 +279,19 @@ page { } .serverList1_left image { - width: 350rpx; - height: 454rpx; + width: 100%; + height: 100%; object-fit: cover; border-radius: 20rpx; } .serverList1_right { - width: 400rpx; + width: 370rpx; height: 450rpx; } .serverItemRight1 { - width: 350rpx; + width: 100%; height: 222rpx; } @@ -300,7 +300,7 @@ page { } .serverItemRight2 { - width: 350rpx; + width: 100%; height: 222rpx; margin-top: 10rpx; } diff --git a/pages/index/index.vue b/pages/index/index.vue index fd7f2d03..405c1508 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -92,15 +92,13 @@ - - - + + - @@ -115,7 +113,7 @@ - + @@ -134,7 +132,7 @@ {{ item.title }} - + @@ -352,6 +350,11 @@ export default { }) }, + // 广告商品跳转 + toAdvertisingView(item) { + NavgateTo('/packages/advertising/index/index') + }, + async goToWuye() { uni.removeStorageSync('order_dispatch_permission'); uni.removeStorageSync('work_order_permission');