Преглед изворни кода

fix: 商品卡片样式修复

liangan пре 3 недеља
родитељ
комит
2a02062572
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      src/pages/myOrders/orderDetail.vue
  2. 1 1
      src/pages/productDetail/checkOut.vue

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

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

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

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