Skip to content

Commit 7c82638

Browse files
committed
chore: sync agent-ui component before release
1 parent dc02949 commit 7c82638

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

apps/miniprogram-agent-ui/miniprogram/components/agent-ui/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1914,7 +1914,7 @@ Component({
19141914
// 是则直接播放
19151915
audioContext.playStatus = 2;
19161916
audioContext.showSpeedList = false;
1917-
audioContext.currentSpeed = 1.25;
1917+
// audioContext.currentSpeed = 1.25;
19181918
this.setData({
19191919
audioContext: audioContext,
19201920
});

apps/miniprogram-agent-ui/miniprogram/components/agent-ui/index.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
<image style="width: 30rpx;height: 30rpx" src="./imgs/playing.svg" mode="widthFix"/>
165165
<!-- 倍速切换按钮 -->
166166
<view class="speed-switch" bindtap="toggleSpeedList" data-recordId="{{item.record_id}}">
167-
倍速
167+
168168
<text class="speed-label">{{audioContext.currentSpeed || '1'}}</text>X
169169
</view>
170170
<!-- 倍速弹窗 -->

components/agent-ui/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1914,7 +1914,7 @@ Component({
19141914
// 是则直接播放
19151915
audioContext.playStatus = 2;
19161916
audioContext.showSpeedList = false;
1917-
audioContext.currentSpeed = 1.25;
1917+
// audioContext.currentSpeed = 1.25;
19181918
this.setData({
19191919
audioContext: audioContext,
19201920
});

components/agent-ui/index.wxml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
<image style="width: 30rpx;height: 30rpx" src="./imgs/playing.svg" mode="widthFix"/>
165165
<!-- 倍速切换按钮 -->
166166
<view class="speed-switch" bindtap="toggleSpeedList" data-recordId="{{item.record_id}}">
167-
倍速
167+
168168
<text class="speed-label">{{audioContext.currentSpeed || '1'}}</text>X
169169
</view>
170170
<!-- 倍速弹窗 -->

0 commit comments

Comments
 (0)