资讯分页

This commit is contained in:
qiaocl 2024-04-19 10:52:03 +08:00
parent 0db8fccee1
commit 23e3ae1ee1
29 changed files with 32 additions and 36 deletions

View File

@ -34,10 +34,8 @@
}, },
onLoad(options) { onLoad(options) {
let that = this let that = this
that.page = 1
this.type = options.type this.type = options.type
// uni.setNavigationBarTitle({
// title: this.type == 1 ? "" : this.type == 4 ? '' : ''
// });
this.handleInfoList(that.page) this.handleInfoList(that.page)
}, },
onReachBottom() { onReachBottom() {
@ -54,7 +52,7 @@
this.handleInfoList(that.page) this.handleInfoList(that.page)
}, },
methods: { methods: {
handleInfoList(searchValue, page) { handleInfoList(page) {
let that = this let that = this
let account = { let account = {
pageNo: page, 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

View File

@ -981,8 +981,8 @@ function populateParameters(result) {
appVersion: "1.0.0", appVersion: "1.0.0",
appVersionCode: "100", appVersionCode: "100",
appLanguage: getAppLanguage(hostLanguage), appLanguage: getAppLanguage(hostLanguage),
uniCompileVersion: "3.8.7", uniCompileVersion: "3.99",
uniRuntimeVersion: "3.8.7", uniRuntimeVersion: "3.99",
uniPlatform: undefined || "mp-weixin", uniPlatform: undefined || "mp-weixin",
deviceBrand: deviceBrand, deviceBrand: deviceBrand,
deviceModel: model, deviceModel: model,

View File

@ -178,10 +178,8 @@ var _default = {
}, },
onLoad: function onLoad(options) { onLoad: function onLoad(options) {
var that = this; var that = this;
that.page = 1;
this.type = options.type; this.type = options.type;
// uni.setNavigationBarTitle({
// title: this.type == 1 ? "资讯列表" : this.type == 4 ? '活动列表' : '党建专栏'
// });
this.handleInfoList(that.page); this.handleInfoList(that.page);
}, },
onReachBottom: function onReachBottom() { onReachBottom: function onReachBottom() {
@ -198,7 +196,7 @@ var _default = {
this.handleInfoList(that.page); this.handleInfoList(that.page);
}, },
methods: { methods: {
handleInfoList: function handleInfoList(searchValue, page) { handleInfoList: function handleInfoList(page) {
var _this = this; var _this = this;
var that = this; var that = this;
var account = { var account = {