소스 검색

fix: bug修改

allen 3 달 전
부모
커밋
ad42337012
4개의 변경된 파일545개의 추가작업 그리고 494개의 파일을 삭제
  1. 2 2
      pages/cb/wenshizs/components/OperationCard.vue
  2. 6 2
      pages/cb/wenshizs/detail.vue
  3. 3 0
      pages/equipList/index.vue
  4. 534 490
      pages/equipList/search.vue

+ 2 - 2
pages/cb/wenshizs/components/OperationCard.vue

@@ -24,13 +24,13 @@
         <view
           class="hand"
           @click="changeClick('hand')"
-          :class="{ active: dourceData.local_model == '0' }"
+          :class="{ active: dourceData.run_model == '0' }"
           >手动</view
         >
         <view
           class="auto"
           @click="changeClick('auto')"
-          :class="{ active: dourceData.local_model == '1' }"
+          :class="{ active: dourceData.run_model == '1' }"
           >自动</view
         >
       </view>

+ 6 - 2
pages/cb/wenshizs/detail.vue

@@ -56,6 +56,8 @@ export default {
         devUpdateddate: '-',
         devProvincealign: '-',
       },
+      page: 1,
+      size: 99999,
     };
   },
   methods: {
@@ -106,7 +108,9 @@ export default {
         icon: 'none',
         duration: 3000,
       });
-      this.getDpdevicedpkzgjuanmoList();
+      setTimeout(() => {
+        this.getDpdevicedpkzgjuanmoList();
+      }, 1000);
     },
     async getDataSource() {
       const res = await this.$myRequest({
@@ -226,7 +230,7 @@ uni-page-body {
       #eff2fa 100%
     ),
     linear-gradient(102deg, #bfeadd 6.77%, #b8f1e7 40.15%, #b9eef5 84.02%);
-  height: 100%;
+  min-height: 100vh;
   width: 100%;
   overflow-x: hidden;
   overflow-y: scroll;

+ 3 - 0
pages/equipList/index.vue

@@ -870,6 +870,9 @@ page {
       border-radius: 25rpx;
       font-size: 24rpx;
       line-height: 35rpx;
+      display: flex;
+      align-items: center;
+      justify-content: center;
       position: absolute;
       bottom: 15rpx;
       right: 20rpx;

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 534 - 490
pages/equipList/search.vue