|
@@ -8,7 +8,7 @@
|
|
<view class="list-item" style="width: 50%;">
|
|
<view class="list-item" style="width: 50%;">
|
|
课程名称
|
|
课程名称
|
|
</view>
|
|
</view>
|
|
- <view class="list-item" style="width: 25%;">
|
|
|
|
|
|
+ <view class="list-item" style="width: 20%;">
|
|
学分
|
|
学分
|
|
</view>
|
|
</view>
|
|
<!-- <view class="list-item">
|
|
<!-- <view class="list-item">
|
|
@@ -26,8 +26,8 @@
|
|
<view class="list-item" style="width: 50%;">
|
|
<view class="list-item" style="width: 50%;">
|
|
{{item.source}}
|
|
{{item.source}}
|
|
</view>
|
|
</view>
|
|
- <view class="list-item" style="width: 25%;">
|
|
|
|
- {{ item.credit }}
|
|
|
|
|
|
+ <view class="list-item" style="width: 20%;">
|
|
|
|
+ {{item.credit}}
|
|
</view>
|
|
</view>
|
|
<!-- <view class="list-item" v-html="item.annIns!=='学分未达标不能申请年检' ? item.annIns : '学分未达标,<br/>不能申请年检'"></view>
|
|
<!-- <view class="list-item" v-html="item.annIns!=='学分未达标不能申请年检' ? item.annIns : '学分未达标,<br/>不能申请年检'"></view>
|
|
<view class="list-item">
|
|
<view class="list-item">
|
|
@@ -55,7 +55,7 @@
|
|
const list = ref([])
|
|
const list = ref([])
|
|
const currentYear = ref("");
|
|
const currentYear = ref("");
|
|
const pageNumber = ref(1);
|
|
const pageNumber = ref(1);
|
|
- const pageSize = ref(30);
|
|
|
|
|
|
+ const pageSize = ref(20);
|
|
const count = ref(0);
|
|
const count = ref(0);
|
|
const status = ref("loadmore")
|
|
const status = ref("loadmore")
|
|
const initList = () => {
|
|
const initList = () => {
|
|
@@ -70,13 +70,16 @@
|
|
uni.showLoading({
|
|
uni.showLoading({
|
|
title: '加载中',
|
|
title: '加载中',
|
|
})
|
|
})
|
|
|
|
+ status.value = 'loading'
|
|
loadCreditDatial(data).then(res => {
|
|
loadCreditDatial(data).then(res => {
|
|
uni.hideLoading()
|
|
uni.hideLoading()
|
|
if (res && res?.code === 0) {
|
|
if (res && res?.code === 0) {
|
|
count.value = res.count;
|
|
count.value = res.count;
|
|
list.value = [...list.value, ...res.data];
|
|
list.value = [...list.value, ...res.data];
|
|
- if(list.value.length ===count.value){
|
|
|
|
|
|
+ if(list.value.length === count.value){
|
|
status.value = 'nomore'
|
|
status.value = 'nomore'
|
|
|
|
+ }else{
|
|
|
|
+ status.value = 'loadmore'
|
|
}
|
|
}
|
|
pageNumber.value = pageNumber.value + 1;
|
|
pageNumber.value = pageNumber.value + 1;
|
|
}
|
|
}
|
|
@@ -133,12 +136,12 @@
|
|
.list-item-box {
|
|
.list-item-box {
|
|
&:first-child {
|
|
&:first-child {
|
|
border-bottom: 5rpx solid #E6E6E6;
|
|
border-bottom: 5rpx solid #E6E6E6;
|
|
- font-size: $uni-font-size-1;
|
|
|
|
|
|
+ font-size: 26rpx;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
flex: 0 0 auto;
|
|
flex: 0 0 auto;
|
|
|
|
|
|
.list-item {
|
|
.list-item {
|
|
- width: 25%;
|
|
|
|
|
|
+ width: 30%;
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
|
|
&:last-child {
|
|
&:last-child {
|
|
@@ -148,19 +151,19 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
- padding: 15rpx 0;
|
|
|
|
|
|
+ padding: 25rpx 0;
|
|
text-align: center;
|
|
text-align: center;
|
|
- font-size: $uni-font-size-2;
|
|
|
|
|
|
+ font-size: 26rpx;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
|
|
|
|
.list-item {
|
|
.list-item {
|
|
- width: 25%;
|
|
|
|
|
|
+ width: 30%;
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
|
|
&:last-child {
|
|
&:last-child {
|
|
- color: $uni-text-color-inverse;
|
|
|
|
|
|
+
|
|
font-weight: normal;
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -196,21 +199,20 @@
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
// }
|
|
- padding: 15rpx 0;
|
|
|
|
|
|
+ padding: 25rpx 0;
|
|
text-align: center;
|
|
text-align: center;
|
|
- font-size: $uni-font-size-2;
|
|
|
|
|
|
+ font-size: 26rpx;
|
|
font-weight: bold;
|
|
font-weight: bold;
|
|
display: flex;
|
|
display: flex;
|
|
align-items: center;
|
|
align-items: center;
|
|
|
|
|
|
.list-item {
|
|
.list-item {
|
|
- width: 25%;
|
|
|
|
|
|
+ width: 30%;
|
|
text-align: center;
|
|
text-align: center;
|
|
|
|
|
|
- &:last-child {
|
|
|
|
- color: $uni-text-color-inverse;
|
|
|
|
- font-weight: normal;
|
|
|
|
- }
|
|
|
|
|
|
+ // &:last-child {
|
|
|
|
+ // font-weight: normal;
|
|
|
|
+ // }
|
|
}
|
|
}
|
|
|
|
|
|
.button {
|
|
.button {
|