|
@@ -224,11 +224,20 @@
|
|
|
url: `/pages/unitTest/index?jieNumber=`+data.number
|
|
|
})
|
|
|
}
|
|
|
- function goLookShipin(data) {
|
|
|
- uni.redirectTo({
|
|
|
- //url: '/pages/study/lookShipin?studyData=' + JSON.stringify(pageData)
|
|
|
- url: '/pages/study/lookShipin?jieNumber='+data.number
|
|
|
- })
|
|
|
+ function goLookShipin(data) {
|
|
|
+ if (!cacheManager.get('auth') ){
|
|
|
+
|
|
|
+ uni.redirectTo({
|
|
|
+ url: '/pages/study/lookShipin?jieNumber='+data.number+ '&cardId=' + cardId.value+ '&nianji=' + nianji.value+ '&zhangId=' + zhangId.value+ '&videoId=' + infoData.jieList[0].videoId
|
|
|
+ })
|
|
|
+ return;
|
|
|
+ }else{
|
|
|
+ uni.redirectTo({
|
|
|
+ url: '/pages/study/lookShipin?jieNumber='+data.number
|
|
|
+ })
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
function listClick(data, index) {
|
|
|
if (!cacheManager.get('auth')&&data.number != 1) {
|
|
@@ -237,8 +246,7 @@
|
|
|
url: '/pages/login/index'
|
|
|
})
|
|
|
return;
|
|
|
- }
|
|
|
- debugger
|
|
|
+ }
|
|
|
const authCode = getUserIdentity();
|
|
|
if (!(authCode=='VIP' || data.number == 1)) {
|
|
|
goPayDialogRef.value.handleShow();
|