瀏覽代碼

fix: 数字英文换行

liangan 2 周之前
父節點
當前提交
f8a38fdf68
共有 3 個文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/pages/myOrders/myOrders.vue
  2. 1 1
      src/pages/myOrders/orderDetail.vue
  3. 1 1
      src/pages/productDetail/checkOut.vue

+ 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">