refactor: 确立独立子工程架构 (backend, admin, mpuniapp) 并同步更新 AGENTS.md 规范

这个提交包含在:
wikiboss
2026-09-20 17:05:22 +08:00
父节点 de3cf8b870
当前提交 9fa1d1fbd0
共有 1679 个文件被更改,包括 204798 次插入 和 16817 次删除

查看文件

@@ -0,0 +1,56 @@
<template>
<view>
<page-head title="信息流广告"></page-head>
<!-- #ifndef MP -->
<ad adpid="1111111111" style="width: 100%;" @load="loadFun" @error="errorFun"></ad>
<!-- #endif -->
<!-- #ifdef MP -->
<view class="uni-center">微信小程序平台暂不支持测试广告位,需要开通uni-ad后可测试</view>
<!-- #endif -->
<view v-if="tips" class="uni-center">信息流广告加载失败,请退出当前页面重试。</view>
<button @click="pushList">列表-信息流</button>
<button @click="pushVideoAd">视频贴片-非全屏</button>
<button @click="pushVideoAdL">视频贴片-横向全屏</button>
<button @click="pushVideoAdP">视频贴片-竖向全屏</button>
</view>
</template>
<script setup lang="uts">
const tips = ref(false)
const pushList = () => {
uni.navigateTo({
url: '/pages/component/ad/list-view-ad',
})
}
const pushVideoAd = () => {
uni.navigateTo({
url: '/pages/component/ad/video-ad',
})
}
const pushVideoAdL = () => {
uni.navigateTo({
url: '/pages/component/ad/landscape-video-ad',
})
}
const pushVideoAdP = () => {
uni.navigateTo({
url: '/pages/component/ad/portrait-video-ad',
})
}
const loadFun = () => {
uni.showToast({
position: "bottom",
title: "信息流广告加载成功"
})
}
const errorFun = () => {
tips.value = true;
}
</script>