| | |
| | | |
| | | <div |
| | | class="popup_item popup_name flex-end" |
| | | v-if="popupPrice && popupData.stockType != 'MEX'" |
| | | v-if="popupPrice && popupData.stockType != 'US'" |
| | | > |
| | | <span>≈ $ {{ (utm * popupPrice).toFixed(2) }}</span> |
| | | <span>≈ $ {{ (rate * popupPrice).toFixed(2) }}</span> |
| | | </div> |
| | | |
| | | <div class="division"></div> |
| | |
| | | popupPrice: "" // 购买金额 |
| | | }; |
| | | }, |
| | | computed: { |
| | | // 计算当前汇率 |
| | | rate() { |
| | | let rate = 1; |
| | | if (this.popupData.stockType == "HK") rate = this.htu; |
| | | else if (this.popupData.stockType == "IN") rate = this.itu; |
| | | else if (this.popupData.stockType == "TW") rate = this.ttu; |
| | | return rate; |
| | | } |
| | | }, |
| | | created() { |
| | | this.getStockAiList(); |
| | | }, |