| | |
| | | console.log("accounts:", accounts); |
| | | |
| | | // 签名消息 |
| | | const message = "请确认您的身份。"; |
| | | const message = "Please confirm your identity。"; |
| | | const signature = await window.ethereum.request({ |
| | | method: 'personal_sign', |
| | | params: [message, userAddress], |
| | |
| | | <div class="border-light-grey"></div> |
| | | <div class="pl-10 pr-10 font-28"> |
| | | <div class=" flex flex-col items-center justify-center font-28"> |
| | | <div class="textColor font-30 mt50" ref="address">{{ address }}</div> |
| | | <div class="textColor font-30 mt50" style="word-break: break-all;" ref="address">{{ address }}</div> |
| | | <div @click="copy(address)" |
| | | class="font-26 border-solid-grey text-center code-btn rounded-6 textColor"> |
| | | {{ $t('复制地址') }}</div> |
| | |
| | | <van-icon name="service-o" size="24" @click="$router.push('/customerService')"></van-icon> |
| | | </template> |
| | | </fx-header> --> |
| | | <div> |
| | | <assets-head title=""> |
| | | <!-- <img src="../../../assets/image/assets-center/exchange.png" alt="exchange-img" class="w-44 h-38" |
| | | @click="goRouter('/customerService')" /> --> |
| | |
| | | <van-icon name="service-o" size="24" @click="$router.push('/customerService')"></van-icon> |
| | | </template> |
| | | </assets-head> |
| | | </div> |
| | | <div class="px-8 mt-4"> |
| | | |
| | | <h1 class="text-2xl font-bold title" v-if="!(userStore.userInfo && userStore.userInfo.token)">{{ |
| | | $t('welcome') |
| | | }} {{ $title }}! |