Commit 170496fd by 李伟康

style(common): 优化客户名称显示逻辑

- 在接待详情页面,对客户名称的显示进行优化,防止溢出
- 添加 flex-shrink: 0 样式,确保电话号码不被压缩
1 parent 17467bad
......@@ -17,7 +17,11 @@
<view class="reception-content-box flex">
<view class="reception-left-box">
<view class="customer-info">
<view class="name flex">{{pageData.customerName}}<view class="phone">{{desensitizePhoneNumber(pageData.phoneNumber)}}</view>
<view class="name flex">
<view class="name-text text-hide">
{{pageData.customerName}}
</view>
<view class="phone">{{desensitizePhoneNumber(pageData.phoneNumber)}}</view>
</view>
<view class="brand-box flex">
<view class="brand flex">{{pageData.carModel}}</view>
......@@ -399,6 +403,7 @@ export default {
font-size: toRpx(26);
font-weight: normal;
margin-left: toRpx(16);
flex-shrink: 0;
}
}
.brand-box {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!