| | |
| | | try { |
| | | components = { |
| | | uPopup: function () { |
| | | return Promise.all(/*! import() | node-modules/uview-ui/components/u-popup/u-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-popup/u-popup.vue */ 483)) |
| | | return Promise.all(/*! import() | node-modules/uview-ui/components/u-popup/u-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-popup/u-popup.vue */ 491)) |
| | | }, |
| | | customTabbar: function () { |
| | | return Promise.resolve(/*! import() */).then(__webpack_require__.bind(null, /*! @/components/custom-tabbar/custom-tabbar.vue */ 187)) |
| | |
| | | var g8 = |
| | | !_vm.isLoadingMore && !g7 ? !_vm.hasNext && !_vm.dataList.length : null |
| | | if (!_vm._isMounted) { |
| | | _vm.e0 = function ($event, item) { |
| | | var _temp = arguments[arguments.length - 1].currentTarget.dataset, |
| | | _temp2 = _temp.eventParams || _temp["event-params"], |
| | | item = _temp2.item |
| | | var _temp, _temp2 |
| | | _vm.activeTab = item.value |
| | | } |
| | | _vm.e1 = function ($event) { |
| | | _vm.e0 = function ($event) { |
| | | _vm.showDone = false |
| | | _vm.currentOrder = null |
| | | } |
| | | _vm.e2 = function ($event) { |
| | | _vm.e1 = function ($event) { |
| | | _vm.showCancel = false |
| | | _vm.currentOrder = null |
| | | } |
| | | _vm.e3 = function ($event) { |
| | | _vm.e2 = function ($event) { |
| | | _vm.showDelete = false |
| | | _vm.currentOrder = null |
| | | } |
| | |
| | | dataList: [] |
| | | }; |
| | | }, |
| | | watch: { |
| | | activeTab: function activeTab() { |
| | | this.getFirstPageData(); |
| | | } |
| | | }, |
| | | // watch: { |
| | | // activeTab() { |
| | | // this.getFirstPageData() |
| | | // } |
| | | // }, |
| | | onLoad: function onLoad(options) { |
| | | console.log(options); |
| | | this.activeTab = -1; |
| | |
| | | this.activeTab = Number(orderStatus); |
| | | } |
| | | } |
| | | if (this.ac) uni.clearStorageSync("orderStatus"); |
| | | uni.clearStorageSync("orderStatus"); |
| | | this.getFirstPageData(); |
| | | }, |
| | | onReachBottom: function onReachBottom() { |
| | | this.getDataList(); |
| | | }, |
| | | methods: { |
| | | changeTab: function changeTab(item) { |
| | | this.activeTab = item.value; |
| | | this.getFirstPageData(); |
| | | }, |
| | | payOrderFee: function payOrderFee(info) { |
| | | var that = this; |
| | | uni.showLoading({ |