From 64b432916af9c9218ab3f3eca614e26c542142ae Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期二, 07 十一月 2023 15:47:13 +0800
Subject: [PATCH] bug
---
minipro_standard/components/SelectTraMultipleMaterial.vue | 21 +++++++++------------
1 files changed, 9 insertions(+), 12 deletions(-)
diff --git a/minipro_standard/components/SelectTraMultipleMaterial.vue b/minipro_standard/components/SelectTraMultipleMaterial.vue
index 23dce2f..70edfcc 100644
--- a/minipro_standard/components/SelectTraMultipleMaterial.vue
+++ b/minipro_standard/components/SelectTraMultipleMaterial.vue
@@ -1,12 +1,12 @@
<template>
- <u-popup :show="show" :round="10" closeable @close="close()">
+ <u-popup :show="show" :round="10" closeable @close="show=false">
<view class="material-content bbox p30 rp">
- <view class="tc b f32 c2 mb20">閫夋嫨鐗╂枡</view>
+ <view class="tc b f24 c2 mb20">閫夋嫨鐗╂枡</view>
<!-- <v-Search ref="V" @searchInput="searchInput" @submit="submit" :isShow="false" placeholder="鎼滅储鐗╂枡鍚嶇О/缂栫爜">
</v-Search> -->
<div class="content_total">鍏眥{pages.total}}鏉℃暟鎹�</div>
<view class="scroll-content">
- <scroll-view style="height: 100%;" scroll-y="true" refresher-enabled="true" :refresher-triggered="refreshing" @scrolltolower="loadMore"
+ <scroll-view scroll-y="true" refresher-enabled="true" :refresher-triggered="refreshing" @scrolltolower="loadMore"
@refresherrefresh="onRefresh">
<view v-for="(item1, index) in list" :key="index" class="flex mb20" @click="selectMaterialAction(index)">
<view class="img36 mr20 pt10">
@@ -162,11 +162,7 @@
},
selectAll() {
this.selectIndex = []
- this.isAll = !this.isAll
- if (this.isAll) {
- this.selectIndex = [...new Array(this.list.length).keys()]
- }
-
+ this.selectIndex = [...new Array(this.list.length).keys()]
},
submitAction () {
this.show = false
@@ -175,10 +171,6 @@
selectValue.push(this.list[item])
})
this.$emit('selectes', { materials: selectValue })
- },
- close() {
- this.show = false
- this.$emit('close')
}
}
}
@@ -249,10 +241,15 @@
display: flex;
flex-direction: column;
margin-bottom: 10rpx;
+
+
+
+
}
.bottom {
height: 98rpx;
+
.submit {
width: 272rpx;
height: 98rpx;
--
Gitblit v1.9.3