#
whycq
2024-04-10 e3b84d48cef3e024e4a17b4df35f47cf3e63e820
pages/phyz/order/pakinOrderSelect.vue
@@ -52,6 +52,10 @@
            </view>
         </uni-popup>
      </view>
      <!-- 遮罩层 -->
      <view class="mask" v-if="mask">
         加载中。。。
      </view>
   </view>
</template>
@@ -73,7 +77,7 @@
            },
            index: 0,
            count: 0,
            mask: false
            
         }
      },
@@ -86,6 +90,7 @@
      methods: {
         getOrderDetlList(threeCode,limit) {
            let _this = this
            _this.mask = true
            _this.data.three_code = threeCode
            _this.data.limit = limit
            uni.request({
@@ -107,6 +112,7 @@
                     }
                     _this.dataList = res.data.records
                     _this.total = res.data.total
                     _this.mask = false
                  } 
               }
            })
@@ -167,6 +173,10 @@
               events: {
                  acceptDataFromOpenedPage: function(data) {
                     console.log(data);
                     if (data.data == 1) {
                        _this.orderCarList = []
                        _this.getOrderDetlList(uni.getStorageSync('threeCode'),999999)
                     }
                  }
               }
            })
@@ -221,6 +231,21 @@
      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;