Explorar o código

fix: 数字英文换行

liangan hai 2 semanas
pai
achega
f8a38fdf68

+ 1 - 1
src/pages/myOrders/myOrders.vue

@@ -168,7 +168,7 @@ onLoad((options) => {
               />
             </view>
             <view class="flex-1">
-              <view class="line-clamp-2 h-80rpx text-28rpx text-#000">
+              <view class="line-clamp-2 h-80rpx break-all text-28rpx text-#000">
                 {{ item?.orderInfoVO?.[0]?.productName }}
               </view>
               <view>

+ 1 - 1
src/pages/myOrders/orderDetail.vue

@@ -492,7 +492,7 @@ onUnmounted(() => {
               />
             </view>
             <view class="flex-1">
-              <view class="line-clamp-2 h-80rpx text-28rpx text-#000">
+              <view class="line-clamp-2 h-80rpx break-all text-28rpx text-#000">
                 {{ detail?.orderInfoVO?.[0].productName }}
               </view>
               <view class="py-4rpx text-24rpx text-#3A444C">

+ 1 - 1
src/pages/productDetail/checkOut.vue

@@ -86,7 +86,7 @@ async function handlePlaceOrder() {
           mode="aspectFit"
         />
         <view class="flex-1">
-          <view class="line-clamp-2 h-80rpx text-28rpx">
+          <view class="line-clamp-2 h-80rpx break-all text-28rpx">
             {{ orderDetail.productName }}
           </view>
           <view class="py-4rpx text-24rpx text-#3A444C">