mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-14 05:03:45 +08:00
feat: vue-mobile => 完成会话聊天页面功能,增加主题切换功能
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<van-config-provider :theme="theme">
|
||||
<van-config-provider :theme="getMobileTheme()">
|
||||
<div class="mobile-home">
|
||||
<router-view/>
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
|
||||
<script setup>
|
||||
import {ref} from "vue";
|
||||
import {getMobileTheme} from "@/store/system";
|
||||
|
||||
const active = ref('home')
|
||||
const theme = ref("light")
|
||||
|
||||
const onChange = (index) => {
|
||||
console.log(index)
|
||||
|
||||
Reference in New Issue
Block a user