Commit c1284af1 by 李伟康

修改样式

1 parent 2c17c0f2
...@@ -71,7 +71,11 @@ ...@@ -71,7 +71,11 @@
class="customer-info flex" class="customer-info flex"
@click="pageParams.showDetail = !pageParams.showDetail" @click="pageParams.showDetail = !pageParams.showDetail"
> >
<view class="text text-hide"> {{customerInfo.customerName}} | {{customerInfo.carModel || '-'}}</view> <view class="text text-hide flex">
<view class="text-hide">{{customerInfo.customerName}}</view>
<view class="line">|</view>
<view class="text-hide">{{customerInfo.carModel || '-'}}</view>
</view>
<view class="sprite-icon icon-customer-detail"></view> <view class="sprite-icon icon-customer-detail"></view>
</view> </view>
<view <view
...@@ -537,6 +541,16 @@ export default { ...@@ -537,6 +541,16 @@ export default {
border-radius: 16rpx; border-radius: 16rpx;
box-sizing: border-box; box-sizing: border-box;
padding: 0 24rpx; padding: 0 24rpx;
.text {
flex: 1;
.text-hide {
max-width: calc(50% - 10rpx);
}
}
.line{
margin: 0 6rpx;
flex-shrink: 0;
}
.sprite-icon { .sprite-icon {
flex-shrink: 0; flex-shrink: 0;
margin-left: auto; margin-left: auto;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!