接口改动
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -5,8 +5,9 @@
|
||||
<view>
|
||||
<view class="audo-video">
|
||||
|
||||
<!-- 播放封面 -->
|
||||
<!-- 播放封面 -->
|
||||
<view :class="['fengmianBox','defaultBg', userInfo.playFlag ? 'playAnimate' : '']" :style="{ backgroundImage: `url(${fengImg})` }"></view>
|
||||
<!-- <view v-else :class="['fengmianBox','defaultBg', userInfo.playFlag ? 'playAnimate' : '']" style="{ border:1px solid red;backgroundImage: url('@/static/icon/fengziIcon.jpg') }">显示我</view> -->
|
||||
|
||||
<!--音频播放按钮处-->
|
||||
<view class="audo-top">
|
||||
@@ -57,7 +58,7 @@
|
||||
<view class="item" v-for="(item,index) in libLIst" :key="index" >
|
||||
<view @click="listenOne(item)" :class="userInfo.playIndex == index ? 'playNow' : ''">
|
||||
|
||||
<view>{{item.chapterName}}</view>
|
||||
<view>{{item.chapter}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
@@ -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;
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
<!--音频播放按钮处-->
|
||||
<view class="audo-top">
|
||||
<!-- 播放封面 -->
|
||||
<image v-if="userInfo.fengImg && userInfo.fengImg != ''" @click="changeShow" style="width: 120rpx; height: 120rpx; margin-top: 0;" :class="['fengImg','fengmianBox','defaultBg', userInfo.playFlag ? 'playAnimate' : '']" :src="userInfo.fengImg" mode="aspectFill"></image>
|
||||
<image v-else @click="changeShow" style="width: 120rpx; height: 120rpx; margin-top: 0;" :class="['fengImg','fengmianBox','defaultBg', userInfo.playFlag ? 'playAnimate' : '']" src="@/static/icon/fengziIcon.jpg" mode="aspectFill"></image>
|
||||
<image @click="changeShow" style="width: 120rpx; height: 120rpx; margin-top: 0;" :class="['fengImg','fengmianBox','defaultBg', userInfo.playFlag ? 'playAnimate' : '']" :src="userInfo.fengImg" mode="aspectFill"></image>
|
||||
<!-- <image v-else @click="changeShow" style="width: 120rpx; height: 120rpx; margin-top: 0;" :class="['fengImg','fengmianBox','defaultBg', userInfo.playFlag ? 'playAnimate' : '']" src="@/static/icon/fengziIcon.jpg" mode="aspectFill"></image> -->
|
||||
|
||||
<!-- <u-icon name="arrow-right" color="#61e781" size="28" v-else @click="changeShow"></u-icon> -->
|
||||
<!--上一首切换按钮-->
|
||||
@@ -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 {
|
||||
|
||||
@@ -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: '我的'
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user