diff --git a/pages/driver/index/post.vue b/pages/driver/index/post.vue index 919060e..926d327 100644 --- a/pages/driver/index/post.vue +++ b/pages/driver/index/post.vue @@ -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); + } + }) + } } diff --git a/pages/driver/welfare/activity_x/post.vue b/pages/driver/welfare/activity_x/post.vue index 3f2a547..0a9b3da 100644 --- a/pages/driver/welfare/activity_x/post.vue +++ b/pages/driver/welfare/activity_x/post.vue @@ -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); + } + }) } } diff --git a/证书/ios/7.24/DYKJ.mobileprovision b/证书/ios/7.24/DYKJ.mobileprovision new file mode 100644 index 0000000..56885c0 Binary files /dev/null and b/证书/ios/7.24/DYKJ.mobileprovision differ diff --git a/证书/ios/7.24/dykj_Chuxueyun.p12 b/证书/ios/7.24/dykj_Chuxueyun.p12 new file mode 100644 index 0000000..39a9053 Binary files /dev/null and b/证书/ios/7.24/dykj_Chuxueyun.p12 differ