视频
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
>
|
||||
<common-list
|
||||
noDataIcon="data"
|
||||
:isCondition="true" :isLoadingHide="isLoadingHide"
|
||||
:isCondition="true"
|
||||
:isLoadingHide="isLoadingHide"
|
||||
@lower="onReachBottom1"
|
||||
:pagination="pagination"
|
||||
:dataList="dataList"
|
||||
@@ -39,9 +40,11 @@
|
||||
mode="aspectFil"
|
||||
class="book_image"
|
||||
></image>
|
||||
<view class="related_courses_name hidden1">{{
|
||||
slotProps.row.title
|
||||
}}</view>
|
||||
<view
|
||||
class="related_courses_name hidden1"
|
||||
:style="`${slotProps.row.buy ? 'color:#43A181' : ''}`"
|
||||
>{{ slotProps.row.title }}</view
|
||||
>
|
||||
|
||||
<!-- <text v-if="slotProps.row.conditions!='03'">【试听】</text> -->
|
||||
</template>
|
||||
@@ -59,7 +62,8 @@ export default {
|
||||
list,
|
||||
},
|
||||
data() {
|
||||
return { isLoadingHide: false,
|
||||
return {
|
||||
isLoadingHide: false,
|
||||
playData: {},
|
||||
options: {},
|
||||
searchValue: "",
|
||||
@@ -149,7 +153,7 @@ export default {
|
||||
},
|
||||
|
||||
getData() {
|
||||
this.isLoadingHide=false
|
||||
this.isLoadingHide = false;
|
||||
this.$http
|
||||
.request({
|
||||
url: this.urlList.list,
|
||||
@@ -166,8 +170,8 @@ export default {
|
||||
.then((res) => {
|
||||
console.log("res at line 289:", res);
|
||||
this.pagination.total = res.courses.total;
|
||||
if( res.courses.total==0){
|
||||
this.isLoadingHide=true
|
||||
if (res.courses.total == 0) {
|
||||
this.isLoadingHide = true;
|
||||
}
|
||||
this.dataList = [...this.dataList, ...res.courses.records];
|
||||
});
|
||||
@@ -630,6 +634,7 @@ export default {
|
||||
|
||||
.searchList {
|
||||
.item {
|
||||
|
||||
font-size: 28rpx;
|
||||
padding: 20rpx;
|
||||
border-bottom: 1px solid #dadbde;
|
||||
|
||||
Reference in New Issue
Block a user