小程序学习之旅----open-dataweb-view 以及 canvas、map

xiaoxiao2025-11-10  11

<open-data type="userAvatarUrl"></open-data> <open-data type="userGender" lang="zh_CN"></open-data> <view></view> <open-data type="userNickName" lang="zh_CN"></open-data> const app = getApp() Page({ data: { }, onLoad: function () { console.log('代码片段是一种迷你、可分享的小程序或小游戏项目,可用于分享小程序和小游戏的开发经验、展示组件和 API 的使用、复现开发问题和 Bug 等。可点击以下链接查看代码片段的详细文档:') console.log('https://mp.weixin.qq.com/debug/wxadoc/dev/devtools/devtools.html') }, }) #myVideo{ width: 100%; } .controls{ height: 80rpx; line-height: 80rpx; position: absolute; bottom: 0px; background: rgba(0, 0, 0, 1); width: 100%; color: #fff; text-align: center; display:flex; } .play,.pause,.time { flex: 1; height: 100%; } .time { text-align: center; background-color: rgba(0, 0, 0, .5); color: white; height: 80rpx; line-height: 80rpx; } .img { width: 24px; height: 24px; margin: 5px auto; } <web-view src="https://mp.weixin.qq.com/"></web-view> <!-- 新闻列表和新闻详情 --> Page({ data: { motto: 'Hello World' } })

 

转载请注明原文地址: https://www.6miu.com/read-5039402.html

最新回复(0)