improve ad update

This commit is contained in:
liangping 2024-06-01 17:09:01 +08:00
parent c935c6eb69
commit 0ae8de3846
2 changed files with 6 additions and 4 deletions

View File

@ -34,7 +34,8 @@ export const UNITS: Record<string, Record<string, string>> = {
"testnet.ping.pub": { "testnet.ping.pub": {
"banner": "1644951b-5022-4544-8a85-11aef8a8f645", "banner": "1644951b-5022-4544-8a85-11aef8a8f645",
"banner_mobile": "81e0527f-475a-42a4-bb9a-ed9967c5d06f", "banner_mobile": "81e0527f-475a-42a4-bb9a-ed9967c5d06f",
"popup": "bd77a47c-30fc-4592-9d37-616d4f66964d" "popup": "bd77a47c-30fc-4592-9d37-616d4f66964d",
"popup_mobile": "bd77a47c-30fc-4592-9d37-616d4f66964d"
}, },
} }

View File

@ -127,15 +127,16 @@ onMounted(() => {
</div> </div>
<div v-else-if="ret.status === 'ok'"> <div v-else-if="ret.status === 'ok'">
<h3 class="font-bold text-green-500"> Token Sent! </h3> <h3 class="font-bold text-green-500"> Token Sent! </h3>
<div><RouterLink :to="`/${chainStore.chainName}/tx/${ret.result.txhash}`">View Transaction</RouterLink></div> <div class=" text-center mt-4"><RouterLink :to="`/${chainStore.chainName}/tx/${ret.result.txhash}`">View Transaction</RouterLink></div>
</div> </div>
<h3 v-else class="font-bold text-lg"> Processing <span class="loading loading-bars loading-sm"></span> </h3> <h3 v-else class="font-bold text-lg"> Processing <span class="loading loading-bars loading-sm"></span> </h3>
<div class="modal-action"> <div class="modal-action">
<label for="my_modal_6" class="btn btn-sm btn-circle btn-ghost absolute right-2 top-2"></label> <label for="my_modal_6" class="btn btn-sm btn-circle btn-ghost absolute right-2 top-2"></label>
</div> </div>
<p class="py-4"> <p class="py-2">
<div> <div>
<AdBanner id="home-banner-ad" unit="popup" /> <AdBanner id="popup-ad" unit="popup" />
</div> </div>
</p> </p>
</div> </div>