pages/home/home.vue | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
pages/home/home.vue
@@ -201,8 +201,20 @@ this.baseUrl = uni.getStorageSync('baseUrl'); this.token = uni.getStorageSync('token'); this.getAuth() this.backGroundRepeat() }, methods: { backGroundRepeat() { let len = this.colorList.length let i = 0 for (let k in this.elements2) { if (i == len) { i = 0 } this.elements2[k].color = this.colorList[i] i++ } }, getAuth() { let that = this uni.request({