Files
template-10490/components/AppHeader/Login/Login.vue
2025-02-12 16:37:07 +08:00

26 lines
889 B
Vue

<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>