|
@@ -238,9 +238,9 @@ store.state.audioData.INS=globalAudioIns
|
|
|
:src="$store.state.audioData.list[$store.state.audioData.index].voiceUrl"
|
|
|
ref="globalAudioIns"
|
|
|
></audio>
|
|
|
- <div style="text-align:center;margin:4px 0 10px 0">
|
|
|
- <img src="@/assets/audio-before-grey.png" alt="" style="width:30px;margin-right:20px;cursor: pointer;" @click="handleAudioChange('before')">
|
|
|
- <img src="@/assets/audio-before-grey.png" alt="" style="width:30px;transform: rotate(180deg);cursor: pointer;" @click="handleAudioChange('next')">
|
|
|
+ <div class="btns" style="text-align:center;margin:4px 0 10px 0">
|
|
|
+ <span :class="['btn',$store.state.audioData.index==0&&'no-audio']" style="margin-right:20px;" @click="handleAudioChange('before')"></span>
|
|
|
+ <span :class="['btn',$store.state.audioData.index==$store.state.audioData.list.length-1&&'no-audio']" style="transform: rotate(180deg);" @click="handleAudioChange('next')"></span>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
@@ -256,7 +256,7 @@ store.state.audioData.INS=globalAudioIns
|
|
|
}
|
|
|
.el-main {
|
|
|
min-width: 580px;
|
|
|
- // max-width: 1800px;
|
|
|
+ max-width: 1200px;
|
|
|
background-color: #fff;
|
|
|
padding-left: 60px;
|
|
|
padding-top: 0;
|
|
@@ -341,6 +341,7 @@ store.state.audioData.INS=globalAudioIns
|
|
|
float: right;
|
|
|
position: relative;
|
|
|
right: 10px;
|
|
|
+ top: 4px;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
audio{
|
|
@@ -351,6 +352,27 @@ store.state.audioData.INS=globalAudioIns
|
|
|
margin-right: auto;
|
|
|
margin-top: 9px;
|
|
|
}
|
|
|
+ .btns{
|
|
|
+ .btn{
|
|
|
+ display: inline-block;
|
|
|
+ width: 30px;
|
|
|
+ height: 30px;
|
|
|
+ background-size: cover;
|
|
|
+ background-image: url('@/assets/audio-before-default.png');
|
|
|
+ cursor: pointer;
|
|
|
+ &:hover{
|
|
|
+ background-image: url('@/assets/audio-before-hover.png');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .no-audio{
|
|
|
+ background-image: url('@/assets/audio-before-grey.png');
|
|
|
+ &:hover{
|
|
|
+ background-image: url('@/assets/audio-before-grey.png');
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
</style>
|