@flexem/chat-box 1.0.5 → 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -471,6 +471,7 @@
|
|
|
471
471
|
max-width: 40rpx !important;
|
|
472
472
|
max-height: 40rpx !important;
|
|
473
473
|
padding: 8rpx !important;
|
|
474
|
+
box-sizing: content-box !important;
|
|
474
475
|
}
|
|
475
476
|
|
|
476
477
|
.user-bubble .action-icon-img {
|
|
@@ -639,12 +640,14 @@
|
|
|
639
640
|
}
|
|
640
641
|
|
|
641
642
|
.bubble-menu-icon-text {
|
|
642
|
-
font-size:
|
|
643
|
-
font-weight:
|
|
643
|
+
font-size: 38rpx;
|
|
644
|
+
font-weight: normal;
|
|
644
645
|
color: #fff;
|
|
645
646
|
margin-bottom: 8rpx;
|
|
647
|
+
width: 60rpx;
|
|
646
648
|
height: 48rpx;
|
|
647
649
|
line-height: 48rpx;
|
|
650
|
+
text-align: center;
|
|
648
651
|
}
|
|
649
652
|
|
|
650
653
|
.bubble-menu-text {
|
|
@@ -179,13 +179,15 @@ function isPlaying() {
|
|
|
179
179
|
* 销毁播放器
|
|
180
180
|
*/
|
|
181
181
|
function destroy() {
|
|
182
|
+
// 先停止所有播放
|
|
183
|
+
stop();
|
|
184
|
+
|
|
182
185
|
if (innerAudioContext) {
|
|
183
186
|
innerAudioContext.destroy();
|
|
184
187
|
innerAudioContext = null;
|
|
185
188
|
}
|
|
186
189
|
currentPlayingId = null;
|
|
187
190
|
onPlayStateChange = null;
|
|
188
|
-
stopStreamingPlay();
|
|
189
191
|
}
|
|
190
192
|
|
|
191
193
|
/**
|