This commit is contained in:
2023-12-12 18:19:01 +08:00
parent 9085fb09aa
commit 132f0a745b
5 changed files with 50 additions and 49 deletions

View File

@@ -38,49 +38,49 @@ export default {
this.hours = `${hh}`
this.minutes = `${mm}`
this.seconds = `${ss}`
this.date = `${year}${month}${date}`
if (this.$i18n.locale === 'en-us') {
let enMonth = ''
switch (month) {
case 1:
enMonth = 'Jan.'
break
case 2:
enMonth = 'Feb.'
break
case 3:
enMonth = 'Mar.'
break
case 4:
enMonth = 'Apr.'
break
case 5:
enMonth = 'May'
break
case 6:
enMonth = 'Jun.'
break
case 7:
enMonth = 'Jul.'
break
case 8:
enMonth = 'Aug.'
break
case 9:
enMonth = 'Sep.'
break
case 10:
enMonth = 'Oct.'
break
case 11:
enMonth = 'Nov.'
break
case 12:
enMonth = 'Dec.'
break
}
this.date = `${date}th ${enMonth}, ${year}`
}
this.date = `${year} - ${month} - ${date}`
// if (this.$i18n.locale === 'en-us') {
// let enMonth = ''
// switch (month) {
// case 1:
// enMonth = 'Jan.'
// break
// case 2:
// enMonth = 'Feb.'
// break
// case 3:
// enMonth = 'Mar.'
// break
// case 4:
// enMonth = 'Apr.'
// break
// case 5:
// enMonth = 'May'
// break
// case 6:
// enMonth = 'Jun.'
// break
// case 7:
// enMonth = 'Jul.'
// break
// case 8:
// enMonth = 'Aug.'
// break
// case 9:
// enMonth = 'Sep.'
// break
// case 10:
// enMonth = 'Oct.'
// break
// case 11:
// enMonth = 'Nov.'
// break
// case 12:
// enMonth = 'Dec.'
// break
// }
// this.date = `${date}th ${enMonth}, ${year}`
// }
this.week = `${week}`
}
},
@@ -99,11 +99,12 @@ export default {
flex-direction column
height 77px
.date-wraper
width 130px
_font(34px, 36px, #B4C1D8,,right)
width 111px
_font(25px, 19px, #B4C1D8,,right)
font-family SourceHanSansCN-Regular
.time-wraper
width 130px
_font(16px, 30px, #B4C1D8,,right)
width 111px
_font(16px, 13px, #B4C1D8,,right)
margin-top 10px
font-family SourceHanSansCN-Regular
</style>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 138 KiB

After

Width:  |  Height:  |  Size: 126 KiB

BIN
src/images/new/login_bg.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

BIN
src/images/new/logo.png Executable file → Normal file

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View File

@@ -38,7 +38,7 @@
</ul>
<div class="popper__arrow"></div>
</div>
<div class="state-line"></div>
<div class="state-line" style="margin-right: 0"></div>
</div>
<div class="time-container">
<jxTime></jxTime>
@@ -443,7 +443,7 @@ export default {
background center / 100% 100% url(../../../images/new/nav_bg.png) no-repeat
.time-container
height 77px
margin 0 10px
margin-right 10px
.state-item
_wh(67px, 43px)
_font(20px,43px,#fff,,center)