|
|
@@ -156,17 +156,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
- onShareAppMessage(res) {
|
|
|
- // res.from === 'button' // 来自页面内分享按钮
|
|
|
- // res.from === 'menu' // 来自右上角菜单分享
|
|
|
- const sharerId = JSON.parse(uni.getStorageSync('userInfo'))?.id;
|
|
|
- console.log(`准备分享,团队问卷ID: ${this.dto.teamQuestionnaireId}, 分享者ID: ${sharerId}`);
|
|
|
- return {
|
|
|
- title: this.dto.title || '发现一个好物,分享给你!',
|
|
|
- path: `/pages/home?shareTQId=${this.dto.teamQuestionnaireId}&shareUserId=${sharerId}`,
|
|
|
- // imageUrl: this.$imgBase+''
|
|
|
- };
|
|
|
- },
|
|
|
scrolltolower(){
|
|
|
this.$emit('scrolltolower')
|
|
|
},
|
|
|
@@ -174,7 +163,8 @@ export default {
|
|
|
this.dto = item;
|
|
|
if(this.dto.type==1) this.menuListCopy = this.menuList.filter((_, index) => index !== 4);
|
|
|
else this.menuListCopy = JSON.parse(JSON.stringify(this.menuList))
|
|
|
- this.show = true;
|
|
|
+ this.show = true;
|
|
|
+ this.$emit('showDialogFn',item);
|
|
|
},
|
|
|
async getTeamScaleData(){
|
|
|
return new Promise((resolve,reject)=>{
|