瀏覽代碼

首页邀请助力弹框

hwb0 3 年之前
父節點
當前提交
6432dd039e
共有 1 個文件被更改,包括 9 次插入2 次删除
  1. 9 2
      pages/index/index.vue

+ 9 - 2
pages/index/index.vue

@@ -129,6 +129,8 @@
 		<custom-tab-bar :activeValue="'index'" />
 		<!-- 支付弹框组件 -->
 		<pay-popup :pay-show="payShow" :pay-info="payInfo" @close="close" @success="toProcess" v-if="payShow" />
+		<!-- 助力邀请弹框组件 -->
+		<activity-help :activity-show="activityShow" :inviteCode="inviteCode" :marketingId="marketingId" @close="close" @success="toActivity" v-if="activityShow" />
 	</view>
 </template>
 
@@ -137,12 +139,12 @@
 	import $http from '@/utils/request.js'
 	import CustomTabBar from '../../components/custom-tab-bar/custom-tab-bar.vue'
 	import PayPopup from '../../components/pay-popup/pay-popup.vue'
-	import PrizeBarrage from '@/components/prize-barrage/prize-barrage.vue'
+	import ActivityHelp from '@/components/activity-help/activity-help.vue'
 	export default {
 		components: {
 			CustomTabBar,
 			PayPopup,
-			PrizeBarrage
+			ActivityHelp
 		},
 		data() {
 			return {
@@ -162,6 +164,10 @@
 				list: [1,2,3,4,5],
 				percentage: 0,
 				checkStatus: true, 
+				inviteCode: '',//助力邀请码
+				marketingId: '',//活动id
+				activityShow: false,//助力邀请弹框
+
 			};
 		},
 		onLoad(opthios) {
@@ -348,6 +354,7 @@
 			// 关闭支付弹框
 			close() {
 				this.payShow = false
+				this.activityShow = false
 			},
 
 			// // 盲票选中改变