| | |
| | | <view class="dispatch">{{ item.customerName ||'' }}</view> |
| | | </view> |
| | | <view class="point-number"> |
| | | <text class="order-type">{{ item.productNames || '' }}</text> |
| | | <text class="order-type">{{ item.productNames?limitString(item.productNames,20,'...'):'' || '' }}</text> |
| | | </view> |
| | | </view> |
| | | <view class="second-line"> |
| | |
| | | this.init(); |
| | | }, |
| | | methods: { |
| | | limitString(str, limit, suffix = '...') { |
| | | if (str.length <= limit) return str; |
| | | return str.slice(0, limit) + suffix; |
| | | }, |
| | | logoutConfirm() { |
| | | |
| | | uni.showLoading({ title: '加载中...' }); |
| | |
| | | } |
| | | .collection-form-item { |
| | | margin: 0 vww(15); |
| | | width: 690rpx; |
| | | width: 95%; |
| | | height: 370rpx; |
| | | background: #ffffff; |
| | | box-shadow: 4rpx 6rpx 25rpx 0rpx rgba(73, 120, 240, 0.15); |
| | |
| | | } |
| | | |
| | | .point-number { |
| | | width: 15%; |
| | | width: 33%; |
| | | |
| | | .order-type { |
| | | color: #035cfb; |
| | | border: 2px solid #035cfb; |
| | | border-radius: 4rpx; |
| | | padding: vww(2) vww(4); |
| | | text-align: center; |
| | | } |
| | | // text { |