<scroll-view class="scroll-view_x" scroll-x style="width: auto;overflow:hidden;margin-right:4%" >
<view class="item_list" wx:for="{
{timeDay}}" wx:key="{
{index}}" bindtap='timeData'>
<view class="item_book_text" data-index="{
{index}}" class=" {
{num == index?'cur':''}}" data-date ="{
{item}}">{
{item}}</view>
</view>
</scroll-view>
.itemScroll{width: 100%;height: 10%;overflow: hidden;padding: 3% 3% 0 3%;background: #fff;white-space: nowrap;}
.item_list{width: 100px;margin-right: 10px;display: inline-block;font-size: 12px;border:1px solid #e1e1e1;border-radius:3px;text-align: center;height: 30px;line-height: 30px;}
.cur{width: 100px;heig