feat: 首页调整
This commit is contained in:
@ -108,7 +108,7 @@ const checkHasInviteCode = () => {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 999;
|
||||
z-index: 9999;
|
||||
width: 100%;
|
||||
}
|
||||
.layout-content-wrap {
|
||||
|
||||
@ -1,13 +1,16 @@
|
||||
<script lang="jsx">
|
||||
import { Input } from 'ant-design-vue';
|
||||
import { handleUserHome } from '@/utils/user.ts';
|
||||
import { useSharedDataStore } from '@/stores/modules/share-data';
|
||||
|
||||
export default {
|
||||
setup(props, { emit, expose }) {
|
||||
const sharedDataStore = useSharedDataStore();
|
||||
const keyWord = ref('');
|
||||
|
||||
const handleSearch = () => {
|
||||
handleUserHome({ keyWord: keyWord.value });
|
||||
sharedDataStore.setRouteParams({ keyWord: keyWord.value });
|
||||
handleUserHome();
|
||||
keyWord.value = '';
|
||||
};
|
||||
return () => (
|
||||
|
||||
Reference in New Issue
Block a user