Browse Source

带啊吗

master
Dread 4 years ago
parent
commit
37ab12be01
  1. 30
      pages.json
  2. 9
      pages/menu/address/showKey/index.css
  3. 10
      pages/menu/address/showKey/index.vue
  4. 8
      pages/menu/backUp/backUpWord/index.css
  5. 8
      pages/menu/backUp/backUpWord/index.vue
  6. 45
      pages/menu/sendToken/addAddress/index.vue
  7. 381
      pages/menu/sendToken/addAddress/index2.vue
  8. 51
      pages/menu/sendToken/addAddress2/index.vue
  9. 32
      pages/menu/sendToken/address/index.vue
  10. 314
      pages/menu/sendToken/address/index2.vue
  11. 8
      pages/menu/sendToken/transfer/index.vue
  12. 17
      pages/menu/setting/index.vue
  13. 9
      pages/menu/token/btc/index.css
  14. 11
      pages/menu/token/btc/index.vue
  15. 35
      pages/menu/transction/detail/index.vue
  16. 4
      pages/menu/wallet/index.vue
  17. 10
      pages/menu/wallet/mwallet/manage/index.css
  18. 21
      pages/menu/wallet/mwallet/manage/index.vue
  19. 20
      pages/menu/wallet/otherCoin/index.vue
  20. 1
      pages/register/index.vue
  21. BIN
      unpackage/cache/apk/__UNI__1ECBEE1_cm.apk
  22. 2
      unpackage/cache/apk/apkurl
  23. 2
      unpackage/cache/apk/cmManifestCache.json
  24. 2
      unpackage/cache/wgt/__UNI__1ECBEE1/app-config-service.js
  25. 18
      unpackage/cache/wgt/__UNI__1ECBEE1/app-service.js
  26. 2
      unpackage/cache/wgt/__UNI__1ECBEE1/app-view.js
  27. 2
      unpackage/dist/build/app-plus/app-config-service.js
  28. 18
      unpackage/dist/build/app-plus/app-service.js
  29. 2
      unpackage/dist/build/app-plus/app-view.js
  30. 4
      unpackage/dist/dev/app-plus/app-config-service.js
  31. 3972
      unpackage/dist/dev/app-plus/app-service.js
  32. 2451
      unpackage/dist/dev/app-plus/app-view.js
  33. BIN
      unpackage/release/apk/bitcooo.apk
  34. BIN
      unpackage/release/apk/bitcooo.zip
  35. 2
      utils/WalletUtil.js
  36. 24
      utils/locales/en.js
  37. 24
      utils/locales/zh-F.js
  38. 24
      utils/locales/zh.js

30
pages.json

