|
@@ -397,7 +397,23 @@
|
|
|
this.scrollTop = e.scrollTop;
|
|
|
},
|
|
|
onShow() {
|
|
|
- console.log("uni.getStorageSync('compName1')")
|
|
|
+ // console.log(111111111)
|
|
|
+ if(uni.getStorageSync('pcUserInfo')){
|
|
|
+ // console.log(2222222)
|
|
|
+ for (var i = 0; i < this.gridList1.length; i++) {
|
|
|
+ if(this.gridList1[i].num==0||this.gridList1[i].num==1||this.gridList1[i].num==3||this.gridList1[i].num==6||this.gridList1[i].num==7||this.gridList1[i].num==8){
|
|
|
+ this.gridList1[i].show=true
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }else{
|
|
|
+ // console.log(33333333)
|
|
|
+ for (var i = 0; i < this.gridList1.length; i++) {
|
|
|
+ if(this.gridList1[i].num==0||this.gridList1[i].num==1||this.gridList1[i].num==3||this.gridList1[i].num==6||this.gridList1[i].num==7||this.gridList1[i].num==8){
|
|
|
+ this.gridList1[i].show=false
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // console.log("uni.getStorageSync('compName1')")
|
|
|
// console.log(uni.getStorageSync("compName1"))
|
|
|
|
|
|
// if (uni.getStorageSync("compName1")) {
|