|
@@ -16,7 +16,9 @@ Page({
|
|
|
questionsdian: '',
|
|
|
list: [],
|
|
|
lessonListHeight: '',
|
|
|
- previewHeight: ''
|
|
|
+ previewHeight: '',
|
|
|
+ productionMore: '',
|
|
|
+ questionsMore: ''
|
|
|
},
|
|
|
/* 区分答疑和分享 */
|
|
|
distinction: function(type, columnId, pageNo, pageSize, success) {
|
|
@@ -108,6 +110,13 @@ Page({
|
|
|
this.setData({
|
|
|
productionData: res.data.data,
|
|
|
})
|
|
|
+ if(res.data.data) {
|
|
|
+ if(res.data.data.totalSize > 2) {
|
|
|
+ this.setData({
|
|
|
+ productionMore: true
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
});
|
|
@@ -122,6 +131,11 @@ Page({
|
|
|
this.setData({
|
|
|
questionsdian: util.replyNo(res.data.data.list)
|
|
|
})
|
|
|
+ if(res.data.data.totalSize > 2) {
|
|
|
+ this.setData({
|
|
|
+ questionsMore: true
|
|
|
+ })
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
});
|