Commit c59c622e by 前端

日志

1 parent cfdfffaf
......@@ -156,6 +156,11 @@ export default {
const result = await this.checkUploadFile(res.tempFilePath);
if (result instanceof Error) {
console.error("上传失败:", result);
const { customerName, phoneNumber, salesUuid, carModel, staffName } =
this.$store.state.user.customerInfo;
this.$sendSentry(
`上传文件失败:手机号-${phoneNumber} 姓名-${customerName} 销售-${staffName} 车型-${carModel} 销售-${salesUuid}`
);
return;
}
const storageFile = [...this.audioList, result];
......@@ -175,8 +180,6 @@ export default {
// 上传成功
return result;
} catch (error) {
// 上传失败
console.error("上传失败,尝试重试:", error);
attempt++;
// 等待一段时间后重试
await new Promise((resolve) => setTimeout(resolve, 3000)); // 3秒后重试
......
......@@ -119,7 +119,7 @@ export default {
top: 0;
width: 100vw;
height: 100vh;
background-image: linear-gradient(180deg, #f2f6ff 0%, #f7f9ff 100%);
background-image: linear-gradient(180deg, #f1f5ff 0%, #f3f6ff 100%);
overflow: hidden;
.bg {
width: 100%;
......@@ -172,14 +172,16 @@ export default {
width: 404rpx;
height: 544rpx;
background: #ffffff;
box-shadow: 0 8rpx 24rpx 0 #4673ff1a;
border-radius: 48rpx;
box-shadow: 0 8rpx 24rpx 0 #4673ff1a;
.item-autio {
height: 404rpx;
position: relative;
.cover-box {
width: 100%;
height: 100%;
border-radius: 48rpx 48rpx 0 48rpx;
}
.play-box {
width: 48rpx;
......@@ -194,6 +196,7 @@ export default {
padding: 28rpx 32rpx;
font-size: 32rpx;
color: #333333;
border-radius: 48rpx;
}
}
}
......
......@@ -56,7 +56,7 @@ export default {
width: 100vw;
height: 100vh;
background: #000;
padding: 100rpx 0rpx;
padding: 60rpx 0rpx;
z-index: 100;
.nav-bar {
width: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!