Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ATRIOR-LCL committed Dec 31, 2024
2 parents 2e627ac + 8a776f0 commit 5483f74
Show file tree
Hide file tree
Showing 20 changed files with 59 additions and 56 deletions.
2 changes: 1 addition & 1 deletion src/assets/ac.css
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
}

.acstar::before {
content: "快来看看年度刷题之星🤩";
content: "快来看看年度刷题之星 🤩";
color: #fff;
position: absolute;
top: 10%;
Expand Down
3 changes: 2 additions & 1 deletion src/assets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@
letter-spacing: 0;
bottom: 0;
right: 5%;
font-size: 0.25rem;
}

.ts {
Expand All @@ -465,7 +466,7 @@
/* top: 0%; */
bottom: 35%;
color: gray;
font-size: 0.3rem;
font-size: 0.4rem;
font-weight: 700;
/* position: relative !important; */
/* top: .2rem !important; */
Expand Down
3 changes: 2 additions & 1 deletion src/assets/newcontest.css
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,10 @@
}

.pt {
background-image: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
background-image: linear-gradient(135deg, #f5f7fa54 0%, #c3cfe27d 100%);
background-clip: text;
color: transparent;
font-size: 85%;
}

.wls {
Expand Down
4 changes: 2 additions & 2 deletions src/assets/special.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
}

.spl1 span:nth-child(1) {
margin-right: .1rem;
margin-right: .15rem;
font-size: 0.7rem;
letter-spacing: 0;
color: #fff;
Expand Down Expand Up @@ -153,7 +153,7 @@
transition-delay: 3s;
span{
margin-left: .1rem;
margin-right: .1rem;
margin-right: .15rem;
display: inline-block;
letter-spacing: 0;
}
Expand Down
8 changes: 3 additions & 5 deletions src/assets/sumarry.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,10 @@
color: #4fb24f;
}
.percent{
font-size: .35rem !important;
font-size: .3rem !important;
font-weight: 70;
position: absolute !important;
right: -35% !important;
right: -34.5% !important;
}
}
.ac-num p:nth-child(3),
Expand Down Expand Up @@ -182,9 +182,7 @@
text-transform: capitalize;
font-weight: 700 !important;
font-size: 0.6rem;
}
.heading-tertiary {
/* letter-spacing: 0.1rem; */
margin-bottom: 0.4rem;
}
.heading-secondary {
font-size: 0.5rem !important;
Expand Down
6 changes: 3 additions & 3 deletions src/components/AC.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
<div class="ac">
<div class="actest">
<div class="gongac">
你总共在OJ上AC了 <span>{{ total_ac }}</span> 道题目<span>🥴</span>
你 AC 了 <span>{{ total_ac }}</span> 道题目<span>🥴</span>
</div>
<div class="xinac" v-if="isactive">
其中, <span>{{ new_ac }}</span> 道是今年新AC的题目
其中,<span>{{ new_ac }}</span> 道是今年新 AC 的题目
</div>
<div class="sts" v-if="isactive">
你的刷题数<span>{{ ss }}</span
>超过了OJ<span>{{ over }}%</span>的用户
>超过了 OJ <span>{{ over }}%</span>的用户
</div>
</div>
<div class="acstar">
Expand Down
4 changes: 2 additions & 2 deletions src/components/AchivementStar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
<div class="name">作为成就大师</div>
<div class="handle">@Achievement</div>
<div class="title">
<span class="emoji">😊</span> 你总计达成了
你总计达成了
<p>{{ allcnt }}</p>
项成就<br />
项成就 <span class="emoji">😊</span><br />
继续努力向全收集进发吧!
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/BiSai.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<section>
<div class="bisai">
<div class="bstxt">
<div class="bstxt1">今年你一共参加了<span>{{ contestnum }}</span>场比赛</div>
<div class="bstxt1">今年你一共参加了 <span>{{ contestnum }}</span> 场比赛</div>
<div class="bstxt2">
在<span>{{ best }}</span>中<br />你取得了<span>{{ achiv }}</span>的年度最好成绩<span
<span>{{ best }}</span> 中<br />你取得了 <span>{{ achiv }}</span> 的年度最好成绩<span
>💯</span
><br />可喜可贺,可喜可贺<span>🥳</span>
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/components/Blue.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
<div class="blu">
<div class="bg-slide" style="z-index: 3">
<div class="txt1">
<div class="txt1-a">在<span>2月3日</span>,一个临近年关的日子</div>
<div class="txt1-a">在 <span>2 月 3 日</span>,一个临近年关的日子</div>
<div class="txt1-b">
<span>{{ cnt }}</span
<span>&nbsp;{{ cnt }}&nbsp;</span
>名兴趣相投的旅行者<br />和你一同参加了<br />
SDUT OJ历史上最特别的比赛
SDUT OJ 历史上最特别的比赛
</div>
<div class="txt1-c">蔚蓝系列赛Round 2:原神主题赛</div>
<div class="txt1-c">蔚蓝系列赛 Round 2:原神主题赛</div>
</div>
<div class="circle bg" ref="bg1">
<div class="mask" style="z-index: 3"></div>
Expand Down
6 changes: 3 additions & 3 deletions src/components/Hard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<section>
<div class="hard">
<div class="hardtxt">
<span>还记得</span><br><span>{{ maxtries }}</span><br><span>这道题吗</span
><span>你提交了整整<span class="cnt">{{ cnt }}</span>次才过</span>
<span>还记得</span><br><span>{{ maxtries }}</span><br><span>这道题吗</span
><span>你提交了整整 <span class="cnt">{{ cnt }}</span> 次才过</span>
</div>
<div class="hard_slogan">
那份喜悦背后的坚韧,一定也陪你走到了今天
那份喜悦背后的坚韧一定也陪你走到了今天
<!-- <img src="../assets/img/liuyinh.webp" alt="" class="liuying" /> -->
</div>
<div class="hdsea"></div>
Expand Down
10 changes: 5 additions & 5 deletions src/components/Last.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<span class="font2-txt">愿祝福伴你终抵云顶。</span>
<span class="font2-txt">感谢陪伴!</span>
</div>
<button class="btn" @click="gosum">点击生成你的专属OJ年报🥳</button>
<button class="btn" @click="gosum">点击生成你的专属 OJ 年报 🥳</button>
<div class="sdutoj">
<div class="font1">
Practice coding, compete with players, and become a master.
Expand Down Expand Up @@ -118,12 +118,12 @@
<div class="paragraph">
<div class="ac-num">
<p>
AC <span>{{ allAc }}</span>
总计 AC <span>{{ allAc }}</span>
</p>
<p>
今年 AC <span>{{ newAc }}</span>
年度 AC <span>{{ newAc }}</span>
</p>
<p class="percent">Top{{ percent }}%</p>
<p class="percent">Top {{ percent }}%</p>
</div>
<div class="ac-num">
<div class="rating" v-if="showRating">
Expand Down Expand Up @@ -170,7 +170,7 @@
</div>
</div>
<div class="results-summary-container__options">
<div class="tag-head">2024 回忆标签✨️</div>
<div class="tag-head">2024 回忆标签 ✨️</div>
<ul class="summary-result-options">
<li v-for="(item, index) in tags" :key="index" class="tag">
{{ item }}
Expand Down
2 changes: 1 addition & 1 deletion src/components/NewContest.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="newcontest">
<div class="ncttxt">
<p class="saishi">
这一年里OJ共举办了<br />
这一年里,OJ 共举办了<br />
<span class="newct">{{ newct }}</span>场<br />中大型正式赛事<span>😲</span>
</p>
<p class="bipin">
Expand Down
4 changes: 2 additions & 2 deletions src/components/Night.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
与星同行的你<span>{{ night }}</span>还在做题<span>😴</span>
</div>
<div class="nightgl">
这是独属于你的不眠之夜
这是属于你的不眠之夜
<div class="haiyou" v-if="hastogether">在这一晚,还有{{haiyou}}名用户和你一样在夜色中遨想星河</div>
<!-- <img class="sticker" src="../assets/img/sticker.png" alt="" /> -->
</div>
Expand All @@ -22,7 +22,7 @@ import { liuyang } from "@/assets/global";
const hastogether = ref(false)
const first = ref(true);
let night = liuyang.value.nightWalker.timeStr
night = night.slice(-8, -3)
// night = night.slice(-8, -3)
let haiyou = null
if(liuyang.value.nightWalker.togetherUserCount>0){
hastogether.value=true
Expand Down
8 changes: 4 additions & 4 deletions src/components/Special.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@
<div class="eyes"></div>
</div>
<div ref="bili2" class="bili2"></div>
<div class="bigoj">SDUT OJ</div>
<div class="bigoj">初 · 遇</div>
<img src="../assets/img/codesmall.svg" alt="" class="codesmall" />
<img src="../assets/img/code.svg" alt="" class="code" />
</div>
<p class="spl1">
<span>{{ date }} </span
><span>是个特殊的日子</span>
><span>是个特殊的日子</span>
</p>
<p class="spl2">在这一天,注定不平凡的你</p>
<p class="spl4">开始了与<span>SDUTOJ</span>的不期而遇</p>
<p class="spl2">在这一天,注定不平凡的你</p>
<p class="spl4">开始了与<span>SDUT OJ</span>的不期而遇</p>
<!-- <p class="spl3">
<span>时至今日,我们的旅程已经开始了</span><span class="sec">{{ sec }}</span
><span>天</span>
Expand Down
8 changes: 4 additions & 4 deletions src/components/XiaoSai.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
<section>
<div class="xiaosai">
<div class="xstxt1">
<div class="txt1">在<span>5</span><span>12</span>日<br>你参加了紧张刺激的<span>第十六届校赛</span></div>
<div class="txt2">你与<span>{{ co }}</span>名选手<br>以及<span>{{ small }}</span>名中小学生同台竞技</div>
<div class="txt3">并拿下了<span>{{ cj }}</span>的好成绩</div>
<div class="txt1">在 <span>5</span><span>12</span> 日<br>你参加了紧张刺激的 <span>第十六届校赛</span></div>
<div class="txt2">你与 <span>{{ co }}</span> 名选手<br>以及 <span>{{ small }}</span> 名中小学生同台竞技</div>
<div class="txt3">并拿下了 <span>{{ cj }}</span> 的好成绩</div>
</div>
<div class="xstxt2">
<div>这届校赛中</div>
<div>「全新的同步直播」</div>
<div>
<span>「高能滚榜」</span>与<span>「闭幕式节目」</span>首次亮相
</div>
<div>为这场盛会增添了更多精彩<span>🥳</span></div>
<div>为这场盛会增添了更多精彩 <span>🥳</span></div>
</div>
<div class="container">
<div class="bubble">
Expand Down
2 changes: 1 addition & 1 deletion src/components/XinSheng.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- <img src="../assets/img/bbb.png" alt="" class="bbb" /> -->
<div class="xshtxt">
<div>作为新生,在争霸赛中首次展露头角</div>
<div>你以<span class="rank">{{rank}}</span>的成绩<br />向大家宣告了你的存在<br />「嗯呢嗯呢」</div>
<div>你以 <span class="rank">{{rank}}</span> 的成绩<br />向大家宣告了你的存在<br />「嗯呢嗯呢」</div>
</div>
</div>
</section>
Expand Down
12 changes: 6 additions & 6 deletions src/components/XinZeng.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
<section>
<div class="xinzeng">
<p class="yh">
<span>这一年里OJ迎来了</span><span class="yhnum">{{ newUser }}</span
><span>名新用户!</span>
<span class="nzc">总注册用户数已逾 <p>{{allUser}}</p> 人</span>
<span>这一年里,OJ 迎来了</span><span class="yhnum">{{ newUser }}</span
><span>名新用户</span>
<span class="nzc">总注册用户数已逾<p>&nbsp;{{allUser}}&nbsp;</p>人</span>
</p>
<p class="tj">
<span>这一年里OJ新增了</span><span class="tjnum">{{ newSubmit }}</span
><span>条提交!</span>
<span>这一年里,OJ 新增了</span><span class="tjnum">{{ newSubmit }}</span
><span>条提交</span>
<span class="ntj"
>截止目前,已累计 <p>{{allSubmit}}</p> 条提交,即将达到1000万大关!</span
>截止目前,已有累计 <p>{{allSubmit}}</p> 条提交,即将突破 1000 万大关!</span
>
</p>
</div>
Expand Down
12 changes: 6 additions & 6 deletions src/views/Message.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<p class="title fontremove">SDUT Online Judge</p>
<p class="title fontremove">SDUT OJ 2024 年度报告</p>
<img
src="../assets/img/up.svg"
alt=""
Expand Down Expand Up @@ -51,15 +51,15 @@
<div class="kmc fontremove">
<div class="hei">
<img :src="`https://cdn.sdutacm.cn/oj/image/avatars/${liuyang.avatar}`" alt="" style="border-radius: 50%;" />
<span>{{liuyang.username}}</span>
<span>{{liuyang.username}}</span>
</div>
欢迎回家!在这一年里, SDUTOJ 发生了许多新的故事,其中也有属于你的篇章。
欢迎回家!在这一年里, SDUT OJ 发生了许多新的故事,其中也有属于你的篇章。
<span
>我们迫不及待地邀请你一起回望时间的起点,再次见证那些有你陪伴的好时光。</span
>
<div class="kmc-oj">----SDUTOJ</div>
<div class="kmc-oj">bLue,SDUT OJ 主理人</div>
</div>
<p class="ts" v-if="tsxx">您有一份来自SDUTOJ的信件😊</p>
<p class="ts" v-if="tsxx">你有一封 SDUT OJ 的来信</p>
<div class="jiyu2"></div>
<div class="jiyu" id="jiyu1"></div>
</div>
Expand All @@ -73,7 +73,7 @@
<Hard id="page7" class="page hide" v-if="hasMaxTries"></Hard>
<BiSai id="page8" class="page hide" v-if="hascontest"></BiSai>
<Blue id="page9" class="page hide" v-if="hasBlue" ></Blue>

<XiaoSai id="page10" class="page hide" v-if="hasXiaoSai"></XiaoSai>
<XinSheng id="page11" class="page hide" v-if="ncc"></XinSheng>

Expand Down
6 changes: 3 additions & 3 deletions src/views/Start.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
</div> -->

<div class="start">
<div class="sdutoj">SDUTOJ</div>
<div class="ndbg">2024年度报告</div>
<div class="sdutoj">SDUT OJ</div>
<div class="ndbg">2024 年度报告</div>
<div class="loader">
<div class="blackhole">
<div class="blackhole-circle"></div>
Expand Down Expand Up @@ -50,7 +50,7 @@
:checked="isChecked"
v-model="isChecked"
/>
<p>同意SDUTOJ统计我的数据</p>
<p>同意使用我的账号数据统计</p>
</div>
</div>
</section>
Expand Down
3 changes: 3 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ export default defineConfig({
'@': fileURLToPath(new URL('./src', import.meta.url)),
},
},
server: {
host: '127.0.0.1',
},
experimental: {
renderBuiltUrl(filename) {
let cdnUrl = process.env.CDN_URL || '/onlinejudge3/annual-report-2024';
Expand Down

0 comments on commit 5483f74

Please sign in to comment.