7.24(发布地址

This commit is contained in:
Hong
2024-07-24 15:49:46 +08:00
parent 10ee23e0a9
commit d78b5a511d
4 changed files with 29 additions and 8 deletions

View File

@@ -80,6 +80,7 @@
videoInfo: {},
mobileType: {},
buttFlag: false,
city:''
};
},
methods: {
@@ -103,7 +104,9 @@
cover: this.videoImage,
wide: this.videoInfo.width,
high: this.videoInfo.height,
city:this.city,
}
// console.log(obj);
plazaNoteAdd(obj).then(res => {
this.buttFlag = false
if (res.data.image != '') {
@@ -180,6 +183,18 @@
this.categoryId = options.type
this.issueType = options.issueType
this.mobileType = uni.getStorageSync('appDetail')
uni.getLocation({
type: 'gcj02',
geocode: true,
success: res => {
this.city=res.address.city
},
fail: err => {
// console.log('报错', err);
}
})
}
}
</script>

View File

@@ -74,7 +74,7 @@
endTopicData:{},
//话题id
topicId:'',
city:''
};
},
methods: {
@@ -99,7 +99,8 @@
type: 1,
categoryId: this.categoryId,
topicIds:this.topicId,
activeTopicId:this.activeTopicId
activeTopicId:this.activeTopicId,
city:this.city
}
plazaNoteAdd(obj).then(res => {
uni.setStorageSync('endTopicData',{})
@@ -137,12 +138,17 @@
this.categoryId = options.type
this.activeTopicId=options.activeTopicId
this.topicId=options.topicId
// getCommunityTopicList({
// limit:3,
// page:1
// }).then(res=>{
// this.topicList=res.data.list
// })
uni.getLocation({
type: 'gcj02',
geocode: true,
success: res => {
this.city=res.address.city
},
fail: err => {
// console.log('报错', err);
}
})
}
}
</script>

Binary file not shown.

Binary file not shown.