|
@@ -9,6 +9,9 @@ import searImg from "./imgs/searImg.png"
|
|
|
import huoimg from "./imgs/huo.png"
|
|
|
import emptyImg from "./imgs/empty.png"
|
|
|
import { getQuery } from "/src/utils/queryString";
|
|
|
+import dayjs from "dayjs";
|
|
|
+import { storeData } from "/src/store"
|
|
|
+import { vipShow } from "../vip"
|
|
|
|
|
|
export default defineComponent({
|
|
|
name: "TheMusicList-list",
|
|
@@ -74,6 +77,14 @@ export default defineComponent({
|
|
|
});
|
|
|
|
|
|
const openAccomapina = (item: any) => {
|
|
|
+ if(item.paymentType === "VIP" && state.systemType === "student" && !dayjs().isBefore(dayjs(storeData.user?.membershipEndTime))){
|
|
|
+ vipShow.value = true
|
|
|
+ return
|
|
|
+ }
|
|
|
+ if(item.paymentType === "VIP" && state.systemType === "web" && state.isSchool){
|
|
|
+ vipShow.value = true
|
|
|
+ return
|
|
|
+ }
|
|
|
if (item.id === state.examSongId) return;
|
|
|
// 暂停播放
|
|
|
togglePlay("paused");
|