|  | @@ -41,17 +41,14 @@ export default defineComponent({
 | 
											
												
													
														|  |    created() {
 |  |    created() {
 | 
											
												
													
														|  |      if (browser().isApp) {
 |  |      if (browser().isApp) {
 | 
											
												
													
														|  |        if (state.platformType === 'STUDENT') {
 |  |        if (state.platformType === 'STUDENT') {
 | 
											
												
													
														|  | 
 |  | +        const query = this.$route.query
 | 
											
												
													
														|  | 
 |  | +        query.recomUserId = query.userType && query.userType == 'STUDENT' ? '' : query.recomUserId
 | 
											
												
													
														|  |          // 自动跳转到学生端视频课详情购买页
 |  |          // 自动跳转到学生端视频课详情购买页
 | 
											
												
													
														|  | -        window.location.replace(
 |  | 
 | 
											
												
													
														|  | -          `${location.origin}/student/#/videoDetail?${qs.stringify(
 |  | 
 | 
											
												
													
														|  | -            this.$route.query
 |  | 
 | 
											
												
													
														|  | -          )}`
 |  | 
 | 
											
												
													
														|  | -        )
 |  | 
 | 
											
												
													
														|  |          // 为了处理andoird webview的跳转问题
 |  |          // 为了处理andoird webview的跳转问题
 | 
											
												
													
														|  |          if (browser().ios) {
 |  |          if (browser().ios) {
 | 
											
												
													
														|  |            window.location.replace(
 |  |            window.location.replace(
 | 
											
												
													
														|  |              `${location.origin}/student/#/videoDetail?${qs.stringify(
 |  |              `${location.origin}/student/#/videoDetail?${qs.stringify(
 | 
											
												
													
														|  | -              this.$route.query
 |  | 
 | 
											
												
													
														|  | 
 |  | +              query
 | 
											
												
													
														|  |              )}`
 |  |              )}`
 | 
											
												
													
														|  |            )
 |  |            )
 | 
											
												
													
														|  |          } else {
 |  |          } else {
 | 
											
										
											
												
													
														|  | @@ -59,7 +56,7 @@ export default defineComponent({
 | 
											
												
													
														|  |              api: 'openWebView',
 |  |              api: 'openWebView',
 | 
											
												
													
														|  |              content: {
 |  |              content: {
 | 
											
												
													
														|  |                url: `${location.origin}/student/#/videoDetail?${qs.stringify(
 |  |                url: `${location.origin}/student/#/videoDetail?${qs.stringify(
 | 
											
												
													
														|  | -                this.$route.query
 |  | 
 | 
											
												
													
														|  | 
 |  | +                query
 | 
											
												
													
														|  |                )}`,
 |  |                )}`,
 | 
											
												
													
														|  |                orientation: 1,
 |  |                orientation: 1,
 | 
											
												
													
														|  |                isHideTitle: false
 |  |                isHideTitle: false
 | 
											
										
											
												
													
														|  | @@ -68,11 +65,6 @@ export default defineComponent({
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |            postMessage({ api: 'back' })
 |  |            postMessage({ api: 'back' })
 | 
											
												
													
														|  |          }
 |  |          }
 | 
											
												
													
														|  | -        // this.locationReplace(
 |  | 
 | 
											
												
													
														|  | -        //   `${location.origin}/student/#/videoDetail?${qs.stringify(
 |  | 
 | 
											
												
													
														|  | -        //     this.$route.query
 |  | 
 | 
											
												
													
														|  | -        //   )}`
 |  | 
 | 
											
												
													
														|  | -        // )
 |  | 
 | 
											
												
													
														|  |          return
 |  |          return
 | 
											
												
													
														|  |        } else if (state.platformType === 'TEACHER') {
 |  |        } else if (state.platformType === 'TEACHER') {
 | 
											
												
													
														|  |          Dialog.alert({
 |  |          Dialog.alert({
 |