/**
 * 仅作用于 Tab 页（.tab-page），勿改全局 page，避免详情等栈式页面无法滚动
 */
/* #ifdef H5 */
.tab-page {
  flex: 1 1 auto;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.tab-page > view,
.tab-page > scroll-view {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.sp-scroll,
.sp-order-page,
.sp-order-scroll,
.ym-page,
.ym-scroll,
.mine-page,
.mine-scroll,
.guest-view {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
}

scroll-view.sp-scroll,
scroll-view.sp-order-scroll,
scroll-view.ym-scroll,
scroll-view.mine-scroll {
  height: 100% !important;
  min-height: 1px !important;
  flex: 1 1 auto !important;
}
/* #endif */
