pages.json中subnvue配置如下
{
"id": "followup-execute",
"path": "pages/followup/execute",
"type": "popup",
"style": {
"position": "popup",
"height": "30%",
"bottom": "0px",
"background": "transparent"
}
}
pages/followup/execute.nvue文件代码大致如下:
<view class="body">
<input type="text" placeholder="请输入内容" adjust-position="true" />
</view>