| | |
| | | if(args){ |
| | | // 处理args参数,如直达到某新页面等 |
| | | console.log('args', args) |
| | | if(args.indexOf('lzzzsc-app') >= 0) { |
| | | args = args.replace("lzzzsc-app://", "/") |
| | | if(args.indexOf('pig-app') >= 0) { |
| | | args = args.replace("pig-app://", "/") |
| | | return uni.redirectTo({ |
| | | url: args |
| | | }) |
| | |
| | | console.log('getConfig', res.data) |
| | | if(res.code == 1){ |
| | | try { |
| | | const token = uni.getStorageSync('lzsc-token'); |
| | | const token = uni.getStorageSync('pig-token'); |
| | | if (!token) { |
| | | /* |
| | | uni.redirectTo({ |
| | |
| | | </script> |
| | | |
| | | <style> |
| | | uni-view { |
| | | box-sizing: border-box; |
| | | } |
| | | checkbox .uni-checkbox-input { |
| | | border-radius: 50%; |
| | | width: 38rpx; |
| | | height: 38rpx |
| | | } |
| | | /*每个页面公共css */ |
| | | .startBar { |
| | | width: 100%; |