| | |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="activity-item d-b-c" v-if="activityData.is_visit == 1"> |
| | | <view class="activity-item d-b-c" v-if="activityData.address"> |
| | | <view class="flex-1"> |
| | | <view class="gray6 f24">活动地点</view> |
| | | <view class="info">{{activityData.address}}</view> |
| | |
| | | <view class="activity-item" v-if="activityData.is_visit == 1"> |
| | | <view class="gray6 f24">走访企业</view> |
| | | <view class="info">{{activityData.visitSupplier?activityData.visitSupplier.name:''}}</view> |
| | | <view class="info">{{activityData.visit_supplier_name?activityData.visit_supplier_name:''}}</view> |
| | | </view> |
| | | <view class="activity-item" |
| | | v-if="activityData.is_visit == 0 && activityData.space_supplier_id > 0"> |
| | |
| | | <image :src="item.avatarUrl" mode="aspectFill"></image> |
| | | <text class="text-ellipsis">{{item.real_name}}</text> |
| | | </view> |
| | | <view class="more d-c-c d-c" v-if="activityData.total > 6" @click="openUser"> |
| | | <view class="more d-c-c d-c" v-if="activityData.total > 5" @click="openUser"> |
| | | <view class="d-c-c more-icon"> |
| | | <text class="iconfont icon-gengduo"></text> |
| | | </view> |
| | |
| | | |
| | | 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 { |
| | | /* } else { |
| | | uni.showModal({ |
| | | title: '提示', |
| | | content: '确定要报名吗?', |
| | |
| | | } |
| | | } |
| | | }); |
| | | } |
| | | } */ |
| | | }, |
| | | |
| | | closeRegFunc(e) { |
| | |
| | | this.isOpenUser = false; |
| | | }, |
| | | |
| | | }, |
| | | onShareAppMessage() { |
| | | if (this.activityData) { |
| | | return { |
| | | title: `${this.activityData.name}`, |
| | | path: `/pages/plus/business/detail?activity_id=${this.activity_id}` |
| | | }; |
| | | } |
| | | 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}` |
| | | }; |
| | | } |
| | | return { |
| | | title: '活动详情', |
| | | path: `/pages/plus/business/detail?activity_id=${this.activity_id}` |
| | | }; |
| | | } |
| | | } |
| | | </script> |