|
@@ -21,7 +21,7 @@
|
|
<egg-dialog ref="eggDialogRef" @eggBtn="eggBtn"></egg-dialog>
|
|
<egg-dialog ref="eggDialogRef" @eggBtn="eggBtn"></egg-dialog>
|
|
<catalogue ref="catalogueRef" :list=zhangList @change-zhang="handleChangeZhang"
|
|
<catalogue ref="catalogueRef" :list=zhangList @change-zhang="handleChangeZhang"
|
|
@listSelectJieClick="listSelectJieClick"></catalogue>
|
|
@listSelectJieClick="listSelectJieClick"></catalogue>
|
|
- <CustomTabBar :cardId="cardId" :currentTabNumber="0" :nianji="nianji" :zhangId="zhangId" :tipFlag="tipFlag">
|
|
|
|
|
|
+ <CustomTabBar :levelId="levelId" :currentTabNumber="0" :subjectId="subjectId" :typeId="typeId" :tipFlag="tipFlag">
|
|
</CustomTabBar>
|
|
</CustomTabBar>
|
|
<tip-small-dialog ref="goPayDialogRef" @confirm-btn="goPayPage" :content="tipContent"></tip-small-dialog>
|
|
<tip-small-dialog ref="goPayDialogRef" @confirm-btn="goPayPage" :content="tipContent"></tip-small-dialog>
|
|
<tip-big-dialog ref="youkeDialogRef" @confirm-btn="ykConfirm" :imgShow="true"></tip-big-dialog>
|
|
<tip-big-dialog ref="youkeDialogRef" @confirm-btn="ykConfirm" :imgShow="true"></tip-big-dialog>
|
|
@@ -76,24 +76,20 @@
|
|
const current = ref(0);
|
|
const current = ref(0);
|
|
const currentDuration = ref(500)
|
|
const currentDuration = ref(500)
|
|
const YouKeContent = '您当前的身份是游客,想要体验完整内容需注册成用户!';
|
|
const YouKeContent = '您当前的身份是游客,想要体验完整内容需注册成用户!';
|
|
- const zhangId = ref(null); //游客使用
|
|
|
|
- const nianji = ref(null); //游客使用
|
|
|
|
- const cardId = ref(null); //游客使用
|
|
|
|
const tipFlag = ref(null) //游客使用
|
|
const tipFlag = ref(null) //游客使用
|
|
const catalogueRef = ref(null);
|
|
const catalogueRef = ref(null);
|
|
const youkeZhangInfoData = ref(null);
|
|
const youkeZhangInfoData = ref(null);
|
|
const currentProduct = ref(null);
|
|
const currentProduct = ref(null);
|
|
const localAuth = ref(null);
|
|
const localAuth = ref(null);
|
|
- const levelId = ref(null);
|
|
|
|
|
|
+ const levelId = ref(null);//游客使用
|
|
|
|
+ const subjectId = ref(null);//游客使用
|
|
const typeId = ref(null);
|
|
const typeId = ref(null);
|
|
const zhangList = ref(null);
|
|
const zhangList = ref(null);
|
|
const gradeTerm = ref(null);
|
|
const gradeTerm = ref(null);
|
|
let infoData = reactive({
|
|
let infoData = reactive({
|
|
jieList: [],
|
|
jieList: [],
|
|
haveFlag: '',
|
|
haveFlag: '',
|
|
- nianji: '',
|
|
|
|
number: '',
|
|
number: '',
|
|
- cardId: '',
|
|
|
|
zhangId: '',
|
|
zhangId: '',
|
|
zhangName: '',
|
|
zhangName: '',
|
|
numberStr: '',
|
|
numberStr: '',
|
|
@@ -230,11 +226,11 @@
|
|
})
|
|
})
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
- zhangId.value = options.zhangId
|
|
|
|
- nianji.value = options.nianji
|
|
|
|
- cardId.value = options.cardId
|
|
|
|
|
|
+ subjectId.value = options.subjectId
|
|
|
|
+ typeId.value = options.typeId
|
|
|
|
+ levelId.value = options.levelId
|
|
tipFlag.value = options.tipFlag;
|
|
tipFlag.value = options.tipFlag;
|
|
- currentProduct.value = options.cardId
|
|
|
|
|
|
+ currentProduct.value = options.typeId
|
|
// 未登录 游客
|
|
// 未登录 游客
|
|
getCommonZhang(options)
|
|
getCommonZhang(options)
|
|
getProjectImg()
|
|
getProjectImg()
|
|
@@ -277,9 +273,7 @@
|
|
function getCommonZhang(data) {
|
|
function getCommonZhang(data) {
|
|
|
|
|
|
let req = {
|
|
let req = {
|
|
- nianji: data.nianji,
|
|
|
|
- cardId: data.cardId,
|
|
|
|
- zhangId: data.zhangId,
|
|
|
|
|
|
+ levelId: data.levelId,
|
|
}
|
|
}
|
|
getCommonZhangInfo(req).then(res => {
|
|
getCommonZhangInfo(req).then(res => {
|
|
translateData(res.data)
|
|
translateData(res.data)
|
|
@@ -416,10 +410,11 @@
|
|
// cacheManager.updateObject('auth', {
|
|
// cacheManager.updateObject('auth', {
|
|
// currentZhang: 0
|
|
// currentZhang: 0
|
|
// })
|
|
// })
|
|
- // }
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: `/pages/selectGradesTerms/index?tipFlag=${tipFlag.value}&from='daoPage'`,
|
|
|
|
- })
|
|
|
|
|
|
+ // }
|
|
|
|
+ uni.navigateTo({
|
|
|
|
+ url: `/pages/selectGradesTerms/index?tipFlag=${tipFlag.value}&from=daoPage&productId=${levelId.value}&xuekeId=${subjectId.value}`
|
|
|
|
+ })
|
|
|
|
+
|
|
}
|
|
}
|
|
// 游客弹窗---确定
|
|
// 游客弹窗---确定
|
|
function ykConfirm() {
|
|
function ykConfirm() {
|