|
|
@ -1,5 +1,9 @@ |
|
|
|
<template> |
|
|
|
<view class="main"> |
|
|
|
<!-- <u-button @click="show = true">打开</u-button> --> |
|
|
|
<view class="lans"> |
|
|
|
{{i18n.lans}} |
|
|
|
</view> |
|
|
|
<view class="wrap"> |
|
|
|
<swiper class="swiper" :indicator-dots="indicatorDots" :autoplay="autoplay" :interval="interval"> |
|
|
|
<swiper-item> |
|
|
@ -7,31 +11,29 @@ |
|
|
|
<image src="../../static/tongyonh/phone_image.png" class="img1" mode="aspectFit"></image> |
|
|
|
<view class="text_con"> |
|
|
|
<view class="text1"> |
|
|
|
Decentralised wallets, |
|
|
|
self-directed assets |
|
|
|
{{i18n.Decentralised}} |
|
|
|
</view> |
|
|
|
<view class="text2"> |
|
|
|
Local storage of private keys, safe and secure |
|
|
|
{{i18n.Localstorage}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</swiper-item> |
|
|
|
<swiper-item> |
|
|
|
<view class="swiper-item"> |
|
|
|
<image src="../../static/tongyonh/phone_image.png" class="img1" mode="aspectFit"></image> |
|
|
|
<view class="text_con"> |
|
|
|
<view class="text1"> |
|
|
|
Decentralised wallets, |
|
|
|
self-directed assets |
|
|
|
</view> |
|
|
|
<view class="text2"> |
|
|
|
Local storage of private keys, safe and secure |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
<swiper-item> |
|
|
|
<view class="swiper-item"> |
|
|
|
<image src="../../static/tongyonh/phone_image.png" class="img1" mode="aspectFit"></image> |
|
|
|
<view class="text_con"> |
|
|
|
<view class="text1"> |
|
|
|
{{i18n.Decentralised}} |
|
|
|
</view> |
|
|
|
</swiper-item> |
|
|
|
<view class="text2"> |
|
|
|
{{i18n.Localstorage}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
</view> |
|
|
|
</swiper-item> |
|
|
|
</swiper> |
|
|
|
</view> |
|
|
|
|
|
|
@ -47,10 +49,10 @@ |
|
|
|
</image> |
|
|
|
<view class="textcon"> |
|
|
|
<view class="text1"> |
|
|
|
Create a wallet |
|
|
|
{{i18n.crewalllet}} |
|
|
|
</view> |
|
|
|
<view class="text2"> |
|
|
|
One identity management |
|
|
|
{{i18n.Oneidentity}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -65,10 +67,10 @@ |
|
|
|
<image src="../../static/tongyonh/login_wallet.png" mode="aspectFit" class="letimg"></image> |
|
|
|
<view class="textcon"> |
|
|
|
<view class="text1"> |
|
|
|
Login to wallet |
|
|
|
{{i18n.Logintowallet}} |
|
|
|
</view> |
|
|
|
<view class="text2"> |
|
|
|
Restore existing wallets |
|
|
|
{{i18n.Restoreexisting}} |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -84,12 +86,13 @@ |
|
|
|
<view class="select"> |
|
|
|
<u-checkbox-group @change="checkboxGroupChange"> |
|
|
|
<u-checkbox @change="checkboxChange" v-for="(item, index) in list2" :key="index" |
|
|
|
v-model="item.checked" :name="item.name" active-color="#5B53FF"> <text class="name">I have read and agree to the |
|
|
|
<text class="active" @click.stop="Terms">Terms of Service</text> |
|
|
|
v-model="item.checked" :name="item.name" active-color="#5B53FF"> <text class="name">{{i18n.AgreementConfirmation}} |
|
|
|
<text class="active" @click.stop="Terms">{{i18n.TermsofService}}</text> |
|
|
|
</text> </u-checkbox> |
|
|
|
</u-checkbox-group> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<u-select v-model="show" :list="list3"></u-select> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -106,6 +109,17 @@ |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
show: false, |
|
|
|
list3: [ |
|
|
|
{ |
|
|
|
value: '1', |
|
|
|
label: '江' |
|
|
|
}, |
|
|
|
{ |
|
|
|
value: '2', |
|
|
|
label: '湖' |
|
|
|
} |
|
|
|
], |
|
|
|
list2: [{ |
|
|
|
name: '', |
|
|
|
checked: false, |
|
|
@ -119,7 +133,11 @@ |
|
|
|
walletInfo: {}, |
|
|
|
} |
|
|
|
}, |
|
|
|
|
|
|
|
computed: { |
|
|
|
i18n() { |
|
|
|
return this.$t('index') |
|
|
|
}, |
|
|
|
}, |
|
|
|
onLoad() {}, |
|
|
|
onShow() { |
|
|
|
console.log(uni.getStorageSync('walletInfo')) |
|
|
@ -132,6 +150,7 @@ |
|
|
|
this.list2.checked = false; |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
|
|
|
|
checkboxGroupChange() { |
|
|
|
|
|
|
|
}, |
|
|
|