/**

 * 服务页：去掉双滚动「柱子」，只保留内层 uni-scroll-view 一根

 */

.service-page,

.service-page uni-page-body,

.service-page uni-page-wrapper {

  height: 100% !important;

  max-height: 100vh !important;

  display: flex !important;

  flex-direction: column !important;

  overflow: hidden !important;

  box-sizing: border-box;

}



/* 外层 scroll-view / scroll-content 禁止滚动 */

.service-page .scroll-content,

.service-page scroll-view.scroll-content,

.service-page .uni-scroll-view-content {

  flex: 1 1 auto !important;

  height: 0 !important;

  min-height: 0 !important;

  width: 100% !important;

  overflow: hidden !important;

  overflow-y: hidden !important;

  -webkit-overflow-scrolling: auto !important;

}



.service-page .scroll-content::-webkit-scrollbar,

.service-page scroll-view.scroll-content::-webkit-scrollbar {

  display: none !important;

  width: 0 !important;

  height: 0 !important;

}



/* 只留最内层 uni-scroll-view 可滚 */

.service-page .scroll-content > .uni-scroll-view,

.service-page scroll-view.scroll-content > .uni-scroll-view {

  height: 100% !important;

  max-height: 100% !important;

  overflow-x: hidden !important;

  overflow-y: auto !important;

  -webkit-overflow-scrolling: touch;

}



.service-page .uni-scroll-view .uni-scroll-view {

  overflow-y: hidden !important;

}



/* 叠了两层 service-page 时，只留最后一个 */

.service-page ~ .service-page {

  display: none !important;

}



uni-page:not(:last-of-type) .service-page {

  display: none !important;

}



/* 仅服务 Tab 锁定整页滚动，不影响首页 */
body.jw-route-service-list,
html.jw-route-service-list {
  overflow: hidden !important;
  height: 100% !important;
}

body.jw-route-service-list uni-page-body,
body.jw-route-service-list uni-page-wrapper,
html.jw-route-service-list uni-page-body,
html.jw-route-service-list uni-page-wrapper {
  overflow: hidden !important;
}

/* 首页：禁止出现服务页滚动锁残留 */
body.jw-route-index,
html.jw-route-index,
.index-page {
  overflow: visible !important;
  overflow-y: auto !important;
  height: auto !important;
  max-height: none !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
}

.index-page uni-page-body,
.index-page uni-page-wrapper {
  overflow: visible !important;
  height: auto !important;
}
