diff --git a/src/pages.json b/src/pages.json
index a64300b..491b6a5 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -126,6 +126,12 @@
"style": {
"navigationBarTitleText": ""
}
+ },
+ {
+ "path": "pages/search/search",
+ "style": {
+ "navigationBarTitleText": ""
+ }
}
],
"globalStyle": {
diff --git a/src/pages/notice/notice.vue b/src/pages/notice/notice.vue
index 8a58fb3..85d0979 100644
--- a/src/pages/notice/notice.vue
+++ b/src/pages/notice/notice.vue
@@ -15,7 +15,9 @@
+ cancelButton="none" bgColor="#6FA2F8" textColor="#ffffff"
+ @confirm="handleSearch" @focus="handleFocus"
+ />
@@ -50,6 +52,11 @@ onMounted(() => {
navBarPaddingTop.value = getNavBarPaddingTop() * 2;
})
+// 获取input 焦点跳转
+let handleFocus=()=>{
+ uni.navigateTo({url:'/pages/search/search'})
+}
+
// 查询搜索跳转
let handleSearch = () => {
diff --git a/src/pages/search/search.vue b/src/pages/search/search.vue
new file mode 100644
index 0000000..d7ddbee
--- /dev/null
+++ b/src/pages/search/search.vue
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file