2
0
mirror of https://github.com/ctrlcvs/xiaoyao-cvs-plugin.git synced 2024-12-23 03:20:52 +08:00

提交页面

This commit is contained in:
Ctrlcvs 2022-08-16 23:46:06 +08:00 committed by leiyilu
parent b5cddce1c6
commit 1eb79ddbe5
2 changed files with 150 additions and 0 deletions

109
resources/user/userInfo.css Normal file
View File

@ -0,0 +1,109 @@
@font-face {
font-family: MiSans-Normal;
src: url(../font/MiSans-Normal.ttf);
}
@font-face {
font-family: MiSans-Medium;
src: url(../font/MiSans-Medium.ttf);
}
@font-face {
font-family: MiSans-Demibold;
src: url(../font/MiSans-Demibold.ttf);
}
@font-face {
font-family: MiSans-Regular;
src: url(../font/MiSans-Regular.ttf);
}
.topTitle {
display: flex;
width: 100%;
height: 40px;
line-height: 40px;
/* padding: 20px 0; */
margin-bottom: 10px;
color: #a9834f;
background-color: rgba(255, 255, 255, 0.5)
}
.topTitle div {
width: calc(50% - 30px);
}
.title-left {
text-align: left;
margin-left: 30px;
font-family: "MiSans-Demibold";
}
.title-right {
text-align: right;
font-family: "MiSans-Normal";
margin-right: 30px;
}
.passCheck {
font-family: "MiSans-Normal";
margin-left: 28px;
}
.list {
width: calc(100% - 120px);
margin: 25px 0;
margin-left: 55px;
/* display: flex; */
border-radius: 20px;
background-color: rgba(169, 131, 75, 0.1);
padding-bottom: 30px;
}
.list-title {
font-family: "MiSans-Demibold";
text-align: center;
background-color: #a9834f;
color: #fff;
width: 120px;
border-radius: 20px 0;
height: 40px;
line-height: 40px;
font-size: 24px;
font-family: '';
}
.list-div {
width: calc(100% - 60px);
margin: 20px 30px 0;
height: 40px;
line-height: 40px;
width: 420px;
background-color: rgba(255, 255, 255, 0.8);
border-radius: 20px;
display: flex;
}
.list-div div {
width: calc(50% - 30px);
}
.list-div div:nth-child(1) {
font-family: "MiSans-Medium";
margin-left: 30px;
text-align: left;
color: #a9834f;
font-size: 22px;
}
.list-div div:nth-child(2) {
font-family: "MiSans-Normal";
margin-right: 30px;
text-align: right;
color: #20a162;
}
.false-color {
color: #ef3644 !important;
}

View File

@ -0,0 +1,41 @@
{{extend defaultLayout}}
{{block 'css'}}
<link rel="stylesheet" type="text/css" href="{{_res_path}}/user/userInfo.css"/>
<style>
.container {
width: 600px !important;
font-size: 1.125rem;
/* 全局字体大小 */
background-color: rgb(243,242,241);
padding: 20px 0 0 0 !important;
}
</style>
{{/block}}
{{block 'main'}}
<div class="topTitle">
<div class="title-left">
通行证ID: <span class="passCheck">{{ltuid}}</span>
</div>
<div class="title-right">
{{day}}
</div>
</div>
{{each sumData}}
<div class="list">
<div class="list-title">
{{$index=="Yun"?"云原神":$index=="mysbbs"?"米游社":$index.indexOf("ys")>=0?"原神":$index.indexOf("bh3")>=0?"崩坏3":$index.indexOf("bh2")>=0?"崩坏2":$index.indexOf("wdy")>=0?"未定事件簿":$index}}
</div>
{{each $value item}}
<div class="list-div">
<div>
{{$index}}
</div>
<div>
{{item}}
</div>
</div>
{{/each}}
</div>
{{/each}}
{{/block}}