Browse Source

带啊吗

master
Dread 4 years ago
parent
commit
12181b7a5a
  1. 1
      pages/menu/setting/index.vue
  2. 24
      pages/menu/wallet/otherCoin/index.vue
  3. 8
      unpackage/dist/dev/app-plus/app-service.js

1
pages/menu/setting/index.vue

@ -122,6 +122,7 @@
},
//
printCancel(){
this.show=false;
plus.fingerprint.cancel();
this.showFinger=false
},

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

@ -25,8 +25,8 @@
</view>
</view>
</view>
<image src="../../../../static/tongyonh/IconGroup.png" mode="aspectFit" class="img" @click="addOther(item,index)" v-if="index!=imgindex[index]" ></image>
<image src="../../../../static/tongyonh/x-circle.png" mode="aspectFit" class="img opci" v-if="index==imgindex[index]"></image>
<image src="../../../../static/tongyonh/IconGroup.png" mode="aspectFit" class="img" @click="addOther(item,index)" v-if="index!=trueIndex[index]" ></image>
<image src="../../../../static/tongyonh/x-circle.png" mode="aspectFit" class="img opci" v-if="index==trueIndex[index]"></image>
</view>
@ -54,7 +54,8 @@
walletInfo:{},
coinAddress:'',
toTop:false,
tmoney:0
tmoney:0,
trueIndex:[],
}
},
computed: {
@ -63,9 +64,14 @@
},
},
onLoad() {
//
if(uni.getStorageSync('imgindex').length>0){
this.imgindex=uni.getStorageSync('imgindex')
}
if(uni.getStorageSync('trueIndex').length>0){
this.trueIndex=uni.getStorageSync('trueIndex')
}
//
this.coinAddress=uni.getStorageSync('wallet').address
this.coinType=uni.getStorageSync('wallet').type
this.walletInfo=uni.getStorageSync('walletInfo')
@ -83,11 +89,19 @@
})
},
//
addOther(item,index){
console.log(index,454545)
console.log(item,444)
this.imgindex.splice(index,0,index)
console.log(this.imgindex,454545)
this.imgindex.push(index)
//
for(var i=0;i<this.imgindex.length;i++){
if(this.imgindex[i]==index){
this.trueIndex[index]=index;
uni.setStorageSync('trueIndex',this.trueIndex)
}
}
//
this.toTop=true
setTimeout(()=>{
this.toTop=false

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

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save