修改上架输入限制
@ -13,5 +13,5 @@ VUE_APP_MKT_API='https://market-test.kingsome.cn'
|
||||
VUE_APP_NET_ID='13473'
|
||||
VUE_APP_MARKET_CURRENCY='0xFd42bfb03212dA7e1A4608a44d7658641D99CF34'
|
||||
VUE_APP_MAKEFEE_ADDRESS='0x50A8e60041A206AcaA5F844a1104896224be6F39'
|
||||
VUE_APP_LOCKER_ADDRESS='0x59e751c2037B710090035B6ea928e0cce80aC03f'
|
||||
VUE_APP_LOCKER_ADDRESS='0xC8607507451059CfAe6Ca4D07EC6f631ce8ef9f9'
|
||||
VUE_APP_EXPLORER_URL='https://explorer.testnet.immutable.com/address/'
|
Before Width: | Height: | Size: 327 KiB After Width: | Height: | Size: 327 KiB |
BIN
src/assets/img/marketplace/GenesisHeroes_loading.jpg
Normal file
After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 322 KiB |
Before Width: | Height: | Size: 322 KiB |
Before Width: | Height: | Size: 316 KiB |
Before Width: | Height: | Size: 315 KiB |
Before Width: | Height: | Size: 316 KiB |
Before Width: | Height: | Size: 310 KiB |
Before Width: | Height: | Size: 302 KiB |
Before Width: | Height: | Size: 295 KiB |
Before Width: | Height: | Size: 291 KiB |
Before Width: | Height: | Size: 284 KiB |
Before Width: | Height: | Size: 285 KiB |
Before Width: | Height: | Size: 286 KiB |
Before Width: | Height: | Size: 282 KiB |
Before Width: | Height: | Size: 279 KiB |
Before Width: | Height: | Size: 283 KiB |
Before Width: | Height: | Size: 282 KiB |
Before Width: | Height: | Size: 279 KiB |
Before Width: | Height: | Size: 279 KiB |
Before Width: | Height: | Size: 279 KiB |
Before Width: | Height: | Size: 278 KiB |
Before Width: | Height: | Size: 278 KiB |
Before Width: | Height: | Size: 271 KiB |
Before Width: | Height: | Size: 269 KiB |
Before Width: | Height: | Size: 263 KiB |
Before Width: | Height: | Size: 259 KiB |
Before Width: | Height: | Size: 259 KiB |
Before Width: | Height: | Size: 262 KiB |
Before Width: | Height: | Size: 245 KiB |
Before Width: | Height: | Size: 248 KiB |
Before Width: | Height: | Size: 236 KiB |
Before Width: | Height: | Size: 235 KiB |
Before Width: | Height: | Size: 234 KiB |
Before Width: | Height: | Size: 222 KiB |
Before Width: | Height: | Size: 186 KiB |
@ -30,8 +30,8 @@
|
||||
type="text"
|
||||
v-model="priceValue"
|
||||
placeholder="Enter Listing Price"
|
||||
onkeyup="value=value.replace(/[^0-9.]/g,'').replace(/\.{5,}/g,'.').replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')"
|
||||
onafterpaste="value=value.replace(/[^0-9.]/g,'').replace(/\.{5,}/g,'.').replace(/^(\-)*(\d+)\.(\d\d).*$/,'$1$2.$3')"
|
||||
onkeyup="value=value.replace(/[^0-9.]/g,'').replace(/\.{5,}/g,'.').replace(/^(\-)*(\d+)\.(\d\d\d\d\d).*$/,'$1$2.$3')"
|
||||
onafterpaste="value=value.replace(/[^0-9.]/g,'').replace(/\.{5,}/g,'.').replace(/^(\-)*(\d+)\.(\d\d\d\d\d).*$/,'$1$2.$3')"
|
||||
/>
|
||||
</div>
|
||||
<div class="net-price">
|
||||
|
@ -3,7 +3,7 @@
|
||||
<div class="assets-user">
|
||||
<div class="assets-user-img" :style="{background: bgCor[bgCorFloor]}">
|
||||
<img v-if="localWalletStore.showAddress" :src="imageUrl" alt="Dynamic Image">
|
||||
<img v-else src="@/assets/img/marketplace/avatar/0000.png" alt="Dynamic Image">
|
||||
<img src="./../../assets/img/marketplace/0000.png" alt="Dynamic Image">
|
||||
</div>
|
||||
<div class="assets-user-name">{{ localWalletStore.showAddress ? localWalletStore.showAddress : 'User Address' }}</div>
|
||||
<div>
|
||||
@ -21,6 +21,7 @@ const localWalletStore = walletStore()
|
||||
const bgCor = ref(['#5bbbff', '#ffc35b', '#bb7fff', '#ff6600'])
|
||||
|
||||
const bgCorFloor = computed(() => {
|
||||
if(!localWalletStore.showAddress) return 0
|
||||
return parseInt(localWalletStore.showAddress.substring(0,6))%4
|
||||
})
|
||||
const imageUrl = computed(() => {
|
||||
|
@ -95,7 +95,7 @@ onMounted(() => {
|
||||
background: #16141b;
|
||||
.content-left {
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
height: 480px;
|
||||
padding: 0 35px;
|
||||
position: sticky;
|
||||
top: 140px;
|
||||
|
@ -82,7 +82,7 @@ onMounted(() => {
|
||||
justify-content: space-between;
|
||||
.content-left {
|
||||
width: 300px;
|
||||
height: 500px;
|
||||
height: 480px;
|
||||
padding: 0 35px;
|
||||
position: sticky;
|
||||
top: 140px;
|
||||
|
@ -14,7 +14,7 @@
|
||||
<script setup>
|
||||
import { ref } from "vue"
|
||||
import LazyLoadImg from "@/components/lazyloadimg"
|
||||
import placeholderImg from '@/assets/img/marketplace/GenesisHeroes_NFT.png'
|
||||
import placeholderImg from '@/assets/img/marketplace/GenesisHeroes_loading.jpg'
|
||||
const props = defineProps({
|
||||
nftData: {
|
||||
type: Object,
|
||||
|