1 Star 0 Fork 13

迷路的夏天/wifi

forked from 知了/wifi 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
App.vue 1.16 KB
一键复制 编辑 原始数据 按行查看 历史
fengwenchang 提交于 2022-12-07 16:15 . init commit
<script>
export default {
onLaunch: function() {
console.log('App Launch')
// this.createVideo()
},
onShow: function() {},
onHide: function() {
console.log('App Hide')
},
methods: {
// createVideo() {
// let _this = this;
// let rewardedVideoAd = tt.createRewardedVideoAd({
// adUnitId: '写入自己的广告id'
// })
// rewardedVideoAd.onLoad(() => {
// console.log('拉取激励广告成功')
// })
// rewardedVideoAd.onError((err) => {
// console.log('拉取激励广告失败')
// })
// this.set_video(rewardedVideoAd); // 我将创建好的实例保存在vuex里,以便所有页面获取并使用
// rewardedVideoAd.onClose((res) => {
// if (res && res.isEnded) {
// console.log('激励广告全部加载完成')
// } else {
// console.log('激励广告中途强制关闭')
// }
// })
// }
}
}
</script>
<style>
@import "@/static/iconfont.css";
/*每个页面公共css */
page {
background-color: #efeff4;
height: 100%;
font-size: 28rpx;
font-family: Microsoft YaHei, Georgia, 'Times New Roman', Times, serif;
/* line-height: 1.8; */
}
</style>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/lvjl668/wifi.git
git@gitee.com:lvjl668/wifi.git
lvjl668
wifi
wifi
wifi-share

搜索帮助