| 
					
				 | 
			
			
				@@ -41,6 +41,7 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   setup({ onItemClick }) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     localStorage.setItem('behaviorId', getRandomKey()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const router = useRouter() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const route = useRoute() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const params = reactive({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       search: '', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       relatedNum: 6, //相关专辑数 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -51,6 +52,8 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // const data = ref<any>(null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const rows = ref<any[]>([]) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const loading = ref(false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const aId = Number(route.query.activityId) || 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    const studentActivityId = ref(aId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // const finished = ref(false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const isError = ref(false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const favorited = ref(0) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -60,7 +63,6 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const color = ref<string>('#fff') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const heightInfo = ref<any>('auto') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    const route = useRoute() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     const FetchList = async (id?: any) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if (loading.value) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         return 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -219,8 +221,14 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             userId 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        activityId = res.data.activityId || 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        shareDiscount.value = res.data.discount || 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // 如果有会员则显示 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          albumDetail.value?.musicPaymentTypes && 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          albumDetail.value?.musicPaymentTypes.includes('VIP') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        ) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          activityId = res.data.activityId || 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          shareDiscount.value = res.data.discount || 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       shareUrl.value = `${location.origin}/teacher#/shareAblum?id=${id}&recomUserId=${userId}&activityId=${activityId}&userType=${state.platformType}` 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       console.log(shareUrl.value, 'shareUrl') 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -388,22 +396,27 @@ export default defineComponent({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   </Button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                   {albumDetail.value?.musicPaymentTypes && 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     albumDetail.value?.musicPaymentTypes.includes('VIP') && ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      <Button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        block 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        round 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        style={{ fontSize: '16px' }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        onClick={() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                          router.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            path: '/memberCenter', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            query: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                              ...route.query 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                          }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        开通会员 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                      </Button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      <> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        <Button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          block 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          round 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          type="primary" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          style={{ fontSize: '16px' }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          onClick={() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            router.push({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                              path: '/memberCenter', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                              query: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                ...route.query 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                              } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          }} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          {studentActivityId.value > 0 && ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            <div class={[styles.buttonDiscount]}>专属优惠</div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          )} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                          开通会员 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        </Button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      </> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     )} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               </ColSticky> 
			 |