美化了样式

This commit is contained in:
2025-08-15 00:36:04 +08:00
parent 5fc1378051
commit 1b4d3e310b
63 changed files with 2735 additions and 2411 deletions

View File

@ -22,11 +22,22 @@ Page({
*/
onLoad() {
let token = wx.getStorageSync('token')
if (token) {
wx.switchTab({
url: '/pages/course/homepage/homepage'
})
}
if (!token) return ;
wx.request({
url: baseUrl + '/userInfo/verify/token',
method: 'POST',
header: {
'Authorization': token
},
success: res => {
console.log(res.data)
if (res.data.code === 1) {
wx.switchTab({
url: '/pages/course/homepage/homepage'
})
}
}
})
},
/**

View File

@ -2,12 +2,12 @@
margin-top: 16.88rpx;
}
.page {
padding: 255rpx 0 566.25rpx;
padding: 255rpx 0 0;
background-image: linear-gradient(180deg, #ffeed9 0%, #f5f5f500 125%);
width: 100%;
overflow-y: auto;
overflow-x: hidden;
height: 100%;
height: 100vh;
}
.section {
padding: 39.38rpx 52.5rpx 18.75rpx;