quanwei
2025-11-27 4711bb8fb2fb16c4eb1cdf6c0314069d85e77a67
mobile/pages/branch/activity/detail/detail.vue
@@ -528,8 +528,10 @@
         onReg(e) {
            this.$refs.regForm.activityData = this.activityData;
            this.$refs.regForm.branch_name = this.activityData.branch.name;
            this.$refs.regForm.formData.branch_id = this.activityData.branch_id;
            this.is_friend = e;
            if (this.activityData.fee > 0 || e) {
            if (this.activityData.fee > 0 || e || !this.activityData.is_member) {
               this.isOpenReg = true;
            } else {
               uni.showModal({
@@ -795,6 +797,30 @@
            this.isOpenUser = false;
         },
      },
      onShareAppMessage() {
         if (this.activityData) {
            return {
               title: `${this.activityData.name}`,
               path: `/pages/plus/business/detail?activity_id=${this.activity_id}&referee_id=${this.getUserId()}`
            };
         }
         return {
            title: '活动详情',
            path: `/pages/plus/business/detail?activity_id=${this.activity_id}`
         };
      },
      onShareTimeline() {
         if (this.activityData) {
            return {
               title: `${this.activityData.name}`,
               path: `/pages/plus/business/detail?activity_id=${this.activity_id}&referee_id=${this.getUserId()}`
            };
         }
         return {
            title: '活动详情',
            path: `/pages/plus/business/detail?activity_id=${this.activity_id}&referee_id=${this.getUserId()}`
         };
      }
   }
</script>