| | |
| | | url: '/tzsk/pakin/pakin2' |
| | | }, |
| | | { |
| | | title: '托盘解绑', |
| | | name: 'untie', |
| | | color: 'cyan', |
| | | cuIcon: 'pullup', |
| | | url: '/tzsk/pakin/untie' |
| | | }, |
| | | { |
| | | title: '组托上架', |
| | | name: 'pakin', |
| | | color: 'cyan', |
| | |
| | | }, |
| | | |
| | | ], |
| | | colorList: ['cyan','blue','mauve','pink','brown','red','orange','yellow','olive','olive','green','grey' ] |
| | | colorList: ['cyan','blue','purple','mauve','pink','brown','red','orange','yellow','olive','olive','grey' ] |
| | | }; |
| | | }, |
| | | onShow() { |
| | | 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({ |