|
@@ -69,6 +69,7 @@
|
|
|
} from "@/utils/common";
|
|
|
let payType = ref('weixin')
|
|
|
let cardId = ref('')
|
|
|
+ let formPage = ref('')
|
|
|
const daoPokeRef = ref(null);
|
|
|
const daoPokeAllRef = ref(null);
|
|
|
const isVip = getUserIdentity();
|
|
@@ -95,6 +96,7 @@
|
|
|
];
|
|
|
onLoad((options) => {
|
|
|
cardId.value = options.cardId
|
|
|
+ formPage.value = options.formPage
|
|
|
})
|
|
|
|
|
|
function radioChange(data) {
|
|
@@ -121,9 +123,15 @@
|
|
|
setTimeout(() => {
|
|
|
daoPokeRef.value.handleClose();
|
|
|
daoPokeAllRef.value.handleClose();
|
|
|
- uni.redirectTo({
|
|
|
- url: '/pages/study/index'
|
|
|
- })
|
|
|
+ if(formPage.value =='my'){
|
|
|
+ uni.redirectTo({
|
|
|
+ url: '/pages/my/index'
|
|
|
+ })
|
|
|
+ }else{
|
|
|
+ uni.redirectTo({
|
|
|
+ url: '/pages/study/index'
|
|
|
+ })
|
|
|
+ }
|
|
|
}, 3000)
|
|
|
})
|
|
|
}
|