diff --git a/src/components/PublicComponent/PublicComponent.vue b/src/components/PublicComponent/PublicComponent.vue index e836f1a..b28cd6a 100644 --- a/src/components/PublicComponent/PublicComponent.vue +++ b/src/components/PublicComponent/PublicComponent.vue @@ -75,12 +75,13 @@ onMounted(() => { timer.value = setInterval(() => { send(`type:online`) }, 30000) - let i = 0 - store.SET_CURRENT_THEME('main') - setInterval(() => { - i++ - store.SET_CURRENT_THEME(['main', 'fashion'][i % 2]) - }, 10000) + + store.SET_CURRENT_THEME('highend') + // let i = 0 + // setInterval(() => { + // i++ + // store.SET_CURRENT_THEME(['main', 'fashion', 'highend'][i % 3]) + // }, 10000) window.addEventListener('touchend', checkHandleScreen) }) onBeforeUnmount(() => { diff --git a/src/components/PublicComponent/SearchBar.vue b/src/components/PublicComponent/SearchBar.vue index 53d4204..a0793ab 100644 --- a/src/components/PublicComponent/SearchBar.vue +++ b/src/components/PublicComponent/SearchBar.vue @@ -2,7 +2,7 @@
-
+
精确查询品牌/公共设施
@@ -47,12 +47,12 @@ const { theme } = storeToRefs(store) .icon { width: 56px; height: 56px; - background: center / cover no-repeat url(./icon.png); + background: center / cover no-repeat; } .stick { width: 4px; height: 38px; - background: linear-gradient(180deg, #6c7ca6 0%, #879aca 100%); + background: var(--searchBar-stickBg); margin: 0 32px; } .placeholder { diff --git a/src/layouts/View.vue b/src/layouts/View.vue index 2177a31..74eda5d 100644 --- a/src/layouts/View.vue +++ b/src/layouts/View.vue @@ -1,11 +1,17 @@