优化月视图长姓名滚动展示
This commit is contained in:
@@ -142,7 +142,12 @@
|
||||
</block>
|
||||
<block wx:else>
|
||||
<view wx:for="{{item.rowBlocks}}" wx:for-item="block" wx:key="key" class="month-row-block {{monthRowLabelVisible ? 'named' : ''}} {{block.statusClass}}" style="background: {{block.color}};" data-id="{{block.orderItemId || block.id}}" data-order-item-id="{{block.orderItemId || block.id}}" catchtap="openAppointment">
|
||||
<text wx:if="{{monthRowLabelVisible}}" data-id="{{block.orderItemId || block.id}}" data-order-item-id="{{block.orderItemId || block.id}}">{{block.customerName}}</text>
|
||||
<view wx:if="{{monthRowLabelVisible}}" class="month-row-name {{block.customerName.length > 4 ? 'scrolling' : ''}}" data-id="{{block.orderItemId || block.id}}" data-order-item-id="{{block.orderItemId || block.id}}">
|
||||
<view class="month-row-name-track">
|
||||
<text class="month-row-name-text">{{block.customerName}}</text>
|
||||
<text wx:if="{{block.customerName.length > 4}}" class="month-row-name-text month-row-name-copy">{{block.customerName}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view wx:if="{{item.totalCount === 0}}" class="month-empty">空</view>
|
||||
</block>
|
||||
|
||||
Reference in New Issue
Block a user