@ -13,16 +13,14 @@
{
"path": "pages/menu/index/index",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": true
"navigationStyle": "custom"
}
},
{
"path": "pages/menu/token/btc/index",
"style": {
"navigationStyle": "custom",
"enablePullDownRefresh": true
"navigationStyle": "custom"
}
},
@ -179,20 +177,27 @@
}
},
{
"path": "pages/menu/sendToken/addAddress/index",
{
"path": "pages/menu/sendToken/addAddress2/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/menu/sendToken/addAddress2/index",
"path": "pages/menu/sendToken/addAddress/index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/menu/sendToken/addAddress/index2",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/menu/profile/index",
"style": {
@ -206,7 +211,12 @@
"navigationStyle": "custom"
}
},
{
"path": "pages/menu/sendToken/address/index2",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/menu/sendToken/address/index",
"style": {

9
pages/menu/address/showKey/index.css

@ -9,7 +9,14 @@
text-align: center;
}
.back{
width: 16rpx;
height: 24rpx;
position: absolute;
left:36rpx;
top: 50%;
transform: translateY(-50%);
}
#payPwd{

10
pages/menu/address/showKey/index.vue

@ -1,6 +1,7 @@
<template>
<view class="">
<navigation :showBack="true" :bgnum="false">
<navigation :showBack="false" :bgnum="false">
<image src="../../../../static/tongyonh/Vector.png" mode="aspectFit" class="back" @click="back()"></image>
<text class="big_title">
{{i18n.Showprivatekey}}
</text>
@ -44,7 +45,7 @@
:showLoading="showLoading" :loadingText="loadingText" :icon="icon" class="test" />
</view>
<view class="text">
{{i18n.ScantheQR}}
{{i18n.ScanQR}}
</view>
</view>
@ -104,6 +105,11 @@
},
},
methods: {
back(){
uni.reLaunch({
url:'/pages/menu/wallet/mwallet/manage/index',
})
},
showCode(){
this.show2=true
this.show=false

8
pages/menu/backUp/backUpWord/index.css

@ -1,3 +1,11 @@
.back{
width: 16rpx;
height: 24rpx;
position: absolute;
left:36rpx;
top: 50%;
transform: translateY(-50%);
}
.main{
padding: 0 32rpx;
padding-bottom: 100rpx;

8
pages/menu/backUp/backUpWord/index.vue

@ -1,6 +1,7 @@
<template>
<view class="">
<navigation :showBack="true">
<navigation :showBack="false">
<image src="../../../../static/tongyonh/Vector.png" mode="aspectFit" class="back" @click="back()"></image>
{{i18n.backupMneTit}}
</navigation>
<view class="main">
@ -92,6 +93,11 @@
},
},
methods: {
back(){
uni.reLaunch({
url:'/pages/menu/wallet/mwallet/manage/index',
})
},
//
goTranPaw(){
uni.navigateTo({

45
pages/menu/sendToken/addAddress/index.vue

@ -2,7 +2,7 @@
<view class="hr">
<navigation :showBack="true" :bgnum="true">
<text class="big_title">
Add address
{{i18n.Addaddress}}
</text>
</navigation>
@ -11,13 +11,13 @@
<view class="item">
<view class="top flex">
<view class="text1">
Currency
{{i18n.curr}}
</view>
</view>
<view class="inputcon">
<input type="text" value="" v-model="value"
placeholder-style="font-size: 30rpx; color: #D0D0D2;"
placeholder="Please select the currency" class="input1" @click="showSelect()"
:placeholder="teee1" class="input1" @click="showSelect()"
:disabled="true" />
<image src="../../../../static/tongyonh/chevron_right_24px.png" mode="aspectFit" class="img1">
</image>
@ -27,13 +27,13 @@
<view class="item">
<view class="top flex">
<view class="text1">
Address
{{i18n.Address}}
</view>
</view>
<view class="inputcon">
<input type="text" value="" @input="showSave()"
placeholder-style="font-size: 30rpx; color: #D0D0D2;"
placeholder="Please enter the recipient address" class="input1" v-model="bigAddress" />
:placeholder="teee2" class="input1" v-model="bigAddress" />
<image src="../../../../static/tongyonh/Frame330.png" mode="aspectFit" class="img2"
@click="chooseImage"></image>
</view>
@ -43,18 +43,18 @@
<view class="item">
<view class="top flex">
<view class="text1">
Name
{{i18n.Name}}
</view>
</view>
<view class="inputcon">
<input type="text" @input="showSave" value=""
placeholder-style="font-size: 30rpx; color: #D0D0D2;" placeholder="Please enter the name"
placeholder-style="font-size: 30rpx; color: #D0D0D2;" :placeholder="teee3"
class="input1" v-model="addressName" />
</view>
</view>
<view class="btn" @click="handove()" :class="save?'sheng':''">
Save
{{i18n.Save}}
</view>
</view>
@ -64,7 +64,7 @@
<view class="big_con w100" v-if="show">
<view class="tiao" @click="show=false,value=''"></view>
<view class="title">
Please select currency
{{i18n.selectcurrency}}
</view>
<view class="bottom_con zindex" v-if="show">
<u-radio-group v-model="value">
@ -87,7 +87,7 @@
</view>
</u-radio-group>
<view class="select_btn" @click="selectA">
Select
{{i18n.langSelect}}
</view>
</view>
</view>
@ -102,7 +102,9 @@
export default {
data() {
return {
teee1:this.$t('index').selectcurrency,
teee2:this.$t('index').Pleaserecipientaddress,
teee3:this.$t('index').enterthename,
info: {},
addressName: '',
bigAddress: '',
@ -136,6 +138,11 @@
},
onLoad() {
},
computed: {
i18n() {
return this.$t('index')
},
},
methods: {
selectA() {
@ -169,7 +176,7 @@
if (this.value == '') {
this.save = false
uni.showToast({
title: 'Please select a currency',
title: this.$t('index').selectcurrency,
icon: 'none',
duration: 1500
})
@ -178,7 +185,7 @@
if (this.bigAddress == '' || this.addressName == '') {
this.save = false
uni.showToast({
title: 'Address or name cannot be empty',
title: this.$t('index').Addressorname,
icon: 'none',
duration: 1500
})
@ -204,7 +211,7 @@
uni.setStorageSync('BTCAddressInfo', BTCAddressInfo)
console.log(BTCAddressInfo, 1111)
uni.showToast({
title: 'Successfully',
title: this.$t('index').Successful,
icon: 'success',
duration: 1500
})
@ -228,7 +235,7 @@
uni.setStorageSync('BTCAddressInfo', BTCAddressInfo)
uni.showToast({
title: 'Successfully',
title: this.$t('index').Successful,
icon: 'success',
duration: 1500
})
@ -260,7 +267,7 @@
uni.setStorageSync('ETHAddressInfo', ETHAddressInfo)
console.log(ETHAddressInfo, 1111)
uni.showToast({
title: 'Successfully',
title: this.$t('index').Successful,
icon: 'success',
duration: 1500
})
@ -287,7 +294,7 @@
console.log(ETHAddressInfo, 4444)
uni.setStorageSync('ETHAddressInfo', ETHAddressInfo)
uni.showToast({
title: 'Successfully',
title: this.$t('index').Successful,
icon: 'success',
duration: 1500
})
@ -319,7 +326,7 @@
uni.setStorageSync('TRXAddressInfo', TRXAddressInfo)
console.log(TRXAddressInfo, 1111)
uni.showToast({
title: 'Successfully',
title: this.$t('index').Successful,
icon: 'success',
duration: 1500
})
@ -344,7 +351,7 @@
console.log(TRXAddressInfo, 4444)
uni.setStorageSync('TRXAddressInfo', TRXAddressInfo)
uni.showToast({
title: 'Successfully',
title: this.$t('index').Successful,
icon: 'success',
duration: 1500
})

381
pages/menu/sendToken/addAddress/index2.vue

@ -0,0 +1,381 @@
<template>
<view class="hr">
<navigation :showBack="true" :bgnum="true">
<text class="big_title">
{{i18n.Addaddress}}
</text>
</navigation>
<view class="main">
<view class="main_con">
<view class="item">
<view class="top flex">
<view class="text1">
{{i18n.curr}}
</view>
</view>
<view class="inputcon">
<input type="text" value="" v-model="value"
placeholder-style="font-size: 30rpx; color: #D0D0D2;"
placeholder="Please select the currency" class="input1" @click="showSelect()"
:disabled="true" />
<image src="../../../../static/tongyonh/chevron_right_24px.png" mode="aspectFit" class="img1">
</image>
</view>
</view>
<view class="item">
<view class="top flex">
<view class="text1">
{{i18n.Address}}
</view>
</view>
<view class="inputcon">
<input type="text" value="" @input="showSave()"
placeholder-style="font-size: 30rpx; color: #D0D0D2;"
placeholder="Please enter the recipient address" class="input1" v-model="bigAddress" />
<image src="../../../../static/tongyonh/Frame330.png" mode="aspectFit" class="img2"
@click="chooseImage"></image>
</view>
</view>
<view class="item">
<view class="top flex">
<view class="text1">
{{i18n.Name}}
</view>
</view>
<view class="inputcon">
<input type="text" @input="showSave" value=""
placeholder-style="font-size: 30rpx; color: #D0D0D2;" placeholder="Please enter the name"
class="input1" v-model="addressName" />
</view>
</view>
<view class="btn" @click="handove()" :class="save?'sheng':''">
{{i18n.Save}}
</view>
</view>
<u-mask z-index="10" :show="show" @click="show = false"></u-mask>
</view>
<view class="big_con w100" v-if="show">
<view class="tiao" @click="show=false,value=''"></view>
<view class="title">
{{i18n.selectcurrency}}
</view>
<view class="bottom_con zindex" v-if="show">
<u-radio-group v-model="value">
<view class="item flex" v-for="(item, index) in list" :key="index" @click="handove2(item,index)">
<view class="text1 flex">
<image :src="item.url" mode="aspectFit" class="img"></image>
<view class="textcon">
<view class="text1">
{{item.lang}}
</view>
<view class="text2">
{{item.name}}
</view>
</view>
</view>
<u-radio :name="item.name" :disabled="item.disabled" active-color="#5B53FF">
</u-radio>
</view>
</u-radio-group>
<view class="select_btn" @click="selectA">
{{i18n.langSelect}}
</view>
</view>
</view>
</view>
</template>
<script>
import cont from "@/components/navigation/navigation.vue"
export default {
data() {
return {
info: {},
addressName: '',
bigAddress: '',
save: false,
show: false,
checked: false,
list: [{
url: '../../../../static/tongyonh/bye.png',
lang: 'Bitcoin',
disabled: false,
name: "BTC"
},
{
url: '../../../../static/tongyonh/Frame3299.png',
lang: 'Ethereum',
disabled: false,
name: "ETH"
},
{
url: '../../../../static/tongyonh/tron1.png',
lang: 'Tron',
disabled: false,
name: "TRX"
},
],
// u-radio-groupv-modelradioname
value: '',
transfer:'',
}
},
onLoad() {
},
computed: {
i18n() {
return this.$t('index')
},
},
methods: {
selectA() {
this.show = false
},
//
chooseImage() {
var _this = this
uni.chooseImage({
count: 1, //9
sizeType: ['original', 'compressed'], //
sourceType: ['album', 'camera'], //
success: function(res) {
_this.imgShow = res.tempFilePaths[0]
}
});
},
handove2(item, index) {
this.value = item.name;
this.show = false;
},
showSave() {
if (this.bigAddress != '' && this.name != '' && this.value != '') {
this.save = true;
} else {
this.save = false;
}
},
handove(item) {
if (this.value == '') {
this.save = false
uni.showToast({
title: 'Please select a currency',
icon: 'none',
duration: 1500
})
return;
}
if (this.bigAddress == '' || this.addressName == '') {
this.save = false
uni.showToast({
title: 'Address or name cannot be empty',
icon: 'none',
duration: 1500
})
return;
}
if (this.value == 'BTC') {
console.log(uni.getStorageSync('BTCAddressInfo'), 777)
if (uni.getStorageSync('BTCAddressInfo').length > 0) {
let btc = new Object;
btc.address = this.bigAddress;
btc.name = this.addressName
btc.coinList = [{
name: "BTC",
name2: "BTC",
xname: 'Bitcoin',
icon: require('@/static/tongyonh/bye.png')
}];
let BTCAddressInfo = []
BTCAddressInfo = uni.getStorageSync('BTCAddressInfo')
BTCAddressInfo.push(btc)
uni.setStorageSync('BTCAddressInfo', BTCAddressInfo)
console.log(BTCAddressInfo, 1111)
uni.showToast({
title: 'Successfully',
icon: 'success',
duration: 1500
})
uni.reLaunch({
url: '../address/index2'
})
} else {
let btc = new Object;
btc.address = this.bigAddress;
btc.name = this.addressName
btc.coinList = [{
name: "BTC",
name2: "BTC",
xname: 'Bitcoin',
icon: require('@/static/tongyonh/bye.png')
}];
console.log(btc, 4444)
let BTCAddressInfo = []
BTCAddressInfo.push(btc)
console.log(BTCAddressInfo, 4444)
uni.setStorageSync('BTCAddressInfo', BTCAddressInfo)
uni.showToast({
title: 'Successfully',
icon: 'success',
duration: 1500
})
setTimeout(() => {
uni.reLaunch({
url: '../address/index2'
})
}, 1500)
}
}
if (this.value == 'ETH') {
console.log(uni.getStorageSync('ETHAddressInfo'), 777)
if (uni.getStorageSync('ETHAddressInfo').length > 0) {
let eth = new Object;
eth.address = this.bigAddress;
eth.name = this.addressName
eth.coinList = [{
name: "ETH",
name2: "ETH",
xname: 'Ethereum',
icon: require('@/static/tongyonh/Frame3299.png')
}];
let ETHAddressInfo = []
ETHAddressInfo = uni.getStorageSync('ETHAddressInfo')
ETHAddressInfo.push(eth)
uni.setStorageSync('ETHAddressInfo', ETHAddressInfo)
console.log(ETHAddressInfo, 1111)
uni.showToast({
title: 'Successfully',
icon: 'success',
duration: 1500
})
setTimeout(() => {
uni.reLaunch({
url: '../address/index2'
})
}, 1500)
} else {
let eth = new Object;
eth.address = this.bigAddress;
eth.name = this.addressName
eth.coinList = [{
name: "ETH",
name2: "ETH",
xname: 'Ethereum',
icon: require('@/static/tongyonh/Frame3299.png')
}];
console.log(eth, 4444)
let ETHAddressInfo = []
ETHAddressInfo.push(eth)
console.log(ETHAddressInfo, 4444)
uni.setStorageSync('ETHAddressInfo', ETHAddressInfo)
uni.showToast({
title: 'Successfully',
icon: 'success',
duration: 1500
})
setTimeout(() => {
uni.reLaunch({
url: '../address/index2'
})
}, 1500)
}
}
if (this.value == 'TRX') {
console.log(uni.getStorageSync('TRXAddressInfo'), 777)
if (uni.getStorageSync('TRXAddressInfo').length > 0) {
let trx = new Object;
trx.address = this.bigAddress;
trx.name = this.addressName
trx.coinList = [{
name: "TRX",
name2: "TRX",
xname: 'TRON',
icon: require('@/static/tongyonh/tron1.png')
}];
let TRXAddressInfo = []
TRXAddressInfo = uni.getStorageSync('TRXAddressInfo')
TRXAddressInfo.push(trx)
uni.setStorageSync('TRXAddressInfo', TRXAddressInfo)
console.log(TRXAddressInfo, 1111)
uni.showToast({
title: 'Successfully',
icon: 'success',
duration: 1500
})
setTimeout(() => {
uni.reLaunch({
url: '../address/index2'
})
}, 1500)
} else {
let trx = new Object;
trx.address = this.bigAddress;
trx.name = this.addressName
trx.coinList = [{
name: "TRX",
name2: "TRX",
xname: 'TRON',
icon: require('@/static/tongyonh/tron1.png')
}];
console.log(trx, 4444)
let TRXAddressInfo = []
TRXAddressInfo.push(trx)
console.log(TRXAddressInfo, 4444)
uni.setStorageSync('TRXAddressInfo', TRXAddressInfo)
uni.showToast({
title: 'Successfully',
icon: 'success',
duration: 1500
})
setTimeout(() => {
uni.reLaunch({
url: '../address/index2'
})
}, 1500)
}
}
},
showSelect() {
this.show = true;
},
}
};
</script>
<style scoped>
page {
background: #FAFAFA;
height: 100%;
}
</style>
<style>
@import './index.css';
</style>

51
pages/menu/sendToken/addAddress2/index.vue

@ -2,7 +2,7 @@
<view class="hr">
<navigation :showBack="true" :bgnum="true">
<text class="big_title">
Add address
{{i18n.Addaddress}}
</text>
</navigation>
@ -11,11 +11,11 @@
<view class="item">
<view class="top flex">
<view class="text1">
Currency
{{i18n.curr}}
</view>
</view>
<view class="inputcon">
<input type="text" value="" v-model="value" placeholder-style="font-size: 30rpx; color: #D0D0D2;" placeholder="Please select the currency" class="input1" @click="showSelect()" :disabled="true"/>
<input type="text" value="" v-model="value" placeholder-style="font-size: 30rpx; color: #D0D0D2;" :placeholder="teee1" class="input1" @click="showSelect()" :disabled="true"/>
<image src="../../../../static/tongyonh/chevron_right_24px.png" mode="aspectFit" class="img1"></image>
</view>
</view>
@ -23,11 +23,11 @@
<view class="item">
<view class="top flex">
<view class="text1">
Address
{{i18n.Address}}
</view>
</view>
<view class="inputcon">
<input type="text" value="" @input="showSave()" placeholder-style="font-size: 30rpx; color: #D0D0D2;" placeholder="Please enter the recipient address" class="input1" v-model="bigAddress"/>
<input type="text" value="" @input="showSave()" placeholder-style="font-size: 30rpx; color: #D0D0D2;" :placeholder="teee2" class="input1" v-model="bigAddress"/>
<image src="../../../../static/tongyonh/Frame330.png" mode="aspectFit" class="img2" @click="chooseImage"></image>
</view>
@ -36,16 +36,16 @@
<view class="item">
<view class="top flex">
<view class="text1">
Name
{{i18n.Name}}
</view>
</view>
<view class="inputcon">
<input type="text" @input="showSave" value="" placeholder-style="font-size: 30rpx; color: #D0D0D2;" placeholder="Please enter the name" class="input1" v-model="addressName"/>
<input type="text" @input="showSave" value="" placeholder-style="font-size: 30rpx; color: #D0D0D2;" :placeholder="teee3" class="input1" v-model="addressName"/>
</view>
</view>
<view class="btn" @click="handove()" :class="save?'sheng':''">
Save
{{i18n.Save}}
</view>
</view>
@ -55,7 +55,7 @@
<view class="big_con w100" v-if="show">
<view class="tiao" @click="show=false"></view>
<view class="title">
Please select currency
{{i18n.selectcurrency}}
</view>
<view class="bottom_con zindex" v-if="show">
<u-radio-group v-model="value" >
@ -83,7 +83,7 @@
</view>
</u-radio-group>
<view class="select_btn">
Select
{{i18n.langSelect}}
</view>
</view>
</view>
@ -99,7 +99,9 @@
data() {
return {
AddressInfo:{},
teee1:this.$t('index').selectcurrency,
teee2:this.$t('index').Pleaserecipientaddress,
teee3:this.$t('index').enterthename,
info:{},
addressName:'',
value:'',
@ -144,6 +146,11 @@ show: false,
this.AddressIndex=uni.getStorageSync('AddressIndex')
}
},
computed: {
i18n() {
return this.$t('index')
},
},
methods: {
//
chooseImage() {
@ -175,7 +182,7 @@ show: false,
if(this.value==''){
this.save=false
uni.showToast({
title: 'Please select a currency',
title: this.$t('index').selectcurrency,
icon: 'none',
duration: 1500
})
@ -184,7 +191,7 @@ show: false,
if(this.bigAddress==''||this.addressName==''){
this.save=false
uni.showToast({
title: 'Address or name cannot be empty',
title: this.$t('index').Addressorname,
icon: 'none',
duration: 1500
})
@ -210,7 +217,7 @@ if(this.info.coinList[0].name2=='TRX'){
this.gai.push(eth);
uni.setStorageSync('ETHAddressInfo',this.gai)
uni.showToast({
title: 'Successfully',
title: this.$t('index').Successful,
icon: 'success',
duration: 1500
})
@ -234,7 +241,7 @@ if(this.info.coinList[0].name2=='TRX'){
this.gai[index]=trx;
uni.setStorageSync( 'TRXAddressInfo',this.gai)
uni.showToast({
title: 'Successfully',
title: this.$t('index').Successful,
icon: 'success',
duration: 1500
})
@ -262,7 +269,7 @@ if(this.info.coinList[0].name2=='TRX'){
this.gai.push(btc);
uni.setStorageSync('BTCAddressInfo',this.gai)
uni.showToast({
title: 'Successfully',
title: this.$t('index').Successful,
icon: 'success',
duration: 1500
})
@ -292,7 +299,7 @@ if(this.info.coinList[0].name2=='TRX'){
this.gai.push(trx);
uni.setStorageSync('TRXAddressInfo',this.gai)
uni.showToast({
title: 'Successfully',
title: this.$t('index').Successful,
icon: 'success',
duration: 1500
})
@ -315,7 +322,7 @@ if(this.info.coinList[0].name2=='TRX'){
this.gai[index]=eth;
uni.setStorageSync('ETHAddressInfo',this.gai)
uni.showToast({
title: 'Successfully',
title: this.$t('index').Successful,
icon: 'success',
duration: 1500
})
@ -343,7 +350,7 @@ if(this.info.coinList[0].name2=='TRX'){
this.gai.push(btc);
uni.setStorageSync('BTCAddressInfo',this.gai)
uni.showToast({
title: 'Successfully',
title: this.$t('index').Successful,
icon: 'success',
duration: 1500
})
@ -374,7 +381,7 @@ if(this.info.coinList[0].name2=='TRX'){
this.gai.push(trx);
uni.setStorageSync('TRXAddressInfo',this.gai)
uni.showToast({
title: 'Successfully',
title: this.$t('index').Successful,
icon: 'success',
duration: 1500
})
@ -397,7 +404,7 @@ if(this.info.coinList[0].name2=='TRX'){
this.gai[index]=btc;
uni.setStorageSync('BTCAddressInfo',this.gai)
uni.showToast({
title: 'Successfully',
title: this.$t('index').Successful,
icon: 'success',
duration: 1500
})
@ -425,7 +432,7 @@ if(this.info.coinList[0].name2=='TRX'){
this.gai.push(eth);
uni.setStorageSync('ETHAddressInfo',this.gai)
uni.showToast({
title: 'Successfully',
title: this.$t('index').Successful,
icon: 'success',
duration: 1500
})

32
pages/menu/sendToken/address/index.vue

@ -4,7 +4,7 @@
<image src="../../../../static/tongyonh/Vector.png" mode="aspectFit" class="back" @click="back()" ></image>
<image src="../../../../static/tongyonh/IconGroup.png" mode="aspectFit" class="renYou" slot="logo" @click="goAddress()"></image>
<text class="big_title">
Address
{{i18n.Address}}
</text>
</navigation>
<view class="main">
@ -33,11 +33,11 @@
<image src="../../../../static/tongyonh/xg.png" mode="aspectFit" class="img1" @click.stop="show = false"></image>
<view class="itemm flexx" @click.stop="editItem(index)">
<image src="../../../../static/tongyonh/create_24px.png" mode="aspectFit" class="img"></image>
Edit
{{i18n.edit}}
</view>
<view class="itemm flexx red" @click.stop="deleteItem()">
<image src="../../../../static/tongyonh/trash.png" mode="aspectFit" class="img"></image>
Delete
{{i18n.Delete}}
</view>
</view>
</view>
@ -64,11 +64,11 @@
<image src="../../../../static/tongyonh/xg.png" mode="aspectFit" class="img1" @click.stop="show2 = false"></image>
<view class="itemm flexx" @click.stop="editItem(index)">
<image src="../../../../static/tongyonh/create_24px.png" mode="aspectFit" class="img"></image>
Edit
{{i18n.edit}}
</view>
<view class="itemm flexx red" @click.stop="deleteItem()">
<image src="../../../../static/tongyonh/trash.png" mode="aspectFit" class="img"></image>
Delete
{{i18n.Delete}}
</view>
</view>
</view>
@ -99,11 +99,11 @@
<image src="../../../../static/tongyonh/xg.png" mode="aspectFit" class="img1" @click.stop="show3 = false"></image>
<view class="itemm flexx" @click.stop="editItem(index)">
<image src="../../../../static/tongyonh/create_24px.png" mode="aspectFit" class="img"></image>
Edit
{{i18n.edit}}
</view>
<view class="itemm flexx red" @click.stop="deleteItem()">
<image src="../../../../static/tongyonh/trash.png" mode="aspectFit" class="img"></image>
Delete
{{i18n.Delete}}
</view>
</view>
</view>
@ -117,7 +117,7 @@
{{itemCoin}} {{itemAddress}}
</view>
<view class="text text2">
DELETE
{{i18n.DELETE}}
</view>
</view>
@ -174,6 +174,11 @@ show3: false,
]
}
},
computed: {
i18n() {
return this.$t('index')
},
},
methods: {
//
goTransfer(item){
@ -186,11 +191,13 @@ show3: false,
},
back(){
if(this.transfer){
uni.navigateBack({
})
if(this.transfer.item=="transfer"){
console.log(111112313312)
uni.navigateTo({
url:'/pages/menu/sendToken/transfer/index'
})
}else{
console.log(1111)
uni.reLaunch({
url:'/pages/menu/profile/index'
})
@ -289,6 +296,7 @@ goAddress(){
//
if(item){
this.transfer=item
console.log(this.transfer,45455445)
}

314
pages/menu/sendToken/address/index2.vue

@ -0,0 +1,314 @@
<template>
<view class="">
<navigation :showBack="false" :bgnum="true">
<image src="../../../../static/tongyonh/Vector.png" mode="aspectFit" class="back" @click="back()" ></image>
<image src="../../../../static/tongyonh/IconGroup.png" mode="aspectFit" class="renYou" slot="logo" @click="goAddress()"></image>
<text class="big_title">
{{i18n.Address}}
</text>
</navigation>
<view class="main">
<view class="big_item">
<view class="item flex" v-for="(item,index) in BTCAddressInfo" @click="goTransfer(item)">
<view class="textcon flex">
<view class="bigcon">
<view class="textimg flexx">
<image :src="item.coinList[0].icon" mode="aspectFit" class="img"></image>
<text class="textt">{{item.coinList[0].name}}</text>
<text class="textt2">{{item.name}}</text>
</view>
<view class="text1">
{{item.address}}
</view>
</view>
</view>
<view class="btncon">
<image src="../../../../static/tongyonh/more_vert_24px_outlined.svg" mode="aspectFit" class="img2" @click.stop="showIndex(item,index)">
</image>
</view>
<view class="set_con" v-if="show" v-show="index==btcIndex">
<image src="../../../../static/tongyonh/xg.png" mode="aspectFit" class="img1" @click.stop="show = false"></image>
<view class="itemm flexx" @click.stop="editItem(index)">
<image src="../../../../static/tongyonh/create_24px.png" mode="aspectFit" class="img"></image>
{{i18n.edit}}
</view>
<view class="itemm flexx red" @click.stop="deleteItem()">
<image src="../../../../static/tongyonh/trash.png" mode="aspectFit" class="img"></image>
{{i18n.Delete}}
</view>
</view>
</view>
<view class="item flex" v-for="(item,index) in ETHAddressInfo" @click="goTransfer(item)">
<view class="textcon flex">
<view class="bigcon">
<view class="textimg flexx">
<image :src="item.coinList[0].icon" mode="aspectFit" class="img"></image>
<text class="textt">{{item.coinList[0].name}}</text>
<text class="textt2">{{item.name}}</text>
</view>
<view class="text1">
{{item.address}}
</view>
</view>
</view>
<view class="btncon">
<image src="../../../../static/tongyonh/more_vert_24px_outlined.svg" mode="aspectFit" class="img2" @click.stop="showIndex(item,index)">
</image>
</view>
<view class="set_con" v-if="show2" v-show="index==ethIndex">
<image src="../../../../static/tongyonh/xg.png" mode="aspectFit" class="img1" @click.stop="show2 = false"></image>
<view class="itemm flexx" @click.stop="editItem(index)">
<image src="../../../../static/tongyonh/create_24px.png" mode="aspectFit" class="img"></image>
{{i18n.edit}}
</view>
<view class="itemm flexx red" @click.stop="deleteItem()">
<image src="../../../../static/tongyonh/trash.png" mode="aspectFit" class="img"></image>
{{i18n.Delete}}
</view>
</view>
</view>
<view class="item flex" v-for="(item,index) in TRXAddressInfo" @click="goTransfer(item)">
<view class="textcon flex">
<view class="bigcon">
<view class="textimg flexx">
<image :src="item.coinList[0].icon" mode="aspectFit" class="img"></image>
<text class="textt">{{item.coinList[0].name}}</text>
<text class="textt2">{{item.name}}</text>
</view>
<view class="text1">
{{item.address}}
</view>
</view>
</view>
<view class="btncon">
<image src="../../../../static/tongyonh/more_vert_24px_outlined.svg" mode="aspectFit" class="img2" @click.stop="showIndex(item,index)">
</image>
</view>
<view class="set_con" v-if="show3" v-show="index==trxIndex">
<image src="../../../../static/tongyonh/xg.png" mode="aspectFit" class="img1" @click.stop="show3 = false"></image>
<view class="itemm flexx" @click.stop="editItem(index)">
<image src="../../../../static/tongyonh/create_24px.png" mode="aspectFit" class="img"></image>
{{i18n.edit}}
</view>
<view class="itemm flexx red" @click.stop="deleteItem()">
<image src="../../../../static/tongyonh/trash.png" mode="aspectFit" class="img"></image>
{{i18n.Delete}}
</view>
</view>
</view>
</view>
<view class="info_con green" v-if="showImte">
<view class="text">
{{itemCoin}} {{itemAddress}}
</view>
<view class="text text2">
{{i18n.DELETE}}
</view>
</view>
</view>
<u-mask z-index="10" :show="show" ></u-mask>
<u-mask z-index="10" :show="show2" ></u-mask>
<u-mask z-index="10" :show="show3" ></u-mask>
</view>
</template>
<script>
import cont from "@/components/navigation/navigation.vue"
export default {
data() {
return {
ethIndex:0,
btcIndex:0,
trxIndex:0,
showImte:false,
BTCAddressInfo:{},
ETHAddressInfo:{},
TRXAddressInfo:{},
walletIndex:-1,
itemCoin:'',
itemAddress:'',
info:{},
transfer:'',
show: false,
show2: false,
show3: false,
list: [
{
name: 'Single address',
checked: true,
disabled: false
},
{
name: 'Batch add 10 addresses',
checked: false,
disabled: false
},
{
name: 'Batch add 50 addresses',
checked: false,
disabled: false
}
]
}
},
computed: {
i18n() {
return this.$t('index')
},
},
methods: {
//
goTransfer(item){
if(this.transfer){
uni.setStorageSync('myTransAddress',item)
uni.navigateTo({
url:'../transfer/index'
})
}
},
back(){
uni.navigateTo({
url:'/pages/menu/sendToken/transfer/index'
})
},
editItem(index){
console.log(index,78787)
uni.setStorageSync('editIndex',index)
uni.setStorageSync('AddressInfo',this.info)
uni.setStorageSync('AddressName',this.itemCoin)
uni.setStorageSync('AddressIndex',this.walletIndex)
uni.navigateTo({
url:'../addAddress2/index'
})
},
showIndex(item,index){
this.itemCoin=item.coinList[0].name
if(item.coinList[0].xname=='Bitcoin'){
this.btcIndex=index
this.show=true
}else if(item.coinList[0].xname=='Ethereum'){
this.show2=true
this.ethIndex=index
}else{
this.trxIndex=index
this.show3=true
}
this.info= item
this.itemCoin=item.coinList[0].name
this.itemAddress=item.address
this.walletIndex=index;
},
deleteItem(){
console.log(this.walletIndex,4444444)
if(this.itemCoin=='BTC'){
console.log(this.BTCAddressInfo.length,'length')
if(this.BTCAddressInfo.length==1){
let BTCAddressInfo=[]
uni.setStorageSync('BTCAddressInfo',BTCAddressInfo)
}
console.log(this.BTCAddressInfo,1111)
console.log(this.walletIndex,44444)
this.BTCAddressInfo.splice(this.walletIndex,1)
console.log(this.BTCAddressInfo,'删除后')
uni.setStorageSync('BTCAddressInfo', this.BTCAddressInfo)
this.showImte=true;
this.show=false;
setTimeout(()=>{
this.showImte=false;
},1500)
}
if(this.itemCoin=='ETH'){
if(this.ETHAddressInfo.length==1){
let ETHAddressInfo=[]
uni.setStorageSync('ETHAddressInfo',ETHAddressInfo)
}
console.log(this.ETHAddressInfo,1111)
console.log(this.walletIndex,44444)
this.ETHAddressInfo.splice(this.walletIndex,1)
uni.setStorageSync('ETHAddressInfo',this.ETHAddressInfo)
this.showImte=true;
this.show2=false;
setTimeout(()=>{
this.showImte=false;
},1500)
}
if(this.itemCoin=='TRX'){
if(this.TRXAddressInfo.length==1){
let TRXAddressInfo=[]
uni.setStorageSync('TRXAddressInfo',TRXAddressInfo)
}
this.TRXAddressInfo.splice(this.walletIndex,1)
uni.setStorageSync('TRXAddressInfo',this.TRXAddressInfo)
this.showImte=true;
this.show3=false;
setTimeout(()=>{
this.showImte=false;
},1500)
}
},
goAddress(){
uni.navigateTo({
url:'../addAddress/index2'
})
}
},
onLoad(item) {
if(uni.getStorageSync('BTCAddressInfo').length>0){
this.BTCAddressInfo=uni.getStorageSync('BTCAddressInfo')
console.log(this.BTCAddressInfo,777)
}
if(uni.getStorageSync('ETHAddressInfo').length>0){
this.ETHAddressInfo=uni.getStorageSync('ETHAddressInfo')
console.log(this.ETHAddressInfo,777)
}
if(uni.getStorageSync('TRXAddressInfo').length>0){
this.TRXAddressInfo=uni.getStorageSync('TRXAddressInfo')
console.log(this.TRXAddressInfo,777)
}
}
};
</script>
<style scoped>
page {
background: #FAFAFA;
height: 100%;
}
</style>
<style>
@import './index.css';
</style>

8
pages/menu/sendToken/transfer/index.vue

@ -392,7 +392,7 @@
},
back() {
uni.reLaunch({
url: '../../wallet/index'
url: '../../token/btc/index'
})
},
//
@ -453,12 +453,13 @@
that.transaction = res;
uni.setStorageSync('transaction', that.transaction)
console.log(JSON.stringify(that.transaction))
let size = new Blob([JSON.stringify(that.transaction)]).size;
let size = JSON.stringify(that.transaction).replace(/[^x00-xFF]/g,'**').length;
console.log(size, "size")
console.log(size.toString().length, "size")
that.transInfoPass.fee = Number(size) * (size.toString().length + 1) * 1000 / Math.pow(10,
6)
}).catch(err => {
console.log(err)
that.showFinger = false;
that.showBottom = true;
uni.showToast({
@ -600,9 +601,8 @@
goAddress(text) {
console.log(text)
uni.navigateTo({
url: '../address/index?item=' + text
url: '../address/index2'
})
}
},

17
pages/menu/setting/index.vue

@ -46,23 +46,24 @@
<view class="hou_jia" v-if="showFinger">
<view class="Log">
Log in
{{i18n.Login}}
</view>
<image src="../../../static/tongyonh/zww.png" mode="aspectFit" class="zzw"></image>
<view class="Log" @click="cancel">
Cancel
{{i18n.Cancel}}
</view>
</view>
<view class="hou_jia hou_jia_w" v-if="hou_jia_w">
<view class="fontt">
Confirm close validation?
{{i18n.closevalidation}}
</view>
<view class="ccon">
<view class="cancle" @click="cancel_hou">
Cancel
{{i18n.Cancel}}
</view>
<view class="" @click="confirm_hou">
Confirm
{{i18n.Confirm}}
</view>
</view>
</view>
@ -147,21 +148,21 @@
// #ifdef APP-PLUS
if (!plus.fingerprint.isSupport()) {
uni.showToast({
title: 'This device does not support fingerprint identification',
title:this.$t('index').fingerprintidentification,
icon: 'none',
duration: 1500
})
// this.disabled = true;
} else if (!plus.fingerprint.isKeyguardSecure()) {
uni.showToast({
title: 'This device is not equipped with a password lock screen and cannot use fingerprint identification',
title: this.$t('index').notequipped,
icon: 'none',
duration: 1500
})
} else if (!plus.fingerprint.isEnrolledFingerprints()) {
uni.showToast({
title: 'There is no fingerprint entered in this device. Please turn it on in the setting',
title: this.$t('index').oninthesetting,
icon: 'none',
duration: 1500
})

9
pages/menu/token/btc/index.css

@ -53,7 +53,14 @@
width: 100rpx;
height: 110rpx;
}
.back{
width: 16rpx;
height: 24rpx;
position: absolute;
left:36rpx;
top: 50%;
transform: translateY(-50%);
}
.textcon1 .v1 {}
.textcon1 .v1 .t1 {

11
pages/menu/token/btc/index.vue

@ -1,6 +1,7 @@
<template>
<view class="">
<navigation :showBack="true" :bgnum="true" class="head">
<navigation :showBack="false" :bgnum="true" class="head">
<image src="../../../../static/tongyonh/Vector.png" mode="aspectFit" class="back" @click="back()"></image>
<text class="big_title">
{{coin.name}}
</text>
@ -48,7 +49,7 @@
<u-tabs height="120" bar-width="172" active-font="13" inactive-font="13" active-color="#6F69FF" inactive-color="#A3AED0" :list="list"
:is-scroll="false" :current="current" @change="change"></u-tabs>
<u-empty text="No content" mode="list" v-if="showInfo"></u-empty>
<u-empty :text="teee" mode="list" v-if="showInfo"></u-empty>
<view class="" v-if="!showInfo">
<view class="item1" v-for="(item,index) in trxs" @click="goDetail(item,index)">
@ -115,6 +116,7 @@
export default {
data() {
return {
teee:this.$t('index').Nocontent,
// address
trxs:{},
coin: {},
@ -149,6 +151,11 @@
},
},
methods: {
back() {
uni.reLaunch({
url: '../../wallet/index'
})
},
goSend() {
uni.navigateTo({
url: '/pages/menu/sendToken/transfer/index'

35
pages/menu/transction/detail/index.vue

@ -2,7 +2,7 @@
<view class="">
<navigation :showBack="true" :bgnum="true">
<text class="big_title">
Transaction details
{{i18n.Transactiondetails}}
</text>
</navigation>
<view class="main">
@ -11,14 +11,14 @@
<image src="../../../../static/tongyonh/check-circle.png" mode="aspectFit" class="img1"></image>
</view>
<view class="title">
Confirmed
{{i18n.Confirmed}}
</view>
<view class="scroll">
<view class="title_con flex">
<view class="text1">
Amount
{{i18n.Amount}}
</view>
<view class="text1">
{{info.value}} {{info.network}}
@ -26,7 +26,7 @@
</view>
<view class="title_con flex">
<view class="text1">
Time
{{i18n.Time}}
</view>
<view class="text2">
{{info.time}}
@ -34,7 +34,7 @@
</view>
<view class="title_con flex">
<view class="text2">
Tx Fee
{{i18n.TxFee}}
</view>
<view class="text2">
{{info.fee}} {{info.network}}
@ -43,7 +43,7 @@
<view class="item">
<view class="text1">
Transaction ID
{{i18n.TransactionID}}
</view>
<view class="text2">
{{info.txid}}
@ -53,9 +53,9 @@
</view>
<view class="item">
<view class="text1">
Send address
<text v-if="isIn"> (others)</text>
<text v-else>(me)</text>
{{i18n.Sendaddress}}
<text v-if="isIn"> ({{i18n.others}})</text>
<text v-else> ({{i18n.me}})</text>
</view>
<view class="text2">
{{info.from}}
@ -64,9 +64,9 @@
</view>
<view class="item">
<view class="text1">
Receiving address
<text v-if="isIn">(me)</text>
<text v-else>(others)</text>
{{i18n.Receivingaddress}}
<text v-if="isIn">({{i18n.me}})</text>
<text v-else>({{i18n.others}})</text>
</view>
<view class="text2">
{{info.to}}
@ -75,7 +75,7 @@
</view>
</view>
<view class="item goto">
Go to your browser for more information
{{i18n.moreinformation}}
</view>
<!-- <view class="sett" v-if="show">
<view class="top">
@ -117,6 +117,11 @@
toTop: false,
}
},
computed: {
i18n() {
return this.$t('index')
},
},
methods: {
copyTextMethod(text) {
console.log(text)
@ -124,7 +129,7 @@
this.$copyText(text).then(res => {
// Copy address Successful!
uni.showToast({
title: 'Copy Successful!',
title: this.$t('index').CopySuccessful,
icon: 'none',
duration: 1500
})
@ -138,7 +143,7 @@
data: text,
success() {
uni.showToast({
title: 'Copy Successful!',
title: this.$t('index').CopySuccessful,
icon: 'none',
duration: 1500
})

4
pages/menu/wallet/index.vue

@ -126,10 +126,8 @@
// },
methods: {
goOther() {
console.log(this.userObj2, 8888)
let item = JSON.stringify(this.userObj2)
uni.navigateTo({
url: 'otherCoin/index?type=' + item
url: 'otherCoin/index'
})
},
showMoney() {

10
pages/menu/wallet/mwallet/manage/index.css

@ -106,4 +106,12 @@ word-break: break-word;
width: 48rpx;
height: 48rpx;
}
}
.back{
width: 16rpx;
height: 24rpx;
position: absolute;
left:36rpx;
top: 50%;
transform: translateY(-50%);
}

21
pages/menu/wallet/mwallet/manage/index.vue

@ -1,6 +1,7 @@
<template>
<view class="">
<navigation :showBack="true" :bgnum="true">
<navigation :showBack="false" :bgnum="true">
<image src="../../../../../static/tongyonh/Vector.png" mode="aspectFit" class="back" @click="back()"></image>
<text class="big_title">
{{i18n.Manage}}
</text>
@ -21,7 +22,10 @@
{{i18n.Name}}
</view>
<view class="address" >
{{i18n.Setname}}
<text v-if="userObj.name=='BTC'">{{i18n.Setname}}</text>
<text v-else-if="userObj.name=='ETH'">{{i18n.Setname}}</text>
<text v-else-if="userObj.name=='TRX'">{{i18n.Setname}}</text>
<text v-else>{{userObj.name}}</text>
<image src="../../../../../static/tongyonh/chevron_right_24px.png" mode="aspectFit" class="img1"></image>
</view>
</view>
@ -48,7 +52,7 @@
<view class="title">
{{i18n.Newwalletname}}
</view>
<u-input placeholder="Please enter wallet name" border-color="#E9EDF7" v-model="value" :type="type" :border="border" />
<u-input :placeholder="teee" border-color="#E9EDF7" v-model="value" :type="type" :border="border" />
<view class="btnconn">
<view class="btn" @click="showAddress=false">
{{i18n.Cancel}}
@ -81,6 +85,7 @@
export default {
data() {
return {
teee:this.$t('index').walletname,
value: '',
type: 'text',
border: true,
@ -94,10 +99,15 @@
}
},
methods: {
back(){
uni.navigateTo({
url:'/pages/menu/wallet/mwallet/index'
})
},
setName(){
if(this.value==''){
uni.showToast({
title: 'Name cannot be empty',
title:this.$t('index').Namecannot,
icon: 'none',
duration: 1500
})
@ -105,7 +115,7 @@
console.log(this.userObj,2222)
this.$walletUtil.updateWalletName(this.userObj.type,this.userObj.address,this.value)
uni.showToast({
title: 'Successfully',
title: this.$t('index').Successful,
icon: 'success',
duration: 1500
})
@ -136,6 +146,7 @@
},
onLoad: function(option) {
this.userObj = uni.getStorageSync('addressDetailInfo')
console.log(this.userObj,45454554)
//
if(!this.userObj.mnemonic){
this.itemMnemonic=false;

20
pages/menu/wallet/otherCoin/index.vue

@ -62,14 +62,12 @@
return this.$t('index')
},
},
onLoad(option) {
const item = JSON.parse(option.type);
console.log(item,12132)
onLoad() {
if(uni.getStorageSync('imgindex').length>0){
this.imgindex=uni.getStorageSync('imgindex')
}
this.coinAddress=item.address
this.coinType=item.type
this.coinAddress=uni.getStorageSync('wallet').address
this.coinType=uni.getStorageSync('wallet').type
this.walletInfo=uni.getStorageSync('walletInfo')
this.getCoin();
},
@ -87,16 +85,8 @@
//
addOther(item,index){
console.log(item,444)
// if(uni.getStorageSync('imgindex').length>0){
// this.imgindex.push(index)
// this.toTop=true
// setTimeout(()=>{
// this.toTop=false
// },1500)
// uni.setStorageSync('imgindex',this.imgindex)
// }else{
this.imgindex.push(index)
this.imgindex.splice(index,index)
console.log(this.imgindex,454545)
this.toTop=true
setTimeout(()=>{
this.toTop=false

1
pages/register/index.vue

@ -176,6 +176,7 @@
url:'../menu/backUp/index',
})
},
loginWallet(){
if(this.list2[0].checked!=true){
uni.showToast({

BIN
unpackage/cache/apk/__UNI__1ECBEE1_cm.apk

Binary file not shown.

2
unpackage/cache/apk/apkurl

@ -1 +1 @@
https://ide.dcloud.net.cn/build/download/c753ae50-47b0-11ec-aadb-a3a65ac078af
https://ide.dcloud.net.cn/build/download/c5fc3650-47b3-11ec-933f-1fcc296ea06d

2
unpackage/cache/apk/cmManifestCache.json

File diff suppressed because one or more lines are too long

2
unpackage/cache/wgt/__UNI__1ECBEE1/app-config-service.js

File diff suppressed because one or more lines are too long

18
unpackage/cache/wgt/__UNI__1ECBEE1/app-service.js

File diff suppressed because one or more lines are too long

2
unpackage/cache/wgt/__UNI__1ECBEE1/app-view.js

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/app-plus/app-config-service.js

File diff suppressed because one or more lines are too long

18
unpackage/dist/build/app-plus/app-service.js

File diff suppressed because one or more lines are too long

2
unpackage/dist/build/app-plus/app-view.js

File diff suppressed because one or more lines are too long

4
unpackage/dist/dev/app-plus/app-config-service.js

File diff suppressed because one or more lines are too long

3972
unpackage/dist/dev/app-plus/app-service.js

File diff suppressed because one or more lines are too long

2451
unpackage/dist/dev/app-plus/app-view.js

File diff suppressed because one or more lines are too long

BIN
unpackage/release/apk/bitcooo.apk

Binary file not shown.

BIN
unpackage/release/apk/bitcooo.zip

Binary file not shown.

2
utils/WalletUtil.js

@ -65,6 +65,8 @@ let WalletUtil = {
walletInfo.BTC[0].mnemonic = mnemonic;
walletInfo.BTC[0].privateKey = btc.privateKey;
walletInfo.BTC[0].address = btc.address;
walletInfo.BTC[0].ellipsisAddress =walletInfo.BTC[0].address.substring(0, 6) + '...' + walletInfo.BTC[0].address.substring(25,
walletInfo.BTC[0].address.length)
let eth = TokenUtil.generateEth(mnemonic)
walletInfo.ETH[0].password = password;
walletInfo.ETH[0].mnemonic = mnemonic;

24
utils/locales/en.js

@ -1,6 +1,8 @@
// en.js
export default {
index: {
walletname:'Please enter wallet name',
Namecannot:'Name cannot be empty',
// 底部导航栏
Wallet:'Wallet',
NFT:'NFT',
@ -183,5 +185,27 @@ export default {
langfan:'Traditional Chinese',
langjian:'Simplified Chinese',
eng:'English',
edit:'Edit',
Delete:'Delete',
DELETE:'DELETE',
Addaddress:'Add address',
Save:'Save',
selectcurrency:'Please select currency',
Pleaserecipientaddress:'Please enter the recipient address',
enterthename:'Please enter the name',
Addressorname:'Address or name cannot be empty',
loading:'loading',
closevalidation:'Confirm close validation?',
Login:'Log in',
Transactiondetails:'Transaction details',
Confirmed:'Confirmed',
Time:'Time',
TxFee:'Tx Fee',
TransactionID:'Transaction ID',
others:'others',
me:'me',
moreinformation:'Go to your browser for more information',
CopySuccessful:'Copy Successful!',
Nocontent:'No content',
}
}

24
utils/locales/zh-F.js

@ -1,6 +1,8 @@
// zhf.js
export default {
index: {
walletname:'請輸入錢包名稱',
Namecannot:'輸入名稱不能為空',
// 底部导航栏
Wallet:'錢包',
NFT:'NFT',
@ -183,5 +185,27 @@ export default {
langfan:'繁體中文',
langjian:'簡體中文',
eng:'英文',
edit:'修改',
Delete:'删除',
DELETE:'删除',
Addaddress:'添加地址',
Save:'保存',
selectcurrency:'請選擇幣種',
Pleaserecipientaddress:'請輸入收件人地址',
enterthename:'請輸入名稱',
Addressorname:'地址或名稱不能為空',
loading:'加載中',
closevalidation:'確認關閉驗證?',
Login:'登入',
Transactiondetails:'交易詳情',
Confirmed:'確認交易',
Time:'時間',
TxFee:'發送費',
TransactionID:'交易ID',
others:'其他',
me:'我',
moreinformation:'有關詳細資訊,請轉到瀏覽器',
CopySuccessful:'複製成功!',
Nocontent:'無內容',
}
}

24
utils/locales/zh.js

@ -1,6 +1,8 @@
// zh.js
export default {
index: {
walletname:'请输入钱包名称',
Namecannot:'输入名称不能为空',
// 底部导航栏
Wallet:'钱包',
NFT:'NFT',
@ -181,5 +183,27 @@ export default {
langfan:'繁体中文',
langjian:'简体中文',
eng:'英文',
edit:'修改',
Delete:'删除',
DELETE:'删除',
Addaddress:'添加地址',
Save:'保存',
selectcurrency:'请选择币种',
Pleaserecipientaddress:'请输入收件人地址',
enterthename:'请输入名称',
Addressorname:'地址或名称不能为空',
loading:'加载中',
closevalidation:'确认关闭验证?',
Login:'登录',
Transactiondetails:'交易详情',
Confirmed:'确认交易',
Time:'时间',
TxFee:'发送费',
TransactionID:'交易ID',
others:'其他',
me:'我',
moreinformation:'有关详细信息,请转到浏览器',
CopySuccessful:'复制成功!',
Nocontent:'无内容',
}
}

Loading…
Cancel
Save