diff --git a/packageIndex/report/report.vue b/packageIndex/report/report.vue index adc471e..0da4152 100644 --- a/packageIndex/report/report.vue +++ b/packageIndex/report/report.vue @@ -648,7 +648,7 @@ this.reportIcon = decodeURIComponent(getLocationParams('icon')); this.label = decodeURIComponent(getLocationParams('label')); if(this.label === '其他类') { - this.label = '其他类型举报' + this.label = '其他' } console.log(this.form.reportType, '-', this.form.type, 'p', this.reportType) console.log(getLocationParams('reportType'), 'getLocationParams') diff --git a/packageIndex/report/report.vue b/packageIndex/report/report.vue index adc471e..0da4152 100644 --- a/packageIndex/report/report.vue +++ b/packageIndex/report/report.vue @@ -648,7 +648,7 @@ this.reportIcon = decodeURIComponent(getLocationParams('icon')); this.label = decodeURIComponent(getLocationParams('label')); if(this.label === '其他类') { - this.label = '其他类型举报' + this.label = '其他' } console.log(this.form.reportType, '-', this.form.type, 'p', this.reportType) console.log(getLocationParams('reportType'), 'getLocationParams') diff --git a/pages.json b/pages.json index 67b561f..ffafc57 100644 --- a/pages.json +++ b/pages.json @@ -261,7 +261,7 @@ "path" : "rumorInfo/rumorInfo", "style" : { - "navigationBarTitleText": "辟谣信息", + "navigationBarTitleText": "权威发布", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#398ae4", "navigationBarTextStyle": "white" diff --git a/packageIndex/report/report.vue b/packageIndex/report/report.vue index adc471e..0da4152 100644 --- a/packageIndex/report/report.vue +++ b/packageIndex/report/report.vue @@ -648,7 +648,7 @@ this.reportIcon = decodeURIComponent(getLocationParams('icon')); this.label = decodeURIComponent(getLocationParams('label')); if(this.label === '其他类') { - this.label = '其他类型举报' + this.label = '其他' } console.log(this.form.reportType, '-', this.form.type, 'p', this.reportType) console.log(getLocationParams('reportType'), 'getLocationParams') diff --git a/pages.json b/pages.json index 67b561f..ffafc57 100644 --- a/pages.json +++ b/pages.json @@ -261,7 +261,7 @@ "path" : "rumorInfo/rumorInfo", "style" : { - "navigationBarTitleText": "辟谣信息", + "navigationBarTitleText": "权威发布", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#398ae4", "navigationBarTextStyle": "white" diff --git a/pages/index/index.vue b/pages/index/index.vue index 79b900a..0c157a9 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -11,10 +11,10 @@ - + - + @@ -76,7 +76,7 @@ - 辟谣信息 + 权威发布 更多 @@ -286,6 +286,7 @@ catalogCode: 'ssxw', //(必传)固定值 } getNoticeList(param).then(res => { + console.log(res) this.rotationList = res.filter(item => item.contentSmallImage).map(item => { return { catalogId: item.catalogId, @@ -295,6 +296,7 @@ img: item.contentSmallImage } }) + this.rotationList = this.rotationList.filter((item, index) => index < 5) }) }, // 获取通知公告列表