修改上架输入限制

This commit is contained in:
yuyongdong 2024-07-03 15:11:43 +08:00
parent 4d1877bdb2
commit 5df6cc5635
42 changed files with 8 additions and 7 deletions

View File

@ -13,5 +13,5 @@ VUE_APP_MKT_API='https://market-test.kingsome.cn'
VUE_APP_NET_ID='13473' VUE_APP_NET_ID='13473'
VUE_APP_MARKET_CURRENCY='0xFd42bfb03212dA7e1A4608a44d7658641D99CF34' VUE_APP_MARKET_CURRENCY='0xFd42bfb03212dA7e1A4608a44d7658641D99CF34'
VUE_APP_MAKEFEE_ADDRESS='0x50A8e60041A206AcaA5F844a1104896224be6F39' 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/' VUE_APP_EXPLORER_URL='https://explorer.testnet.immutable.com/address/'

View File

Before

Width:  |  Height:  |  Size: 327 KiB

After

Width:  |  Height:  |  Size: 327 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 322 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 322 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 316 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 315 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 316 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 302 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 295 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 291 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 284 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 285 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 286 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 279 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 278 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 259 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 259 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 262 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 236 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 235 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 234 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 222 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

View File

@ -30,8 +30,8 @@
type="text" type="text"
v-model="priceValue" v-model="priceValue"
placeholder="Enter Listing Price" placeholder="Enter Listing Price"
onkeyup="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).*$/,'$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>
<div class="net-price"> <div class="net-price">

View File

@ -3,7 +3,7 @@
<div class="assets-user"> <div class="assets-user">
<div class="assets-user-img" :style="{background: bgCor[bgCorFloor]}"> <div class="assets-user-img" :style="{background: bgCor[bgCorFloor]}">
<img v-if="localWalletStore.showAddress" :src="imageUrl" alt="Dynamic Image"> <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>
<div class="assets-user-name">{{ localWalletStore.showAddress ? localWalletStore.showAddress : 'User Address' }}</div> <div class="assets-user-name">{{ localWalletStore.showAddress ? localWalletStore.showAddress : 'User Address' }}</div>
<div> <div>
@ -21,6 +21,7 @@ const localWalletStore = walletStore()
const bgCor = ref(['#5bbbff', '#ffc35b', '#bb7fff', '#ff6600']) const bgCor = ref(['#5bbbff', '#ffc35b', '#bb7fff', '#ff6600'])
const bgCorFloor = computed(() => { const bgCorFloor = computed(() => {
if(!localWalletStore.showAddress) return 0
return parseInt(localWalletStore.showAddress.substring(0,6))%4 return parseInt(localWalletStore.showAddress.substring(0,6))%4
}) })
const imageUrl = computed(() => { const imageUrl = computed(() => {

View File

@ -95,7 +95,7 @@ onMounted(() => {
background: #16141b; background: #16141b;
.content-left { .content-left {
width: 300px; width: 300px;
height: 300px; height: 480px;
padding: 0 35px; padding: 0 35px;
position: sticky; position: sticky;
top: 140px; top: 140px;

View File

@ -82,7 +82,7 @@ onMounted(() => {
justify-content: space-between; justify-content: space-between;
.content-left { .content-left {
width: 300px; width: 300px;
height: 500px; height: 480px;
padding: 0 35px; padding: 0 35px;
position: sticky; position: sticky;
top: 140px; top: 140px;

View File

@ -14,7 +14,7 @@
<script setup> <script setup>
import { ref } from "vue" import { ref } from "vue"
import LazyLoadImg from "@/components/lazyloadimg" 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({ const props = defineProps({
nftData: { nftData: {
type: Object, type: Object,