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