diff --git a/src/project/qujing/AppHome/AppHome.vue b/src/project/qujing/AppHome/AppHome.vue
index b6a8722..222d157 100644
--- a/src/project/qujing/AppHome/AppHome.vue
+++ b/src/project/qujing/AppHome/AppHome.vue
@@ -54,10 +54,10 @@
![]()
@@ -127,7 +127,7 @@ export default {
this.getName();
this.getGrids();
// this.getActive();
- // this.getNotice();
+ this.getNotice();
})
},
methods: {
@@ -157,12 +157,12 @@ export default {
}).then(res => {
if (res?.data) {
// this.categoryList = res.data.records;
- this.categoryList = this.newCurrent==1? res.data.records: [...this.categoryList,...res.data.records]
+ this.categoryList = this.newCurrent == 1 ? res.data.records : [...this.categoryList, ...res.data.records]
}
})
},
clickNotice(val) {
- const id = this.notices[val]["id"];
+ const id = this.notices[val]?.["id"];
if (id) {
uni.navigateTo({
url: "/mods/AppNotice/AppNotice?id=" + id
@@ -172,8 +172,8 @@ export default {
clickLaw(index) {
uni.switchTab({
url: '/pages/AppLegalLearning/AppLegalLearning',
- success: ()=> {
- uni.$emit('update',{inx: index})
+ success: () => {
+ uni.$emit('update', {inx: index})
}
})
},
@@ -271,7 +271,7 @@ export default {
}
},
onReachBottom() {
- this.newCurrent ++
+ this.newCurrent++
this.getCategoryList()
}
}
@@ -401,17 +401,19 @@ export default {
width: 100%;
height: 112px;
margin-bottom: 38px;
+
.pic-left,
.pic-right {
width: 46%;
height: 112px;
+
img {
display: block;
width: 100%;
height: 100%;
}
}
-
+
}
.list-wrap {
diff --git a/src/project/szpc/AppCircle/AppCircle.vue b/src/project/szpc/AppCircle/AppCircle.vue
index 6e0c213..ef697fc 100644
--- a/src/project/szpc/AppCircle/AppCircle.vue
+++ b/src/project/szpc/AppCircle/AppCircle.vue
@@ -1,6 +1,6 @@
-