调整抽卡记录页面的输出质量

This commit is contained in:
Kokomi 2023-02-28 06:31:03 +08:00
parent 99721f934f
commit 2d104076ad
3 changed files with 42 additions and 6 deletions

View File

@ -36,8 +36,9 @@ let Gacha = {
save_id: uid, save_id: uid,
uid, uid,
gacha, gacha,
face: Gacha.getFace(uid) face: Gacha.getFace(uid),
}, { e, scale: 1.1, retMsgId: true }) imgType: 'png'
}, { e, scale: 1.2, retMsgId: true })
}, },
async stat (e) { async stat (e) {
let msg = e.msg.replace(/#|统计|分析|池/g, '') let msg = e.msg.replace(/#|统计|分析|池/g, '')
@ -65,8 +66,9 @@ let Gacha = {
save_id: uid, save_id: uid,
uid, uid,
gacha, gacha,
face: Gacha.getFace(uid) face: Gacha.getFace(uid),
}, { e, scale: 1.1, retMsgId: true }) quality: 92
}, { e, scale: 1.3 })
}, },
getFace (uid) { getFace (uid) {

View File

@ -56,10 +56,27 @@
.gacha-list .gacha-item.wai .name, .gacha-list .gacha-item.wai .name,
.gacha-list .gacha-item.wai .icon, .gacha-list .gacha-item.wai .icon,
.gacha-list .gacha-item.wai .process { .gacha-list .gacha-item.wai .process {
background-color: rgba(85, 85, 85, 0.8); background-color: #47484d;
} }
.gacha-list .gacha-item.wai .bar { .gacha-list .gacha-item.wai .bar {
position: relative; position: relative;
/* &:after {
display: block;
position: absolute;
right: -34px;
top: -2px;
width: 25px;
height: 25px;
border-radius: 15px;
content: "歪";
border: 2px solid #f00;
color: #f00;
text-align: center;
line-height: 26px;
font-size: 18px;
transform: rotate(30deg);
background-color: #47484d;
} */
} }
.gacha-list .gacha-item.wai .bar:after { .gacha-list .gacha-item.wai .bar:after {
content: ""; content: "";

View File

@ -81,11 +81,28 @@
} }
.name, .icon, .process { .name, .icon, .process {
background-color: rgba(85, 85, 85, 0.8); background-color: #47484d;
} }
.bar { .bar {
position: relative; position: relative;
/* &:after {
display: block;
position: absolute;
right: -34px;
top: -2px;
width: 25px;
height: 25px;
border-radius: 15px;
content: "歪";
border: 2px solid #f00;
color: #f00;
text-align: center;
line-height: 26px;
font-size: 18px;
transform: rotate(30deg);
background-color: #47484d;
} */
&:after { &:after {
content: ""; content: "";