Browse Source

密码

master
vee 4 years ago
parent
commit
390cd7d113
  1. 2
      App.vue
  2. 8
      components/navigation/navigation.vue
  3. 8
      pages/menu/collection/collectionDetail/index.vue
  4. 4
      pages/menu/profile/index.vue
  5. 4
      pages/menu/transction/detail/index.css
  6. 137
      pages/register/index.vue
  7. BIN
      static/tongyonh/Frame.png
  8. BIN
      static/tongyonh/Illustration.png
  9. BIN
      static/tongyonh/Nftimg.png
  10. 4
      utils/locales/en.js
  11. 4
      utils/locales/zh-F.js
  12. 4
      utils/locales/zh.js

2
App.vue

@ -4,7 +4,7 @@
max-width: 828rpx; //
margin: auto !important;
}
/* #endif */
@import "uview-ui/index.scss";
</style>

8
components/navigation/navigation.vue

@ -63,7 +63,7 @@
.nav-head{
height: 40rpx;
// background-color: #fff;
background-color: #fAFAFA;
text-align: center;
font-weight: 700;
font-size: 36rpx;
@ -74,9 +74,11 @@
justify-content: center;
flex-direction: row-reverse;
align-items: center;
margin-top: 80rpx;
//margin-top: 80rpx;
position: static;
position: sticky;
top: 40px;
top: 40px;
width: 100%;
z-index: 9999;

8
pages/menu/collection/collectionDetail/index.vue

@ -26,7 +26,7 @@
</view>
</view>
</view>
<u-empty :text="noData" mode="list" v-if="isData"></u-empty>
</view>
</template>
@ -36,7 +36,9 @@
export default {
data() {
return {
noData: this.$t('index').Nocontent,
item: {},
isData:false,
wallet: {},
address: '',
result: [],
@ -97,7 +99,9 @@
this.result[i].address = this.result[i].address.substring(0, 6) + '...' + this.result[i].address
.substring(25, this.result[i].address.length);
}
if(this.result.length==0){
this.isData=true;
}
},
async getProject2() {
let params = {

4
pages/menu/profile/index.vue

@ -48,7 +48,7 @@
</view>
<view class="main_con">
<!-- <view class="main_con">
<view class="title">
{{i18n.Hardware}}
</view>
@ -62,7 +62,7 @@
</view>
</view> -->

4
pages/menu/transction/detail/index.css

@ -1,6 +1,4 @@
page{
height:100%;
}
.main{
padding: 0 30rpx;
/* padding-bottom: 100rpx; */

137
pages/register/index.vue

@ -4,32 +4,46 @@
<swiper class="swiper" :indicator-dots="indicatorDots" :autoplay="autoplay" :interval="interval">
<swiper-item>
<view class="swiper-item">
<image src="../../static/tongyonh/phone_image.png" class="img1" mode="aspectFit"></image>
<image src="../../static/tongyonh/Illustration.png" class="img1" mode="aspectFit"></image>
<view class="text_con">
<view class="text1">
{{i18n.Decentralised}}
</view>
<view class="text2">
{{i18n.Localstorage}}
{{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">
{{i18n.Decentralised}}
<swiper-item>
<view class="swiper-item">
<image src="../../static/tongyonh/Frame.png" class="img1" mode="aspectFit"></image>
<view class="text_con">
<view class="text1">
{{i18n.EasyDecentralised}}
</view>
<view class="text2">
{{i18n.EasyLocalstorage}}
</view>
</view>
</view>
<view class="text2">
{{i18n.Localstorage}}
</swiper-item>
<swiper-item>
<view class="swiper-item">
<image src="../../static/tongyonh/Nftimg.png" class="img1" mode="aspectFit"></image>
<view class="text_con">
<view class="text1">
{{i18n.NftDecentralised}}
</view>
<view class="text2">
{{i18n.NftLocalstorage}}
</view>
</view>
</view>
</view>
</view>
</swiper-item>
</swiper-item>
</swiper>
</view>
@ -63,7 +77,7 @@
<image src="../../static/tongyonh/login_wallet.png" mode="aspectFit" class="letimg"></image>
<view class="textcon">
<view class="text1">
{{i18n.Logintowallet}}
{{i18n.Logintowallet}}
</view>
<view class="text2">
{{i18n.Restoreexisting}}
@ -78,21 +92,22 @@
</view>
<view class="lans" @click="show = true">
<view class="lans" @click="show = true">
{{i18n.lans}}
</view>
<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">{{i18n.AgreementConfirmation}}
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 :confirm-text="cnt" :cancel-text="can" v-model="show" :list="list3" @confirm="confirm"></u-select>
<u-select :confirm-text="cnt" :cancel-text="can" v-model="show" :list="list3" @confirm="confirm"></u-select>
@ -110,26 +125,26 @@
data() {
return {
language: this.$store.state.language == 'en' ? 'English' : '简体中文',
cnt:this.$t('index').Confirm,
can:this.$t('index').Cancel,
cnt: this.$t('index').Confirm,
can: this.$t('index').Cancel,
show: false,
list3: [{
label: this.$t('index').langfan,
disabled: false,
value: "b",
},
{
label: this.$t('index').langjian,
disabled: false,
value: "a",
},
{
label: this.$t('index').eng,
disabled: false,
value: "c",
},
],
list3: [{
label: this.$t('index').langfan,
disabled: false,
value: "b",
},
{
label: this.$t('index').langjian,
disabled: false,
value: "a",
},
{
label: this.$t('index').eng,
disabled: false,
value: "c",
},
],
list2: [{
name: '',
checked: false,
@ -143,7 +158,7 @@
walletInfo: {},
}
},
computed: {
computed: {
i18n() {
return this.$t('index')
},
@ -160,26 +175,26 @@
this.list2.checked = false;
},
methods: {
confirm(e){
uni.setStorageSync('lang',e[0].value)
if (e[0].value == 'c') {
this._i18n.locale = 'en'
this.$store.commit('setLanguage', 'en')
uni.setStorageSync('langTrue', 'English')
uni.setStorageSync("language", 'en')
} else if (e[0].value == 'a') {
this._i18n.locale = 'zh-CN'
this.$store.commit('setLanguage', 'zh-CN')
uni.setStorageSync("language", 'zh-CN')
uni.setStorageSync('langTrue', '简体中文')
} else if (e[0].value == 'b'){
this._i18n.locale = 'zh-CNF'
this.$store.commit('setLanguage', 'zh-CNF')
uni.setStorageSync("language", 'zh-CNF')
uni.setStorageSync('langTrue', '繁體中文')
}
confirm(e) {
uni.setStorageSync('lang', e[0].value)
if (e[0].value == 'c') {
this._i18n.locale = 'en'
this.$store.commit('setLanguage', 'en')
uni.setStorageSync('langTrue', 'English')
uni.setStorageSync("language", 'en')
} else if (e[0].value == 'a') {
this._i18n.locale = 'zh-CN'
this.$store.commit('setLanguage', 'zh-CN')
uni.setStorageSync("language", 'zh-CN')
uni.setStorageSync('langTrue', '简体中文')
} else if (e[0].value == 'b') {
this._i18n.locale = 'zh-CNF'
this.$store.commit('setLanguage', 'zh-CNF')
uni.setStorageSync("language", 'zh-CNF')
uni.setStorageSync('langTrue', '繁體中文')
}
},
checkboxGroupChange() {
@ -228,7 +243,7 @@
})
return;
}
this.list2[0].checked = false;
uni.navigateTo({
url: '../menu/backUp/backUp4/index',

BIN
static/tongyonh/Frame.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 KiB

BIN
static/tongyonh/Illustration.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 KiB

BIN
static/tongyonh/Nftimg.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 196 KiB

4
utils/locales/en.js

@ -4,6 +4,10 @@ export default {
// regis
Decentralised:'Decentralised wallets,self-directed assets',
Localstorage:'Local storage of private keys, safe and secure',
EasyDecentralised:'Easy to use multi-chain wallet',
EasyLocalstorage:'Easy to manage multiple wallets, your close assistant',
NftDecentralised:'NFTCollection',
NftLocalstorage:'Convenient management of your NFT collection',
Oneidentity:'One identity management',
Logintowallet:'Login to wallet',
Restoreexisting:'Restore existing wallets',

4
utils/locales/zh-F.js

@ -5,6 +5,10 @@ export default {
// regis
Decentralised:'去中心化錢包,自主資產',
Localstorage:'私鑰本地存儲,安全有保障',
EasyDecentralised:'簡單易用多鏈錢包',
EasyLocalstorage:'輕鬆管理多個錢包,您的貼心助手',
NftDecentralised:'NFT收藏',
NftLocalstorage:'方便管理您的 NFT 收藏',
Oneidentity:'身份管理',
Logintowallet:'導入錢包',
Restoreexisting:'恢復現有錢包',

4
utils/locales/zh.js

@ -4,6 +4,10 @@ export default {
// regis
Decentralised:'去中心化钱包,自主资产',
Localstorage:'私钥本地存储,安全有保障',
EasyDecentralised:'简单易用多链钱包',
EasyLocalstorage:'轻松管理多个钱包,您的贴心助手',
NftDecentralised:'NFT收藏',
NftLocalstorage:'方便管理您的 NFT 收藏',
Oneidentity:'身份管理',
Logintowallet:'导入钱包',
Restoreexisting:'恢复现有钱包',

Loading…
Cancel
Save