| | |
| | | // iconPath: '/static/img/tabbar-08.png', |
| | | // url: '/pages/circle/index' |
| | | // }, |
| | | |
| | | { |
| | | name: '驾驶舱', |
| | | iconPathSelected: '/static/img/tabbar-05-selected.png', |
| | |
| | | }, |
| | | |
| | | confirmValidationCode() { |
| | | if (!this.validationCode) { |
| | | this.$showTips("请输入验证码"); |
| | | return |
| | | } |
| | | this.voteRequest() |
| | | }, |
| | | |
| | |
| | | confirmValidationCode() { |
| | | let pages = getCurrentPages(); |
| | | let prePage = pages[pages.length - 2]; |
| | | prePage.$vm.voteRequest(this.imgSrc, this.validationCode); |
| | | this.isShowPopup = false; |
| | | uni.navigateBack({ |
| | | delta: 2 |
| | | }) |
| | | if (!this.validationCode) { |
| | | this.$showTips("请输入验证码"); |
| | | } else { |
| | | prePage.$vm.voteRequest(this.imgSrc, this.validationCode); |
| | | this.isShowPopup = false; |
| | | uni.navigateBack({ |
| | | delta: 2 |
| | | }) |
| | | } |
| | | |
| | | }, |
| | | |
| | | |