孙志雷 5 years ago
parent
commit
b462d308e6
3 changed files with 3 additions and 2 deletions
  1. 2 1
      css/question.css
  2. BIN
      image/question/audiobtn.gif
  3. 1 1
      view/question.html

+ 2 - 1
css/question.css

@@ -83,13 +83,14 @@ body {
 .audio {
     position: absolute;
     top: .5rem;
-    left: .5rem;
+    left: .3rem;
     display: flex;
     align-items: center;
 }
 .audio .audiobtn {
     width: .7rem;
     height: .7rem;
+    margin-top: -10px;
 }
 .audio div {
     width: 85%;

BIN
image/question/audiobtn.gif


+ 1 - 1
view/question.html

@@ -167,7 +167,7 @@ window.onload=function(){
                             // '<audio src="'+ datas.audio +'" autoplay="autoplay" loop="loop">' +
                             //     '您的浏览器不支持 audio 标签。' +
                             // '</audio>' +
-                            '<img class="audiobtn" src="../image/question/audiobtn.png" alt="audiobtn">' +
+                            '<img class="audiobtn" src="../image/question/audiobtn.gif" alt="audiobtn">' +
                             '<div>'+ datas.content +'</div>' +
                         '</div>' +
                         '<div class="question-photo">'+