| | |
| | | this.form.estimatedAccount = '' |
| | | this.form.price = '' |
| | | this.form.address = '' |
| | | this.orderFood = [] |
| | | }) |
| | | // 刷新首页数据 |
| | | uni.$on('refresh', () => { |
| | | this.getCategoryLists() |
| | | this.getDictInfo() |
| | | |
| | | if (this.token && this.token != '' && this.userInfo && JSON.stringify(this.userInfo) != '{}') { |
| | | this.form.linkPhone = this.userInfo.telephone |
| | | } |
| | | }) |
| | | }, |
| | | onShow(options) { |
| | |
| | | } |
| | | }, |
| | | onReachBottom() { |
| | | this.getOrderList() |
| | | if (this.token && this.token != '' && this.userInfo && JSON.stringify(this.userInfo) != '{}' && this.userInfo.useIdentity === 1) { |
| | | this.getOrderList() |
| | | } |
| | | }, |
| | | methods: { |
| | | getDictInfo(){ |
| | |
| | | padding: 30rpx 0; |
| | | box-sizing: border-box; |
| | | flex-direction: column; |
| | | border-bottom: 1rpx solid #E5E5E5; |
| | | // border-bottom: 1rpx solid #E5E5E5; |
| | | .radio-item { |
| | | width: 100%; |
| | | display: flex; |
| | | align-items: self-end; |
| | | margin-bottom: 30rpx; |
| | | border-bottom: 1rpx solid #E5E5E5; |
| | | &:last-child { |
| | | border: none; |
| | | } |
| | | &:last-child { |
| | | margin: 0 !important; |
| | | } |
| | |
| | | align-items: center; |
| | | justify-content: flex-end; |
| | | margin-top: 42rpx; |
| | | margin-bottom: 34rpx; |
| | | text { |
| | | font-weight: 400; |
| | | font-size: 30rpx; |