<view class=‘section1’>
<view class=‘section__title1’>新闻频道横向滚动</view>
<scroll-view scroll-x=“true” style=“width: 100%;” >
<view style=‘display:flex;flex-direction:row’>
<view style=‘margin-right:10px;’>推荐</view>
<view style=‘margin-right:10px;’>推荐2</view>
<view style=‘margin-right:10px;’>推荐3</view>
<view style=‘margin-right:10px;’>推荐4</view>
<view style=‘margin-right:10px;’>推荐5</view>
<view style=‘margin-right:10px;’>推荐6</view>
<view style=‘margin-right:10px;’>推荐7</view>
<view style=‘margin-right:10px;’>推荐8</view>
<view style=‘margin-right:10px;’>图片</view>
<view style=‘margin-right:10px;’>科技</view>
<view style=‘margin-right:10px;’>汽车</view>
<view style=‘margin-right:10px;’>推荐</view>
<view style=‘margin-right:10px;’>推荐</view>
<view style=‘margin-right:10px;’>推荐</view>
<view style=‘margin-right:10px;’>推荐</view>
<view style=‘margin-right:10px;’>推荐</view>
</view>
</scroll-view>
</view>