|
-
+ |
{{ station.name }}
@@ -51,8 +54,14 @@ export default {
default() { return [] },
},
},
+ data() {
+ return {
+ activeItem: null,
+ }
+ },
methods: {
- doPlay(station) {
+ doPlay(idx, station) {
+ this.activeItem = idx
this.$emit('doPlay', station)
},
},
@@ -107,6 +116,10 @@ table {
}
}
+ tr.selected {
+ background-color: var(--color-primary-light);
+ }
+
tr td:first-child {
padding-left: 40px;
width: 32px;
|