From 19d805cc4c9dd219d8888879713a7fe39de0f99b Mon Sep 17 00:00:00 2001 From: wangzhitong Date: Wed, 25 Sep 2024 15:25:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=B5=81-list=E6=B5=8B=E8=AF=95=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 9 +++++- pages/component/ad/ad.uvue | 10 +++++-- pages/component/ad/list-view-ad.uvue | 42 ++++++++++++++++++++++++++++ 3 files changed, 58 insertions(+), 3 deletions(-) create mode 100644 pages/component/ad/list-view-ad.uvue diff --git a/pages.json b/pages.json index 7710ef5c..165a2d8f 100644 --- a/pages.json +++ b/pages.json @@ -507,7 +507,7 @@ } }, // #endif - // #ifdef APP-ANDROID + // #ifdef APP { "path": "pages/component/ad/ad", "group": "0,8", @@ -516,6 +516,13 @@ "enablePullDownRefresh": false } }, + { + "path": "pages/component/ad/list-view-ad", + "style": { + "navigationBarTitleText": "ad | 信息流广告", + "enablePullDownRefresh": false + } + }, // #endif { "path": "pages/tabBar/API", diff --git a/pages/component/ad/ad.uvue b/pages/component/ad/ad.uvue index 54effbed..30d5af1a 100644 --- a/pages/component/ad/ad.uvue +++ b/pages/component/ad/ad.uvue @@ -2,7 +2,8 @@ - 信息流广告加载失败,请退出当前页面重试。 + 信息流广告加载失败,请退出当前页面重试。 + @@ -13,7 +14,12 @@ tips: false } }, - methods: { + methods: { + pushList(){ + uni.navigateTo({ + url: '/pages/component/ad/list-view-ad', + }) + }, loadFun() { uni.showToast({ position: "bottom", diff --git a/pages/component/ad/list-view-ad.uvue b/pages/component/ad/list-view-ad.uvue new file mode 100644 index 00000000..e36e31f8 --- /dev/null +++ b/pages/component/ad/list-view-ad.uvue @@ -0,0 +1,42 @@ + + + + + -- GitLab