小灬绿谷
小灬绿谷
  • 发布:2020-06-21 00:20
  • 更新:2020-06-21 00:20
  • 阅读:784

uniapp 创建了nvue文件 页面无法沉浸 pages开启了"type": "transparent"

分类:uni-app

uniapp 中的nvue页面结构
无法实现沉浸 头部状态栏有一块空出来的白色区域,但是图片上滑可以通顶。
附件中有图片
<template>
<div>
<swiper class="swiper" autoplay="true" indicator-dots="true" indicator-color="#fff">
<swiper-item class="item1" >
<image class="imggg" src="https://img.alicdn.com/imgextra/i3/3329806294/O1CN01ukjbYo1wMhRfhgO9Y_!!3329806294.jpg_430x430q90.jpg" mode="aspectFill"></image>
</swiper-item>
</swiper>
</div>
</template>

其他地方没动

{
"path": "pages/detail/detail",
"style": {
"navigationBarTitleText": "商品详情",
"enablePullDownRefresh": true,
"backgroundColorTop":"#fff",
"backgroundColorBottom":"#fff",
"app-plus": {
"titleNView": {
"type": "transparent"
}
}
}
},

2020-06-21 00:20 负责人:无 分享
已邀请:

该问题目前已经被锁定, 无法添加新回复