no message

This commit is contained in:
A1300399510 2024-11-26 12:17:05 +08:00
parent 3780b82938
commit e30c4bd1ee
4 changed files with 30 additions and 11 deletions

View File

@ -730,6 +730,8 @@
border: 1px solid #ebebeb;
border-radius: 114px;
margin: 0 auto 33px;
position: relative;
transition: all 0.3s;
}
.content .details-box .pattern .tab .item {
height: 100%;
@ -738,9 +740,18 @@
cursor: pointer;
}
.content .details-box .pattern .tab .item.pitch {
color: #ffffff;
}
.content .details-box .pattern .tab::after {
content: "";
background-color: #6fc16d;
border-radius: 22px;
color: #ffffff;
display: block;
width: 90px;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
.content .details-box .pattern .introduce .item {
text-align: center;
@ -1567,6 +1578,7 @@
background-color: #fbfbfb;
font-size: 16px;
color: #aaaaaa;
cursor: no-drop;
}
.base .type3 .add-btn .img {
width: 16px;

View File

@ -832,18 +832,30 @@
border: 1px solid rgba(235, 235, 235, 1);
border-radius: 114px;
margin: 0 auto 33px;
position: relative;
.item {
height: 100%;
font-size: 14px;
color: #555555;
cursor: pointer;
&.pitch {
background-color: rgba(111, 193, 109, 1);
border-radius: 22px;
color: #ffffff;
}
}
transition: all 0.3s;
&::after {
content: "";
background-color: rgba(111, 193, 109, 1);
border-radius: 22px;
display: block;
width: 90px;
height: 100%;
position: absolute;
top: 0;
left: 0;
}
}
.introduce {
@ -1791,6 +1803,7 @@
background-color: rgba(251, 251, 251, 1);
font-size: 16px;
color: #aaaaaa;
cursor: no-drop;
}
.img {
width: 16px;

View File

@ -266,7 +266,6 @@
let list = screenList.slice(startIndex, endIndex)
showList.value = showList.value.concat(list)
page.value = endIndex >= screenList.length ? 0 : page.value + 1
console.log("page", page.value)
nextTick(() => {
listMasonryInstance.reloadItems()

View File

@ -127,18 +127,13 @@ function getBaseData() {
const currentTime = new Date().getTime()
const timeDiff = currentTime - parseInt(storedTime)
console.log(storedTime && storedData && timeDiff <= 5 * 60 * 1000)
if (storedTime && storedData && timeDiff <= 5 * 60 * 1000) {
// 在5分钟内使用本地存储的数据
const basicData = JSON.parse(storedData)
// 处理数据
resolve(basicData)
return
}
console.log("222");
}
$ajaxget("/api/home/basicData").then(res => {
if (res.code != 200) return