- 当前 Bug 的表现(可附上截图)
- 预期表现
camera组件全屏
- 复现路径
- 提供一个最简复现 Demo
wxml模板
src="../../assets/icons/icon-album.png"
bindtap="chooseAlbum"
>
src="../../assets/icons/icon-shot.png"
bindtap="shot"
>
bindtap="changeDevPos"
>
style样式
.single-camera {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 1;
}
.info-wrap {
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
z-index: 2;
}
.shadow {
width: 100%;
height: 400rpx;
position: absolute;
bottom: 0;
}
.icon-wrap {
width: 100%;
height: 156rpx;
bottom: 100rpx;
position: absolute;
display: flex;
justify-content: space-between;
padding: 0 114rpx;
align-items: center;
box-sizing: border-box;
}
.icon-album {
width: 70rpx;
height: 70rpx;
}
.icon-shot {
width: 156rpx;
height: 156rpx;
}
.icon-change {
width: 70rpx;
height: 70rpx;
}
微信小程序开发问题解答
微信小程序开发者回答:
麻烦提供一下代码片段哈(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
本文网址:http://www.91bianli.com/weixinxiaochengxu/3158.html