| | |
| | | <div class="text-grey">{{ $t("保证金") }}</div> |
| | | <div class="textColor">{{}} |
| | | <!-- {{ (initData.amount * (form.amount / 1)) }} {{ queryType === 'cryptos' ? 'USDT' : 'USD' }} --> |
| | | {{form.amount / form.lever_rate }} {{ 'USDT' }} |
| | | {{form.amount }} {{ 'USDT' }} |
| | | </div> |
| | | </div> |
| | | <div class="flex justify-between mt-30"> |
| | | <div class="text-grey">{{ $t("建仓手续费") }}</div> |
| | | <div class="textColor">{{ reserve(userInfo.perpetual_contracts_status === '1' ? |
| | | initData.fee * (form.amount / 1) : initData.fee * (form.amount / 1) * form.lever_rate, 6) }} |
| | | initData.fee * (form.amount / 1) : form.amount*initData.fee, 6) }} |
| | | {{ queryType === 'cryptos' ? 'USDT' : 'USD' }} |
| | | </div> |
| | | </div> |
| | |
| | | <div class="content"> |
| | | <div class="font-52 font-700 textColor">{{ title }}</div> |
| | | <p class="mt-20 text-grey font-30">{{ createTimeStr }}</p> |
| | | <div class="flex justify-center mt-30" v-if="imgUrl"><img :src="`${imgUrl}`" class="w-200 h-200" alt=""> |
| | | <div class="flex justify-center mt-30" v-if="resdata.imgUrl"> |
| | | <img :src="resdata.imgUrl" class="w-200 h-200" alt=""> |
| | | </div> |
| | | <div class="mt-32 text-cont textColor font-28" v-html="content"></div> |
| | | </div> |
| | |
| | | title: '', |
| | | createTimeStr: '', |
| | | content: '', |
| | | imgUrl: '' |
| | | imgUrl: '', |
| | | resdata:{} |
| | | } |
| | | }, |
| | | mounted() { |
| | |
| | | language: this.$i18n.locale, |
| | | }).then(res => { |
| | | const { title, startTime, content, imgUrl } = res |
| | | this.resdata = res |
| | | this.title = title; |
| | | this.createTimeStr = startTime.substring(0, 10) |
| | | this.content = content |