Showing
4 changed files
with
12 additions
and
5 deletions
| 1 | -.tableData_main{width:180%;overflow:auto;border-bottom:1px solid #B0C8FE}.tableData_main .table_head{background:#DCE7FF;border:1px solid #B0C8FE;border-radius:6rpx 6rpx 0 0;height:72rpx;line-height:72rpx;display:flex}.tableData_main .table_empty_data{height:350rpx;display:flex;align-items:center;justify-content:center;font-family:PingFangSC-Regular;font-size:28rpx;color:#323241;text-align:left;font-weight:400}.tableData_main .head_col,.tableData_main .content_col{font-family:PingFangSC-Regular;font-size:28rpx;color:#323241;text-align:left;font-weight:400;padding-left:24rpx;white-space:nowrap}.tableData_main .head_one{min-width:300rpx}.tableData_main .head_two{min-width:250rpx}.tableData_main .head_three{min-width:250rpx}.tableData_main .head_four{min-width:250rpx}.tableData_main .swiper_container{height:350rpx}.tableData_main .table_item{display:flex;font-family:PingFangSC-Regular;font-size:24rpx;color:#323241;text-align:center;font-weight:400;background:#F5F6FD;border:1rpx solid #B0C8FE;height:72rpx;line-height:72rpx} | |
| 1 | +.tableData_main{width:180%;overflow:auto;border-bottom:1px solid #B0C8FE}.tableData_main .table_head{background:#DCE7FF;border:1px solid #B0C8FE;border-radius:6rpx 6rpx 0 0;height:72rpx;line-height:72rpx;display:flex}.tableData_main .table_empty_data{border-left:1px solid #B0C8FE;border-right:1px solid #B0C8FE;height:350rpx;display:flex;align-items:center;justify-content:center;font-family:PingFangSC-Regular;font-size:28rpx;color:#323241;text-align:left;font-weight:400}.tableData_main .head_col,.tableData_main .content_col{font-family:PingFangSC-Regular;font-size:28rpx;color:#323241;text-align:left;font-weight:400;padding-left:24rpx;white-space:nowrap}.tableData_main .head_one{min-width:300rpx}.tableData_main .head_two{min-width:250rpx}.tableData_main .head_three{min-width:250rpx}.tableData_main .head_four{min-width:250rpx}.tableData_main .swiper_container{height:350rpx}.tableData_main .table_item{display:flex;font-family:PingFangSC-Regular;font-size:24rpx;color:#323241;text-align:center;font-weight:400;background:#F5F6FD;border:1rpx solid #B0C8FE;height:72rpx;line-height:72rpx} | ... | ... |
| ... | ... | @@ -5,8 +5,9 @@ |
| 5 | 5 | <text class="head_col head_three">{{tableHeader.two}}</text> |
| 6 | 6 | <text class="head_col head_four">{{tableHeader.three}}</text> |
| 7 | 7 | </view> |
| 8 | - <swiper class="swiper_container" vertical="true" autoplay="true" circular="true" interval="2000" display-multiple-items="{{tableList.length>5?5:tableList.length}}"> | |
| 9 | - <view wx:if="{{tableList&&tableList.length>0}}" wx:for="{{tableList}}" class="container_swiper" wx:key="index" wx:for-item="item" wx:for-index="index"> | |
| 8 | + <swiper class="swiper_container" | |
| 9 | + wx:if="{{tableList&&tableList.length>0}}"vertical="true" autoplay="true" circular="true" interval="2000" display-multiple-items="{{tableList.length>5?5:tableList.length}}"> | |
| 10 | + <view wx:for="{{tableList}}" class="container_swiper" wx:key="index" wx:for-item="item" wx:for-index="index"> | |
| 10 | 11 | <swiper-item> |
| 11 | 12 | <view class="table_item"> |
| 12 | 13 | <view class="content_col head_one"> |
| ... | ... | @@ -25,9 +26,10 @@ |
| 25 | 26 | </swiper-item> |
| 26 | 27 | </view> |
| 27 | 28 | |
| 28 | - <view class="table_empty_data" wx:if="tableList.length === 0"> | |
| 29 | + | |
| 30 | + </swiper> | |
| 31 | + <view class="table_empty_data" wx:if="tableList.length === 0"> | |
| 29 | 32 | 暂无数据 |
| 30 | 33 | |
| 31 | 34 | </view> |
| 32 | - </swiper> | |
| 33 | 35 | </view> |
| \ No newline at end of file | ... | ... |