\1. 借助于 MUI 的 tab-top-webview-main.html
控件来实现
\2. 当拿到 UI 代码片段之后,需要把 mui-fullscreen
去掉
--因为这个属性是铺满整个界面,遮盖住界面
<!-- 图片分类区域 顶部滑动条区域--> <div id="slider" class="mui-slider"> <div id="sliderSegmentedControl" class="mui-scroll-wrapper mui-slider-indicator mui-segmented-control mui-segmented-control-inverted"> <div class="mui-scroll"> <span :class="['mui-control-item', item.id === 0 ? 'mui-active' : '' ]" v-for="item in category" :key="item.id" @tap="getPhotoByCategory(item.id)"> {{ item.title }} </span> </div> </div> </div>