|
@@ -16,7 +16,6 @@
|
|
|
<text class="text">{{longPress == '1' ? '按住说出姓名' : '松开自动识别'}}</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <!-- 语音音阶动画 -->
|
|
|
<view class="prompt-layer prompt-layer-1" v-if="longPress == '2'">
|
|
|
<view class="prompt-loader">
|
|
|
<view class="em" v-for="(item,index) in 15" :key="index"></view>
|
|
@@ -41,7 +40,7 @@
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- duration: 60000, //录音最大值ms 60000/1分钟
|
|
|
+ duration: 2000, //录音最大值ms 60000/1分钟
|
|
|
tempFilePath: '', //音频路径
|
|
|
playStatus: 0, //录音播放状态 0:未播放 1:正在播放
|
|
|
longPress: '1',
|
|
@@ -371,7 +370,7 @@
|
|
|
|
|
|
/deep/.u-popup__content {
|
|
|
padding-bottom: 100rpx;
|
|
|
- background: linear-gradient(180deg, rgba(204, 204, 204, 0.95) 0%, rgba(203, 203, 203, 0.01) 100%) !important;
|
|
|
+ // background: linear-gradient(180deg, rgba(204, 204, 204, 0.95) 0%, rgba(203, 203, 203, 0.01) 100%) !important;
|
|
|
border-radius: 50% 50% 0 0;
|
|
|
}
|
|
|
|