zhb 1 неделя назад
Родитель
Сommit
937193c8ac
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      pages/customer/components/TerminalInfoDialog.vue

+ 3 - 3
pages/customer/components/TerminalInfoDialog.vue

@@ -5,15 +5,15 @@
             <!-- 账户编号独立显示(如果需要,也可以作为 fieldList 中的一项) -->
             <!-- 账户编号独立显示(如果需要,也可以作为 fieldList 中的一项) -->
             <view v-if="accountNumber" class="account-number-row">
             <view v-if="accountNumber" class="account-number-row">
                 <text class="label">{{ displayAccountLabel }}</text>
                 <text class="label">{{ displayAccountLabel }}</text>
-                <text class="value">{{ accountNumber }}</text>
-                <text class="value">{{ form.fwq }}</text>
+                <text class="value cursor-pointer" :data-tooltip="`${t('vu.tooltip.t2')}-${accountNumber}`" @click="copyValue(accountNumber)">{{ accountNumber }}</text>
+                <text class="value cursor-pointer" :data-tooltip="`${t('vu.tooltip.t2')}-${form.fwq}`" @click="copyValue(form.fwq)">{{ form.fwq }}</text>
             </view>
             </view>
 
 
             <!-- 动态字段列表 -->
             <!-- 动态字段列表 -->
             <view v-for="(field, index) in fieldList" :key="index" class="field-row">
             <view v-for="(field, index) in fieldList" :key="index" class="field-row">
                 <cwg-label-line-value :label="field.label" :value="getFieldValue(field)">
                 <cwg-label-line-value :label="field.label" :value="getFieldValue(field)">
                     <template #operation v-if="field.copyable">
                     <template #operation v-if="field.copyable">
-                        <view class="copy-btn" @click="copyValue(getFieldValue(field.key))">
+                        <view class="copy-btn cursor-pointer" :data-tooltip="`${t('vu.tooltip.t2')}-${getFieldValue(field)}`"  @click="copyValue(getFieldValue(field))">
                             <cwg-icon name="copy" :size="20" color="#999" />
                             <cwg-icon name="copy" :size="20" color="#999" />
                         </view>
                         </view>
                     </template>
                     </template>