1
jhzh
2025-09-04 aa2f3a0857882a12051194d7894b0c3d15a89dc2
1
2 files modified
11 ■■■■■ changed files
src/components/Transform/perpetual-open/index.vue 4 ●●●● patch | view | raw | blame | history
src/views/cryptos/Announce/announceDetail.vue 7 ●●●● patch | view | raw | blame | history
src/components/Transform/perpetual-open/index.vue
@@ -138,13 +138,13 @@
                <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>
src/views/cryptos/Announce/announceDetail.vue
@@ -5,7 +5,8 @@
            <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>
@@ -29,7 +30,8 @@
            title: '',
            createTimeStr: '',
            content: '',
            imgUrl: ''
            imgUrl: '',
            resdata:{}
        }
    },
    mounted() {
@@ -42,6 +44,7 @@
                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