From 0308cfa37aa4875386622f168943820b2ce08786 Mon Sep 17 00:00:00 2001
From: Mr.Shi <1878285526@qq.com>
Date: 星期三, 13 九月 2023 14:45:38 +0800
Subject: [PATCH] 小程序

---
 minipro_standard/pages_adjust/components/multipleMaterial.vue |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/minipro_standard/pages_adjust/components/multipleMaterial.vue b/minipro_standard/pages_adjust/components/multipleMaterial.vue
index 3d34724..7765a7d 100644
--- a/minipro_standard/pages_adjust/components/multipleMaterial.vue
+++ b/minipro_standard/pages_adjust/components/multipleMaterial.vue
@@ -3,7 +3,7 @@
 		<view class="material-content bbox p30 rp">
 			<view class="tc b f24 c2 mb20">閫夋嫨鐗╂枡</view>
 			<v-Search @searchInput="searchInput" @submit="submit" :isShow="false" placeholder="鎼滅储鐗╂枡鍚嶇О/缂栫爜" />
-			<div class="content_total">鍏眥{form.total}}鏉℃暟鎹�12</div>
+			<div class="content_total">鍏眥{form.total}}鏉℃暟鎹�</div>
 			<view class="scroll-content">
 				<!-- refresher-enabled="true"
 				:refresher-triggered="refreshing"
@@ -12,10 +12,11 @@
 				scroll-y="true"
 				@scrolltolower="loadMore">
 					<view v-for="(item1, index) in list" :key="index" class="flex mb20" @click="jump(index)">
-						<view class="img36 mr20 pt10">
+						<view class="img36 mr20 pt10" style="position: relative;">
 							<u-checkbox-group style="display: block;" name="">
 								<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 +152,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 +224,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