作者 wumengyu

优化实验名称显示

... ... @@ -19,6 +19,7 @@
<view class="area">{{item.name}}</view>
<view class="test-list">
<view class="list-item-box">
<view class="no-session test" wx:if="{{item.lab_list.length===0}}">暂无实验</view>
<block wx:for="{{item.lab_list}}" wx:key="index">
<view class="list-item" bindtap="chooseTest" data-index="{{index}}"
data-id="{{item.id}}">
... ...
... ... @@ -79,6 +79,7 @@ picker {
display: flex;
position: relative;
}
.list-item-box .list-item:last-child {
border: none;
}
... ... @@ -99,6 +100,10 @@ picker {
line-height: 100rpx;
color: #6F6F6F;
font-size: 28rpx;
overflow-x: scroll;
white-space:nowrap;
display: -webkit-box;
-webkit-overflow-scrolling: touch;
/*border-bottom: 1rpx solid #DEDEDE;*/
}
.change-color {
... ...