更新ui样式,并修复已知问题 #8
@@ -342,7 +342,7 @@ onUnmounted(() => {
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<section class="oc-page-hero">
|
<section class="oc-page-hero">
|
||||||
<div class="oc-container oc-container--wide oc-page-hero__inner">
|
<div class="oc-container oc-container--content oc-page-hero__inner">
|
||||||
<p class="oc-page-eyebrow">Community Gallery</p>
|
<p class="oc-page-eyebrow">Community Gallery</p>
|
||||||
<h1 class="oc-page-title">云图画廊</h1>
|
<h1 class="oc-page-title">云图画廊</h1>
|
||||||
<p class="oc-page-description">
|
<p class="oc-page-description">
|
||||||
@@ -351,7 +351,7 @@ onUnmounted(() => {
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<div class="oc-container oc-container--wide oc-page-content">
|
<div class="oc-container oc-container--content oc-page-content">
|
||||||
<section>
|
<section>
|
||||||
<div class="mb-4 border border-slate-200 bg-white p-3 shadow-[6px_6px_0_0_rgba(15,23,42,0.05)]">
|
<div class="mb-4 border border-slate-200 bg-white p-3 shadow-[6px_6px_0_0_rgba(15,23,42,0.05)]">
|
||||||
<div class="flex items-center gap-3">
|
<div class="flex items-center gap-3">
|
||||||
|
|||||||
@@ -79,8 +79,8 @@ async function savePassword() {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="min-h-[calc(100vh-4rem)] bg-[linear-gradient(180deg,#e0f2fe_0%,#f8fafc_100%)] px-4 py-10">
|
<div class="min-h-[calc(100vh-4rem)] bg-[linear-gradient(180deg,#e0f2fe_0%,#f8fafc_100%)] py-10">
|
||||||
<div class="mx-auto max-w-4xl">
|
<div class="oc-container oc-container--content">
|
||||||
<RouterLink to="/profile">
|
<RouterLink to="/profile">
|
||||||
<NButton type="default" secondary strong class="oc-panel-button oc-panel-button--neutral">← 返回个人主页</NButton>
|
<NButton type="default" secondary strong class="oc-panel-button oc-panel-button--neutral">← 返回个人主页</NButton>
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
|
|||||||
@@ -601,8 +601,12 @@ watch(selectedUploadDate, async newValue => {
|
|||||||
>
|
>
|
||||||
清除筛选
|
清除筛选
|
||||||
</NButton>
|
</NButton>
|
||||||
<RouterLink v-if="isOwnProfile" to="/upload">
|
<RouterLink
|
||||||
<NButton secondary strong type="default" class="oc-panel-button oc-panel-button--sky">继续上传</NButton>
|
v-if="isOwnProfile"
|
||||||
|
to="/upload"
|
||||||
|
class="oc-panel-button oc-panel-button--sky border-0"
|
||||||
|
>
|
||||||
|
继续上传
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -705,8 +709,12 @@ watch(selectedUploadDate, async newValue => {
|
|||||||
<div v-else class="oc-empty-card border border-dashed border-slate-300 bg-white p-10">
|
<div v-else class="oc-empty-card border border-dashed border-slate-300 bg-white p-10">
|
||||||
<NEmpty :description="selectedUploadDate ? '这一天没有上传记录' : (isOwnProfile ? '还没有上传任何云图' : '这位用户还没有公开云图')">
|
<NEmpty :description="selectedUploadDate ? '这一天没有上传记录' : (isOwnProfile ? '还没有上传任何云图' : '这位用户还没有公开云图')">
|
||||||
<template #extra>
|
<template #extra>
|
||||||
<RouterLink v-if="isOwnProfile && !selectedUploadDate" to="/upload">
|
<RouterLink
|
||||||
<NButton secondary strong type="default" class="oc-panel-button oc-panel-button--sky">去上传第一张</NButton>
|
v-if="isOwnProfile && !selectedUploadDate"
|
||||||
|
to="/upload"
|
||||||
|
class="oc-panel-button oc-panel-button--sky border-0"
|
||||||
|
>
|
||||||
|
去上传第一张
|
||||||
</RouterLink>
|
</RouterLink>
|
||||||
<NButton v-else-if="selectedUploadDate" secondary strong type="default" class="oc-panel-button oc-panel-button--neutral" @click="clearSelectedUploadDate">返回全部记录</NButton>
|
<NButton v-else-if="selectedUploadDate" secondary strong type="default" class="oc-panel-button oc-panel-button--neutral" @click="clearSelectedUploadDate">返回全部记录</NButton>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user