修复精彩试听高亮样式bug
This commit is contained in:
@@ -53,9 +53,9 @@
|
||||
<view class="item" v-for="(item,index) in libLIst" :key="index" >
|
||||
<view >
|
||||
<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>
|
||||
:class="[]" @click="listenOne(item, index)">
|
||||
|
||||
<span :class="[userInfo.playingInfo.bookId==item.bookId && userInfo.playingInfo.id == item.id ? 'playing' : '','graytitle']">{{item.chapter}}</span>
|
||||
<uni-tag v-if="item.isFree == 1" class="tag" size="small" :inverted="true" text="试听" type="success" />
|
||||
<!-- <image class="playingFig" src="/static/playingGif.gif" mode="aspectFill"></image> -->
|
||||
</view>
|
||||
@@ -352,7 +352,7 @@
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
@import '@/style/mixin.scss';
|
||||
.playing{color: #1daa5c;}
|
||||
.playing{color: #1daa5c !important;}
|
||||
.graytitle{color: #666;}
|
||||
.flexbox{display: flex;}
|
||||
.tags{
|
||||
|
||||
Reference in New Issue
Block a user