feat: 添加广告列表功能及组件

This commit is contained in:
2026-04-09 13:29:44 +08:00
parent c6feeeef8b
commit 943cc862fc
8 changed files with 117 additions and 9 deletions

View File

@@ -215,6 +215,8 @@
</template>
</Skeleton>
</view>
<Advertisement></Advertisement>
</view>
</template>
@@ -228,6 +230,7 @@ import { getNotchHeight } from '@/utils/system'
// import { onPageJump } from '@/utils'
import type { ICategory, ICourse, INews } from '@/types/course'
import { useUserStore } from '@/stores/user'
import Advertisement from '@/components/advertisement/advertisement.vue'
const userStore = useUserStore()

View File

@@ -75,9 +75,7 @@
<text v-if="item.hufenState" class="menu-list-hufen">{{hufenData?.total ?? 0}}<text
style="margin-left: 6rpx;">湖分</text></text>
</wd-cell>
<wd-cell is-link @click="uni.navigateTo({
url: '/pages/index'
})">前往测试</wd-cell>
<wd-cell is-link @click="uni.navigateTo({url: '/pages/index'})">测试页</wd-cell>
</wd-cell-group>
</view>
</view>