1
jhzh
2025-09-04 aa2f3a0857882a12051194d7894b0c3d15a89dc2
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