parent
5efa128a62
commit
6bf584ac9d
|
@ -133,11 +133,22 @@ export default class Ledger extends base {
|
|||
let files = fs.readdirSync('./plugins/genshin/resources/StarRail/img/role').filter(file => file.endsWith('.webp'))
|
||||
let icon = lodash.sample(files)
|
||||
|
||||
let week = [
|
||||
'星期日',
|
||||
'星期一',
|
||||
'星期二',
|
||||
'星期三',
|
||||
'星期四',
|
||||
'星期五',
|
||||
'星期六'
|
||||
]
|
||||
let srday = `${week[moment().day()]}`
|
||||
|
||||
return {
|
||||
saveId: this.e.uid,
|
||||
uid: this.e.uid,
|
||||
day,
|
||||
icon,
|
||||
day, icon, srday,
|
||||
nowDay: moment(new Date()).format('YYYY年MM月DD日'),
|
||||
...ledgerInfo,
|
||||
...this.screenData
|
||||
}
|
||||
|
|
|
@ -95,7 +95,7 @@ body {
|
|||
|
||||
.title_date {
|
||||
width: 370px;
|
||||
height: 450px;
|
||||
height: 470px;
|
||||
position: absolute;
|
||||
right: 83px;
|
||||
top: 27px;
|
||||
|
@ -118,7 +118,7 @@ body {
|
|||
flex-direction: column;
|
||||
font-size: 36px;
|
||||
color: #808080;
|
||||
height: 80px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
img {
|
||||
|
|
|
@ -23,7 +23,8 @@
|
|||
<img src="{{pluResPath}}img/role/{{icon}}" />
|
||||
</div>
|
||||
<div class="title_date_text">
|
||||
<div>{{day}}</div>
|
||||
<div>{{nowDay}}</div>
|
||||
<div>{{srday}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="subject">
|
||||
|
|
Loading…
Reference in New Issue