• 2021-04-14 问题

    在数据中, data:{ item:0, //表示当前轮播页面索引 tab:0, //表示当前的标签索引 playlist:[{ //四首歌曲的具体数据 id:1, title:"钢琴协奏曲", singer:"肖邦", src:"http://192.168.249.112/1.mp3", coverImgUrl:"/images/cover.jpg" },{ id: 2, title: "奏鸣曲", singer: "莫扎特", src: "http://192.168.249.112/2.mp3", coverImgUrl: "/images/cover.jpg" },{ id: 1, title: "欢乐颂", singer: "贝多芬", src: "http://192.168.249.112/3.mp3", coverImgUrl: "/images/cover.jpg" },{ id: 1, title: "爱之梦", singer: "李斯特", src: "http://192.168.249.112/4.mp3", coverImgUrl: "/images/cover.jpg" }], state:"paused", //播放状态 playIndex:0, //播放的歌曲的索引 play:{ //播放的歌曲信息 currentTime:"00:00", //播放的当前时间 duration:"00:00", //歌曲的总时间 percent:0, //当前播放的占比 title:"", singer:"", coverImgUrl: "/images/cover.jpg", } }, 说法正确的是

    在数据中, data:{ item:0, //表示当前轮播页面索引 tab:0, //表示当前的标签索引 playlist:[{ //四首歌曲的具体数据 id:1, title:"钢琴协奏曲", singer:"肖邦", src:"http://192.168.249.112/1.mp3", coverImgUrl:"/images/cover.jpg" },{ id: 2, title: "奏鸣曲", singer: "莫扎特", src: "http://192.168.249.112/2.mp3", coverImgUrl: "/images/cover.jpg" },{ id: 1, title: "欢乐颂", singer: "贝多芬", src: "http://192.168.249.112/3.mp3", coverImgUrl: "/images/cover.jpg" },{ id: 1, title: "爱之梦", singer: "李斯特", src: "http://192.168.249.112/4.mp3", coverImgUrl: "/images/cover.jpg" }], state:"paused", //播放状态 playIndex:0, //播放的歌曲的索引 play:{ //播放的歌曲信息 currentTime:"00:00", //播放的当前时间 duration:"00:00", //歌曲的总时间 percent:0, //当前播放的占比 title:"", singer:"", coverImgUrl: "/images/cover.jpg", } }, 说法正确的是

  • 1