hookehuyr

feat(奖励页面): 在奖励标题前添加商家名称并注释有效期规则显示

在奖励卡片和详情页中,将商家名称添加到奖励标题前以提高信息清晰度
同时注释掉详情页中有效期规则的显示,因业务需求暂时不需要展示
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
39 </view> 39 </view>
40 40
41 <!-- Expiration Rules --> 41 <!-- Expiration Rules -->
42 - <view v-if="reward.expiration_rules && reward.expiration_rules.length > 0"> 42 + <!-- <view v-if="reward.expiration_rules && reward.expiration_rules.length > 0">
43 <h2 class="text-lg font-medium mb-3">有效期</h2> 43 <h2 class="text-lg font-medium mb-3">有效期</h2>
44 <view class="space-y-2 text-gray-600"> 44 <view class="space-y-2 text-gray-600">
45 <view v-for="rule in reward.expiration_rules" :key="rule" class="flex text-sm"> 45 <view v-for="rule in reward.expiration_rules" :key="rule" class="flex text-sm">
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
47 <p>{{ rule }}</p> 47 <p>{{ rule }}</p>
48 </view> 48 </view>
49 </view> 49 </view>
50 - </view> 50 + </view> -->
51 51
52 <!-- Expire Time --> 52 <!-- Expire Time -->
53 <view v-if="reward.expire_time"> 53 <view v-if="reward.expire_time">
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
33 > 33 >
34 <image :src="reward.thumbnail || 'https://placehold.co/120x120/e2f3ff/0369a1?text=券&font=roboto'" class="w-16 h-16 rounded-lg mr-4 flex-shrink-0" mode="aspectFill" /> 34 <image :src="reward.thumbnail || 'https://placehold.co/120x120/e2f3ff/0369a1?text=券&font=roboto'" class="w-16 h-16 rounded-lg mr-4 flex-shrink-0" mode="aspectFill" />
35 <view class="flex-1 min-w-0"> 35 <view class="flex-1 min-w-0">
36 - <view class="font-medium text-base mb-1">{{ reward.title }}</view> 36 + <view class="font-medium text-base mb-1">{{ reward.merchant_name }}·{{ reward.title }}</view>
37 <view v-if="reward.status === 'UNUSED'" class="text-xs text-gray-400"> 37 <view v-if="reward.status === 'UNUSED'" class="text-xs text-gray-400">
38 有效期至:{{ formatDate(reward.expire_time) }} 38 有效期至:{{ formatDate(reward.expire_time) }}
39 </view> 39 </view>
......