原创 語音聲波圖CSS

html端: <div class="liner-box"> <span class="lines"> <hr class="hr hr1"> <hr class="hr hr2"> <hr

原创 保持div的寬高比

<div style="width: 100%;background-color: #255625;position: relative;padding-bottom: 44%"> 通過將padding-bottom這個屬性設定爲百分比(

原创 科大訊飛語音聽寫-前端JS

前端JS: (function (window) { //兼容 window.URL = window.URL || window.webkitURL; navigator.getUserMedia = navig

原创 微信小程序:slider插件與音頻的聯動

.wxml:<!-- 播放區域 --> <view class='play-area'> <!-- <view class='play-line'> --> <view class='play-line-time1'>{{now_time