瀏覽代碼

优化

wulanhaote
庞东旭 2 年之前
父節點
當前提交
a1fb897569
共有 1 個檔案被更改,包括 1 行新增34 行删除
  1. +1
    -34
      src/views/sunVillage_info/list_tourists_ranking.vue

+ 1
- 34
src/views/sunVillage_info/list_tourists_ranking.vue 查看文件

@@ -52,18 +52,6 @@
<div class="clear"></div> <div class="clear"></div>
</div> </div>


<div class="box1">
<div class="wrap">
<ul>
<li>1移动端</li>
<li>2可滑动</li>
<li>3ie8以上</li>
<li>4</li>
<li>5</li>
</ul>
</div>
</div>



</div> </div>
</template> </template>
@@ -134,28 +122,7 @@
</script> </script>


<style scoped lang="scss"> <style scoped lang="scss">
.box1{
width: 100PX;
height: 60PX;
overflow: hidden;/* 超出隐藏滚动条 */
background-color: skyblue;
}
.box1 .wrap{
width: 100PX;/* 和父盒子宽度一样 */
height: 76PX;/* 比里层元素高16px 为了隐藏滚动条*/
overflow-x: scroll;/* 定义超出此盒子滚动 */
overflow-y: hidden;
}
.box1 .wrap ul{
width: 300PX;
display: flex;
}
.box1 .wrap ul li{
flex: 1;
width: 60PX;
height: 60PX;
box-sizing: border-box;
}

.home_wrapper{ .home_wrapper{
background: #e9e9e9; background: #e9e9e9;
min-height: 100vh; min-height: 100vh;


Loading…
取消
儲存