|
@@ -143,34 +143,8 @@ export default defineComponent({
|
|
}
|
|
}
|
|
//进入云教练
|
|
//进入云教练
|
|
const openView = (item: any) => {
|
|
const openView = (item: any) => {
|
|
- // 学生端验证
|
|
|
|
- if (state.platformType == 'STUDENT') {
|
|
|
|
- //学生有待激活会员
|
|
|
|
- if (!userInfo.value.membershipDays && userInfo.value.purchaseMemberRecord) {
|
|
|
|
- showConfirmDialog({
|
|
|
|
- message: '您的团练宝暂未激活,请激活后使用'
|
|
|
|
- }).then(() => {
|
|
|
|
- router.push({
|
|
|
|
- path: '/memberCenter'
|
|
|
|
- })
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- //学生没有会员
|
|
|
|
- if (!userInfo.value.vipMember) {
|
|
|
|
- showConfirmDialog({
|
|
|
|
- message: '您暂未开通团练宝,请开通后使用'
|
|
|
|
- }).then(() => {
|
|
|
|
- router.push({
|
|
|
|
- path: '/memberCenter'
|
|
|
|
- })
|
|
|
|
- })
|
|
|
|
- return
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
|
|
let src = `${location.origin}/orchestra-music-score/?id=${item.id}`
|
|
let src = `${location.origin}/orchestra-music-score/?id=${item.id}`
|
|
- console.log('🚀 ~ 去云教练的src', src)
|
|
|
|
postMessage({
|
|
postMessage({
|
|
api: 'openAccompanyWebView',
|
|
api: 'openAccompanyWebView',
|
|
content: {
|
|
content: {
|