From 5d4a0926f4e8fbbc15ba15d4054001cacf630b73 Mon Sep 17 00:00:00 2001
From: li-guang <153605324@qq.com>
Date: Tue, 05 Jan 2021 18:21:56 +0800
Subject: [PATCH] 盘点,修改个人信息,跟进记录图片预览
---
hive-app/components/searchBar/index.vue | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/hive-app/components/searchBar/index.vue b/hive-app/components/searchBar/index.vue
index 46f5ca2..8a5890e 100644
--- a/hive-app/components/searchBar/index.vue
+++ b/hive-app/components/searchBar/index.vue
@@ -1,7 +1,7 @@
<template>
<view class="search-group">
<text class="iconfont iconsousuo"></text>
- <input class="uni-input" confirm-type="search" :placeholder=placeholder placeholder-class="placeholder" />
+ <input class="uni-input" confirm-type="search" @confirm="confirm" :placeholder="placeholder" placeholder-class="placeholder" />
</view>
</template>
@@ -9,13 +9,19 @@
export default {
props:{
placeholder: {
- default: '输入会员姓名、手机号、编号查询'
+ default: '输入会员姓名、手机号、会员编号、拼音'
}
},
data() {
return {
};
+ },
+ methods:{
+ confirm(e){
+ this.$emit('confirm', e.detail.value);
+ }
}
+
}
</script>
--
Gitblit v1.9.1