diff --git a/main.js.bak b/main.js.bak
new file mode 100644
index 0000000..c1be329
--- /dev/null
+++ b/main.js.bak
@@ -0,0 +1,33 @@
+import App from './App'
+import { createSSRApp } from 'vue'
+import store from './store'
+import bootstrap from './core/bootstrap'
+import mixin from './core/mixins/app'
+import uView from './uni_modules/vk-uview-ui'
+import { navTo, showToast, showSuccess, showError, getShareUrlParams, checkModuleKey, checkModules } from './core/app'
+import Config from '@/core/config'
+const picUrl = Config.get('picUrl')
+console.log(picUrl,"lldd")
+// 不能修改createApp方法名,不能修改从Vue中导入的createSSRApp
+export function createApp() {
+ // 创建应用实例
+ const app = createSSRApp({ ...App, store, created: bootstrap })
+
+ // 挂载全局函数
+ app.config.globalProperties.$toast = showToast
+ app.config.globalProperties.$success = showSuccess
+ app.config.globalProperties.$error = showError
+ app.config.globalProperties.$navTo = navTo
+ app.config.globalProperties.$getShareUrlParams = getShareUrlParams
+ app.config.globalProperties.$checkModule = checkModuleKey
+ app.config.globalProperties.$checkModules = checkModules
+ app.config.globalProperties.$picUrl = picUrl
+
+ // 使用 uView UI
+ app.use(uView)
+
+ // 全局mixin
+ app.mixin(mixin)
+
+ return { app }
+}
\ No newline at end of file
diff --git a/pages.json b/pages.json
index 9e65202..95e4d22 100644
--- a/pages.json
+++ b/pages.json
@@ -109,6 +109,7 @@
{
"path": "pages/search/index",
"style": {
+ "navigationStyle":"default",
"navigationBarTitleText": "商品搜索"
}
},
diff --git a/pages/search/index.vue b/pages/search/index.vue
index bebf9cf..0d00eda 100644
--- a/pages/search/index.vue
+++ b/pages/search/index.vue
@@ -9,10 +9,10 @@
- 搜索发现
-
+ 搜索发现
+
-
+
@@ -20,7 +20,7 @@
-
+
{{item}}
@@ -29,25 +29,25 @@
-
-
-
+
热门数码产品汇总
-
+
- {{k+1}}
+ {{k+1}}
- {{k+1}}
+ {{k+1}}
- {{k+1}}
+ {{k+1}}
+
+
+ {{k+1}}
-
- {{k+1}}
+
+
-
荣耀PlAY 7T
@@ -70,7 +70,8 @@
showEye: true,
searchValue: 'iPhone15',
searchData: [],
- searchList: []
+ searchList: [],
+ searchFindList:['1999元抢IPad','iPhone15pro','小米手机','小米手机','智能手表好价']
}
},
@@ -106,21 +107,22 @@