Browse Source

1213

master
Dread 4 years ago
parent
commit
f100c1b5cc
  1. 25
      components/tabBar/tabBar.vue
  2. 74
      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

25
components/tabBar/tabBar.vue

@ -11,7 +11,7 @@
</view> </view>
</view> </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_bd">
<view class="uni-tabbar_icon"> <view class="uni-tabbar_icon">
<image :src="'/static/tongyonh/'+(selectActive==2?'nft_icon2':'nft_icon')+'.png'" mode="aspectFit" class="img1"></image> <image :src="'/static/tongyonh/'+(selectActive==2?'nft_icon2':'nft_icon')+'.png'" mode="aspectFit" class="img1"></image>
@ -72,16 +72,35 @@
}, },
data() { data() {
return { return {
status:'' status:'',
showTwo:true,
address:'',
} }
}, },
computed: { computed: {
}, },
mounted() { mounted() {
//
this.getCollection();
}, },
methods: { 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) { goToPage(num) {
if(num == 1) { if(num == 1) {
uni.reLaunch({ uni.reLaunch({

74
manifest.json

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

2
pages/menu/backUp/index.vue

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

4
pages/register/index.vue

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

2
utils/locales/by.js

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

3
utils/locales/en.js

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

2
utils/locales/zh-F.js

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

2
utils/locales/zh.js

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

Loading…
Cancel
Save