Commit e92236b7 by liimin

style(订单详情): 调整地址信息显示样式,优化文本换行

- 在DeliveryInfo和ReturnAddressBox组件中添加word-wrap和word-break样式
- 简化ReturnAddressBox的wxml结构,移除冗余view标签
- 调整ReturnAddressBox中value的宽度计算方式
1 parent ccb86990
......@@ -46,7 +46,10 @@
.item .value {
color: #656566;
width: calc(100% - 150rpx);
width: calc(100% - 200rpx);
word-wrap: break-word;
word-break: break-word;
white-space: normal;
}
.item .value.icon {
......
......@@ -8,7 +8,7 @@
<view class="item">
<view class="label">{{item.title}}:</view>
<view class="value">
<view>{{orderInfo.sendbackAddressModel[item.key]||'-'}}</view>
{{orderInfo.sendbackAddressModel[item.key]||'-'}}
</view>
</view>
</block>
......
......@@ -20,4 +20,7 @@
.item .value {
width: calc(100% - 128rpx);
word-wrap: break-word;
word-break: break-word;
white-space: normal;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!