diff --git a/App.vue b/App.vue index e5483db..c1cf92c 100644 --- a/App.vue +++ b/App.vue @@ -27,8 +27,8 @@ export default { console.log(res,'playingInfo本地初始化') store.commit('setUserInfo',{'playingInfo': res.data}) store.commit('setUserInfo',{ - 'playTitle':res.data.chapterName, - 'fengImg':res.data.images + 'playTitle':res.data.chapter, + 'fengImg':res.data.bookImage }) console.log(store.state.userInfo,'初始化') }, @@ -64,8 +64,7 @@ export default { console.log('本地无数据'); music.setList([]) //store.commit('setUserInfo',{'playingInfo': {'bookid':0,'chapterId':0}}); - store.commit('setUserInfo',{'playVisible': false}) - // music.setCoverImg('../../static/icon/x1.jpg') + store.commit('setUserInfo',{'playVisible': false}) store.commit('setUserInfo',{ 'myList':[], 'fengImg':'../../static/icon/fengziIcon.jpg' diff --git a/components/cx-audio-play/cx-audio-play - 副本.vue b/components/cx-audio-play/cx-audio-play - 副本.vue index 657f70a..129322f 100644 --- a/components/cx-audio-play/cx-audio-play - 副本.vue +++ b/components/cx-audio-play/cx-audio-play - 副本.vue @@ -593,7 +593,7 @@ .fengmianBox:after{ content: ''; display: inline-block; left:0; top:0; z-index: 0;width: 400rpx; height: 400rpx; position: absolute; border-radius: 400rpx; box-shadow: rgba(177, 235, 202, 0.8) 0px 0px 29px 0px; } - .fengmianBox.defaultBg{background-image: url('@/static/icon/x1.jpg');} + .fengmianBox.defaultBg{background-image: url('@/static/icon/home_icon_0.png');} page { background-color: #F6F6F8; diff --git a/components/cx-audio-play/cx-audio-play.vue b/components/cx-audio-play/cx-audio-play.vue index 552b33e..237d27f 100644 --- a/components/cx-audio-play/cx-audio-play.vue +++ b/components/cx-audio-play/cx-audio-play.vue @@ -5,8 +5,9 @@ - + + @@ -57,7 +58,7 @@ - {{item.chapterName}} + {{item.chapter}} @@ -122,12 +123,13 @@ audioMannager:null ,// 背景音乐 saveInterVal:null, fengImg:'', - + nofengImg:'../../static/icon/fengziIcon.jpg' } }, created() { this.libLIst = this.$bgm.musicList - this.fengImg = this.userInfo.fengImg + this.fengImg = this.userInfo.fengImg + console.log(this.userInfo.fengImg,'this.userInfo.fengImg++++++++++++++') this.userInfo.playTimes ? this.setUserInfo({'currentTime': this.userInfo.playTimes}) : '' }, @@ -261,7 +263,7 @@ .fengmianBox:after{ content: ''; display: inline-block; left:0; top:0; z-index: 0;width: 400rpx; height: 400rpx; position: absolute; border-radius: 400rpx; box-shadow: rgba(177, 235, 202, 0.8) 0px 0px 29px 0px; } - .fengmianBox.defaultBg{background-image: url('@/static/icon/x1.jpg');} + .fengmianBox.defaultBg{background-image: url('@/static/icon/home_icon_0.png');} page { background-color: #F6F6F8; diff --git a/components/music.vue b/components/music.vue index 88d1934..1b913ee 100644 --- a/components/music.vue +++ b/components/music.vue @@ -6,8 +6,8 @@ - - + + @@ -261,7 +261,7 @@ .fengmianBox .defaultBg{ margin: 0 auto;border-radius: 200rpx; margin: 0 auto; margin-bottom: 20rpx; background-size: cover; background-repeat: no-repeat; - background-image: url('@/static/icon/x1.jpg'); + background-image: url('@/static/icon/home_icon_0.png'); } page { diff --git a/components/z-navigation/z-navigation.vue b/components/z-navigation/z-navigation.vue index d1abde8..fb51b66 100644 --- a/components/z-navigation/z-navigation.vue +++ b/components/z-navigation/z-navigation.vue @@ -28,14 +28,14 @@ path: '', navigationList: [{ pagePath: 'pages/peanut/home', - iconPath: 'static/tab/tab1.png', - selectedIconPath: 'static/tab/tab1-1.png', + iconPath: 'static/tab/icon1_n.png', + selectedIconPath: 'static/tab/icon1_y.png', text: '首页' }, { "pagePath": "pages/library/library", - "iconPath": "static/tab/tab2.png", - "selectedIconPath": "static/tab/tab2-1.png", + "iconPath": "static/tab/icon3_n.png", + "selectedIconPath": "static/tab/icon3_y.png", "text": "我的图书" }, // { @@ -46,15 +46,15 @@ // }, { pagePath: 'pages/bookShop/orderList', - iconPath: 'static/tab/tab3.png', - selectedIconPath: 'static/tab/tab3-1.png', + iconPath: 'static/tab/icon2_n.png', + selectedIconPath: 'static/tab/icon2_y.png', text: '我的订单' }, { pagePath: 'pages/peanut/mine', - iconPath: 'static/tab/tab4.png', - selectedIconPath: 'static/tab/tab4.png', + iconPath: 'static/tab/icon4_n.png', + selectedIconPath: 'static/tab/icon4_y.png', text: '我的' } ], diff --git a/pages.json b/pages.json index 09b22fc..4552b31 100644 --- a/pages.json +++ b/pages.json @@ -433,6 +433,33 @@ } } + ,{ + "path" : "pages/talkBook/talkBook", + "style" : + { + "navigationBarTitleText": "讲书", + "enablePullDownRefresh": true + } + + } + ,{ + "path" : "pages/talkBook/talkBookML", + "style" : + { + "navigationBarTitleText": "讲书书籍页面", + "enablePullDownRefresh": true + } + + } + ,{ + "path" : "pages/talkBook/talkBookDetail", + "style" : + { + "navigationBarTitleText": "讲书详情", + "enablePullDownRefresh": false + } + + } ], "globalStyle": { "navigationBarTextStyle": "black", diff --git a/pages/clock/clockList - 副本.vue b/pages/clock/clockList - 副本.vue index 96f353e..e167255 100644 --- a/pages/clock/clockList - 副本.vue +++ b/pages/clock/clockList - 副本.vue @@ -15,7 +15,7 @@ - + 中医免疫学

#第三课:专业变现:你的专业 = 超级杠杆! 第一笔只是财富#

@@ -51,7 +51,7 @@ - + 中医免疫学

#第三课:专业变现:你的专业 = 超级杠杆! 第一笔只是财富#

@@ -93,7 +93,7 @@ - + 中医免疫学

#第三课:专业变现:你的专业 = 超级杠杆! 第一笔只是财富#

@@ -129,7 +129,7 @@ - + 中医免疫学

#第三课:专业变现:你的专业 = 超级杠杆! 第一笔只是财富#

diff --git a/pages/clock/clockList.vue b/pages/clock/clockList.vue index 6346bc5..ad36f58 100644 --- a/pages/clock/clockList.vue +++ b/pages/clock/clockList.vue @@ -29,7 +29,7 @@ - +

{{item.dayId}}
#{{item.TaskHeading}}#

diff --git a/pages/eBook/bookContent.vue b/pages/eBook/bookContent.vue index 2bb0542..6daf45c 100644 --- a/pages/eBook/bookContent.vue +++ b/pages/eBook/bookContent.vue @@ -10,8 +10,8 @@ {{bookMessage.name}}
-

- {{bookMessage.authorName}} [著] > +

+ {{bookMessage.author.authorName}} [著] >

-
+
+ + 查看完整目录 +
@@ -124,7 +127,9 @@ tab_muJian: 0, bookId: '', bookMessage: { - flag: false + flag: false, + author:{authorName:''} + }, bookCatalogue: [], bgiStyle: { @@ -171,7 +176,11 @@ getData() { // 获取电子书详情 this.$http - .post('book/book/appinfo/' + this.bookId + '/' + this.userInfo.id) + // .post('book/book/appinfo/' + this.bookId + '/' + this.userInfo.id) + .post('book/book/getBookInfo', { + 'bookId': this.bookId, + 'userId': this.userInfo.id + }) .then(res => { console.log('书详细',res.book) this.bookMessage = res.book @@ -180,7 +189,6 @@ this.bokMesDet.images = res.book.images this.isBuy = res.book.isBuy this.freeChapterCount = res.book.freeChapterCount - this.bokMesDet.userId = this.userInfo.id if (this.bookMessage.publisherName.indexOf(',') > 0) { @@ -230,7 +238,7 @@ // 去购买 goBuy(){ uni.navigateTo({ - url: '../bookShop/settlementBook?type=2&list=' + this.bookId + url: '../bookShop/commodityDetail?id=' + this.bookMessage.productId }); }, // 获取书评 @@ -280,8 +288,8 @@ getLibList(){ this.$http .post('book/book/getBookCatalogue', { - 'userid': this.userInfo.id, - 'bookid': this.bookId, + 'userId': this.userInfo.id, + 'bookId': this.bookId, // 'id': this.playid }) .then(res => { @@ -330,6 +338,7 @@