Browse Source

Merge branch 'dev_1.1.7' of https://git.yishihui.com/DeNet/de-net into dev_1.1.7

zhangwei 2 năm trước cách đây
mục cha
commit
b5024ccf51
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/view/components/custom-card-cover.vue

+ 2 - 1
src/view/components/custom-card-cover.vue

@@ -59,7 +59,7 @@
             <div class="coin">
                 <component-zoom width="300" fontSize="56" :txt="data.amountValue || 0" ref="zoomCom">
                   <img v-if="data.currencyIconUrl" :src="data.currencyIconUrl || imgHeaderCover" />
-                  <span id="preview-after-amount">{{ data.amountValue || 0 }}</span>
+                  <span id="preview-after-amount">{{ getBit(data.amountValue) || 0 }}</span>
                 </component-zoom>
             </div>
             <div class="time-area" v-if="data.type == PlayType.lottery">
@@ -143,6 +143,7 @@ import { defineProps, defineEmits, ref, computed, onMounted, watch } from "vue";
 import { formatSecondsAsDaysOrTime } from "@/uilts/help";
 import ComponentZoom from "./component-zoom.vue";
 import { RewardType, PlayType } from "@/types";
+import { getBit } from "@/uilts/help";
 
 let zoomCom = ref('');
 let zoomCom1 = ref('');