From 352d337c355f60909d9dd24bd613c12ea92f8015 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 14 九月 2023 17:47:50 +0800
Subject: [PATCH] 组织bug
---
minipro_standard/pages_adjust/components/multipleMaterial.vue | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/minipro_standard/pages_adjust/components/multipleMaterial.vue b/minipro_standard/pages_adjust/components/multipleMaterial.vue
index 1903c2f..9334255 100644
--- a/minipro_standard/pages_adjust/components/multipleMaterial.vue
+++ b/minipro_standard/pages_adjust/components/multipleMaterial.vue
@@ -5,9 +5,6 @@
<v-Search @searchInput="searchInput" @submit="submit" :isShow="false" placeholder="鎼滅储鐗╂枡鍚嶇О/缂栫爜" />
<div class="content_total">鍏眥{form.total}}鏉℃暟鎹�</div>
<view class="scroll-content">
- <!-- refresher-enabled="true"
- :refresher-triggered="refreshing"
- @refresherrefresh="onRefresh" -->
<scroll-view
scroll-y="true"
@scrolltolower="loadMore">
@@ -16,6 +13,7 @@
<u-checkbox-group style="display: block;" name="" @change="jump(index)">
<u-checkbox :checked="item1.isActive"></u-checkbox>
</u-checkbox-group>
+ <view style="width: 18px; height: 18px; position: absolute; top: 0; left: 0; z-index: 99;"></view>
</view>
<view class="fx1">
<div class="page_content_title_top">
@@ -151,6 +149,13 @@
item.isActive = !item.isActive
}
})
+ for (let i = 0; i < this.list.length; i++) {
+ if (!this.list[i].isActive) {
+ this.isAll = []
+ return
+ }
+ }
+ this.isAll = ['all']
},
// 鎼滅储鎻愪氦
submit() {
@@ -216,8 +221,6 @@
this.loadData()
},
selectAll(e) {
- console.log(e)
- console.log(this.isAll)
this.list.forEach(element => {
element.isActive = e.length > 0 ? true : false
})
--
Gitblit v1.9.3