mabaoyi 6 mesiacov pred
rodič
commit
f292315721
100 zmenil súbory, kde vykonal 507 pridanie a 120 odobranie
  1. 211 0
      commont/messages.js
  2. 2 4
      main.js
  3. 26 10
      pageD/afterSalesDetail/afterSalesDetail.vue
  4. 12 5
      pageD/afterSalesDetail/component/applicationInformation.vue
  5. 41 14
      pageD/afterSalesDetail/component/commodityDetail.vue
  6. 11 4
      pageD/afterSalesDetail/component/refusePopup.vue
  7. 19 11
      pageD/afterSalesManage/afterSalesManage.vue
  8. 12 3
      pageD/afterSalesManage/component/agreePop.vue
  9. 58 15
      pageD/afterSalesManage/component/detailCard.vue
  10. 35 6
      pageD/orderDetail/component/commodityDetail.vue
  11. 23 12
      pageD/orderDetail/orderDetail.vue
  12. 38 9
      pageD/orderFormManage/component/detailCard.vue
  13. 19 10
      pageD/orderFormManage/orderFormManage.vue
  14. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map
  15. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map
  16. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  17. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/kj-chat/kj-chat.js.map
  18. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/kj-flow/kj-flow.js.map
  19. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/components/kj-tabbar/kj-tabbar.js.map
  20. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/balance.js.map
  21. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/changelange.js.map
  22. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/chat/chat.js.map
  23. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/chat/news.js.map
  24. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/comment.js.map
  25. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/components/zh-slidingMenu/zhSlidingMenu/zhSlidingMenu.js.map
  26. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/confirm.js.map
  27. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/counter.js.map
  28. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/index.js.map
  29. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/logisticsinfo.js.map
  30. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/order.js.map
  31. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/payorder.js.map
  32. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/productdetails.js.map
  33. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/rule/rule.js.map
  34. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/service/service.js.map
  35. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/shoplist.js.map
  36. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/shoptype.js.map
  37. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageA/subsidy.js.map
  38. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageB/ParcelExpress.js.map
  39. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageB/Senderinfor.js.map
  40. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageB/account.js.map
  41. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageB/citychange.js.map
  42. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageB/delivery.js.map
  43. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageB/end.js.map
  44. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageB/expresstype.js.map
  45. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageB/goods.js.map
  46. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageB/index.js.map
  47. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageB/list/list.js.map
  48. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageB/myPackage.js.map
  49. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageB/orderinfo.js.map
  50. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageB/parcel.js.map
  51. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageB/recipientinfo.js.map
  52. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageB/search.js.map
  53. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pageB/xieyi.js.map
  54. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/accountBalance/accountBalance.js.map
  55. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/accountCancellation/accountCancellation.js.map
  56. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/accountSecurity/accountSecurity.js.map
  57. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/accountSecurity/component/textRight.js.map
  58. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/accountSetup/accountSetup.js.map
  59. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/addEditAddress/addEditAddress.js.map
  60. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/addEditAddress/component/selectCity.js.map
  61. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/addressManagement/addressManagement.js.map
  62. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/addressManagement/component/address.js.map
  63. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/applicationRefund/applicationRefund.js.map
  64. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/applicationRefund/component/reasonPopup.js.map
  65. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/balanceDetail/balanceDetail.js.map
  66. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/editName/editName.js.map
  67. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/ensureExplain/ensureExplain.js.map
  68. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/ensureMoney/ensureMoney.js.map
  69. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/index.js.map
  70. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/internationalAddress/internationalAddress.js.map
  71. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/mineComponent/agreePopup.js.map
  72. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/mineComponent/allRight/allRight.js.map
  73. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/mineComponent/moneyDetail/index.js.map
  74. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/mineFollow/mineFollow.js.map
  75. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/myPackage/component/packageCard.js.map
  76. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/myPackage/myPackage.js.map
  77. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/orderForm/component/orderInofrmation.js.map
  78. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/orderForm/component/refundCard.js.map
  79. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/orderForm/orderForm.js.map
  80. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/orderFormDetail/component/commodityDetail.js.map
  81. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/orderFormDetail/orderFormDetail.js.map
  82. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/personalInformation/personalInformation.js.map
  83. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/privacyPolicy/privacyPolicy.js.map
  84. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/recharge/recharge.js.map
  85. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/refundDetail/component/moneyDestination.js.map
  86. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/refundDetail/component/refundInProgress.js.map
  87. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/refundDetail/component/refundInformation.js.map
  88. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/refundDetail/component/refundSuccessful.js.map
  89. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/refundDetail/component/refusalToRefund.js.map
  90. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/refundDetail/refundDetail.js.map
  91. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/switchLanguage/switchLanguage.js.map
  92. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/withdrawal/withdrawal.js.map
  93. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageC/withdrawalDetail/withdrawalDetail.js.map
  94. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageD/afterSalesDetail/afterSalesDetail.js.map
  95. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageD/afterSalesDetail/component/applicationInformation.js.map
  96. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageD/afterSalesDetail/component/commodityDetail.js.map
  97. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageD/afterSalesDetail/component/refusePopup.js.map
  98. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageD/afterSalesManage/afterSalesManage.js.map
  99. 0 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pageD/afterSalesManage/component/agreePop.js.map
  100. 0 0
      unpackage/dist/dev/.sourcemap/mp-weixin/pageD/afterSalesManage/component/detailCard.js.map

+ 211 - 0
commont/messages.js

