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');