From 1eb79ddbe5072b3be723dd76c54afdc994ffff3c Mon Sep 17 00:00:00 2001 From: Ctrlcvs <1509167646@qq.com> Date: Tue, 16 Aug 2022 23:46:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/user/userInfo.css | 109 +++++++++++++++++++++++++++++++++++ resources/user/userInfo.html | 41 +++++++++++++ 2 files changed, 150 insertions(+) create mode 100644 resources/user/userInfo.css create mode 100644 resources/user/userInfo.html diff --git a/resources/user/userInfo.css b/resources/user/userInfo.css new file mode 100644 index 0000000..de4e542 --- /dev/null +++ b/resources/user/userInfo.css @@ -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; +} diff --git a/resources/user/userInfo.html b/resources/user/userInfo.html new file mode 100644 index 0000000..99da71f --- /dev/null +++ b/resources/user/userInfo.html @@ -0,0 +1,41 @@ +{{extend defaultLayout}} +{{block 'css'}} + + +{{/block}} +{{block 'main'}} +
+
+ 通行证ID: {{ltuid}} +
+
+ {{day}} +
+
+{{each sumData}} +
+
+ {{$index=="Yun"?"云原神":$index=="mysbbs"?"米游社":$index.indexOf("ys")>=0?"原神":$index.indexOf("bh3")>=0?"崩坏3":$index.indexOf("bh2")>=0?"崩坏2":$index.indexOf("wdy")>=0?"未定事件簿":$index}} +
+ {{each $value item}} +
+
+ {{$index}} +
+
+ {{item}} +
+
+ {{/each}} +
+{{/each}} + +{{/block}}