huangmp 2 лет назад
Родитель
Сommit
e24bd6b805
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      src/components/order-card-item/index.vue

+ 6 - 1
src/components/order-card-item/index.vue

@@ -143,6 +143,9 @@
           }else if(prodName.indexOf("书签") !== -1){
           }else if(prodName.indexOf("书签") !== -1){
             width = 638;
             width = 638;
             height = 1819;
             height = 1819;
+          }else if(prodName.indexOf("小方卡") !== -1){
+            width = 673;
+            height = 673;
           }else if(prodName.indexOf("方卡") !== -1){
           }else if(prodName.indexOf("方卡") !== -1){
             width = 1217;
             width = 1217;
             height = 1217;
             height = 1217;
@@ -272,7 +275,9 @@
           this.prodType = '票根';
           this.prodType = '票根';
         }else if(prodName.indexOf('明信片') != -1){
         }else if(prodName.indexOf('明信片') != -1){
           this.prodType = '明信片';
           this.prodType = '明信片';
-        }else if(prodName.indexOf('方卡') != -1){
+        }else if(prodName.indexOf('小方卡') != -1){
+          this.prodType = '小方卡';
+        } else if(prodName.indexOf('方卡') != -1){
           this.prodType = '方卡';
           this.prodType = '方卡';
         }else if(prodName.indexOf('书签') != -1){
         }else if(prodName.indexOf('书签') != -1){
           this.prodType = '书签';
           this.prodType = '书签';