Browse Source

1213

master
Dread 4 years ago
parent
commit
f100c1b5cc
  1. 23
      components/tabBar/tabBar.vue
  2. 66
      manifest.json
  3. 2
      pages/menu/backUp/index.vue
  4. 4
      pages/register/index.vue
  5. 2
      utils/locales/by.js
  6. 3
      utils/locales/en.js
  7. 2
      utils/locales/zh-F.js
  8. 2
      utils/locales/zh.js

23
components/tabBar/tabBar.vue

@ -11,7 +11,7 @@
</view>
</view>
</view>
<view class="tabbar_item" @click="goToPage(2)">
<view class="tabbar_item" @click="goToPage(2)" v-if="showTwo">
<view class="uni-tabbar_bd">
<view class="uni-tabbar_icon">
<image :src="'/static/tongyonh/'+(selectActive==2?'nft_icon2':'nft_icon')+'.png'" mode="aspectFit" class="img1"></image>
@ -72,16 +72,35 @@
},
data() {
return {
status:''
status:'',
showTwo:true,
address:'',
}
},
computed: {
},
mounted() {
//
this.getCollection();
},
methods: {
async getCollection(){
if(uni.getStorageSync('wallet')){
this.address=uni.getStorageSync('wallet').address
}else{
this.address=uni.getStorageSync('walletInfo').BTC[0].address
}
let params = {
address: this.address
}
const response = await this.$api.getNftProjectList(params)
console.log(response.data,777)
if(response.data.length==0||!response.data){
this.showTwo=false;
}
},
goToPage(num) {
if(num == 1) {
uni.reLaunch({

66
manifest.json

@ -26,10 +26,7 @@
/* */
"modules" : {
"FaceID" : {},
<<<<<<< HEAD
"Fingerprint" : {},
=======
>>>>>>> 5377f57f2bb8b108a0dee3b3b361fa3e0f60dbbb
"Push" : {}
},
/* */
@ -59,15 +56,11 @@
},
/* ios */
"ios" : {
<<<<<<< HEAD
"privacyDescription" : {
"NSCameraUsageDescription" : "BitCooo requires camera permission",
"NSPhotoLibraryUsageDescription" : "BitCooo needs to use album permissions",
"NSPhotoLibraryAddUsageDescription" : "BitCooo needs to use album permissions"
}
=======
"idfa" : false
>>>>>>> 5377f57f2bb8b108a0dee3b3b361fa3e0f60dbbb
},
/* SDK */
"sdkConfigs" : {
@ -127,8 +120,9 @@
"name": "BitCooo", //
"android": {
"strings": { //Android
"CustomKey": "CustomValue"
//...
"NSCameraUsageDescription" : "BitCooo requires camera permission",
"NSPhotoLibraryUsageDescription" : "BitCooo needs to use album permissions",
"NSPhotoLibraryAddUsageDescription" : "BitCooo needs to use album permissions"
}
},
"ios": {
@ -136,13 +130,61 @@
"NSCameraUsageDescription" : "BitCooo requires camera permission",
"NSPhotoLibraryUsageDescription" : "BitCooo needs to use album permissions",
"NSPhotoLibraryAddUsageDescription" : "BitCooo needs to use album permissions"
}
// "infoPlist": { //iOSInfoPlist.strings
// "CustomKey": "CustomValue"
// //...
// }
}
},
"HK": { //
"name": "BitCooo", //
"android": {
"strings": { //Android
"NSCameraUsageDescription" : "BitCooo 需要攝像頭權限",
"NSPhotoLibraryUsageDescription" : "BitCooo需要使用相冊權限",
"NSPhotoLibraryAddUsageDescription" : "BitCooo需要使用相冊權限"
}
},
"ios": {
"privacyDescription" : {
"NSCameraUsageDescription" : "BitCooo 需要攝像頭權限",
"NSPhotoLibraryUsageDescription" : "BitCooo需要使用相冊權限",
"NSPhotoLibraryAddUsageDescription" : "BitCooo需要使用相冊權限"
}
// "infoPlist": { //iOSInfoPlist.strings
// "CustomKey": "CustomValue"
// //...
// }
}
},
"CN": { //
"name": "BitCooo", //
"android": {
"strings": { //Android
"NSCameraUsageDescription" : "BitCooo 需要摄像头权限",
"NSPhotoLibraryUsageDescription" : "BitCooo需要使用相册权限",
"NSPhotoLibraryAddUsageDescription" : "BitCooo需要使用相册权限"
}
},
"infoPlist": { //iOSInfoPlist.strings
"CustomKey": "CustomValue"
//...
"ios": {
"privacyDescription" : {
"NSCameraUsageDescription" : "BitCooo 需要摄像头权限",
"NSPhotoLibraryUsageDescription" : "BitCooo需要使用相册权限",
"NSPhotoLibraryAddUsageDescription" : "BitCooo需要使用相册权限"
}
// "infoPlist": { //iOSInfoPlist.strings
// "CustomKey": "CustomValue"
// //...
// }
}
}
},
/* */
"quickapp" : {},

2
pages/menu/backUp/index.vue

@ -73,7 +73,7 @@
}else{
uni.showToast({
title: 'Please check the prompt to agree to backup',
title: this.$t('index').agreetobackup,
icon: 'none',
duration: 1500
})

4
pages/register/index.vue

@ -270,7 +270,7 @@
createWallet() {
if (this.list2[0].checked != true) {
uni.showToast({
title: 'Please check the terms of service',
title: this.$t('index').checkthetermsofservice,
icon: 'none',
duration: 1500
})
@ -297,7 +297,7 @@
loginWallet() {
if (this.list2[0].checked != true) {
uni.showToast({
title: 'Please check the terms of service',
title: this.$t('index').checkthetermsofservice,
icon: 'none',
duration: 1500
})

2
utils/locales/by.js

@ -1,6 +1,8 @@
// by.js
export default {
index: {
agreetobackup:'Пожалуйста, проверьте запрос, чтобы согласиться на резервное копирование',
checkthetermsofservice:'Прочтите и примите условия использования',
//help
faq:'Центр помощи',
t1:'Что такое блокчейн?',

3
utils/locales/en.js

@ -1,6 +1,9 @@
// en.js
export default {
index: {
agreetobackup:'Please check the prompt to agree to backup',
checkthetermsofservice:'Please review and agree to the terms of service',
//help
faq:'Help Center',
t1:'What Is Blockchain?',

2
utils/locales/zh-F.js

@ -1,6 +1,8 @@
// zhf.js
export default {
index: {
agreetobackup:'請勾選同意備份的提示',
checkthetermsofservice:'請查看並同意服務條款',
faq:'幫助中心',
//help
t1:'什麼是區塊鏈?',

2
utils/locales/zh.js

@ -1,6 +1,8 @@
// zh.js
export default {
index: {
agreetobackup:'请勾选同意备份的提示',
checkthetermsofservice:'请查看并同意服务条款',
//help
faq:'帮助中心',
t1:'什么是区块链?',

Loading…
Cancel
Save