密码强度+试听权限错乱
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
<view class="playList" v-if="libLIst.length > 0">
|
||||
<view class="item" v-for="(item,index) in libLIst" :key="index" >
|
||||
<view >
|
||||
<view v-if="3 > index"
|
||||
<view v-if="item.isFree == 1"
|
||||
:class="[
|
||||
userInfo.playingInfo.bookId==item.bookId && userInfo.playingInfo.id == item.id ? 'playing' : '']" @click="listenOne(item, index)">
|
||||
<span :class="['graytitle']">{{item.chapter}}</span>
|
||||
@@ -155,7 +155,9 @@
|
||||
onPageScroll(e) {
|
||||
this.scrollTop = e.scrollTop;
|
||||
},
|
||||
|
||||
onHide() {
|
||||
this.libLIst = []
|
||||
},
|
||||
//第一次加载
|
||||
onLoad(e) {
|
||||
this.bookId = e.Id
|
||||
@@ -302,8 +304,14 @@
|
||||
.then(res => {
|
||||
if(res.code == 0){
|
||||
console.log(res,999)
|
||||
if(res.BookCatalogue.length > 0){
|
||||
this.libLIst = res.BookCatalogue
|
||||
if(res.BookCatalogue.length > 0){
|
||||
res.BookCatalogue.map( item => {
|
||||
if(item.isFree == 1){
|
||||
this.libLIst.push(item)
|
||||
}
|
||||
})
|
||||
console.log('改变后的试听目录',this.libLIst)
|
||||
//this.libLIst = res.BookCatalogue
|
||||
// this.fengImg = res.images
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user