zhangwei пре 3 година
родитељ
комит
11d2707753
2 измењених фајлова са 12 додато и 12 уклоњено
  1. 3 3
      src/view/popup/popup.vue
  2. 9 9
      src/view/red-packet.vue

+ 3 - 3
src/view/popup/popup.vue

@@ -16,7 +16,7 @@
                 <img :src="require('@/assets/svg/icon-money.svg')" class="icon-money" />
                 <div class="msg" v-show="walletWithdrawConfig.withdrawUSDPaypalFeeDesc">
                     ({{ walletWithdrawConfig.withdrawUSDPaypalFeeDesc }})</div>
-                <div class="amount">${{ canWithdrawBalance / 100 }}</div>
+                <div class="amount">${{ canWithdrawBalance  }}</div>
                 <div class="area-btn">
                     <div class="withdraw-btn" @click="clickWithdraw">Withdraw</div>
                     <div class="top-up-btn" @click="clickTopUp">Top Up</div>
@@ -78,7 +78,7 @@
                                                 </template>
                                                 <!-- 已完成 -->
                                                 <template v-else-if="item.status == 1">
-                                                    ${{ item.amount / 100 }}
+                                                    ${{ item.amount  }}
                                                 </template>
                                                 <!-- 已过期 -->
                                                 <template v-else-if="item.status == 2">
@@ -87,7 +87,7 @@
                                             </template>
                                             <!-- 发出去的 -->
                                             <template v-else-if="item.type == 2">
-                                                -${{ item.amount / 100 }}
+                                                -${{ item.amount  }}
                                             </template>
                                         </div>
                                         <!-- 发出的红包显示 -->

+ 9 - 9
src/view/red-packet.vue

@@ -8,7 +8,7 @@
         <div class="title">Awesome! You Will Get</div>
         <div class="money">
           <img :src="data.detail.currencyIconUrl" alt />
-          <span class="big">{{ data.money / 100 }}</span>
+          <span class="big">{{ data.money  }}</span>
           <span class="small">{{ data.detail.amountCurrencyCode || '' }}</span>
         </div>
       </div>
@@ -43,7 +43,7 @@
               <div class="item-title">Like</div>
             </div>
             <img v-if="data.done.like" :src="require('@/assets/svg/icon-true.svg')" alt />
-
+1
             <div v-else class="btn" @click="clickLickBtn">Like</div>
           </template>
           <template v-if="item.type == 3">
@@ -61,7 +61,7 @@
           {{ data.detail.receiveCount || 0 }}/{{ data.detail.totalCount || 0 }} Got,{{
             data.detail.receiveAmountValue /
               100
-          }}/{{ data.detail.amountValue / 100 }} {{ data.detail.amountCurrencyCode }}</div>
+          }}/{{ data.detail.amountValue  }} {{ data.detail.amountCurrencyCode }}</div>
         <div class="right" v-if="data.detail.allReceived">
           <template v-for="item, i in data.detail.allReceived.slice(0, 3)" v-bind:key="i">
             <img :src="item.simpleUserInfoVO.avatarUrl" alt :style="{ right: `${i * 16 + 14}px` }"
@@ -87,7 +87,7 @@
         <div class="seat"></div>
         <div class="money">
           <img :src="data.detail.currencyIconUrl" alt />
-          <span class="big">{{ data.money / 100 }}</span>
+          <span class="big">{{ data.money  }}</span>
           <span class="small">{{ data.detail.amountCurrencyCode }}</span>
         </div>
         <div class="done" @click="clickDone">
@@ -98,7 +98,7 @@
       </div>
       <div class="luck-list-title">
         <div>{{ data.detail.receiveCount || 0 }}/{{ data.detail.totalCount || 0 }} Got</div>
-        <div> {{ data.detail.receiveAmountValue / 100 }} / {{ data.detail.amountValue / 100 || '' }} {{
+        <div> {{ data.detail.receiveAmountValue  }} / {{ data.detail.amountValue  || '' }} {{
           data.detail.amountCurrencyCode || ''
         }}</div>
       </div>
@@ -139,7 +139,7 @@
         <div class="txt">{{ data.detail.amountCurrencyCode }} GIVEAWAY</div>
         <div class="coin">
           <img :src="data.detail.currencyIconUrl" alt />
-          <span>{{ data.detail.amountValue / 100 }}</span>
+          <span>{{ data.detail.amountValue  }}</span>
         </div>
         <div class="people">{{ data.detail.totalCount }} WINNERS TO SHARE</div>
       </div>
@@ -153,7 +153,7 @@
       </div>
       <div class="luck-list-title">
         <div>{{ data.detail.receiveCount || 0 }}/{{ data.detail.totalCount || 0 }} People Got</div>
-        <div> {{ data.detail.receiveAmountValue / 100 }} / {{ data.detail.amountValue / 100 || '' }} {{
+        <div> {{ data.detail.receiveAmountValue  }} / {{ data.detail.amountValue  || '' }} {{
           data.detail.amountCurrencyCode || ''
         }}</div>
       </div>
@@ -188,7 +188,7 @@
       </div>
       <div class="luck-list-title">
         <div>{{ data.detail.receiveCount || 0 }}/{{ data.detail.totalCount || 0 }} People Got</div>
-        <div> {{ data.detail.receiveAmountValue / 100 }} / {{ data.detail.amountValue / 100 || '' }} {{
+        <div> {{ data.detail.receiveAmountValue  }} / {{ data.detail.amountValue  || '' }} {{
           data.detail.amountCurrencyCode || ''
         }}</div>
       </div>
@@ -455,7 +455,7 @@ function myReceivedState() {
 }
 
 function showLastTwoPlace(n) {
-  return n / 100
+  return n 
 }
 
 function init() {