|
@@ -83,16 +83,22 @@
|
|
|
@click="cutGoods(index)"
|
|
|
class="swiper-slide"
|
|
|
v-for="(item, index) in list"
|
|
|
- :class="{ active: acList === index && playing }"
|
|
|
+ :class="{ active: (acList === index && playing) || (clickBottomAc&&acList === index) }"
|
|
|
:key="index"
|
|
|
>
|
|
|
<img :src="item.list[0].enter.cover" alt="" />
|
|
|
<div
|
|
|
class="plan"
|
|
|
- v-show="acList === index&& playing"
|
|
|
+ v-show="(acList === index && playing) || (clickBottomAc&&acList === index)"
|
|
|
:style="{ width: progressPart + '%' }"
|
|
|
></div>
|
|
|
- <p :class="{txtActive:acList === index && playing}">{{ item.name }}</p>
|
|
|
+ <p
|
|
|
+ :class="{
|
|
|
+ txtActive: (acList === index && playing) || (clickBottomAc&&acList === index),
|
|
|
+ }"
|
|
|
+ >
|
|
|
+ {{ item.name }}
|
|
|
+ </p>
|
|
|
</div>
|
|
|
<div class="swiper-slide" style="pointer-events: none"></div>
|
|
|
</div>
|
|
@@ -123,7 +129,7 @@ import Swiper from "./swiper.js";
|
|
|
export default {
|
|
|
name: "Rbottom",
|
|
|
components: {},
|
|
|
- props: ["acList", "progressPart", "playing"],
|
|
|
+ props: ["acList", "progressPart", "playing", "clickBottomAc"],
|
|
|
data() {
|
|
|
//这里存放数据
|
|
|
return {
|
|
@@ -170,6 +176,9 @@ export default {
|
|
|
//方法集合
|
|
|
methods: {
|
|
|
cutGoods(index) {
|
|
|
+ this.$emit("update:clickBottomAc", false);
|
|
|
+
|
|
|
+
|
|
|
this.$emit("daoLanCut", index);
|
|
|
this.leftList[0].done = false;
|
|
|
if (window.bacMusic) {
|
|
@@ -456,7 +465,7 @@ export default {
|
|
|
height: 4px;
|
|
|
background-color: #930909;
|
|
|
}
|
|
|
- .txtActive{
|
|
|
+ .txtActive {
|
|
|
color: #930909;
|
|
|
}
|
|
|
}
|