- 东湖生态旅游风景区听涛景区
+ {{ detail.gpsDesc }}
@@ -96,7 +99,8 @@ export default {
props: {},
data() {
return {
- id: '888',
+ id: '',
+ avatarUrl: '',
data: {},
poupShow: false,
content: '',
@@ -110,8 +114,9 @@ export default {
computed: { ...mapState(['user']) },
watch: {},
onLoad(o) {
- this.$dict.load('atWillReportType').then(() => {
- // this.id = o.id
+ this.$dict.load('villagerCircleTopic').then(() => {
+ this.id = o.id
+ this.avatarUrl = o.avatarUrl
this.getDetail()
})
},
@@ -121,6 +126,15 @@ export default {
this.$instance.post(`/app/appvillagercircleinfo/queryDetailById?id=${this.id}`).then((res) => {
if (res.code == 0) {
this.detail = res.data
+ this.getReplyList()
+ }
+ })
+ },
+
+ getReplyList() {
+ this.$instance.post(`/app/appvillagercirclecomment/list?id=${detail.id}&size=999`).then((res) => {
+ if (res.code == 0) {
+ this.replylist = res.data.records
}
})
},
@@ -188,6 +202,13 @@ export default {
this.deleId = '999'
this.deleShow = true
},
+
+ previewImage(images, img) {
+ uni.previewImage({
+ urls: images.map((v) => v.url),
+ current: img,
+ })
+ },
},
onShareAppMessage() {
return {
@@ -243,18 +264,26 @@ export default {
}
}
- .status {
- font-size: 28px;
- margin-right: 10px;
- }
- .status0 {
- color: #42d784;
- }
- .status1 {
- color: #ff4466;
- }
- .status2 {
- color: #ff883c;
+ .statusDele {
+ display: flex;
+ align-items: center;
+ .status {
+ font-size: 28px;
+ }
+ .status0 {
+ color: #42d784;
+ }
+ .status1 {
+ color: #ff4466;
+ }
+ .status2 {
+ color: #ff883c;
+ }
+ .dels {
+ margin-left: 20px;
+ width: 68px;
+ height: 68px;
+ }
}
}
}