From a4dfa51c1713cb5a1b2b097178f6c84c80caa707 Mon Sep 17 00:00:00 2001 From: AuroraHuang22 Date: Sat, 28 Sep 2024 00:13:35 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=8E=A8=20Improve=20code=20format?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/nft/url/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/nft/url/index.vue b/pages/nft/url/index.vue index e987b891..73502b18 100644 --- a/pages/nft/url/index.vue +++ b/pages/nft/url/index.vue @@ -644,8 +644,8 @@ export default class FetchIndex extends Vue { logTrackerEvent(this, 'NFTUrlMint', 'CrawlUrlData', this.url, 1); const { data } = await this.$axios.get(`/crawler/?url=${encodeURIComponent(this.encodedURL)}&wallet=${this.address}`) const { title, description, author, body, images = [] } = data; - let {keywords} = data; - if(isNewsPress) { + let { keywords } = data; + if (isNewsPress) { keywords = keywords ? `${keywords},NewsPress` : 'NewsPress'; } if (!body) { throw new Error('CANNOT_CRAWL_THIS_URL') } From a13c1ab1252c2079354b02c4d1cffeb828d8474a Mon Sep 17 00:00:00 2001 From: AuroraHuang22 Date: Sat, 28 Sep 2024 11:30:46 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=90=9B=20Add=20client=20only=20for=20?= =?UTF-8?q?view=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/view/_iscnId/index.vue | 664 ++++++++++++++++++----------------- 1 file changed, 333 insertions(+), 331 deletions(-) diff --git a/pages/view/_iscnId/index.vue b/pages/view/_iscnId/index.vue index 78f44abc..21d6c5a4 100644 --- a/pages/view/_iscnId/index.vue +++ b/pages/view/_iscnId/index.vue @@ -82,344 +82,140 @@ 'lg:px-0', ]" > - -
+ +
- - - - - - -
-
- - - - {{ name }} - - - {{ metadata.description }} - - + - - {{ iscnOwner }} - - - - -