| | |
| | | </view> |
| | | </uni-popup> |
| | | </view> |
| | | <!-- 遮罩层 --> |
| | | <view class="mask" v-if="mask"> |
| | | 加载中。。。 |
| | | </view> |
| | | </view> |
| | | </template> |
| | | |
| | |
| | | }, |
| | | index: 0, |
| | | count: 0, |
| | | |
| | | mask: false |
| | | |
| | | } |
| | | }, |
| | |
| | | methods: { |
| | | getOrderDetlList(threeCode,limit) { |
| | | let _this = this |
| | | _this.mask = true |
| | | _this.data.three_code = threeCode |
| | | _this.data.limit = limit |
| | | uni.request({ |
| | |
| | | } |
| | | _this.dataList = res.data.records |
| | | _this.total = res.data.total |
| | | _this.mask = false |
| | | } |
| | | } |
| | | }) |
| | |
| | | events: { |
| | | acceptDataFromOpenedPage: function(data) { |
| | | console.log(data); |
| | | if (data.data == 1) { |
| | | _this.orderCarList = [] |
| | | _this.getOrderDetlList(uni.getStorageSync('threeCode'),999999) |
| | | } |
| | | } |
| | | } |
| | | }) |
| | |
| | | flex: 4; |
| | | } |
| | | |
| | | .mask { |
| | | position: absolute; |
| | | width: 100%; |
| | | height: 100vh; |
| | | z-index: 999; |
| | | top: 0; |
| | | left: 0; |
| | | background-color: rgba(0, 0, 0, .4); |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 16px; |
| | | color: #fff; |
| | | } |
| | | |
| | | .popup { |
| | | width: 80vw; |
| | | min-height: 100rpx; |