@@ -474,6 +474,58 @@ export default {
       preferential: "优惠",
       myGoods: "我的商品",
       operatedProducts: "平台自营商品",
+      //订单管理
+      audit: "待审核",
+      depositPaid: "待缴纳保证金",
+      waitTeam: "待团长发货",
+      headquarters: "待总部发货",
+      shipped: "已发货",
+      actualPayment: "买家实付",
+      merchantRemarks: "商家备注",
+      PayDeposit: "缴纳保证金",
+      sendOutGoods: "发货",
+      searchOrderNumber: "搜索订单号/手机号/商品/姓名",
+      //订单管理订单详情
+      logisticsNumber: "物流单号",
+      creationTime: "创建时间",
+      modeTransport: "运输方式",
+      immediateDelivery: "立即发货",
+      replicatingSuccess: "复制成功",
+      orderNotes: "订单备注",
+      //售后管理
+      pendingRefund: "待退款",
+      refunded: "已退款",
+      appliedIntervene: "已申请平台介入",
+      salesRecords: "是否确认删除售后记录",
+      confirmRefund: "是否确认退款",
+      agreeRefund: "已同意退款",
+      juJueRefund: "已拒绝退款",
+      goodsDelete: "商品已删除",
+      AfterSalesOrder: "售后订单",
+      pleaseAmount: "请输入退款金额",
+      refuseApplication: "拒绝申请",
+      AccettareRestituzione: "同意退款",
+      //售后管理详情
+      pleaseRefund: "请处理退款申请",
+      ifAgree: "如果您同意,请点击“同意退款”",
+      refundRequest: "您拒绝了退款申请",
+      haveAgreed: "您同意了退款申请",
+      pleaseConfirm: "请确认是否退款",
+      applicationInformation: "申请信息",
+      theGoods: "是否收货",
+      receivedGoods: "已收货",
+      notReceivedGoods: "未收货",
+      AfterSalesInstructions: "售后说明",
+      pictureVoucher: "图片凭证",
+      reasonForRefusal: "拒绝理由",
+      pleaseEnterReason: "请输入拒绝原因",
+      submitTo: "提交",
+      refundStatus: "退款状态",
+      ReasonRefund: "退款原因",
+      refundAmount: "退款金额",
+      applyForTime: "申请时间",
+      refundNumber: "退款编号",
+      PendingProcessing: "待商家处理",
     },
   },
   //英语
@@ -955,6 +1007,58 @@ export default {
       preferential: "preferential",
       myGoods: "My Products",
       operatedProducts: "Platform self operated products",
+      //订单管理
+      audit: "Audit",
+      depositPaid: "Deposit to be paid",
+      waitTeam: "Waiting for the team leader to ship the goods",
+      headquarters: "Awaiting shipment from headquarters",
+      shipped: "Shipped",
+      actualPayment: "Buyer's actual payment",
+      merchantRemarks: "Merchant remarks",
+      PayDeposit: "Pay the deposit",
+      sendOutGoods: "send out goods",
+      searchOrderNumber: "Search for order number/phone number/product/name",
+      //订单管理订单详情
+      logisticsNumber: "Logistics tracking number",
+      creationTime: "Creation time",
+      modeTransport: "mode of transport",
+      immediateDelivery: "immediate delivery",
+      replicatingSuccess: "Replicating Success",
+      orderNotes: "Order Notes",
+      //售后管理
+      pendingRefund: "Pending refund",
+      refunded: "Refunded",
+      appliedIntervene: "Platform intervention has been applied for",
+      salesRecords: "Are you sure to delete the after-sales record",
+      confirmRefund: "Are you sure about the refund",
+      agreeRefund: "Refund has been agreed upon",
+      juJueRefund: "Refund has been refused",
+      goodsDelete: "The product has been deleted",
+      AfterSalesOrder: "After sales order",
+      pleaseAmount: "Please enter the refund amount",
+      refuseApplication: "refuse an application",
+      AccettareRestituzione: "Agree to refund",
+      //售后管理详情
+      pleaseRefund: "Please process the refund request",
+      ifAgree: "If you agree, please click on 'Agree to Refund'",
+      refundRequest: "You have rejected the refund request",
+      haveAgreed: "You have agreed to the refund request",
+      pleaseConfirm: "Please confirm if a refund is required",
+      applicationInformation: "application information",
+      theGoods: "Have you received the goods",
+      receivedGoods: "Received goods",
+      notReceivedGoods: "Not received goods",
+      AfterSalesInstructions: "After sales instructions",
+      pictureVoucher: "Picture voucher",
+      reasonForRefusal: "Reason for refusal",
+      pleaseEnterReason: "Please enter the reason for rejection",
+      submitTo: "submit to",
+      refundStatus: "Refund status",
+      ReasonRefund: "Reason for refund",
+      refundAmount: "refund amount",
+      applyForTime: "time",
+      refundNumber: "Refund number",
+      PendingProcessing: "Pending merchant processing",
     },
   },
   // 西班牙
@@ -1444,6 +1548,60 @@ export default {
       preferential: "Concesiones",
       myGoods: "Mi mercancía",
       operatedProducts: "Productos autónomos de la plataforma",
+      //订单管理
+      audit: "Pendiente de revisión",
+      depositPaid: "Fianza pendiente de pago",
+      waitTeam: "A la espera de que el Jefe del Grupo envíe",
+      headquarters: "A la espera de que la Sede envíe",
+      shipped: "Enviado",
+      actualPayment: "Pago real del comprador",
+      merchantRemarks: "Nota del comerciante",
+      PayDeposit: "Pago de la fianza",
+      sendOutGoods: "Envío",
+      searchOrderNumber:
+        "Buscando número de pedido / número de teléfono móvil / producto / nombre",
+      //订单管理订单详情
+      logisticsNumber: "Número de lista logística",
+      creationTime: "Tiempo de creación",
+      modeTransport: "Modo de transporte",
+      immediateDelivery: "Envío inmediato",
+      replicatingSuccess: "Copia exitosa",
+      orderNotes: "Nota del pedido",
+      //售后管理
+      pendingRefund: "Pendiente de reembolso",
+      refunded: "Reembolsado",
+      appliedIntervene: "Se ha solicitado la intervención de la plataforma",
+      salesRecords: "Si confirmar la eliminación de los registros post - venta",
+      confirmRefund: "Si se confirma el reembolso",
+      agreeRefund: "Se ha acordado el reembolso",
+      juJueRefund: "Se ha denegado el reembolso",
+      goodsDelete: "La mercancía ha sido eliminada",
+      AfterSalesOrder: "Pedidos post - venta",
+      pleaseAmount: "Por favor, introduzca el monto del reembolso.",
+      refuseApplication: "Rechazar la solicitud",
+      AccettareRestituzione: "Acordar un reembolso",
+      //售后管理详情
+      pleaseRefund: "Por favor, procese la solicitud de reembolso.",
+      ifAgree: "Si está de acuerdo, haga clic en 'aceptar reembolso'",
+      refundRequest: "Usted rechazó la solicitud de reembolso",
+      haveAgreed: "Usted acepta la solicitud de reembolso",
+      pleaseConfirm: "Por favor, confirme si se reembolsa.",
+      applicationInformation: "Información de la solicitud",
+      theGoods: "Si recibir o no",
+      receivedGoods: "Recibido",
+      notReceivedGoods: "No recibido",
+      AfterSalesInstructions: "Instrucciones post - venta",
+      pictureVoucher: "Comprobante de imagen",
+      reasonForRefusal: "Motivos de rechazo",
+      pleaseEnterReason: "Por favor, introduzca la razón del rechazo.",
+      submitTo: "Presentación",
+      refundStatus: "Estado del reembolso",
+      ReasonRefund: "Razones del reembolso",
+      refundAmount: "Importe del reembolso",
+      applyForTime: "Tiempo de solicitud",
+      refundNumber: "Número de reembolso",
+      PendingProcessing:
+        "Pendiente de tramitación por parte de los comerciantes",
     },
   },
   //意大利
