From fa2f172812de8344fa22c4ef088ea2a67257a0d3 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期二, 05 九月 2023 10:21:17 +0800
Subject: [PATCH] Merge branch 'dev' of http://139.186.142.91:10010/r/productDev/dmMes into dev
---
minipro_standard/pages/index/index.vue | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/minipro_standard/pages/index/index.vue b/minipro_standard/pages/index/index.vue
index 1a9e5b1..9c02c28 100644
--- a/minipro_standard/pages/index/index.vue
+++ b/minipro_standard/pages/index/index.vue
@@ -50,8 +50,8 @@
<u-grid col="2" :border="false">
<u-grid-item v-for="item in types" :key="item.id">
<view class="ptb20 c9 type-style tc rd10"
- :class="searchForm.type===item.id?'sbtn_green':'sbtn_gray'"
- @click="searchForm.type=item.id">{{ item.name }}</view>
+ :class="type===item.id?'sbtn_green':'sbtn_gray'"
+ @click="type=item.id">{{ item.name }}</view>
</u-grid-item>
</u-grid>
</view>
@@ -115,7 +115,8 @@
id: 8,
name: '瀹㈤��/杩斿搧鍥炲巶妫�楠�'
}
- ],
+ ],
+ type: '',
searchForm: {
name: '',
status: 0,
@@ -164,9 +165,6 @@
});
},
methods: {
- onMessage(e) {
- console.log('12345654321')
- },
scrolltolower() {},
scrolltoupper() {},
selectType(status) {
@@ -276,11 +274,13 @@
close() {
this.show = false
},
- resetType() {
+ resetType() {
+ this.type = ''
this.searchForm.type = ''
this.confirm()
},
- confirm() {
+ confirm() {
+ this.searchForm.type = this.type
this.show = false
this.scrolltoupper()
}
--
Gitblit v1.9.3