Commit c59c622e by 前端

日志

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