diff --git a/components/navigation/navigation.vue b/components/navigation/navigation.vue index 73f6f8b..6752ae2 100644 --- a/components/navigation/navigation.vue +++ b/components/navigation/navigation.vue @@ -62,20 +62,23 @@ } .nav-head{ - line-height: 40rpx; + height: 40rpx; // background-color: #fff; text-align: center; font-weight: 700; font-size: 36rpx; color: #000; - position: relative; - padding: 0 16rpx; + padding: 40rpx 16rpx; margin-top: 50rpx; display: flex; justify-content: center; flex-direction: row-reverse; align-items: center; margin-top: 80rpx; + position: sticky; + top: 40px; + width: 100%; + } .back{ width: 30rpx; diff --git a/pages/menu/about/index.css b/pages/menu/about/index.css index 48a3ed1..2923699 100644 --- a/pages/menu/about/index.css +++ b/pages/menu/about/index.css @@ -1,3 +1,10 @@ + +.bitcooo{ + text-align: center; + font-size: 60rpx; + font-weight: bold; + margin-top: 20rpx; +} .main{ padding:0 24rpx } diff --git a/pages/menu/about/index.vue b/pages/menu/about/index.vue index 67120d9..dd66b23 100644 --- a/pages/menu/about/index.vue +++ b/pages/menu/about/index.vue @@ -7,9 +7,10 @@ - - + + BitCooo + @@ -19,12 +20,12 @@ {{version}} - + {{i18n.Officialwebsite}} - https://bitcooo.com + https://www.bitcooo.com @@ -76,6 +77,9 @@ // #endif }, methods: { + goWeb(){ + plus.runtime.openURL('https://www.bitcooo.com/'); + }, goTerms() { uni.navigateTo({ url: './terms/index' diff --git a/pages/menu/sendToken/address/index.css b/pages/menu/sendToken/address/index.css index 505ee96..2aa8c0c 100644 --- a/pages/menu/sendToken/address/index.css +++ b/pages/menu/sendToken/address/index.css @@ -9,6 +9,9 @@ top: 50%; transform: translateY(-50%); } +/deep/ .u-empty{ + margin-top: 180rpx !important; +} .renYou{ width: 48rpx; height: 48rpx; diff --git a/pages/menu/sendToken/address/index.vue b/pages/menu/sendToken/address/index.vue index 7bf4a47..bcf5064 100644 --- a/pages/menu/sendToken/address/index.vue +++ b/pages/menu/sendToken/address/index.vue @@ -139,6 +139,8 @@ + + @@ -150,14 +152,16 @@ export default { data() { return { + teee: this.$t('index').Nocontent, + showInfo: false, sourcePage: '', ethIndex: 0, btcIndex: 0, trxIndex: 0, showImte: false, - BTCAddressInfo: {}, - ETHAddressInfo: {}, - TRXAddressInfo: {}, + BTCAddressInfo: [], + ETHAddressInfo: [], + TRXAddressInfo: [], walletIndex: -1, itemCoin: '', itemAddress: '', @@ -263,9 +267,12 @@ this.showImte = true; this.show = false; setTimeout(() => { + uni.redirectTo({ + url:'/pages/menu/sendToken/address/index' + }) this.showImte = false; }, 1500) - + } if (this.itemCoin == 'ETH') { if (this.ETHAddressInfo.length == 1) { @@ -280,9 +287,12 @@ this.showImte = true; this.show2 = false; setTimeout(() => { + uni.redirectTo({ + url:'/pages/menu/sendToken/address/index' + }) this.showImte = false; }, 1500) - + } if (this.itemCoin == 'TRX') { if (this.TRXAddressInfo.length == 1) { @@ -295,9 +305,12 @@ this.showImte = true; this.show3 = false; setTimeout(() => { + uni.redirectTo({ + url:'/pages/menu/sendToken/address/index' + }) this.showImte = false; }, 1500) - + } }, goAddress() { @@ -307,7 +320,7 @@ } }, onLoad(item) { - + this.sourcePage = uni.getStorageSync('sourcePage') // 判断是否是从交易页面来的 if (item.item) { @@ -327,6 +340,14 @@ this.TRXAddressInfo = uni.getStorageSync('TRXAddressInfo') console.log(this.TRXAddressInfo, 777) } + console.log(this.BTCAddressInfo.length) + console.log(this.ETHAddressInfo.length) + console.log(this.TRXAddressInfo.length) + if(this.BTCAddressInfo.length==0&&this.ETHAddressInfo.length==0&&this.TRXAddressInfo.length==0){ + this.showInfo=true; + }else{ + this.showInfo=false; + } } }; diff --git a/pages/menu/sendToken/transfer/index.vue b/pages/menu/sendToken/transfer/index.vue index 7fe87cc..5487f75 100644 --- a/pages/menu/sendToken/transfer/index.vue +++ b/pages/menu/sendToken/transfer/index.vue @@ -80,7 +80,7 @@ - + @@ -452,7 +452,7 @@ // 确认提交 Confirm() { // 做判断 - debugger + // debugger if (this.transInfoPass.amount == '') { uni.showToast({ title: this.$t('index').enterthetransferamount, @@ -485,7 +485,6 @@ }) return } - let that = this if (this.coin.type === 'ETH') { if(!this.$Token.validateEth(this.transInfoPass.toAddress)) diff --git a/pages/register/index.css b/pages/register/index.css index 0bf75ff..0e1b6c0 100644 --- a/pages/register/index.css +++ b/pages/register/index.css @@ -1,3 +1,9 @@ + +.lans{ + +} + + .main{ margin-top: 120rpx; } @@ -37,7 +43,7 @@ } /deep/ uni-swiper .uni-swiper-dots-horizontal { left: 50%; - bottom: -5px; + bottom: -76rpx; } /deep/ .uni-swiper-dot{ width: 20rpx !important; @@ -51,7 +57,7 @@ background-color: #5B53FF!important; } .reg_con{ - margin-top: 60rpx; + margin-top: 100rpx; padding: 0 40rpx; } .reg{ diff --git a/pages/register/index.vue b/pages/register/index.vue index 577393b..933233e 100644 --- a/pages/register/index.vue +++ b/pages/register/index.vue @@ -1,5 +1,9 @@