diff --git a/components/buyPup.vue b/components/buyPup.vue index 1204329..43aa968 100644 --- a/components/buyPup.vue +++ b/components/buyPup.vue @@ -16,10 +16,10 @@ 立即购买 - + diff --git a/components/z-navigation/z-navigation.vue b/components/z-navigation/z-navigation.vue index 4e7744b..9eac74a 100644 --- a/components/z-navigation/z-navigation.vue +++ b/components/z-navigation/z-navigation.vue @@ -80,12 +80,12 @@ export default { selectedIconPath: "static/tab/icon1_y.png", text: "首页", }, - { - pagePath: "pages/peanut/shopping", - iconPath: "static/tab/tab_nor_02.png", - selectedIconPath: "static/tab/tab_cur_02.png", - text: "购物车", - }, + // { + // pagePath: "pages/peanut/shopping", + // iconPath: "static/tab/tab_nor_02.png", + // selectedIconPath: "static/tab/tab_cur_02.png", + // text: "购物车", + // }, { pagePath: "pages/bookShop/orderList", iconPath: "static/tab/order.png", @@ -112,12 +112,12 @@ export default { selectedIconPath: "static/tab/icon1_y.png", text: "首页", }, - { - pagePath: "pages/peanut/shopping", - iconPath: "static/tab/tab_nor_02.png", - selectedIconPath: "static/tab/tab_cur_02.png", - text: "购物车", - }, + // { + // pagePath: "pages/peanut/shopping", + // iconPath: "static/tab/tab_nor_02.png", + // selectedIconPath: "static/tab/tab_cur_02.png", + // text: "购物车", + // }, { pagePath: "pages/taihu/index", diff --git a/manifest.json b/manifest.json index 947aa6c..4e14ca4 100644 --- a/manifest.json +++ b/manifest.json @@ -12,8 +12,8 @@ "src" : "图片路径" } ], - "versionName" : "1.0.01", - "versionCode" : 1001, + "versionName" : "1.0.02", + "versionCode" : 1002, "app-plus" : { "compatible" : { "ignoreVersion" : true diff --git a/pages.json b/pages.json index 25b8781..ccba855 100644 --- a/pages.json +++ b/pages.json @@ -561,12 +561,12 @@ "selectedIconPath": "static/tab/icon1_y.png", "text": "首页" }, - { - "pagePath": "pages/peanut/shopping", - "iconPath": "static/tab/tab_nor_02.png", - "selectedIconPath": "static/tab/tab_cur_02.png", - "text": "购物车" - }, + // { + // "pagePath": "pages/peanut/shopping", + // "iconPath": "static/tab/tab_nor_02.png", + // "selectedIconPath": "static/tab/tab_cur_02.png", + // "text": "购物车" + // }, { "pagePath": "pages/bookShop/orderList", "iconPath": "static/tab/order.png", diff --git a/pages/course/myCourse.vue b/pages/course/myCourse.vue index 2cdee98..7a80a6e 100644 --- a/pages/course/myCourse.vue +++ b/pages/course/myCourse.vue @@ -256,7 +256,10 @@ onShow() { // 隐藏原生的tabbar uni.hideTabBar(); - + // #ifdef APP-PLUS + plus.screen.unlockOrientation(); + plus.screen.lockOrientation("portrait-primary"); + // #endif }, onReachBottom() { console.log('触底'); diff --git a/pages/course/myCourseLearn.vue b/pages/course/myCourseLearn.vue index 0c2bbad..20d47db 100644 --- a/pages/course/myCourseLearn.vue +++ b/pages/course/myCourseLearn.vue @@ -204,8 +204,10 @@ onShow() { // 隐藏原生的tabbar uni.hideTabBar(); + // #ifdef APP-PLUS plus.screen.unlockOrientation(); plus.screen.lockOrientation("portrait-primary"); + // #endif this.getData(this.courseId) }, onReachBottom() { @@ -646,6 +648,10 @@ }).catch(e => { console.log(e, '获取目录数据报错') + uni.showToast({ + title:"获取数据失败", + icon:'error' + }) }); }, @@ -887,6 +893,10 @@ }).catch(e => { console.log(e, '获取章节列表数据报错') + uni.showToast({ + title:"获取数据失败", + icon:'error' + }) }); }, // 跳转 diff --git a/pages/goods/index/index.vue b/pages/goods/index/index.vue index f9e3bda..3542f2a 100644 --- a/pages/goods/index/index.vue +++ b/pages/goods/index/index.vue @@ -780,7 +780,7 @@ export default { }, onLoad(options) { this.options = options; - + console.log('options',options) // this.handleClickGetGoodsList(); // this.getUserInfo() // this.getCateList() @@ -1027,7 +1027,7 @@ export default { that.curriculumData.productImageList == null || that.curriculumData.productImageList == "" ) { - this.swiperList.push(that.curriculumData.explainsImg); + this.swiperList.push(that.curriculumData.productImages); } else { that.swiperList = that.curriculumData.productImageList.split(","); // for (var i = 0; i < imgList.length; i++) { diff --git a/pages/peanut/home.vue b/pages/peanut/home.vue index ca385fe..ce63dc3 100644 --- a/pages/peanut/home.vue +++ b/pages/peanut/home.vue @@ -12,8 +12,8 @@ - - + +
学习大纲 @@ -37,7 +37,7 @@ - + @@ -305,8 +305,10 @@ //页面显示 onShow() { uni.hideTabBar(); + // #ifdef APP-PLUS plus.screen.unlockOrientation(); plus.screen.lockOrientation("portrait-primary"); + // #endif this.requestAll() }, onTabItemTap() { @@ -687,7 +689,7 @@