Kaynağa Gözat

fix: 修改商详提示文案

liangan 3 hafta önce
ebeveyn
işleme
a61e270aef

+ 1 - 2
src/locale/bn.json

@@ -381,8 +381,7 @@
   "orderDetail.bandhuBuyWallet": "BandhuBuy ওয়ালেট",
   "orderDetail.paymentMethod": "পেমেন্ট পদ্ধতি",
   "orderDetail.walletBalanceText": "ওয়ালেট ব্যালেন্স",
-  "productDetail.fullRefundText": "অসফল গ্রুপ ক্রয়ের জন্য সম্পূর্ণ ফেরত",
-  "productDetail.redEnvelopeRewards": "লাল খাম পুরস্কার পান",
+  "productDetail.fullRefundText": "জিতলে না হলে সম্পূর্ণ ফেরত + নগদ পুরস্কার",
   "app.notificationPermission": "আপনি এখনও বিজ্ঞপ্তি অনুমতি খুলেন নি",
   "wallet.recharge.record": "রেকর্ড",
   "wallet.recharge.selectProvider": "আপনার ওয়ালেট প্রভাইডার নির্বাচন করুন",

+ 1 - 2
src/locale/en.json

@@ -382,8 +382,7 @@
   "orderDetail.bandhuBuyWallet": "BandhuBuy Wallet",
   "orderDetail.paymentMethod": "Payment Method",
   "orderDetail.walletBalanceText": "Wallet Balance",
-  "productDetail.fullRefundText": "Full refund for unsuccessful group purchase",
-  "productDetail.redEnvelopeRewards": "Receive red envelope rewards",
+  "productDetail.fullRefundText": "Full refund if not won + cash reward",
   "app.notificationPermission": "You have not opened notification permissions",
   "wallet.recharge.record": "Record",
   "wallet.recharge.selectProvider": "Select Your Wallet Provider",

+ 1 - 2
src/locale/zh-Hans.json

@@ -381,8 +381,7 @@
   "orderDetail.bandhuBuyWallet": "BandhuBuy 钱包",
   "orderDetail.paymentMethod": "支付方式",
   "orderDetail.walletBalanceText": "钱包余额",
-  "productDetail.fullRefundText": "拼团不成功全额退款",
-  "productDetail.redEnvelopeRewards": "获得红包奖励",
+  "productDetail.fullRefundText": "未中奖全额退款 + 现金奖励",
   "app.notificationPermission": "您还没有打开通知权限",
   "wallet.recharge.record": "记录",
   "wallet.recharge.selectProvider": "选择您的钱包提供商",

+ 1 - 12
src/pages/productDetail/components/CustomTooltip.vue

@@ -5,8 +5,6 @@ interface Props {
   autoHideDelay?: number
   icon?: string
   iconSize?: string
-  highlightText1?: string
-  highlightText2?: string
   width?: string
 }
 
@@ -15,8 +13,6 @@ const props = withDefaults(defineProps<Props>(), {
   autoHide: true,
   autoHideDelay: 10000,
   icon: '/static/icons/gift.png',
-  highlightText1: '',
-  highlightText2: '',
   width: '600rpx',
 })
 
@@ -108,7 +104,7 @@ defineExpose({
     class="absolute bottom-full left-1/2 mb-20rpx transform rounded-full bg-black bg-opacity-80 px-20rpx py-12rpx text-24rpx text-white -translate-x-1/2"
     :style="{ width }"
   >
-    <view class="flex items-center">
+    <view class="flex items-end justify-center">
       <image
         v-if="icon"
         :src="icon"
@@ -116,13 +112,6 @@ defineExpose({
       />
       <view class="text-center">
         <text>{{ $t('productDetail.fullRefundText') }} </text>
-        <text class="text-[var(--wot-color-theme)]">
-          {{ highlightText1 }}
-        </text>
-        <text> {{ $t('productDetail.redEnvelopeRewards') }} </text>
-        <text class="text-[var(--wot-color-theme)]">
-          {{ highlightText2 }}
-        </text>
       </view>
     </view>
     <!-- 倒三角箭头 -->

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

@@ -626,7 +626,6 @@ onShow(async () => {
             </view>
             <CustomTooltip
               v-model:visible="showTip"
-              :highlight-text1="`৳${formatNumber(detail.price)}`"
             />
           </view>
           <view class="rounded-r-full bg-[var(--wot-color-theme)] px-34rpx py-18rpx text-white" @click="openSku('join')">