From 343b1fd5f6e16f59f57b4bc8ccb407c570bf7da2 Mon Sep 17 00:00:00 2001 From: owen Date: Sat, 25 Nov 2023 15:53:06 +0800 Subject: [PATCH] =?UTF-8?q?=E8=90=A5=E9=94=80=EF=BC=9A=E9=80=82=E9=85=8D?= =?UTF-8?q?=E5=95=86=E5=9F=8E=E8=A3=85=E4=BF=AE=E7=BB=84=E4=BB=B6=E3=80=90?= =?UTF-8?q?=E8=90=A5=E9=94=80=E6=96=87=E7=AB=A0=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sheep/api/promotion/article.js | 12 ++++++++++++ sheep/components/s-block-item/s-block-item.vue | 4 ++-- .../components/s-richtext-block/s-richtext-block.vue | 8 +++----- 3 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 sheep/api/promotion/article.js diff --git a/sheep/api/promotion/article.js b/sheep/api/promotion/article.js new file mode 100644 index 00000000..36b037d0 --- /dev/null +++ b/sheep/api/promotion/article.js @@ -0,0 +1,12 @@ +import request from '@/sheep/request'; + +export default { + // 获得文章详情 + getArticle: (id) => { + return request({ + url: '/app-api/promotion/article/get', + method: 'GET', + params: { id } + }); + } +} diff --git a/sheep/components/s-block-item/s-block-item.vue b/sheep/components/s-block-item/s-block-item.vue index 21fe32da..45228c0a 100644 --- a/sheep/components/s-block-item/s-block-item.vue +++ b/sheep/components/s-block-item/s-block-item.vue @@ -23,8 +23,6 @@ - - @@ -43,6 +41,8 @@ + + diff --git a/sheep/components/s-richtext-block/s-richtext-block.vue b/sheep/components/s-richtext-block/s-richtext-block.vue index dfba649b..86f801db 100644 --- a/sheep/components/s-richtext-block/s-richtext-block.vue +++ b/sheep/components/s-richtext-block/s-richtext-block.vue @@ -15,7 +15,7 @@