diff --git a/src/components/AiCopyFromTemu.vue b/src/components/AiCopyFromTemu.vue
index 15adbb5..e0b1409 100644
--- a/src/components/AiCopyFromTemu.vue
+++ b/src/components/AiCopyFromTemu.vue
@@ -199,7 +199,7 @@ export default {
flag = true
}
})
- if (!flag) {
+ if (!flag && (item1.specKeyId != 1001 && item1.specKeyId != 43404162)) {
specIds.push({spec_key_id: item1.spec_key_id, spec_value: item1.spec_value})
}
})
@@ -265,7 +265,7 @@ export default {
flag = true
}
})
- if (!flag) {
+ if (!flag && (item1.specKeyId != 1001 && item1.specKeyId != 43404162)) {
specIds.push({specKeyId: item1.specKeyId, specValue: item1.specValue})
}
})
diff --git a/src/manifest.production.json b/src/manifest.production.json
index bdb46d8..377a243 100644
--- a/src/manifest.production.json
+++ b/src/manifest.production.json
@@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "TEMU助手",
"description": "TEMU助手 - 自动化提高生产效率",
- "version": "3.1.7",
+ "version": "3.1.8",
"background": {
"service_worker": "/background.js"
},
diff --git a/src/view/selection/storetrack/components/List.vue b/src/view/selection/storetrack/components/List.vue
index 4f60130..b9b0baa 100644
--- a/src/view/selection/storetrack/components/List.vue
+++ b/src/view/selection/storetrack/components/List.vue
@@ -442,12 +442,7 @@ import {sendTemuAPIMessage, sendSheinAPIMessage} from '@/api/chromeApi'
res.goods.map(item => {
let total = 0
if (item.pretreatInfo?.sellingPointUniversalLabels) {
- for (let i = 0; i < item.pretreatInfo.sellingPointUniversalLabels.length; i++) {
- if (item.pretreatInfo.sellingPointUniversalLabels[i].starComment) {
- total = item.pretreatInfo.sellingPointUniversalLabels[i].starComment?.comment_num || 0
- break
- }
- }
+ total = item.pretreatInfo.sellingPointUniversalLabels[0].starComment?.comment_num || 0
}
reqData.details.push({
diff --git a/src/view/shipping/NormalSendGoods.vue b/src/view/shipping/NormalSendGoods.vue
index 358206e..606643d 100644
--- a/src/view/shipping/NormalSendGoods.vue
+++ b/src/view/shipping/NormalSendGoods.vue
@@ -29,6 +29,11 @@
+
+
+
@@ -117,7 +122,11 @@
-
+
+
+
+
+
@@ -200,6 +209,39 @@
+
+
+
+
+
+
+
+
+
+
+ 移除
+
+
+
+
+
+
+
{
if (res.errorCode == 1000000) {
let length = res.result.subOrderForSupplierList.length
@@ -552,6 +605,14 @@
}
}
},
+ removeError(sn) {
+ for (let i = 0; i < this.errorList.length; i++) {
+ if (this.errorList[i].sn == sn) {
+ this.errorList.splice(i, 1)
+ break
+ }
+ }
+ },
getStyle(url) {
return "background-image: url(" + url + "); width: 72px; height: 72px; cursor: pointer; border-radius: 6px; border: 1px solid rgba(0, 0, 0, 0.14);";
},
@@ -606,6 +667,13 @@
this.addSuccessInfo(this.choosedList[j]);
this.sendNotification(this.choosedList[j]);
this.choosedList.splice(j, 1);
+
+ for (let k = 0; k < this.errorList.length; k++) {
+ if (this.errorList[k].sn == sn) {
+ this.errorList.splice(k, 1);
+ break
+ }
+ }
break;
}
}
@@ -632,6 +700,27 @@
this.isShowWarning = true
this.warningText = '账号异常,请更换“卖家中心”账号'
}
+ if (res.errorCode == 1000000 && !res.result.isSuccess) {
+ if (res.result.errorInfoList[0]) {
+ if (res.result.errorInfoList[0].errorCode == -10007) {
+ let temp = this.errorList.filter(item => {
+ return item.sn == sn
+ })
+ if (temp.length == 0) {
+ let mallInfo = this.mallList.filter(item1 => {
+ return item1.mallId == this.mallId
+ })
+ let mallName = mallInfo[0].mallName
+ this.errorList.push({
+ sn: res.result.errorInfoList[0].id,
+ errorMsg: res.result.errorInfoList[0].errorMsg,
+ mallName: mallName,
+ url: res.result.errorInfoList[0].extraInfoMap?.url
+ })
+ }
+ }
+ }
+ }
if (this.isBegin) {
// 继续抢
setTimeout(() => {
@@ -809,6 +898,43 @@
}
}
+
+.errorTips {
+ position: relative;
+ width: 40px;
+ height: 40px;
+ border-radius: 50%;
+ background: rgb(255, 0, 0);
+
+ @keyframes warn {
+ 0% {
+ transform: translate(-50%, -50%) scale(0);
+ opacity: 1;
+ }
+
+ 100% {
+ transform: translate(-50%, -50%) scale(1.1);
+ opacity: 0;
+ }
+ }
+
+ div {
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ z-index: 11;
+ width: 100px;
+ height: 100px;
+ border-radius: 50%;
+ animation: warn 0.9s ease-out;
+ animation-iteration-count: infinite;
+ box-shadow: 1px 1px 30px #EF2D02;
+ transform: translate(-50%, -50%) scale(0.2);
+ transition: all ease-in-out 0.6s;
+ background: rgba(255, 0, 0, .6);
+ }
+}
+
.order-manage_productInfo__1pD83>img {
width: 60px;