no message

This commit is contained in:
A1300399510 2025-01-16 19:04:43 +08:00
parent 21ea09d6fe
commit 758429fb9d
4 changed files with 12 additions and 4 deletions

View File

@ -156,6 +156,12 @@ Component({
const newTime = new Date().getTime()
const dateTime = new Date(date).getTime()
let timer = dateTime - newTime
if (timer <= 0) {
this.setData({
countDownState: false
})
return
}
const days = Math.floor(timer / (24 * 60 * 60 * 1000));
const hours = Math.floor((timer % (24 * 60 * 60 * 1000)) / (60 * 60 * 1000));
const minutes = Math.floor((timer % (60 * 60 * 1000)) / (60 * 1000));

View File

@ -36,14 +36,14 @@
</view>
</view>
<!-- <view class="lump">
<view class="title">学校排名</view>
<view class="lump">
<view class="title">学校排名</view>
<view class="block flexflex">
<view class="item flex1" wx:for="{{ list }}" wx:key="index">
<template is="mode2" data="{{ text: item.rankings[0].rank || '-' }}"></template>
<template is="mode2" data="{{ text: item.schoolranking || '-' }}"></template>
</view>
</view>
</view> -->
</view>
<view class="lump">
<view class="title">学科领域</view>

View File

@ -366,6 +366,7 @@ view {
border-radius: 172.5rpx;
font-size: 24rpx;
color: #026277;
font-weight: 650;
}
}
}

View File

@ -300,6 +300,7 @@ view {
border-radius: 172.5rpx;
font-size: 24rpx;
color: #026277;
font-weight: 650;
}
.admission {
margin: 0 22.5rpx 30rpx;