diff --git a/pages.json b/pages.json index 7710ef5c757805af00030e4763788302237297c4..165a2d8f1c0c291ef2ee46421f045feb68acc910 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 54effbed60b7df90ed52a0e1b7bd329be5097a6e..30d5af1a93747dcc1610050797948a64426baac8 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 0000000000000000000000000000000000000000..e36e31f8aad1ad731e3ec4a6cb70482a53b4733e --- /dev/null +++ b/pages/component/ad/list-view-ad.uvue @@ -0,0 +1,42 @@ + + + + +