@@ -1929,6 +2087,59 @@ export default {
       preferential: "Sconto",
       myGoods: "Il mio prodotto",
       operatedProducts: "Prodotti autonomi della piattaforma",
+      //订单管理
+      audit: "Revisione in sospeso",
+      depositPaid: "Deposito da versare",
+      waitTeam: "Aspettando che il leader del team spedisca la merce",
+      headquarters: "In attesa della spedizione dal quartier generale",
+      shipped: "Già spedito",
+      actualPayment: "Pagamento effettivo dell'acquirente",
+      merchantRemarks: "Osservazioni commerciali",
+      PayDeposit: "Paga la caparra",
+      sendOutGoods: "consegnare merci",
+      searchOrderNumber:
+        "Ricerca del numero d'ordine/numero di telefono/prodotto/nome",
+      //订单管理订单详情
+      logisticsNumber: "Numero di tracciamento logistico",
+      creationTime: "Tempo di creazione",
+      modeTransport: "tipo di spedizione",
+      immediateDelivery: "Nave immediatamente",
+      replicatingSuccess: "Copia riuscita",
+      orderNotes: "Osservazioni d'ordine",
+      //售后管理
+      pendingRefund: "Restituzioni in sospeso",
+      refunded: "Rimborsato",
+      appliedIntervene: "È stato richiesto l'intervento della piattaforma",
+      salesRecords: "Sei sicuro di eliminare il record post-vendita",
+      confirmRefund: "Sei sicuro del rimborso",
+      agreeRefund: "Il rimborso è stato concordato",
+      juJueRefund: "La restituzione è stata rifiutata",
+      goodsDelete: "Il prodotto è stato cancellato",
+      AfterSalesOrder: "Ordine post vendita",
+      pleaseAmount: "Inserisci l'importo del rimborso",
+      refuseApplication: "Rifiuta la domanda",
+      AccettareRestituzione: "Accettare la restituzione",
+      //售后管理详情
+      pleaseRefund: "Si prega di elaborare la richiesta di rimborso",
+      ifAgree: "Se sei d'accordo, clicca su 'Accetto il rimborso'",
+      refundRequest: "Hai rifiutato la richiesta di rimborso",
+      haveAgreed: "Hai accettato la richiesta di rimborso",
+      pleaseConfirm: "Si prega di confermare se è richiesto un rimborso",
+      applicationInformation: "Informazioni sull'applicazione",
+      theGoods: "Avete ricevuto la merce",
+      receivedGoods: "Merci ricevute",
+      notReceivedGoods: "Merci non ricevute",
+      AfterSalesInstructions: "Istruzioni post vendita",
+      pictureVoucher: "Voucher fotografico",
+      reasonForRefusal: "Motivo del rifiuto",
+      pleaseEnterReason: "Inserisci il motivo del rifiuto",
+      submitTo: "Invia",
+      refundStatus: "Stato del rimborso",
+      ReasonRefund: "Motivo della restituzione",
+      refundAmount: "importo del rimborso",
+      applyForTime: "Tempo di applicazione",
+      refundNumber: "Numero della restituzione",
+      PendingProcessing: "Elaborazione dei commercianti in sospeso",
     },
   },
 };

+ 2 - 4
main.js

@@ -16,10 +16,8 @@ const i18n = new VueI18n({
   // locale: "en-US",
   messages,
 });
-if (!uni.getStorageSync("language")) {
-  uni.setStorageSync("language", "zh-CN");
-}
-Vue.prototype._language = uni.getStorageSync("language");
+
+Vue.prototype._language = uni.getStorageSync("language") || "zh-CN";
 Vue.prototype._i18n = i18n;
 Vue.use(uView);
 App.mpType = "app";

+ 26 - 10
pageD/afterSalesDetail/afterSalesDetail.vue

@@ -7,20 +7,22 @@
         orderInformation.goods[0].refund.status == '3'
       "
     >
-      <view class="top-title"> 请处理退款申请 </view>
-      <view class="top-detail"> 如果您同意,请点击“同意退款” </view>
+      <view class="top-title"> {{ i18n.pleaseRefund }} </view>
+      <view class="top-detail"> {{ i18n.ifAgree }} </view>
     </view>
     <view
       class="top"
       v-else-if="orderInformation.goods[0].refund.status == '2'"
     >
-      <view class="top-title"> 您拒绝了退款申请 </view>
+      <view class="top-title"> {{ i18n.refundRequest }} </view>
       <view class="top-detail">
-        商家:{{ orderInformation.goods[0].refund.reason || "" }}
+        {{
+          i18n.business + ":" + orderInformation.goods[0].refund.reason || ""
+        }}
       </view>
     </view>
     <view class="top" v-else>
-      <view class="top-title"> 您同意了退款申请 </view>
+      <view class="top-title"> {{ i18n.haveAgreed }} </view>
     </view>
     <!-- 地址信息 -->
     <view class="address">
@@ -38,6 +40,7 @@
     <CommodityDetail
       :orderInformation="orderInformation"
       v-if="orderInformation.goods"
+      :language="language"
     />
     <ApplicationInformation
       :orderInformation="orderInformation"
@@ -45,7 +48,11 @@
       :refuseImg="refuseImg"
     />
     <RefusePopup :show="show" @refund="close" @close="close" />
-    <AgreePopup :agreeShow="agreeShow" @close="close" title="请确认是否退款" />
+    <AgreePopup
+      :agreeShow="agreeShow"
+      @close="close"
+      :title="i18n.pleaseConfirm"
+    />
 
     <view
       class="footer"
@@ -55,8 +62,11 @@
         Number(orderInformation.goods[0].refund.is_send)
       "
     >
