Commit 24498a0d authored by salitedfish's avatar salitedfish

需求变更

parent 8fbea991
...@@ -33,7 +33,16 @@ export default Vue.extend({ ...@@ -33,7 +33,16 @@ export default Vue.extend({
}, },
computed:{ computed:{
title():string{ title():string{
return this.$route.query.text?this.$route.query.text:(this.$route.query.type?`上传${this.$route.query.type}`:this.$route.meta?.title) if(this.$route.query.text){
return this.$route.query.text as string
}else if(this.$route.query.type && this.$route.query.type == '封面图片'){
return `上传${this.$route.query.type}`
}else if(this.$route.query.type) {
return '文件HASH计算'
}else {
return this.$route.meta?.title
}
// return this.$route.query.text?this.$route.query.text:(this.$route.query.type?`上传${this.$route.query.type}`:this.$route.meta?.title)
} }
}, },
mounted(){ mounted(){
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
<template #icon-right> <template #icon-right>
<div> <div>
<div v-if="!loading"> <div v-if="!loading">
<img <!-- <img
v-if="!disabled" v-if="!disabled"
class="ml-2" class="ml-2"
src="@/assets/icons/arrow-right.png" src="@/assets/icons/arrow-right.png"
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
class="ml-2" class="ml-2"
src="@/assets/icons/arrow-right-dark.png" src="@/assets/icons/arrow-right-dark.png"
alt="arrow-right" alt="arrow-right"
/> /> -->
</div> </div>
<div v-else> <div v-else>
<Loading class="w-4 ml-2" /> <Loading class="w-4 ml-2" />
......
...@@ -12,12 +12,12 @@ ...@@ -12,12 +12,12 @@
</div> </div>
</div> </div>
<div class=" absolute z-20 bottom-5 w-full justify-center text-font-white"> <div class=" absolute z-20 bottom-5 w-full justify-center text-font-white">
<div class=" px-5 py-1 w-32 mx-auto text-center bg-gradient-to-r from-app-orange to-app-purple rounded-full"> <!-- <div class=" px-5 py-1 w-32 mx-auto text-center bg-gradient-to-r from-app-orange to-app-purple rounded-full">
立即领取
</div>
<!-- <div class=" px-5 py-1 w-32 mx-auto text-center bg-gradient-to-r from-app-orange to-app-purple rounded-full" @click="goDetail(officialList[0].id,true)">
立即领取 立即领取
</div> --> </div> -->
<div class=" px-5 py-1 w-32 mx-auto text-center bg-gradient-to-r from-app-orange to-app-purple rounded-full" @click="goDetail(officialList[0].id,true)">
立即领取
</div>
</div> </div>
<img src="@/assets/img/banner.png" class="w-full z-0"> <img src="@/assets/img/banner.png" class="w-full z-0">
</div> </div>
......
...@@ -153,9 +153,9 @@ export default Vue.extend({ ...@@ -153,9 +153,9 @@ export default Vue.extend({
case '音频': case '音频':
return {acceptTitle:'音频HASH计算',acceptType:"audio/*",acceptText:'上传音频仅支持MP3格式文件,大小限制为100M以内',acceptSize:1024*1024*100,acceptArray:['.mp3','.MP3']} return {acceptTitle:'音频HASH计算',acceptType:"audio/*",acceptText:'上传音频仅支持MP3格式文件,大小限制为100M以内',acceptSize:1024*1024*100,acceptArray:['.mp3','.MP3']}
case '图片': case '图片':
return {acceptTitle:'图片HASH计算',acceptType:'image/*',acceptText:'仅支持png、jpg图片',acceptArray:['.png','.jpg','.jpeg','.PNG','.JPG','.JPEG']} return {acceptTitle:'图片HASH计算',acceptType:'image/*',acceptText:'仅支持png、jpg、jpeg图片',acceptArray:['.png','.jpg','.jpeg','.PNG','.JPG','.JPEG']}
case '封面图片': case '封面图片':
return {acceptTitle:'请选择封面图片',acceptType:'image/*',acceptText:'仅支持png、jpg图片',acceptArray:['.png','.jpg','.jpeg','.PNG','.JPG','.JPEG']} return {acceptTitle:'请选择封面图片',acceptType:'image/*',acceptText:'仅支持png、jpg、jpeg图片',acceptArray:['.png','.jpg','.jpeg','.PNG','.JPG','.JPEG']}
default: default:
return {acceptTitle:'',acceptType:'',acceptText:''} return {acceptTitle:'',acceptType:'',acceptText:''}
} }
......
...@@ -148,7 +148,7 @@ ...@@ -148,7 +148,7 @@
<div class="py-3"> <div class="py-3">
<!-- <div class="text-font-dark-blue">剧本简介</div> --> <!-- <div class="text-font-dark-blue">剧本简介</div> -->
<div class="text-font-dark-blue" v-if="nftData.isCommemorate == 0">NFT简介</div> <div class="text-font-dark-blue" v-if="nftData.isCommemorate == 0">作品简介</div>
<div class="text-font-dark-blue" v-if="nftData.isCommemorate == 1">纪念版NFT简介</div> <div class="text-font-dark-blue" v-if="nftData.isCommemorate == 1">纪念版NFT简介</div>
<div class="py-2 tracking-wide leading-6 text-sm break-all"> <div class="py-2 tracking-wide leading-6 text-sm break-all">
{{ nftData.synopsis ? nftData.synopsis : "无" }} {{ nftData.synopsis ? nftData.synopsis : "无" }}
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
</div> </div>
</div> </div>
<div class="py-3"> <div class="py-3" v-if="!$route.query.officia">
<div class="text-font-dark-blue">交易记录</div> <div class="text-font-dark-blue">交易记录</div>
<div class="text-center py-5">暂无记录</div> <div class="text-center py-5">暂无记录</div>
</div> </div>
...@@ -191,7 +191,7 @@ ...@@ -191,7 +191,7 @@
<app-cell text="NFT类型" :value="nftData.category" class="my-1"></app-cell> <app-cell text="NFT类型" :value="nftData.category" class="my-1"></app-cell>
<app-cell <app-cell
text="文件名" text="文件名"
:value="nftData.fileName || '未上传文件'" :value="nftData.name || '未上传文件'"
class="my-1" class="my-1"
></app-cell> ></app-cell>
<div class="flex justify-center"> <div class="flex justify-center">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment