From 241c70ebb05e261b7070fa626423fb9a37ef54f4 Mon Sep 17 00:00:00 2001 From: hw Date: Mon, 24 Nov 2025 17:38:04 +0800 Subject: [PATCH] fix: eslint --- .../src/views/mp/components/wx-news/wx-news.vue | 12 ++++++------ .../src/views/mp/components/wx-news/wx-news.vue | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/apps/web-antd/src/views/mp/components/wx-news/wx-news.vue b/apps/web-antd/src/views/mp/components/wx-news/wx-news.vue index 7ec1635b7..94ccf98d4 100644 --- a/apps/web-antd/src/views/mp/components/wx-news/wx-news.vue +++ b/apps/web-antd/src/views/mp/components/wx-news/wx-news.vue @@ -58,12 +58,12 @@ defineExpose({ /** TODO @dylan:看看有没适合 tindwind 的哈。 */ .news-home { - width: 100%; - margin: auto; - background-color: #fff; display: flex; flex-direction: column; gap: 10px; + width: 100%; + margin: auto; + background-color: #fff; } .news-main { @@ -85,10 +85,10 @@ defineExpose({ display: inline-block; width: 98%; padding: 1%; + margin-left: 10px; font-size: 16px; color: #fff; white-space: normal; - margin-left: 10px; } .news-main-item { @@ -96,9 +96,9 @@ defineExpose({ } .news-content-item { - padding: 10px; - box-sizing: border-box; position: relative; + box-sizing: border-box; + padding: 10px; } .news-content-item-title { diff --git a/apps/web-ele/src/views/mp/components/wx-news/wx-news.vue b/apps/web-ele/src/views/mp/components/wx-news/wx-news.vue index 6d9dbc4c5..f03ee5d2f 100644 --- a/apps/web-ele/src/views/mp/components/wx-news/wx-news.vue +++ b/apps/web-ele/src/views/mp/components/wx-news/wx-news.vue @@ -58,12 +58,12 @@ defineExpose({ /** TODO @dylan:看看有没适合 tindwind 的哈。 */ .news-home { - width: 100%; - margin: auto; - background-color: #fff; display: flex; flex-direction: column; gap: 10px; + width: 100%; + margin: auto; + background-color: #fff; } .news-main { @@ -85,10 +85,10 @@ defineExpose({ display: inline-block; width: 98%; padding: 1%; + margin-left: 10px; font-size: 16px; color: #fff; white-space: normal; - margin-left: 10px; } .news-main-item { @@ -96,9 +96,9 @@ defineExpose({ } .news-content-item { - padding: 10px; - box-sizing: border-box; position: relative; + box-sizing: border-box; + padding: 10px; } .news-content-item-title {