新版本官网优化完成
This commit is contained in:
25
components/AppHeader/Login/Login.vue
Normal file
25
components/AppHeader/Login/Login.vue
Normal file
@@ -0,0 +1,25 @@
|
||||
<template>
|
||||
<div class="fr clearfix flex items-center">
|
||||
<!-- <div class="fl mr-5">-->
|
||||
<!-- <el-input v-model="keyword" :placeholder="`${$t('searchKeywords')}...`" :suffix-icon="Search" @change="onSearch"/>-->
|
||||
<!-- </div>-->
|
||||
<div class="lang flex justify-center text-center items-center">
|
||||
<el-space>
|
||||
<nuxt-link to="https://oa.websoft.top/register" type="text" class="text-sm text-gray-500">注册</nuxt-link>
|
||||
<el-divider direction="vertical"/>
|
||||
<nuxt-link to="https://oa.websoft.top/passport/login" type="text" class="text-sm text-gray-500">登录</nuxt-link>
|
||||
</el-space>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script setup lang="ts">
|
||||
import { Search } from '@element-plus/icons-vue'
|
||||
const keyword = ref<string>('');
|
||||
|
||||
const onSearch = () => {
|
||||
window.location.href = `/search/${keyword.value}`;
|
||||
}
|
||||
</script>
|
||||
<style scoped lang="scss">
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user