页面
Some checks are pending
Auto Merge Main to Other Branches / Merge main into i18n (push) Waiting to run
Auto Merge Main to Other Branches / Merge main into base-sard-ui (push) Waiting to run

This commit is contained in:
sjeam 2025-09-07 14:51:15 +08:00
parent 09e5b8014b
commit 3814c7c2e6
2 changed files with 5 additions and 6 deletions

View File

@ -78,14 +78,14 @@
}, },
{ {
name: '美丽乡村', name: '美丽乡村',
url: '/pages/about/index', url: '/',
icon: '/static/icons/home4.png', icon: '/static/icons/home4.png',
type: 2, type: 2,
color: 'red', color: 'red',
}, },
{ {
name: '景区景点', name: '景区景点',
url: '', url: '/pages/about/index',
icon: '/static/icons/home5.png', icon: '/static/icons/home5.png',
type: 1, type: 1,
color: 'red', color: 'red',
@ -122,7 +122,7 @@
@click=" @click="
more({ more({
type: 2, type: 2,
url: '', url: '/',
}) })
" "
> >

View File

@ -125,8 +125,8 @@
<script lang="ts" setup name="WxLogin"> <script lang="ts" setup name="WxLogin">
import { useUserStore } from '@/store' import { useUserStore } from '@/store'
import { getUrl, getWebUrl, getShopWebUrl, hasLogin } from '@/utils' import { getUrl, getWebUrl, getShopWebUrl, hasLogin } from '@/utils'
// const userStore = useUserStore() const userStore = useUserStore()
console.log('userStore', userStore)
import { defineComponent } from 'vue' import { defineComponent } from 'vue'
// export default defineComponent({ // export default defineComponent({
@ -193,7 +193,6 @@ function more(item) {
} }
} }
const show = ref(false) const show = ref(false)
const userStore = useUserStore()
function toLogin() { function toLogin() {
uni.navigateTo({ uni.navigateTo({