diff --git a/src/api/Market.ts b/src/api/Market.ts new file mode 100644 index 0000000..e69de29 diff --git a/src/components/layout/BaseFooter.vue b/src/components/layout/BaseFooter.vue new file mode 100644 index 0000000..dbea996 --- /dev/null +++ b/src/components/layout/BaseFooter.vue @@ -0,0 +1,28 @@ + + + diff --git a/src/components/market/NftTypeBar.vue b/src/components/market/NftTypeBar.vue new file mode 100644 index 0000000..b3788fc --- /dev/null +++ b/src/components/market/NftTypeBar.vue @@ -0,0 +1,43 @@ + + + diff --git a/src/components/market/SearchResult.vue b/src/components/market/SearchResult.vue index 081ff0b..10ec510 100644 --- a/src/components/market/SearchResult.vue +++ b/src/components/market/SearchResult.vue @@ -1,5 +1,6 @@ @@ -43,6 +108,49 @@ export default class extends Vue { width: 960px; margin-bottom: 90px; } + .allocation-table{ + width: 960px; + color: white; + font-size: 14px; + margin-bottom: 50px; + thead{ + tr{ + th{ + text-align: center; + border-bottom: 3px solid #7c7c7c; + border-top: 3px solid #7c7c7c; + line-height: 54px; + &:not(:last-child) { + border-right: 3px solid #7c7c7c; + } + } + } + } + tbody{ + tr{ + td{ + font-weight: 500; + text-align: center; + border-bottom: 1px solid #7c7c7c; + line-height: 54px; + &:not(:last-child) { + border-right: 3px solid #7c7c7c; + } + &:first-child{ + text-align: left; + padding-left: 20px; + } + &:last-child{ + text-align: right; + padding-right: 50px; + } + } + &:first-child td{ + line-height: 30px; + } + } + } + } } .root.mobile{ width: 100vw; @@ -72,5 +180,22 @@ export default class extends Vue { margin-bottom: 0; } } + .allocation-table{ + width: 200vw; + font-size: 3.4vw; + tbody{ + tr{ + td{ + line-height: 14vw; + &:last-child{ + padding-right: 40px; + } + } + &:first-child td{ + line-height: 8vw; + } + } + } + } } diff --git a/src/views/desktop/Item.vue b/src/views/desktop/Item.vue index 0b1549f..bb8f5f8 100644 --- a/src/views/desktop/Item.vue +++ b/src/views/desktop/Item.vue @@ -4,6 +4,7 @@
+ @@ -15,9 +16,11 @@ import NftDetail from '@/components/market/NftDetail.vue' import { INftAttr, ISpineData } from '@/utils/SpineRender' import { defaultINftAttr, getNftDetail } from '@/api/Mall' import { AppModule } from '@/store/modules/app' +import BaseFooter from '@/components/layout/BaseFooter.vue' @Component({ components: { + BaseFooter, NftDetail, ItemDetail, TopMenu diff --git a/src/views/desktop/Market.vue b/src/views/desktop/Market.vue index 664f8a1..82e4fb3 100644 --- a/src/views/desktop/Market.vue +++ b/src/views/desktop/Market.vue @@ -1,12 +1,13 @@ @@ -15,9 +16,11 @@ import { Component, Vue } from 'vue-property-decorator' import SearchPanel from '@/components/market/SearchPanel.vue' import SearchResult from '@/components/market/SearchResult.vue' import TopMenu from '@/components/market/TopMenu.vue' +import BaseFooter from '@/components/layout/BaseFooter.vue' @Component({ components: { + BaseFooter, SearchResult, SearchPanel, TopMenu diff --git a/src/views/desktop/MyNft.vue b/src/views/desktop/MyNft.vue index f324516..92e1f20 100644 --- a/src/views/desktop/MyNft.vue +++ b/src/views/desktop/MyNft.vue @@ -6,6 +6,7 @@ + @@ -18,9 +19,11 @@ import NftList from '@/components/market/NftList.vue' import { INftAttr, ISpineData } from '@/utils/SpineRender' import { getNftList } from '@/api/Mall' import { AppModule } from '@/store/modules/app' +import BaseFooter from '@/components/layout/BaseFooter.vue' @Component({ components: { + BaseFooter, NftList, SearchResult, SearchPanel,