青橙1.1.2

This commit is contained in:
2025-08-16 22:14:42 +08:00
parent a3ffe71ccb
commit 3dc4d64215
33 changed files with 430 additions and 289 deletions

View File

@ -130,7 +130,10 @@ Page({
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
this.getBannerList()
this.getCourseList()
// 停止下拉刷新动画
wx.stopPullDownRefresh();
},
/**

View File

@ -1,3 +1,4 @@
{
"usingComponents": {}
"usingComponents": {},
"enablePullDownRefresh": true
}

View File

@ -51,7 +51,7 @@
/* 列表(滚动) */
.list {
flex: 1;
padding: 0 20rpx 20rpx;
padding: 0 30rpx;
-webkit-overflow-scrolling: touch;
overflow: auto;
}
@ -61,11 +61,13 @@
/* 宫格布局 */
.grid {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
gap: 20rpx;
padding-bottom: 30rpx;
}
.grid-item {
width: 345rpx;
width: 335rpx;
background: #fff;
border-radius: 16rpx;
overflow: hidden;
@ -87,6 +89,7 @@
font-size: 26rpx;
color: #111;
line-height: 36rpx;
min-height: 72rpx;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;