diff --git a/src/apps/AppInfotainment/AppInfotainment.vue b/src/apps/AppInfotainment/AppInfotainment.vue index cf637f9a..4a061309 100644 --- a/src/apps/AppInfotainment/AppInfotainment.vue +++ b/src/apps/AppInfotainment/AppInfotainment.vue @@ -29,11 +29,11 @@ export default { current: 1, categoryType: '0', list: [], - parentName: '', + parentName: '产业振兴', } }, onLoad(o) { - this.parentName = o.listName + // this.parentName = o.listName }, onShow() { document.title = this.parentName diff --git a/src/apps/AppInfotainment/newsList.vue b/src/apps/AppInfotainment/newsList.vue index 3d245d5d..8c3c2734 100644 --- a/src/apps/AppInfotainment/newsList.vue +++ b/src/apps/AppInfotainment/newsList.vue @@ -4,6 +4,12 @@
+
@@ -44,7 +50,7 @@ export default { this.parentId = params.id this.parentName = params.parentName uni.$on('update', (tabIndex) => { - this.currIndex = tabIndex + this.currIndex = tabIndex }) }, onShow() { @@ -122,6 +128,7 @@ export default { background-color: #fff; position: relative; padding: 0 100px 0 0; + box-sizing: border-box; .more-icon { position: absolute; @@ -131,12 +138,17 @@ export default { top: 20px; } + // ::v-deep .uni-scroll-view-content { + // display: flex; + // } + div { height: 80px; line-height: 80px; font-size: 26px; transition-duration: 1s; padding: 0px 30px; + width: 100%; } .tab-item { @@ -147,7 +159,6 @@ export default { .active-item { color: #3376FD; font-weight: 600; - } .active-line {