-      <button class="btn-1" @click="refuseApplication">拒绝申请</button
-      ><button @click="agreeShow = true" class="btn-2">同意退款</button>
+      <button class="btn-1" @click="refuseApplication">
+        {{ i18n.refuseApplication }}</button
+      ><button @click="agreeShow = true" class="btn-2">
+        {{ i18n.AccettareRestituzione }}
+      </button>
     </view>
   </view>
 </template>
@@ -80,12 +90,18 @@ export default {
       orderInformation: {},
       orderId: "",
       refuseImg: [], //申请退款图片
+      language: this._language, //用户当前选择的语言
     };
   },
   onLoad(options) {
     this.orderId = options.id;
     this.getOrderDetail(options.id);
   },
+  computed: {
+    i18n() {
+      return this.$t("index");
+    },
+  },
   methods: {
     refuseApplication() {
       this.show = true;
@@ -104,7 +120,8 @@ export default {
           })
           .then((res) => {
             uni.showToast({
-              title: status == 2 ? "已拒绝退款" : "已同意退款",
+              title:
+                status == 2 ? this.i18n.juJueRefund : this.i18n.agreeRefund,
               icon: "none",
             });
             this.getOrderDetail(this.orderId);
@@ -118,7 +135,6 @@ export default {
           this.orderInformation = res;
           this.refuseImg =
             this.orderInformation.goods[0].refund.images.split(",");
-          console.log(this.refuseImg);
         });
     },
   },

+ 12 - 5
pageD/afterSalesDetail/component/applicationInformation.vue

@@ -1,20 +1,22 @@
 <template>
   <view class="application-card">
-    <view class="title"> 申请信息 </view>
+    <view class="title"> {{ i18n.applicationInformation }} </view>
     <view class="_label-1">
-      <text>是否收货</text>
+      <text>{{ i18n.theGoods }}</text>
       <text class="result">{{
-        orderInformation.is_received == 0 ? "已收货" : "未收货"
+        orderInformation.is_received == 0
+          ? i18n.receivedGoods
+          : i18n.notReceivedGoods
       }}</text>
     </view>
     <view class="_label-1">
-      <text>售后说明</text>
+      <text>{{ i18n.AfterSalesInstructions }}</text>
       <text class="result">{{
         orderInformation.goods[0].refund.refund_reason
       }}</text>
     </view>
     <view class="photo">
-      <text>图片凭证</text>
+      <text>{{ i18n.pictureVoucher }}</text>
       <view class="photo-list">
         <image
           class="img-1"
@@ -44,6 +46,11 @@ export default {
       },
     },
   },
+  computed: {
+    i18n() {
+      return this.$t("index");
+    },
+  },
   data() {
     return {};
   },

+ 41 - 14
pageD/afterSalesDetail/component/commodityDetail.vue

@@ -38,11 +38,31 @@
         </view>
       </view>
     </view>
+    <view
+      style="color: #222; font-size: 24rpx; text-align: right"
+      v-if="language != 'zh-CN'"
+    >
+      {{
+        i18n.Atotalof +
+        "&nbsp;" +
+        orderInformation.goods.length +
+        "&nbsp;" +
+        i18n.piece +
+        i18n.mineCommodity +
+        "&nbsp;"
+      }}
+    </view>
     <view class="detail-1">
