|
|
|
@ -27,9 +27,10 @@
|
|
|
|
|
color="#76C458"
|
|
|
|
|
@click="startRecord"
|
|
|
|
|
@touchend="stopRecord"
|
|
|
|
|
:disabled="isAnimate"
|
|
|
|
|
></u-button>
|
|
|
|
|
<view style="margin-top: 20rpx;">
|
|
|
|
|
<u-button text="确认" shape="circle" color="#76C458" @click="back"></u-button>
|
|
|
|
|
<u-button text="确认" shape="circle" color="#76C458" @click="back" :disabled="isEnd"></u-button>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
@ -42,7 +43,8 @@ export default {
|
|
|
|
|
return {
|
|
|
|
|
isAnimate: false,
|
|
|
|
|
tempVideoPath: "",
|
|
|
|
|
tips: "⚪录制"
|
|
|
|
|
tips: "⚪录制",
|
|
|
|
|
isEnd: true
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
onLoad() {
|
|
|
|
@ -63,6 +65,7 @@ export default {
|
|
|
|
|
this.$common.msgToast("录制完成");
|
|
|
|
|
this.tempVideoPath = res.tempVideoPath;
|
|
|
|
|
this.tips = "⚪录制完成";
|
|
|
|
|
this.isEnd = false;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}, 5000);
|
|
|
|
@ -139,6 +142,7 @@ export default {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.dot {
|
|
|
|
|
width: 30rpx;
|
|
|
|
|
height: 30rpx;
|
|
|
|
|