收藏
回答

cover-view重叠?分割线?


<camera ... style="width: 100%; height: 100vh;">
  <cover-view class='camerabgImage-view'>
    <cover-view class='cameraleft-view'></cover-view>
    <cover-view class='cameraright-view'></cover-view>
  </cover-view>
</camera>

<style >
.camerabgImage-view {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
}
.cameraleft-view {
  height: 100vh;
  flex: 1;
  background-color: rgba($color: #000000, $alpha: 0.6); 
}

.cameraright-view {
  height: 100vh;
  flex: 1;
  background-color: rgba($color: #000000, $alpha: 0.6);
}
</style>


红米note9 pro:

回答关注问题邀请回答
收藏
登录 后发表内容