跟着教学视频敲代码,但面板不是置顶是出了什么问题?

发布于 7 年前作者 mingfu15012 次浏览最后编辑 7 年前来自 issues

这是我实际做出来的页面:, wxss相关代码如下:

.container {

  height: 100vh;

  background-color: silver;

  display: flex;

  flex-direction: column;

  }

.topPanel {

  width: 100%;

  height: 300rpx;

  background-color: #686f79;

  display: flex;

  flex-direction: row;

}

1 回复
vzheng
vzheng1 楼4 年前

请具体描述问题出现的流程,并提供能复现问题的简单代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)。