-      <text class="_text-1">{{
-        "共" + orderInformation.goods.length + "件商品" + "&nbsp;"
+      <text class="_text-1" v-if="language == 'zh-CN'">{{
+        i18n.Atotalof +
+        "&nbsp;" +
+        orderInformation.goods.length +
+        "&nbsp;" +
+        i18n.piece +
+        i18n.mineCommodity +
+        "&nbsp;"
       }}</text>
-      <text class="_text-2">买家实付</text>
+      <text class="_text-2">{{ i18n.actualPayment }}</text>
       <view class="_price">
         <text style="font-size: 20rpx">¥</text>
         <text>{{ payMoney.split(".")[0] }}</text
@@ -51,30 +71,30 @@
       </view>
     </view>
     <view class="information">
-      <text class="_label">退款状态</text>
+      <text class="_label">{{ i18n.refundStatus }}</text>
       <view style="color: #f83224"> {{ statusName }} </view>
     </view>
     <view class="information">
-      <text class="_label">退款原因</text>
+      <text class="_label">{{ i18n.ReasonRefund }}</text>
       <view class="_title-right">
         {{ orderInformation.goods[0].refund.refund_illustrate }}
       </view>
     </view>
     <view class="information">
-      <text class="_label">退款金额</text>
+      <text class="_label">{{ i18n.refundAmount }}</text>
       <view lass="_title-right" style="font-weight: 600">
         ¥{{ orderInformation.goods[0].refund.refund_price }}
       </view>
     </view>
     <view class="information">
-      <text class="_label">申请时间</text>
+      <text class="_label">{{ i18n.applyForTime }}</text>
       <view style="color: #222"> {{ orderInformation.created_at }} </view>
     </view>
     <view class="information">
-      <text class="_label">退款编号</text>
+      <text class="_label">{{ i18n.refundNumber }}</text>
       <view style="color: #222">
         <text>{{ orderInformation.order_no + "|" }}</text>
-        <text @click="cope(orderInformation.order_no)">复制</text>
+        <text @click="cope(orderInformation.order_no)">{{ i18n.cope }}</text>
       </view>
     </view>
   </view>
@@ -93,6 +113,10 @@ export default {
         return {};
       },
     },
+    language: {
+      typeof: String,
+      default: "",
+    },
   },
   data() {
     return {};
@@ -100,13 +124,13 @@ export default {
   computed: {
     statusName() {
       if (this.orderInformation.goods[0].refund.status == "0") {
-        return "待商家处理";
+        return this.i18n.PendingProcessing;
       } else if (this.orderInformation.goods[0].refund.status == "1") {
-        return "已退款";
+        return this.i18n.refunded;
       } else if (this.orderInformation.goods[0].refund.status == "2") {
-        return "拒绝退款";
+        return this.i18n.refuseRefund;
       } else if (this.orderInformation.goods[0].refund.status == "3") {
-        return "平台介入";
+        return this.i18n.platformIntervention;
       }
     },
     // 买家实付金额
@@ -127,6 +151,9 @@ export default {
       });
       return String(money.toFixed(2));
     },
+    i18n() {
+      return this.$t("index");
+    },
   },
   methods: {
     cope(str) {
@@ -134,7 +161,7 @@ export default {
         data: str,
         success() {
           uni.showToast({
-            title: "复制成功",
+            title: this.i18n.replicatingSuccess,
             icon: "none",
           });
         },

+ 11 - 4
pageD/afterSalesDetail/component/refusePopup.vue

@@ -8,18 +8,20 @@
       round="10"
     >
       <view class="popup-content">
-        <view class="title"> 拒绝理由 </view>
+        <view class="title"> {{ i18n.reasonForRefusal }} </view>
         <view class="_textarea">
           <u--textarea
             v-model="value2"
             height="108"
             maxlength="200"
-            placeholder="请输入拒绝原因"
+            :placeholder="i18n.pleaseEnterReason"
             count
           ></u--textarea>
         </view>
-        <button class="btn-1" @click="$emit('refund', 2, value2)">提交</button>
-        <view class="cancel" @click="$emit('close')"> 取消 </view>
+        <button class="btn-1" @click="$emit('refund', 2, value2)">
+          {{ i18n.submitTo }}
+        </button>
+        <view class="cancel" @click="$emit('close')"> {{ i18n.Cancel }} </view>
       </view>
     </u-popup>
   </view>
@@ -40,6 +42,11 @@ export default {
       }
     },
   },
+  computed: {
+    i18n() {
+      return this.$t("index");
+    },
+  },
   data() {
     return {
       value2: "",

+ 19 - 11
pageD/afterSalesManage/afterSalesManage.vue

@@ -6,34 +6,35 @@
         class="tab"
         @click="tabSwitch('')"
       >
-        全部
+        {{ i18n.whole }}
       </view>
       <view
         :class="{ commodity: follow == '0' }"
         class="tab"
         @click="tabSwitch('0')"
       >
-        待退款
+        {{ i18n.pendingRefund }}
       </view>
       <view
         :class="{ commodity: follow == 3 }"
         class="tab"
         @click="tabSwitch(3)"
       >
-        平台介入
+        {{ i18n.platformIntervention }}
       </view>
       <view
         :class="{ commodity: follow == 1 }"
         class="tab"
         @click="tabSwitch(1)"
       >
-        已退款
+        {{ i18n.refunded }}
       </view>
     </view>
     <view class="center">
       <view v-for="item in orderList" :key="item.id">
         <DetailCard
           :itemInfo="item"
+          :language="language"
           @toDetail="toDetail"
           @agreeRefund="agreeRefund"
           @refuseRefund="refuseRefund"
@@ -67,8 +68,14 @@ export default {
       page: 1,
       total: 0,
       title: "",
+      language: this._language, //用户当前选择的语言
     };
   },
+  computed: {
+    i18n() {
+      return this.$t("index");
+    },
+  },
   methods: {
     tabSwitch(num) {
       this.follow = num;
@@ -98,7 +105,7 @@ export default {
         })
         .then((res) => {
           uni.showToast({
-            title: "已申请平台介入",
+            title: this.i18n.appliedIntervene,
             icon: "none",
           });
           this.getOrderList();
@@ -112,7 +119,7 @@ export default {
     },
     //打开删除确认框
     openPop(value) {
-      this.title = "是否确认删除售后记录";
+      this.title = this.i18n.salesRecords;
       this.show = true;
       this.needDeleteGoods = value;
     },
@@ -131,7 +138,8 @@ export default {
             this.show = false;
             this.refuseShow = false;
             uni.showToast({
-              title: status == 1 ? "已同意退款" : "已拒绝退款",
+              title:
+                status == 1 ? this.i18n.agreeRefund : this.i18n.juJueRefund,
               icon: "none",
             });
             this.getOrderList();
@@ -144,7 +152,7 @@ export default {
           })
           .then((res) => {
             uni.showToast({
-              title: "商品已删除",
+              title: this.i18n.goodsDelete,
               icon: "none",
             });
             this.show = false;
@@ -157,11 +165,11 @@ export default {
     refuseRefund(item) {
       this.refuseShow = true;
       this.needRdfundOrder = item;
-      this.title = "是否确认退款";
+      this.title = this.i18n.confirmRefund;
     },
     //打开同意退款确认框
     agreeRefund(item) {
-      this.title = "是否确认退款";
+      this.title = this.i18n.confirmRefund;
       this.show = true;
       this.needRdfundOrder = item;
     },
@@ -169,7 +177,7 @@ export default {
   mounted() {
     this.getOrderList();
     uni.setNavigationBarTitle({
-      title: "售后订单",
+      title: this.i18n.AfterSalesOrder,
     });
   },
 };

+ 12 - 3
pageD/afterSalesManage/component/agreePop.vue

@@ -6,14 +6,18 @@
 
         <u--input
           v-if="title == '是否确认退款'"
-          placeholder="请输入退款金额"
+          :placeholder="i18n.pleaseAmount"
           border="surround"
           type="number"
           v-model="value"
         ></u--input>
         <view class="btn-list">
-          <button class="btn-1" @click="$emit('close')">取消</button>
-          <button class="btn-2" @click="$emit('refund', 1, value)">确认</button>
+          <button class="btn-1" @click="$emit('close')">
+            {{ i18n.Cancel }}
+          </button>
+          <button class="btn-2" @click="$emit('refund', 1, value)">
+            {{ i18n.enter }}
+          </button>
         </view>
       </view>
     </u-popup>
@@ -31,6 +35,11 @@ export default {
       default: "",
     },
   },
+  computed: {
+    i18n() {
+      return this.$t("index");
+    },
+  },
   data() {
     return { value: "" };
   },

+ 58 - 15
pageD/afterSalesManage/component/detailCard.vue

@@ -25,7 +25,18 @@
         ></image>
         <view class="detail-right">
           <view class="title-price">
-            <view class="title"> {{ itemInfo.goods.name_cn }}</view>
+            <view class="title" v-show="language == 'zh-CN'">
+              {{ itemInfo.goods.name_cn }}</view
+            >
+            <view class="title" v-show="language == 'en-US'">
+              {{ itemInfo.goods.name_en }}</view
+            >
+            <view class="title" v-show="language == 'es-ES'">
+              {{ itemInfo.goods.name_es }}</view
+            >
+            <view class="title" v-show="language == 'it-IT'">
+              {{ itemInfo.goods.name_ita }}</view
+            >
             <view class="price">
               <text style="font-size: 20rpx">¥</text>
               <text>{{ itemInfo.goods.discount_price.split(".")[0] }}</text
@@ -37,15 +48,38 @@
           </view>
           <view class="specifications">
             <view class="title"> {{ itemInfo.goods.sku_item[0].item }} </view>
-            <text>x1</text>
+            <text>x{{ itemInfo.order_goods.goods_num }}</text>
           </view>
         </view>
       </view>
+      <view
+        style="color: #222; font-size: 24rpx; text-align: right"
+        v-if="language != 'zh-CN'"
+        >{{
+          i18n.Atotalof +
+          "&nbsp;" +
+          itemInfo.order_goods.goods_num +
+          "&nbsp;" +
+          i18n.piece +
+          i18n.mineCommodity +
+          "&nbsp;"
+        }}</view
+      >
       <view class="price-detail">
-        <text style="color: #222; font-size: 24rpx">{{
-          "共1件商品" + "&nbsp;"
-        }}</text>
-        <text style="font-size: 28rpx">买家实付</text>
+        <text
+          style="color: #222; font-size: 24rpx"
+          v-if="language == 'zh-CN'"
+          >{{
+            i18n.Atotalof +
+            "&nbsp;" +
+            itemInfo.order_goods.goods_num +
+            "&nbsp;" +
+            i18n.piece +
+            i18n.mineCommodity +
+            "&nbsp;"
+          }}</text
+        >
+        <text style="font-size: 28rpx">{{ i18n.actualPayment }}</text>
         <view class="price">
           <text style="font-size: 20rpx">¥</text>
           <text>{{ itemInfo.order_goods.amount.split(".")[0] }}</text
@@ -65,7 +99,7 @@
         v-if="itemInfo.status == 0 || itemInfo.status == 3"
         @click.stop="$emit('platformIntervene', itemInfo)"
       >
-        平台介入
+        {{ i18n.platformIntervention }}
       </button>
       <button
         class="btn-1"
@@ -75,7 +109,7 @@
         "
         @click.stop="$emit('refuseRefund', itemInfo)"
       >
-        拒绝申请
+        {{ i18n.refuseApplication }}
       </button>
       <button
         class="btn-3"
@@ -85,16 +119,18 @@
         "
         @click.stop="$emit('agreeRefund', itemInfo)"
       >
-        同意退款
+        {{ i18n.AccettareRestituzione }}
       </button>
       <button
         class="btn-2"
         v-if="itemInfo.status == 1"
         @click.stop="$emit('openPop', itemInfo)"
       >
-        删除
+        {{ i18n.delete }}
+      </button>
+      <button class="btn-2" v-if="itemInfo.status == 1">
+        {{ i18n.details }}
       </button>
-      <button class="btn-2" v-if="itemInfo.status == 1">查看详情</button>
     </view>
   </view>
 </template>
@@ -106,6 +142,10 @@ export default {
       typeof: Object,
       default: {},
     },
+    language: {
+      typeof: String,
+      default: "",
+    },
   },
   computed: {
     model() {
@@ -115,15 +155,18 @@ export default {
     },
     deliveryStatus() {
       if (this.itemInfo.status == "0") {
-        return "待退款";
+        return this.i18n.pendingRefund;
       } else if (this.itemInfo.status == "3") {
-        return "平台介入";
+        return this.i18n.platformIntervention;
       } else if (this.itemInfo.status == "2") {
-        return "拒绝退款";
+        return this.i18n.refuseRefund;
       } else if (this.itemInfo.status == "1") {
-        return "已退款";
+        return this.i18n.refunded;
       }
     },
+    i18n() {
+      return this.$t("index");
+    },
   },
   data() {
     return {};

+ 35 - 6
pageD/orderDetail/component/commodityDetail.vue

@@ -16,7 +16,18 @@
         <image class="commodity-img" :src="item.sku_item.image" mode=""></image>
         <view class="">
           <view class="commodity-2">
-            <view class="commodity-title">{{ item.goods_name }} </view>
+            <view class="commodity-title" v-show="language == 'zh-CN'"
+              >{{ item.goods.name_cn }}
+            </view>
+            <view class="commodity-title" v-show="language == 'en-US'"
+              >{{ item.goods.name_en }}
+            </view>
+            <view class="commodity-title" v-show="language == 'es-ES'"
+              >{{ item.goods.name_es }}
+            </view>
+            <view class="commodity-title" v-show="language == 'it-IT'"
+              >{{ item.goods.name_ita }}
+            </view>
             <view class="commodity-price">
               <text style="font-size: 20rpx">¥</text>
               <text>{{ item.discount_price.split(".")[0] }}</text
@@ -34,15 +45,24 @@
         </view>
       </view>
     </view>
+
+    <view
+      space="nbsp"
+      style="font-size: 24rpx; text-align: right"
+      v-if="commodityInformation.goods && language != 'zh-CN'"
+      >{{ i18n.Atotalof }}
+      <text>{{ "&nbsp;" + commodityInformation.goods.length + "&nbsp;" }}</text
+      >{{ i18n.Atotalof + i18n.mineCommodity }} {{ "&nbsp;" }}</view
+    >
     <view class="btn-list">
       <view
         space="nbsp"
         style="font-size: 24rpx"
-        v-if="commodityInformation.goods"
-        >共 <text>{{ commodityInformation.goods.length }}</text> 件商品
-        {{ "&nbsp;" }}</view
+        v-if="commodityInformation.goods && language == 'zh-CN'"
+        >{{ i18n.Atotalof }} <text>{{ commodityInformation.goods.length }}</text
+        >{{ i18n.Atotalof + i18n.mineCommodity }} {{ "&nbsp;" }}</view
       >
-      <text style="font-size: 28rpx">买家实付</text>
+      <text style="font-size: 28rpx">{{ i18n.actualPayment }}</text>
       <view
         style="color: #222; font-weight: 600"
         v-if="commodityInformation.amount"
@@ -59,7 +79,7 @@
       class="information"
       v-if="status == 'undelivered' || status == 'unfill'"
     >
-      <text class="_label">订单备注</text>
+      <text class="_label">{{ i18n.orderNotes }}</text>
       <view class="_title-right"> {{ commodityInformation.remark }}</view>
     </view>
   </view>
@@ -78,6 +98,15 @@ export default {
         return {};
       },
     },
+    language: {
+      typeof: String,
+      default: "",
+    },
+  },
+  computed: {
+    i18n() {
+      return this.$t("index");
+    },
   },
   data() {
     return {

+ 23 - 12
pageD/orderDetail/orderDetail.vue

@@ -30,7 +30,7 @@
           orderDetail.status == 'domestic_delivered'
         "
       >
-        <text class="_label">物流单号</text>
+        <text class="_label">{{ i18n.logisticsNumber }}</text>
         <view class="num" v-if="orderDetail.logistics.length">
           <text>{{ orderDetail.logistics[0].delivery_company }}</text>
           <text>{{ "&nbsp;" + "|" + "&nbsp;" }}</text>
@@ -48,32 +48,33 @@
     <commodityDetailVue
       :status="orderDetail.simplify_status"
       :commodityInformation="orderDetail"
+      :language="language"
     />
 
     <view class="order">
       <view class="order-number">
-        <text> 订单编号 </text>
+        <text> {{ i18n.OrderNumber }} </text>
         <view>
           {{ orderDetail.order_no }} |
           <text decode @click="cope(orderDetail.order_no)">{{
-            "&nbsp;" + "复制"
+            "&nbsp;" + i18n.cope
           }}</text>
         </view>
       </view>
       <view class="order-number">
-        <text> 支付方式 </text>
+        <text> {{ i18n.payMethod }} </text>
         <view> {{ orderDetail.pay_type_name }} </view>
       </view>
       <view class="order-number">
-        <text> 支付时间 </text>
+        <text> {{ i18n.payTime }} </text>
         <view> {{ orderDetail.updated_at }} </view>
       </view>
       <view class="order-number">
-        <text> 创建时间 </text>
+        <text> {{ i18n.creationTime }} </text>
         <view> {{ orderDetail.created_at }} </view>
       </view>
       <view class="order-number">
-        <text> 运输方式 </text>
+        <text> {{ i18n.modeTransport }} </text>
         <view>
           {{ transportType }}
         </view>
@@ -94,7 +95,7 @@
         "
         @click.stop="toLogistics"
       >
-        查看物流
+        {{ i18n.checkLogistics }}
       </button>
       <!-- <button
         class="status-2"
@@ -108,13 +109,17 @@
       class="footer"
       v-else-if="orderDetail.goods[0].delivery_status == 'merdelivered'"
     >
-      <button class="status-2" @click="toSendOutGoods">立即发货</button></view
+      <button class="status-2" @click="toSendOutGoods">
+        {{ i18n.immediateDelivery }}
+      </button></view
     >
     <view
       class="footer"
       v-else-if="orderDetail.goods[0].delivery_status == 'unfill'"
     >
-      <button class="status-2" @click="toPay">缴纳保证金</button></view
+      <button class="status-2" @click="toPay">
+        {{ i18n.PayDeposit }}
+      </button></view
     >
 
     <Remark :show="remarkShow" @remarkClose="remarkClose" />
@@ -138,6 +143,7 @@ export default {
       transportType: "",
       remarkShow: false,
       payStatus: "",
+      language: this._language, //当前用户选择的语言
     };
   },
   onLoad(option) {
@@ -150,6 +156,11 @@ export default {
       this.getDetail(option.orderStatus);
     }
   },
+  computed: {
+    i18n() {
+      return this.$t("index");
+    },
+  },
   onShow() {
     console.log(this.payStatus);
     if (this.payStatus == "unfill") {
@@ -166,7 +177,7 @@ export default {
         data: e,
         success() {
           uni.showToast({
-            title: "复制成功",
+            title: this.i18n.replicatingSuccess,
             icon: "none",
           });
         },
@@ -203,7 +214,7 @@ export default {
           if (res.container) {
             this.transportType = res.container.transport_type.name;
           }
-          this.title = "待缴纳保证金";
+          this.title = this.i18n.depositPaid;
         });
     },
 

+ 38 - 9
pageD/orderFormManage/component/detailCard.vue

@@ -17,7 +17,18 @@
         <image class="order-img" :src="item.sku_item.image" mode=""></image>
         <view class="detail-right">
           <view class="title-price">
-            <view class="title"> {{ item.goods_name }}</view>
+            <view class="title" v-if="language == 'zh-CN'">
+              {{ item.goods.name_cn }}</view
+            >
+            <view class="title" v-if="language == 'en-US'">
+              {{ item.goods.name_en }}</view
+            >
+            <view class="title" v-if="language == 'es-ES'">
+              {{ item.goods.name_es }}</view
+            >
+            <view class="title" v-if="language == 'it-IT'">
+              {{ item.goods.name_ita }}</view
+            >
             <view class="price" v-if="item.sku_item">
               <text style="font-size: 20rpx">¥</text>
               <text>{{ item.discount_price.split(".")[0] }}</text
@@ -36,14 +47,23 @@
       <view class="model" v-if="itemInfo.simplify_status == 'unreview'"> </view>
     </view>
 
+    <view
+      style="color: #222; font-size: 24rpx; text-align: right"
+      v-if="language != 'zh-CN'"
+    >
+      <text>{{ i18n.Atotalof + itemInfo.order_goods.length }}</text>
+      <text>
+        {{ i18n.piece + i18n.mineCommodity + "&nbsp;" }}
+      </text>
+    </view>
     <view class="price-detail">
-      <view style="color: #222; font-size: 24rpx">
-        <text>共{{ itemInfo.order_goods.length }}</text>
+      <view style="color: #222; font-size: 24rpx" v-if="language == 'zh-CN'">
+        <text>{{ i18n.Atotalof + itemInfo.order_goods.length }}</text>
         <text>
-          {{ "件商品" + "&nbsp;" }}
+          {{ i18n.piece + i18n.mineCommodity + "&nbsp;" }}
         </text>
       </view>
-      <text style="font-size: 28rpx">买家实付</text>
+      <text style="font-size: 28rpx">{{ i18n.actualPayment }}</text>
       <view class="price">
         <text style="font-size: 20rpx">¥</text>
         <text>{{ itemInfo.amount.split(".")[0] }}</text
@@ -54,7 +74,9 @@
       </view>
     </view>
     <view class="remarks" v-if="itemInfo.simplify_status == 'merdelivered'">
-      <view style="margin-right: 30rpx; color: #222"> 商家备注 </view>
+      <view style="margin-right: 30rpx; color: #222">
+        {{ i18n.merchantRemarks }}
+      </view>
       <view style="color: rgba(34, 34, 34, 0.6)"> {{ itemInfo.remark }} </view>
     </view>
     <view
@@ -69,7 +91,7 @@
         v-if="itemInfo.order_goods[0].delivery_status == 'unfill'"
         @click.stop="toBond"
       >
-        缴纳保证金
+        {{ i18n.PayDeposit }}
       </button>
       <!-- <button class="btn-2" v-if="itemInfo.simplify_status == 'merdelivered'">
         备注
@@ -82,10 +104,10 @@
         "
         @click.stop="toGoods"
       >
-        发货
+        {{ i18n.sendOutGoods }}
       </button>
       <button class="btn-2" v-if="itemInfo.simplify_status == ' delivered'">
-        查看物流
+        {{ i18n.checkLogistics }}
       </button>
     </view>
   </view>
@@ -98,6 +120,10 @@ export default {
       typeof: Object,
       default: {},
     },
+    language: {
+      typeof: String,
+      default: "",
+    },
   },
   computed: {
     model() {
@@ -123,6 +149,9 @@ export default {
         return "团长已发货";
       }
     },
+    i18n() {
+      return this.$t("index");
+    },
   },
   data() {
     return {};

+ 19 - 10
pageD/orderFormManage/orderFormManage.vue

@@ -3,7 +3,7 @@
     <view class="tab-1" slot="center">
       <u--input
         style="background-color: #f4f4f4"
-        placeholder="搜索订单号/手机号/商品/姓名"
+        :placeholder="i18n.searchOrderNumber"
         shape="circle"
         v-model="keywords"
         prefixIcon="search"
@@ -16,48 +16,52 @@
           class="tab"
           @click="tabSwitch('')"
         >
-          全部
+          {{ i18n.whole }}
         </view>
         <view
           :class="{ commodity: follow == 'unreview' }"
           class="tab"
           @click="tabSwitch('unreview')"
         >
-          待审核
+          {{ i18n.audit }}
         </view>
         <view
           :class="{ commodity: follow == 'unfill' }"
           class="tab"
           @click="tabSwitch('unfill')"
         >
-          待缴纳保证金
+          {{ i18n.depositPaid }}
         </view>
         <view
           :class="{ commodity: follow == 'merdelivered' }"
           class="tab"
           @click="tabSwitch('merdelivered')"
         >
-          待团长发货
+          {{ i18n.waitTeam }}
         </view>
         <view
           :class="{ commodity: follow == 'undelivered' }"
           class="tab"
           @click="tabSwitch('undelivered')"
         >
-          待总部发货
+          {{ i18n.headquarters }}
         </view>
         <view
           :class="{ commodity: follow == 'delivered' }"
           class="tab"
           @click="tabSwitch('delivered')"
         >
-          已发货
+          {{ i18n.shipped }}
         </view>
       </view>
     </view>
     <view class="center">
       <view v-for="item in orderList" :key="item.status">
-        <DetailCard :itemInfo="item" @toInformation="toInformation" />
+        <DetailCard
+          :itemInfo="item"
+          @toInformation="toInformation"
+          :language="language"
+        />
       </view>
     </view>
     <Remark :show="remarkShow" @remarkClose="remarkClose" />
@@ -79,11 +83,17 @@ export default {
       page: 1,
       remarkShow: false,
       keywords: "",
+      language: this._language,
     };
   },
   onShow() {
     this.getGoodsList();
   },
+  computed: {
+    i18n() {
+      return this.$t("index");
+    },
+  },
   methods: {
     tabSwitch(num) {
       this.follow = num;
@@ -93,7 +103,6 @@ export default {
     //关闭备注弹框
     remarkClose(value) {
       this.remarkShow = false;
-      console.log(this.remarkShow);
       //没有接口,有接口再补充
       if (value) {
       }
@@ -126,7 +135,7 @@ export default {
   },
   mounted() {
     uni.setNavigationBarTitle({
-      title: "订单管理",
+      title: this.i18n.orderManagement,
     });
   },
 };

Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/main.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/common/runtime.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/kj-chat/kj-chat.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/kj-flow/kj-flow.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/components/kj-tabbar/kj-tabbar.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/balance.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/changelange.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/chat/chat.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/chat/news.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/comment.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/components/zh-slidingMenu/zhSlidingMenu/zhSlidingMenu.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/confirm.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/counter.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/index.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/logisticsinfo.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/order.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/payorder.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/productdetails.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/rule/rule.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/service/service.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/shoplist.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/shoptype.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageA/subsidy.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/ParcelExpress.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/Senderinfor.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/account.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/citychange.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/delivery.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/end.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/expresstype.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/goods.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/index.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/list/list.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/myPackage.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/orderinfo.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/parcel.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/recipientinfo.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/search.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pageB/xieyi.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/accountBalance/accountBalance.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/accountCancellation/accountCancellation.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/accountSecurity/accountSecurity.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/accountSecurity/component/textRight.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/accountSetup/accountSetup.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/addEditAddress/addEditAddress.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/addEditAddress/component/selectCity.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/addressManagement/addressManagement.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/addressManagement/component/address.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/applicationRefund/applicationRefund.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/applicationRefund/component/reasonPopup.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/balanceDetail/balanceDetail.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/editName/editName.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/ensureExplain/ensureExplain.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/ensureMoney/ensureMoney.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/index.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/internationalAddress/internationalAddress.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/mineComponent/agreePopup.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/mineComponent/allRight/allRight.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/mineComponent/moneyDetail/index.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/mineFollow/mineFollow.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/myPackage/component/packageCard.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/myPackage/myPackage.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/orderForm/component/orderInofrmation.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/orderForm/component/refundCard.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/orderForm/orderForm.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/orderFormDetail/component/commodityDetail.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/orderFormDetail/orderFormDetail.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/personalInformation/personalInformation.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/privacyPolicy/privacyPolicy.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/recharge/recharge.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/refundDetail/component/moneyDestination.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/refundDetail/component/refundInProgress.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/refundDetail/component/refundInformation.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/refundDetail/component/refundSuccessful.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/refundDetail/component/refusalToRefund.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/refundDetail/refundDetail.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/switchLanguage/switchLanguage.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/withdrawal/withdrawal.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageC/withdrawalDetail/withdrawalDetail.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageD/afterSalesDetail/afterSalesDetail.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageD/afterSalesDetail/component/applicationInformation.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageD/afterSalesDetail/component/commodityDetail.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageD/afterSalesDetail/component/refusePopup.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageD/afterSalesManage/afterSalesManage.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pageD/afterSalesManage/component/agreePop.js.map


Rozdielové dáta súboru neboli zobrazené, pretože súbor je príliš veľký
+ 0 - 0
unpackage/dist/dev/.sourcemap/mp-weixin/pageD/afterSalesManage/component/detailCard.js.map


Niektoré súbory nie sú zobrazené, pretože je v týchto rozdielových dátach zmenené mnoho súborov