资讯分页
This commit is contained in:
parent
0db8fccee1
commit
23e3ae1ee1
|
|
@ -34,10 +34,8 @@
|
|||
},
|
||||
onLoad(options) {
|
||||
let that = this
|
||||
that.page = 1
|
||||
this.type = options.type
|
||||
// uni.setNavigationBarTitle({
|
||||
// title: this.type == 1 ? "资讯列表" : this.type == 4 ? '活动列表' : '党建专栏'
|
||||
// });
|
||||
this.handleInfoList(that.page)
|
||||
},
|
||||
onReachBottom() {
|
||||
|
|
@ -54,7 +52,7 @@
|
|||
this.handleInfoList(that.page)
|
||||
},
|
||||
methods: {
|
||||
handleInfoList(searchValue, page) {
|
||||
handleInfoList(page) {
|
||||
let that = this
|
||||
let account = {
|
||||
pageNo: page,
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -981,8 +981,8 @@ function populateParameters(result) {
|
|||
appVersion: "1.0.0",
|
||||
appVersionCode: "100",
|
||||
appLanguage: getAppLanguage(hostLanguage),
|
||||
uniCompileVersion: "3.8.7",
|
||||
uniRuntimeVersion: "3.8.7",
|
||||
uniCompileVersion: "3.99",
|
||||
uniRuntimeVersion: "3.99",
|
||||
uniPlatform: undefined || "mp-weixin",
|
||||
deviceBrand: deviceBrand,
|
||||
deviceModel: model,
|
||||
|
|
|
|||
|
|
@ -178,10 +178,8 @@ var _default = {
|
|||
},
|
||||
onLoad: function onLoad(options) {
|
||||
var that = this;
|
||||
that.page = 1;
|
||||
this.type = options.type;
|
||||
// uni.setNavigationBarTitle({
|
||||
// title: this.type == 1 ? "资讯列表" : this.type == 4 ? '活动列表' : '党建专栏'
|
||||
// });
|
||||
this.handleInfoList(that.page);
|
||||
},
|
||||
onReachBottom: function onReachBottom() {
|
||||
|
|
@ -198,7 +196,7 @@ var _default = {
|
|||
this.handleInfoList(that.page);
|
||||
},
|
||||
methods: {
|
||||
handleInfoList: function handleInfoList(searchValue, page) {
|
||||
handleInfoList: function handleInfoList(page) {
|
||||
var _this = this;
|
||||
var that = this;
|
||||
var account = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue