亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

js 時間字符串的接受和轉化的問題?

js 時間字符串的接受和轉化的問題?

BIG陽 2018-09-04 17:17:49
[00:01.71]Listen to part of a conversation between a student and his professor. [00:16.14]Student : Hmmm, yes. I go over the Johnson Elementary School [00:31.96]I mean it's like the best thing ever to prepare you to be a good teacher. [00:55.72]the way we've been talking about in class.  [01:12.39]but they didn't know that the names had any meaning - [02:45.59]Student : Ok, that sounds all right.這個一個歌詞文件的一段,中括號包起來的是歌詞開始的時間,我該以什么格式把歌詞的開始時間傳到前端手里比如:{[00:01.71],[00:16.14],[00:31.96]}這樣的格式合適嗎?前端如何把這些數據轉化成["01.71","16.14","31.96","72.39","165.59"]
查看完整描述

1 回答

?
嗶嗶one

TA貢獻1854條經驗 獲得超8個贊

這個格式這么簡單,怎么傳都行,只要跟前端商量好。就算直接傳字符串前端也就是一個簡單的正則表達式就能解決的問題。


查看完整回答
反對 回復 2018-10-28
  • 1 回答
  • 0 關注
  • 521 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號