panhui hace 5 años
padre
commit
493ff91b4f

+ 4 - 8
app.json

@@ -2,9 +2,7 @@
   "expo": {
     "name": "Dingdong",
     "slug": "Dingdong",
-    "platforms": [
-      "android"
-    ],
+    "platforms": ["android"],
     "version": "1.0.0",
     "orientation": "portrait",
     "icon": "./assets/images/icon.png",
@@ -19,9 +17,7 @@
     "updates": {
       "fallbackToCacheTimeout": 0
     },
-    "assetBundlePatterns": [
-      "**/*"
-    ],
+    "assetBundlePatterns": ["**/*"],
     "ios": {
       "supportsTablet": true
     },
@@ -29,9 +25,9 @@
       "package": "com.izouma.dingdong",
       "versionCode": 1,
       "permissions": [
+        "ACCESS_COARSE_LOCATION",
+        "ACCESS_FINE_LOCATION",
         "CAMERA",
-        "READ_INTERNAL_STORAGE",
-        "WRITE_INTERNAL_STORAGE",
         "READ_EXTERNAL_STORAGE",
         "WRITE_EXTERNAL_STORAGE"
       ]

+ 6 - 4
components/GoodsCard.js

@@ -50,7 +50,9 @@ const styles = StyleSheet.create({
 });
 
 export default function GoodsCard(props) {
-  const { add, remove, getWordsStr } = useModel("wordsModel");
+  const { add, remove, getWordsStr, EBBZOP, HBHXVO, YMCWXK } = useModel(
+    "wordsModel"
+  );
   const {
     info,
     changeInfo,
@@ -95,12 +97,12 @@ export default function GoodsCard(props) {
           />
           {status === "PENDING" && (
             <Text style={styles.status} category="h1">
-              待审核
+              {EBBZOP}
             </Text>
           )}
           {status === "DENY" && (
             <Text style={styles.status} category="h1" status="danger">
-              审核未通过
+              {HBHXVO}
             </Text>
           )}
           <View style={styles.main}>
@@ -116,7 +118,7 @@ export default function GoodsCard(props) {
               {introduction || ""}
             </Text>
             <Text category="c1" status="info">
-              月售 {totalSales || 0}
+              {YMCWXK} {totalSales || 0}
             </Text>
             <View style={styles.flex1} />
             <Text category="h6" status="danger">

+ 345 - 0
language/en.js

@@ -0,0 +1,345 @@
+export default {
+  welcom: "Welcome to use Dingdong takeaway platform",
+  login_form_1: "phone number",
+  login_pla_1: "Enter merchant phone number",
+  login_form_2: "password",
+  login_pla_2: "enter password",
+  login_form_3: "Verification code",
+  login_pla_3: "Enter confirmation code",
+  login_tab_1: "Password login",
+  login_tab_2: "Verification code login",
+  login_btn_code_1: "Send the verification code",
+  login_btn_code_2: "Has been sent",
+  login_btn_sub: "log in",
+  login_btn_forget: "forget password",
+  login_btn_rej: "Merchant registration",
+  register_form_1: "the business name",
+  register_pla_1: "Enter business name",
+  register_form_2: "show name",
+  register_pla_2: "Enter display name",
+  register_form_3: "confirm password",
+  register_pla_3: "Enter the confirmation password again",
+  register_form_4: "phone number",
+  register_pla_4: "Enter phone number",
+  guideHome_title1:
+    "well!Congratulations, you have completed the first step of Dingdong Partner Business!",
+  guideHome_title2:
+    "In order for users to know you better, please fill in carefully!",
+  guideHome_form_1: "Business category",
+  guideHome_form_2: "Business address",
+  guideHome_form_3: "Business phone number",
+  guideHome_form_4: "Business hours",
+  guideHome_form_5: "Business qualification",
+  guideHome_form_6: "Business nature",
+  guideHome_form_7: "Upload logo",
+  guideHome_pla_1: "Enter your phone number",
+  guideHome_pla_2: "(Can be filled in later)",
+  guideHome_pla_3: "(Cannot be changed once selected)",
+  guide1_title1: "Great! You already have a place on Dingdong's takeaway page!",
+  guide1_form_1: "product name",
+  guide1_pla_1: "Enter product name",
+  guide1_form_2: "Commodity price",
+  guide1_pla_2: "Enter commodity price",
+  guide1_form_3: "Discounted prices",
+  guide1_pla_3: "Enter preferential price",
+  guide1_form_4: "Daily supply quantity",
+  guide1_pla_4: "Enter the supply quantity per day",
+  guide1_form_5: "Supply time",
+  guide1_pla_5: "Add product introduction (no more than 50 words)",
+  guide2_title1:
+    "woo! Your products will look very popular! You can add more products in the software.",
+  guide2_title2:
+    "woo! In order for users to know you better, please create categories for these products. The classification will be in the left column of the product!",
+  guide2_form_1: "classification name",
+  guide2_pla_1: "Enter category name",
+  guide2_pla_2: "Such as single meal, appetizer, staple food, etc.",
+  guide2_form_2: "Display sort",
+  guide2_form_3: "Contains products",
+  guide3_title1: "Great! You already have a place on Dingdong's takeaway page",
+  guide3_title2:
+    "In order for users to know you better, please fill in carefully!",
+  guide3_form_1: "Alipay account",
+  guide3_pla_1: "Enter Alipay account",
+  guide3_form_2: "Alipay account name",
+  guide3_pla_2: "Enter Alipay account name",
+  guide4_title1: "perfect! You have completed this guide!",
+  guide4_title2:
+    "You can add complete information in the future. I wish you easy money and a happy life",
+  goodsClassificationTitle1: "Products under category",
+  goodsClassificationTitle2: "Selected products",
+  goodsClassificationTitle3: "Unselected product",
+  systemClassification1:
+    "This category is a prefabricated category of the system. It is mainly used to remind users of relevant information. You can put tableware and order information.",
+  systemClassification2:
+    "If you do not place a must-read item, the system will not display the category. Therefore, if there is no product that meets the standard, it is recommended that you open it.",
+  systemClassification3:
+    "This classification is a pre-made classification of the system. It automatically lists 列 best-selling products and highly praised products in the merchant. The system will be updated according to the sales and evaluation dynamics.",
+  systemClassification4:
+    "Therefore, if there is no product that meets the standard, it is recommended that you open it.",
+  systemClassification5:
+    "The classification is a prefabricated classification of the system, and automatically lists 了 the discounted products that have been set. If there are no discounted products, the system will not display the classification",
+  systemClassification6:
+    "You can configure discounted products in 'My' -> 'My Promotions'.",
+  systemClassTips1:
+    "Are you sure you want to turn off the system classification?",
+  storeAudio: "Audit shop",
+  storeAudioText1: "Your store is under review",
+  storeAudioText2: "Please be patient...",
+  storeAudioText3: "Congratulations!!!",
+  storeAudioText4: "Your store audit is successful!",
+  addGoods: "Edit (new) product",
+  addGoods2: "New product",
+  takeOff: "Off shelf",
+  takeUp: "Put on shelf",
+  homeBar: "My storefront",
+  homeTip1: "Add banner",
+  homeTitle1: "signature dish",
+  homeTitle2: "Edit category",
+  homeTip2: "Monthly sale",
+  homeTip3: "announcement",
+  homeTitle3: "Announcement editor",
+  homeTab1: "order",
+  homeTab2: "Evaluation",
+  homeTab3: "Merchant",
+  home3Title1: "Business Story",
+  home3Title2: "Text introduction/brand story, etc., up to 500 words",
+  bannerTitle: "banner",
+  logoTitle: "Business avatar",
+  qualificationTitle: "Business qualification",
+  userTitle1: "Basic Information",
+  userTitle2: "My offer",
+  userTitle3: "My goods",
+  userTitle4: "Order",
+  userTitle5: "Evaluation",
+  userTitle6: "My Dingdong Coin",
+  userTitle21: "Full reduction",
+  userTitle22: "Discounted products",
+  userTitle23: "First order",
+  userTitle24: "Coupon management",
+  userTitle31: "Edit product",
+  userTitle32: "Categories",
+  userTitle33: "Signature goods",
+  userTitle34: "My recommendation",
+  userTitle41: "Automatic order picking, order voice setting",
+  userTitle42: "My statement",
+  userTitle61: "Bill inquiry",
+  userTitle62: "My bank card",
+  orderTitleBtn1: "Take orders manually",
+  orderTitleBtn2: "Edit voice",
+  orderInfo1: "Serial number",
+  orderInfo2: "Order time",
+  orderInfo3: "contact clients",
+  orderInfo4: "Address",
+  orderInfo5: "Order goods",
+  orderInfo6: "Remarks",
+  orderButton1: "Rejection",
+  orderButton2: "Orders",
+  overTips: "Are you sure you want to reject the order?",
+  orderSuceess: "Successful operation",
+  bankMainTitle: "Choose a silver card",
+  bindBankText1: "Bind Silver Card",
+  bankTitle1: "Silver",
+  bankTitle2: "card number",
+  bankTitle3: "Name",
+  bankTitle4: "ID number",
+  bankPla1: "Enter bank name",
+  bankPla2: "Enter the silver card number",
+  bankPla3: "Enter bank name",
+  bankPla4: "Enter bank name",
+  bankTitle5: "Agree to 'Dingdong Takeaway Express Payment Service Agreement'",
+  rechargeBtnText: "Expected to arrive within two hours, confirm withdrawal",
+  automaticText1: "Automatic review reply",
+  automaticText2: "Positive review and automatic review reply",
+  automaticText3: "Poor review-automatic review reply",
+  automaticText4: "Add a reply (no more than 100 words)",
+  distributionTitle: "Delivery settings",
+  distributionText1: "Starting Amount",
+  distributionText2: "Average preparation time per meal",
+  distributionText3: "Enter amount",
+  distributionText4: "Input time",
+  distributionText5: "tips",
+  distributionText6:
+    "The starting delivery amount is the delivery delivery amount outside the store, and the average preparation time per meal is used to calculate the delivery time of the product. Please set it according to the actual preparation of the store.",
+  ClassificationManage: "My category",
+  ClassificationManageText1:
+    "Reasonable setting classification has the following benefits",
+  ClassificationManageText2:
+    "(1) Allow users to quickly find suitable products",
+  ClassificationManageText3:
+    "(2) Allow users to know the merchant's views and attitudes about a certain product",
+  ClassificationManageText4:
+    "The same product can be placed under different categories.",
+  ClassificationManageText5: "Current categories",
+  ClassificationManageText6: "This category contains 了 the following products",
+  saveSuccess: "Saved successfully",
+  editSuccess: "Successfully modified",
+  yuan: "yuan",
+  changeToEnglish: "Switch to Thai",
+  changeToChinese: "Switch to Chinese",
+  appName: "Dingdong takeaway",
+  connect: "Contact Customer Service",
+  next: "Next step",
+  pass: "Skip",
+  cancel: "cancel",
+  save: "save",
+  confirm: "confirm",
+  MONDAY: "Monday",
+  TUESDAY: "Tuesday",
+  WEDNESDAY: "Wednesday",
+  THURSDAY: "Thursday",
+  FRIDAY: "Friday",
+  SATURDAY: "Saturday",
+  SUNDAY: "Sunday",
+  every: "every day",
+  start: "Starting time",
+  end: "End Time",
+  hour: "Time",
+  min: "Minute",
+  minutes: "minute",
+  weekName: "cycle",
+  tip: "Tips",
+  passTips: "Are you sure you want to skip?",
+  add: "Add to",
+  remove: "Remove",
+  complete: "carry out",
+  tab1: "Storefront",
+  tab2: "Order",
+  tab3: "mine",
+  editText: "edit",
+  uplaodText: "upload",
+  uplaodImg: "upload image",
+  removeTips:
+    "Are you sure you want to remove? Unrecoverable after removal automatic response",
+  takeOffTips: "Are you sure you want to remove this product?",
+  autoBackText: "automatic response",
+  editAutoBack: "Edit and auto reply",
+  storeBackInfo: "Merchant reply",
+  delText: "delete",
+  successText: "success",
+  addClassTips:
+    "There are currently two recommended products, please remove them and add them.",
+  nothingTips: "No data",
+  fullReduction1: "full",
+  fullReduction2: "Less",
+  loading: "Loading",
+  sendCode: "Send the verification code",
+  applySuccess: "Successful application",
+  rechargeTime: "Estimated arrival time",
+  rechargeTitle2: "Silver Card",
+  rechargeTitle3: "Withdrawal amount",
+  NOT_RECEIVED: "Missed order",
+  RECEIVED: "To be taken",
+  REJECTED: "Chargeback",
+  COMPLETED: "completed",
+  UNPAID: "Unpaid",
+  PAID: "Paid",
+  RATED: "comment",
+  CANCELLED: "Cancelled",
+  REFUNDED_PENDING: "Requesting refund",
+  REFUNDED: "refunded",
+  ALI_PAY: "Alipay",
+  CASH_DELIVERY: "Cash on delivery",
+  CREDIT_CARD: "Credit Card",
+  TAKE_MEAL: "Have arrived",
+  MEAL_DELIVERY: "Shipping",
+  CARRY_OUT: "service",
+  BUY: "buy",
+  INCOME: "income",
+  REFUND: "Refund",
+  WITHDRAW: "withdraw",
+  Apply_SUCCESS: "Withdrawal success",
+  Apply_PENDING: "Withdrawal processing",
+  Apply_FAIL: "Withdrawal failed",
+  EBBZOP: "Pending review",
+  HBHXVO: "Review failed",
+  YMCWXK: "Monthly sale",
+  QHXNNQ: "My complaint",
+  RCSJTH: "System mailbox",
+  GCXGVF: "Edit legal person information",
+  LUPPEG: "Legal person's name",
+  TWWYNY: "Enter the person's name",
+  OXLQHX: "Legal person ID number",
+  AZWBTB: "Enter ID number",
+  AZMDQP: "Original photo of ID:",
+  SARAST: "Front of the document",
+  NIOXWF: "Reverse side of the document",
+  KYPQJQ: "Handheld ID photo:",
+  WVWTVK: "Upload",
+  KMXEBK: "Tips:",
+  ONBSYL:
+    "1. You need to upload the front and back pictures of the original legal person ID",
+  NOMPAT: "2. The content of the certificate must be clear.",
+  HMBWUJ: "3. The certificate must be within the effective use period.",
+  MSEUAP:
+    "4. The legal person holding the ID photo of the person must ensure that the ID information is clear, the facial features of the person holding the ID are clear and visible, and the content of the photo is true and effective, and no modification is allowed.",
+  DTEOMV: "Set up successfully",
+  WCTSUL: "Business qualification",
+  RKMZQB: "Business Qualification Front",
+  XKTKDO: "Business Qualification Reverse",
+  YBCDKV: "Edit store information",
+  FQIZGN: "Storefront",
+  RGKJPS:
+    "Take photos of the internal environment of the storefront: (up to five)",
+  FPMPMG: "Upload",
+  USOWMJ:
+    "1. You need to upload photos of the front of the store and the internal environment of the store.",
+  USFFJT: "2. The photo must be clear and true.",
+  CWNZNO: "Alipay tail number",
+  ORHSFG: "Cash withdrawal amount",
+  BIZQHZ: "Available balance",
+  BJGTHA: "yuan",
+  ZTIPSF: "Coupon end time",
+  VCGOOE: "Coupon start time",
+  OUGTQF: "Coupon threshold threshold amount",
+  DADQTD: "Enter the threshold threshold",
+  PXTFMU: "Coupon name",
+  TMDCMR: "Enter coupon name",
+  KEPOWT: "Edit (new) coupon",
+  TLZRGT: "Coupon management",
+  YMZEFF:
+    "There are specifications in the current category, please delete the specifications before deleting",
+  IQYCDU: "Multiple choice",
+  GVDYKL: "Radio",
+  MUKYDG: "Add specifications",
+  BCXVJS: "specification",
+  TMMNWL: "Class name",
+  MLPRPD: "Multiple choice",
+  CUYTPO: "Product specifications edit",
+  SHKVCV: "Store product search",
+  XZOCQU: "Please enter the product name",
+  QRLPZQ: "Started",
+  GIMSOZ: "have not started",
+  GPVGLH: "First order",
+  GLWBTR: "Automatic order",
+  SOHDGP: "Order",
+  OEUMXU: "Order reminder",
+  CNPBSH: "Ride reminder",
+  NMQKWY: "My statement",
+  QTLJZW: "Open",
+  AKHVEE: "closed",
+  IBHAPI: "Praise",
+  QDYXSC: "discount",
+  NWHGKX: "signature dish",
+  TEWQHV: "Edit category",
+  POKFOW: "Praise",
+  BWEOYE: "up to date",
+  TCSOVO: "All",
+  ABSYHA: "No notice for now, click edit",
+  HXRNYH: "New user discount",
+  MPSFFU: "sign out",
+  ZJDSDE: "Balance",
+  OZXEWT: "withdraw",
+  KWQKHQ: "Take orders manually",
+  JBVNIK: "Automatic order",
+  RRXBGZ: "Store Information",
+  CSSATF: "Legal person information",
+  TVZBVQ: "uploaded",
+  TTBMND: "Submit review",
+  TGJPSZ: "sorry! ! ! Your store review has not passed",
+  LIVTXF: "Please check the store information carefully and reapply",
+  GODOSA: "Re-apply",
+  HMVTGZ: "Auto reply",
+  YUZQBC: "My complaint",
+  BZIQEA: "Stop business",
+  DMCJVT: "open for business",
+};

+ 4 - 2
language/index.js

@@ -2,11 +2,13 @@
 import i18n from "i18n-js";
 import th from "./th";
 import zh from "./zh";
+import en from "./en";
 
 // 支持转换的语言
 i18n.translations = {
-    th,
-    zh,
+  th,
+  zh,
+  en,
 };
 i18n.fallbacks = true;
 

+ 333 - 36
language/th.js

@@ -1,38 +1,335 @@
 export default {
-    // 页面的文字
-
-    welcom: "欢迎使用叮咚外卖平台[泰文]",
-    login_form_1: "手机号",
-    login_pla_1: "输入商家手机号",
-    login_form_2: "密码",
-    login_pla_2: "输入密码",
-    login_btn_sub: "登录",
-    login_btn_rej: "注册",
-    register_form_1: "换成泰文换成泰文",
-    register_pla_1: "换成泰文换成泰文",
-    register_form_2: "换成泰文换成泰文",
-    register_pla_2: "换成泰文换成泰文",
-    register_form_3: "换成泰文换成泰文",
-    register_pla_3: "再次输入确认密码",
-
-    guideHome_title1: "很好!恭喜您已经完成了叮咚合作商家的第一步!",
-    guideHome_title2: "为了用户更好地认识您,请认真填写!",
-    guideHome_form_1: "所属品类",
-    guideHome_form_2: "商家地址",
-    guideHome_form_3: "商家联系电话",
-    guideHome_form_4: "营业时间",
-    guideHome_form_5: "营业资质",
-    guideHome_form_6: "商家性质",
-    guideHome_form_7: "上传logo",
-    guideHome_pla_1: "输入您的电话号码",
-    guideHome_pla_2: "(可后面再填)",
-    guideHome_pla_3: "(一旦选择不可更改)",
-
-    // 公共的文字
-
-    changeToEnglish: "切换到泰文",
-    changeToChinese: "切换到中文",
-    appName: "叮咚外卖",
-    connect: "联系客服",
-    next: "下一步",
+  welcom: "ยินดีต้อนรับสู่แพลตฟอร์มDing dong",
+  login_form_1: "หมายเลขโทรศัพท์",
+  login_pla_1: "ใส่หมายเลขโทรศัพท์",
+  login_form_2: "รหัสผ่าน",
+  login_pla_2: "ใส่รหัสผ่าน",
+  login_form_3: "รหัสยืนยัน",
+  login_pla_3: "ใส่รหัสยืนยัน",
+  login_tab_1: "รหัสผ่านเข้าสู่ระบบ",
+  login_tab_2: "รหัสยืนยัน",
+  login_btn_code_1: "ส่งรหัสยืนยัน",
+  login_btn_code_2: "รหัสได้ถูกส่งออกไป",
+  login_btn_sub: "เข้าสู่ระบบ",
+  login_btn_forget: "ลืมรหัสผ่าน",
+  login_btn_rej: "ลงทะเบียนร้านค้า",
+  register_form_1: "ชื่อร้านค้า",
+  register_pla_1: "ใส่ชื่อร้านค้า",
+  register_form_2: "แสดงชื่อ",
+  register_pla_2: "ใส่ชื่อที่แสดง",
+  register_form_3: "ยืนยันรหัสผ่าน",
+  register_pla_3: "ป้อนรหัสผ่านการยืนยันอีกครั้ง",
+  register_form_4: "หมายเลขโทรศัพท์",
+  register_pla_4: "ใส่หมายเลขโทรศัพท์",
+  guideHome_title1:
+    "ขอแสดงความยินดีคุณได้ทำขั้นตอนแรกของธุรกิจคู่ค้Dingdong เรียบร้อยแล้ว",
+  guideHome_title2: "เพื่อให้ผู้ใช้เข้าใจคุณมากขึ้นโปรดกรอกข้อมูลให้ชัดเจน",
+  guideHome_form_1: "หมวดหมู่ธุรกิจ",
+  guideHome_form_2: "ที่อยู่สถานที่ร้านค้า",
+  guideHome_form_3: "เบอร์โทรสำหรับติดต่อเรื่องธุรกิจ",
+  guideHome_form_4: "เวลาทำการ",
+  guideHome_form_5: "ใบประกอบธุรกิจการค้า",
+  guideHome_form_6: "มาตรฐานของร้านค้า",
+  guideHome_form_7: "อัพโหลดโลโก้",
+  guideHome_pla_1: "ป้อนหมายเลขโทรศัพท์ของคุณ",
+  guideHome_pla_2: "สามารถกรอกได้ในภายหลัง",
+  guideHome_pla_3: "ไม่สามารถเปลี่ยนแปลงได้เมื่อเลือกแล้ว",
+  guide1_title1: "ดีมาก !คุณมีร้านค้าอยู่ในหน้าซื้อขายของDingdongแล้ว",
+  guide1_form_1: "ชื่อผลิตภัณฑ์",
+  guide1_pla_1: "ใส่ชื่อผลิตภัณฑ์",
+  guide1_form_2: "ราคาสินค้า",
+  guide1_pla_2: "ใส่ราคาสินค้า",
+  guide1_form_3: "ส่วนลด",
+  guide1_pla_3: "ใส่ราคาส่วนลด",
+  guide1_form_4: "ปริมาณการผลิตต่อวัน",
+  guide1_pla_4: "ใส่จำนวนปริมาณการผลิตต่อวัน",
+  guide1_form_5: "เวลาส่งของ",
+  guide1_pla_5: "อธิบายผลิตภัณฑ์(ไม่เกิน50คำ)",
+  guide2_title1:
+    "เย้!ผลิตภัณฑ์ของคุณดูเป็นที่นิยมมาก!คุณสามารถเพิ่มสินค้าให้มากขึ้นได้ในแพลตฟอร์ม",
+  guide2_title2:
+    "เย้!เพื่อให้ผู้ใช้เข้าใจคุณมากขึ้นโปรดจัดหมวดหมู่สำหรับผลิตภัณฑ์เหล่านี้",
+  guide2_form_1: "ชื่อประเภทสินค้า",
+  guide2_pla_1: "ป้อนชื่อประเภทสินค้า",
+  guide2_pla_2: "เช่น อาหารจานเดียว อาหารว่าง อาหารหลัก",
+  guide2_form_2: "แสดงลำดับ",
+  guide2_form_3: "สินค้ารวมอยู่ในลำดับ",
+  guide3_title1: "เยี่ยมมาก! คุณมีร้านค้าอยู่ในหน้าซื้อขายของDingdong แล้ว!",
+  guide3_title2: "เพื่อให้ผู้ใช้เข้าใจคุณมากขึ้นโปรดกรอกข้อมูลให้ชัดเจน",
+  guide3_form_1: "บัญชี Alipay",
+  guide3_pla_1: "ป้อนบัญชี Alipay",
+  guide3_form_2: "ชื่อบัญชี Alipay",
+  guide3_pla_2: "ป้อนชื่อบัญชี Alipay",
+  guide4_title1: "เรียบร้อยแล้ว!คุณได้เข้าสู่ระบบเรียบร้อยแล้ว",
+  guide4_title2: "ข้อมูลที่ยังไม่ได้กรอกสามารถกลับมากรอกเพิ่มได้ในภายหลัง",
+  goodsClassificationTitle1: "ประเภทสินค้าที่แบ่งแยกออกมา",
+  goodsClassificationTitle2: "ผลิตภัณฑ์ที่เลือก",
+  goodsClassificationTitle3: "ผลิตภัณฑ์ที่ยังไม่ได้เลือก",
+  systemClassification1:
+    "การจัดหมวดหมู่นี้เป็นการจัดหมวดหมู่ของระบบโดยอัตโนมัติส่วนใหญ่จะใช้เพื่อให้ผู้ใช้ค้นหาได้ง่ายขึ้น",
+  systemClassification2:
+    "หากคุณยังไม่มีผลิตภัณฑ์ที่ตรงตามมาตรฐานระบบจะไม่แสดงในหมวดหมู่ดังนั้นหากไม่มีผลิตภัณฑ์ที่",
+  systemClassification3:
+    "การจัดหมวดหมู่นี้เป็นการจัดหมวดหมู่ของระบบโดยอัตโนมัติซึ่งจะแสดงรายการผลิตภัณฑ์ที่ขายดีที่สุด",
+  systemClassification4:
+    "ดังนั้นหากไม่มีผลิตภัณฑ์ที่ตรงตามมาตรฐานขอแนะนำให้คุณเปิดแพลตฟอร์มไว้ก่อน",
+  systemClassification5:
+    "หมวดหมู่นี้เป็นหมวดหมู่สำเร็จรูปของระบบโดยจะแสดงรายการผลิตภัณฑ์ลดราคาที่ตั้งไว้โดยอัตโน",
+  systemClassification6:
+    "คุณสามารถกำหนดค่าผลิตภัณฑ์ที่มีส่วนลดใน 'My'> 'My Promotions'",
+  systemClassTips1: "คุณแน่ใจหรือไม่ว่าต้องการปิดการจัดประเภทของระบบ",
+  storeAudio: "ตรวจสอบร้านค้า",
+  storeAudioText1: "ร้านค้าของคุณอยู่ระหว่างการตรวจสอบ",
+  storeAudioText2: "กรุณารอสักครู่ ...",
+  storeAudioText3: "ขอแสดงความยินดี !!!",
+  storeAudioText4: "การตรวจสอบร้านค้าของคุณสำเร็จแล้ว!",
+  addGoods: "แก้ไขผลิตภัณฑ์ (ใหม่)",
+  addGoods2: "ผลิตภัณฑ์ใหม่",
+  takeOff: "สินค้าที่จะเลิกขาย",
+  takeUp: "สินค้าที่จะนำขึ้นขาย",
+  homeBar: "หน้าร้านของฉัน",
+  homeTip1: "เพิ่มแบนเนอร์",
+  homeTitle1: "ชวนเพื่อน",
+  homeTitle2: "แก้ไขหมวดหมู่",
+  homeTip2: "ยอดขายรายเดือน",
+  homeTip3: "การประกาศ",
+  homeTitle3: "ประชาสัมพันธ์",
+  homeTab1: "ให้คะแนน",
+  homeTab2: "การประเมินผล",
+  homeTab3: "ผู้ประกอบการค้า",
+  home3Title1: "เรื่องธุรกิจ",
+  home3Title2: "ข้อความแนะนำ / เรื่องราวของแบรนด์ ฯลฯ สูงสุด500 คำ",
+  bannerTitle: "แบนเนอร์",
+  logoTitle: "Logo ร้านค้า",
+  qualificationTitle: "ทะเบียนพาณิชย์",
+  userTitle1: "ข้อมูลพื้นฐาน",
+  userTitle2: "ส่วนลดของฉัน",
+  userTitle3: "สินค้าของฉัน",
+  userTitle4: "ให้คะแนน",
+  userTitle5: "การประเมินผล",
+  userTitle6: "เหรียญ Dingdong ของฉัน",
+  userTitle21: "ลบรายการที่เต็มแล้ว",
+  userTitle22: "สินค้าลดราคา",
+  userTitle23: "การสั่งครั้งแรก",
+  userTitle24: "การจัดการคูปอง",
+  userTitle31: "แก้ไขผลิตภัณฑ์",
+  userTitle32: "หมวดหมู่",
+  userTitle33: "ป้ายสินค้า",
+  userTitle34: "คำแนะนำของฉัน",
+  userTitle41: "การสั่งซื้ออัตโนมัติและการสั่งซื้อด้วยเสียง",
+  userTitle42: "คำสั่งซื้อ",
+  userTitle61: "สอบถามรายละเอียดการเรียกเก็บเงิน",
+  userTitle62: "บัตรเครดิตธนาคารของฉัน",
+  orderTitleBtn1: "สั่งซื้อด้วยตนเอง",
+  orderTitleBtn2: "แก้ไขเสียง",
+  orderInfo1: "หมายเลขคำสั่งซื้อ",
+  orderInfo2: "เวลาสั่งซื้อ",
+  orderInfo3: "ติดต่อลูกค้า",
+  orderInfo4: "ที่อยู่",
+  orderInfo5: "สั่งซื้อสินค้า",
+  orderInfo6: "หมายเหตุ",
+  orderButton1: "การปฏิเสธ",
+  orderButton2: "สั่งซื้อ",
+  overTips: "คุณแน่ใจหรือว่าต้องการปฏิเสธคำสั่งซื้อ",
+  orderSuceess: "การดำเนินการสำเร็จ",
+  bankMainTitle: "เลือกบัตรธนาคาร",
+  bindBankText1: "ผูกบัตรธนาคาร",
+  bankTitle1: "ธนาคาร",
+  bankTitle2: "หมายเลขบัตร",
+  bankTitle3: "ชื่อ",
+  bankTitle4: "หมายเลขบัตรประชาชน",
+  bankPla1: "กรอกชื่อธนาคาร",
+  bankPla2: "กรอกหมายเลขบัตรเครดิตธนาคาร",
+  bankPla3: "กรอกชื่อธนาคาร",
+  bankPla4: "กรอกชื่อธนาคาร",
+  bankTitle5: "ยอมรับ 'ข้อตกลงบริการการชำระเงินด่วนของDingdong delivery'",
+  rechargeBtnText: "ใช้ระยะเวลาประมาณ2ชั่วโมงถึงจะถอนเงินได้",
+  automaticText1: "ตอบกลับการตรวจสอบอัตโนมัติ",
+  automaticText2: "ความคิดเห็นข้อดี",
+  automaticText3: "รีวิวข้อเสียตอบกลับรีวิวอัตโนมัติ",
+  automaticText4: "เพิ่มคำตอบ (ไม่เกิน 100 คำ)",
+  distributionTitle: "ตั้งค่าการจัดส่ง",
+  distributionText1: "จำนวนเงินเริ่มต้น",
+  distributionText2: "ระยะเวลาเตรียมอาหาร",
+  distributionText3: "ใส่จำนวนเงิน",
+  distributionText4: "ใส่เวลา",
+  distributionText5: "ข้อแนะนำ",
+  distributionText6:
+    "เวลาการส่งมอบคือเวลาการส่งมอบจากร้านค้าถึงลูกค้าระยะเวลาเตรียมอาหารโดยเฉลี่ยแต่ละครั้งจะใช้",
+  ClassificationManage: "หมวดหมู่ของฉัน",
+  ClassificationManageText1:
+    "การจำแนกประเภทสินค้าที่เหมาะสมจะมีประโยชน์ดังต่อไปนี้",
+  ClassificationManageText2:
+    "(1) อนุญาตให้ผู้ใช้ค้นหาผลิตภัณฑ์ที่เหมาะสมได้อย่างรวดเร็ว",
+  ClassificationManageText3:
+    "(2) อนุญาตให้ผู้ใช้ทราบมุมมองและทัศนคติของธุรกิจที่มีต่อผลิตภัณฑ์บางอย่าง",
+  ClassificationManageText4:
+    "สินค้าชนิดเดียวกันสามารถอยู่ในหมวดหมู่ที่แตกต่างกันได้",
+  ClassificationManageText5: "หมวดหมู่ปัจจุบัน",
+  ClassificationManageText6: "หมวดหมู่นี้มีผลิตภัณฑ์ดังต่อไปนี้",
+  saveSuccess: "บันทึกเรียบร้อยแล้ว",
+  editSuccess: "แก้ไขสำเร็จแล้ว",
+  yuan: "หยวน",
+  changeToEnglish: "เปลี่ยนเป็นภาษาไทย",
+  changeToChinese: "เปลี่ยนเป็นภาษาจีน",
+  appName: "Dingdong Food delivery",
+  connect: "ติดต่อฝ่ายบริการลูกค้า",
+  next: "ขั้นตอนต่อไป",
+  pass: "ข้าม",
+  cancel: "ยกเลิก",
+  save: "บันทึก",
+  confirm: "ยืนยัน",
+  MONDAY: "วันจันทร์",
+  TUESDAY: "วันอังคาร",
+  WEDNESDAY: "วันพุธ",
+  THURSDAY: "วันพฤหัสบดี",
+  FRIDAY: "วันศุกร์",
+  SATURDAY: "วันเสาร์",
+  SUNDAY: "วันอาทิตย์",
+  every: "ทุกวัน",
+  start: "เวลาเปิด",
+  end: "เวลาปิด",
+  hour: "ชั่วโมง",
+  min: "นาที",
+  minutes: "วินาที",
+  weekName: "1อาทิตย์",
+  tip: "แสดงผล",
+  passTips: "คุณแน่ใจหรือไม่ว่าต้องการข้าม",
+  add: "เพิ่ม",
+  remove: "ลบ",
+  complete: "สำเร็จ",
+  tab1: "หน้าร้าน",
+  tab2: "ใบสั่ง",
+  tab3: "ของฉัน",
+  editText: "แก้ไข",
+  uplaodText: "อัพโหลด",
+  uplaodImg: "อัพโหลดภาพ",
+  removeTips: "คุณแน่ใจหรือว่าต้องการลบ ไม่สามารถกู้คืนได้หลังจากลบออก",
+  takeOffTips: "คุณแน่ใจหรือว่าต้องการลบผลิตภัณฑ์นี้?",
+  autoBackText: "การตอบกลับอัตโนมัติ",
+  editAutoBack: "แก้ไขการตอบกลับอัตโนมัติ",
+  storeBackInfo: "การตอบกลับของร้าน",
+  delText: "ลบ",
+  successText: "สำเร็จ",
+  addClassTips: "ขณะนี้มีผลิตภัณฑ์แนะนำสองรายการโปรดลบและค่อยเพิ่ม",
+  nothingTips: "ไม่มีข้อมูล",
+  fullReduction1: "เต็ม",
+  fullReduction2: "ลดลง",
+  loading: "กำลังโหลด",
+  sendCode: "ส่งรหัสยืนยัน",
+  applySuccess: "แอปพลิเคชันประสบความสำเร็จ",
+  rechargeTime: "ระยะเวลาที่เงินจะเข้าโดยประมาณ",
+  rechargeTitle2: "บัตรเครดิตธนาคาร",
+  rechargeTitle3: "จำนวนเงินที่ถอนได้",
+  NOT_RECEIVED: "ยังไม่ได้รับออเดอร์",
+  RECEIVED: "รอรับออเดอร์",
+  REJECTED: "ยกเลิกออเดอร์",
+  COMPLETED: "เสร็จสิ้น",
+  UNPAID: "ยังไม่ได้ชำระ",
+  PAID: "ชำระแล้ว",
+  RATED: "ความคิดเห็น",
+  CANCELLED: "ยกเลิก",
+  REFUNDED_PENDING: "ขอเงินคืน",
+  REFUNDED: "คืนเงิน",
+  ALI_PAY: "Alipay",
+  CASH_DELIVERY: "ชำระปลายทาง",
+  CREDIT_CARD: "บัตรเครดิต",
+  TAKE_MEAL: "ได้มาถึงแล้ว",
+  MEAL_DELIVERY: "กำลังจัดส่ง",
+  CARRY_OUT: "ถึงจุดหมายแล้ว",
+  BUY: "ซื้อ",
+  INCOME: "รายได้",
+  REFUND: "คืนเงิน",
+  WITHDRAW: "เงินที่ถอนได้",
+  Apply_SUCCESS: "ถอนสำเร็จ",
+  Apply_PENDING: "กำลังประเมินผลการถอนเงิน",
+  Apply_FAIL: "การถอนล้มเหลว",
+  EBBZOP: "รอการตรวจสอบ",
+  HBHXVO: "การตรวจสอบล้มเหลว",
+  YMCWXK: "ยอดขายรายเดือน",
+  QHXNNQ: "คำร้องเรียนของฉัน",
+  RCSJTH: "ระบบกล่องจดหมาย",
+  GCXGVF: "แก้ไขข้อมูลร้านค้า",
+  LUPPEG: "ชื่อร้านค้าที่จดทะเบียนพาณิชย์",
+  TWWYNY: "ป้อนชื่อบุคคลตามทะเบียน",
+  OXLQHX: "หมายเลขทะเบียนพาณิชย์",
+  AZWBTB: "ป้อนหมายเลขทะเบียนพาณิชย์",
+  AZMDQP: "ภาพต้นฉบับของทะเบียนพาณิชย์",
+  SARAST: "ใบรับรองด้านหน้า",
+  NIOXWF: "ด้านหลังของเอกสาร",
+  KYPQJQ: "รูปถ่ายทะเบียนพาณิชย์",
+  WVWTVK: "อัพโหลด",
+  KMXEBK: "คำเตือน",
+  ONBSYL: "1. คุณต้องอัปโหลดภาพด้านหน้าและด้านหลังของใบรับรองทะเบียนพาณิชย์",
+  NOMPAT: "2. เนื้อหาของใบรับรองจะต้องชัดเจน",
+  HMBWUJ: "3. ใบรับรองต้องไม่หมดอายุ",
+  MSEUAP: "เอกสารต้องชัดเจน,รูปถ่ายต้องชัดเจน,เอกสารต้องไม่หมดอายุ",
+  DTEOMV: "ตั้งค่าเรียบร้อยแล้ว",
+  WCTSUL: "ใบประกอบธุรกิจการค้า",
+  RKMZQB: "ใบประกอบธุรกิจการค้าด้านหน้า",
+  XKTKDO: "ใบประกอบธุรกิจการค้าด้านหลัง",
+  YBCDKV: "ใบประกาศหน้าร้าน",
+  FQIZGN: "หน้าร้าน",
+  RGKJPS: "ถ่ายภาพสภาพแวดล้อมภายในร้าน: (5 รูป)",
+  FPMPMG: "อัพโหลด",
+  USOWMJ:
+    "1. คุณต้องอัปโหลดรูปถ่ายด้านหน้าของหน้าร้านและสภาพแวดล้อมภายในของร้านค้า",
+  USFFJT: "2. รูปถ่ายจะต้องชัดเจนและเป็นความจริง",
+  CWNZNO: "หมายเลขด้านหลัง Alipay",
+  ORHSFG: "จำนวนเงินที่ถอนได้",
+  BIZQHZ: "ยอดเงินคงเหลือ",
+  BJGTHA: "หยวน",
+  ZTIPSF: "เวลาหมดเขตคูปอง",
+  VCGOOE: "เวลาเริ่มต้นคูปอง",
+  OUGTQF: "คูปองมีจำนวน",
+  DADQTD: "กรอกจำนวนคูปอง",
+  PXTFMU: "ชื่อคูปอง",
+  TMDCMR: "กรอกชื่อคูปอง",
+  KEPOWT: "แก้ไขคูปอง (ใหม่)",
+  TLZRGT: "การจัดการคูปอง",
+  YMZEFF: "มีข้อมูลสเปคในหมวดหมู่ปัจจุบันโปรดลบข้อมูลสเปค",
+  IQYCDU: "มีให้เลือกได้หลายแบบ",
+  GVDYKL: "มีให้เลือกได้แบบเดียว",
+  MUKYDG: "เพิ่มสเปคสินค้า",
+  BCXVJS: "สเปคสินค้า",
+  TMMNWL: "ชื่อประเภท",
+  MLPRPD: "ต้องการเลือกหลายแบบไหม",
+  CUYTPO: "แก้ไขข้อมูลสเปคสินค้า",
+  SHKVCV: "ค้นหาสินค้าในร้านค้า",
+  XZOCQU: "กรุณาใส่ชื่อสินค้า",
+  QRLPZQ: "เริ่มต้น",
+  GIMSOZ: "ยังไม่ได้เริ่มต้น",
+  GPVGLH: "สั่งซื้อครั้งแรก",
+  GLWBTR: "สั่งซื้ออัตโนมัติ",
+  SOHDGP: "คำสั่งซื้อ",
+  OEUMXU: "แจ้งเตือนการสั่งซื้อ",
+  CNPBSH: "แจ้งเตือนผู้ขับขี่เรื่องอาหาร",
+  NMQKWY: "คำสั่งซื้อของฉัน",
+  QTLJZW: "เปิด",
+  AKHVEE: "ปิดตัวลง",
+  IBHAPI: "คำชื่นชม",
+  QDYXSC: "ส่วนลด",
+  NWHGKX: "แนะนำเพื่อน",
+  TEWQHV: "แก้ไขหมวดหมู่",
+  POKFOW: "คำชื่นชม",
+  BWEOYE: "ปัจจุบัน",
+  TCSOVO: "ทั้งหมด",
+  ABSYHA: "ไม่มีประกาศคลิกเพื่อแก้ไข",
+  HXRNYH: "ส่วนลดผู้ใช้ใหม่",
+  MPSFFU: "ออกจากระบบ",
+  ZJDSDE: "ยอดเงินคงเหลือ",
+  OZXEWT: "ถอนเงิน",
+  KWQKHQ: "สั่งซื้อด้วยตนเอง",
+  JBVNIK: "สั่งซื้ออัตโนมัติ",
+  RRXBGZ: "เก็บข้อมูล",
+  CSSATF: "ข้อมูลองค์กร",
+  TVZBVQ: "อัปโหลด",
+  TTBMND: "อยู่ระหว่างตรวจสอบ",
+  TGJPSZ: "เสียใจมาก! ! ! ร้านค้าของคุณยังไม่ผ่าน",
+  LIVTXF: "โปรดตรวจสอบข้อมูลร้านค้าอย่างละเอียดและนำส่งใหม่อีกครั้ง",
+  GODOSA: "ส่งซ้ำอีกครั้ง",
+  HMVTGZ: "การตอบกลับอัตโนมัติ",
+  YUZQBC: "คำร้องเรียนของฉัน",
+  BZIQEA: "ปิด",
+  DMCJVT: "เปิดให้บริการ",
 };

+ 157 - 107
language/zh.js

@@ -1,9 +1,7 @@
 export default {
-  // 页面的文字
-
-  welcom: "欢迎使用叮咚外卖平台",
+  welcom: "欢迎使⽤用叮咚外卖平台",
   login_form_1: "手机号",
-  login_pla_1: "输入商家手机号",
+  login_pla_1: "输入商家⼿手机号",
   login_form_2: "密码",
   login_pla_2: "输入密码",
   login_form_3: "验证码",
@@ -23,9 +21,8 @@ export default {
   register_pla_3: "再次输入确认密码",
   register_form_4: "手机号",
   register_pla_4: "输入手机号",
-
-  guideHome_title1: "很好!恭喜您已经完成了叮咚合作商家的第一步!",
-  guideHome_title2: "为了用户更好地认识您,请认真填写!",
+  guideHome_title1: "很好!恭喜您已经完成了叮咚合作商家的第一步!",
+  guideHome_title2: "为了用户更更好地认识您,请认真填写!",
   guideHome_form_1: "商家品类",
   guideHome_form_2: "商家地址",
   guideHome_form_3: "商家电话",
@@ -34,75 +31,71 @@ export default {
   guideHome_form_6: "商家性质",
   guideHome_form_7: "上传logo",
   guideHome_pla_1: "输入您的电话号码",
-  guideHome_pla_2: "(可后面再填)",
-  guideHome_pla_3: "(一旦选择不可更改)",
-  guide1_title1: "太好了!您已经在叮咚的外卖版图上站有席之地了!",
+  guideHome_pla_2: "(可后面再填)",
+  guideHome_pla_3: "(一旦选择不可更改)",
+  guide1_title1: "太好了!您已经在叮咚的外卖版图上站有席之地了!",
   guide1_form_1: "商品名称",
   guide1_pla_1: "输入商品名称",
   guide1_form_2: "商品价格",
   guide1_pla_2: "输入商品价格",
   guide1_form_3: "优惠价格",
   guide1_pla_3: "输入优惠价格",
-  guide1_form_4: "每日供应数量",
-  guide1_pla_4: "输入每日供应数量",
+  guide1_form_4: "每⽇供应数量",
+  guide1_pla_4: "输入每日供应数量",
   guide1_form_5: "供应时间",
   guide1_pla_5: "添加商品简介(不超过50字)",
-  guide2_title1: "woo!您的商品看上去就会很畅销!您可以再软件内添加更多的商品。",
+  guide2_title1:
+    "woo!您的商品看上去就会很畅销!您可以再软件内添加更更多的商品。",
   guide2_title2:
-    "woo!为了用户更好地认识您,请为这些商品建立分类。分类将在商品的左侧栏!",
+    "woo!为了了⽤用户更好地认识您,请为这些商品建立分类。分类将在商品的左侧栏!",
   guide2_form_1: "类别名称",
   guide2_pla_1: "输入类别名称",
   guide2_pla_2: "比如单人套餐、前菜、主食等等",
   guide2_form_2: "显示排序",
   guide2_form_3: "包含商品",
-  guide3_title1: "woo!太好了!您已经在叮咚的外卖版图上站有一席之地了!",
-  guide3_title2: "为了用户更好地认识您,请认真填写!",
+  guide3_title1: "woo!太好了!您已经在叮咚的外卖版图上站有一席之地了!",
+  guide3_title2: "为了用户更好地认识您,请认真填写!",
   guide3_form_1: "支付宝账号",
-  guide3_pla_1: "输入支付宝账号",
-  guide3_form_2: "支付宝账户名",
-  guide3_pla_2: "输入支付宝账账户名",
-  guide4_title1: "完美!您已经完成了本向导!",
-  guide4_title2: "完整的信息您可以在后续陆续添加。祝您轻松赚钱,开心生活",
-
+  guide3_pla_1: "输入⽀支付宝账号",
+  guide3_form_2: "⽀支付宝账户名",
+  guide3_pla_2: "输入⽀支付宝账账户名",
+  guide4_title1: "完美!您已经完成了了本向导!",
+  guide4_title2: "完整的信息您可以在后续陆续添加。祝您轻松赚钱,开⼼心⽣生活",
   goodsClassificationTitle1: "分类下的商品",
   goodsClassificationTitle2: "已选择的商品",
   goodsClassificationTitle3: "未选择的商品",
   systemClassification1:
-    "该分类为系统预制分类,主要用于提醒用户相关的信息,您可以放餐具以及点单必读等信息。",
+    "该分类为系统预制分类,主要用于提醒用户相关的信息,您可以放餐具以及点单必读等信息。",
   systemClassification2:
-    "如果您没有放置点单必读商品,系统将不显示该分类。所以,如果暂时没有符合标准的产品,也建议您打开。",
+    "如果您没有放置点单必读商品,系统将不显示该分类。所以,如果暂时没有符合标准的产品,也建议您打开。",
   systemClassification3:
-    "该分类为系统预制分类,自动罗列了商户中的畅销产品和好评度高的产品,系统会根据销售和评价动态更新。",
+    "该分类为系统预制分类,自动罗列商户中的畅销产品和好评度高的产品,系统会根据销售和评价动态更新。",
   systemClassification4: "所以,如果暂时没有符合标准的产品,也建议您打开。",
   systemClassification5:
-    "该分类为系统预制分类,自动罗列了已设置的折扣商品,如果没有折扣商品,系统将不显示该分类。",
+    "该分类为系统预制分类,自动罗列已设置的折扣商品,如果没有折扣商品,系统将不显示该分类。",
   systemClassification6: "您可以在“我的”->“我的优惠活动”中配置折扣商品。",
   systemClassTips1: "确定要关闭该系统分类吗?",
-
   storeAudio: "审核店铺",
   storeAudioText1: "您的店铺正在审核中",
-  storeAudioText2: "请耐心等待...",
+  storeAudioText2: "请耐心等待...",
   storeAudioText3: "恭喜!!!",
   storeAudioText4: "您的店铺审核成功!",
   addGoods: "编辑(新增)商品",
   addGoods2: "新增商品",
   takeOff: "下架",
   takeUp: "上架",
-
-  homeBar: "我的店面",
+  homeBar: "我的店⾯面",
   homeTip1: "添加banner",
   homeTitle1: "店主推荐",
   homeTitle2: "编辑分类",
-  homeTip2: "月售",
+  homeTip2: "月售",
   homeTip3: "公告",
   homeTitle3: "公告编辑",
   homeTab1: "点餐",
   homeTab2: "评价",
   homeTab3: "商家",
-
   home3Title1: "商家故事",
-  home3Title2: "文字介绍/品牌故事等等,最多500字",
-
+  home3Title2: "⽂文字介绍/品牌故事等等,最多500字",
   bannerTitle: "banner",
   logoTitle: "商家头像",
   qualificationTitle: "营业资质",
@@ -115,20 +108,18 @@ export default {
   userTitle21: "满减",
   userTitle22: "折扣商品",
   userTitle23: "首单",
-  userTitle24: "优惠券管理",
+  userTitle24: "优惠券管理",
   userTitle31: "编辑商品",
   userTitle32: "商品分类",
   userTitle33: "招牌商品",
   userTitle34: "我的推荐位",
-  userTitle41: "自动接单、订单语音设置",
+  userTitle41: "自动接单、订单语音设置",
   userTitle42: "我的对账单",
   userTitle61: "账单查询",
-  userTitle62: "我的银行卡",
-
+  userTitle62: "我的银⾏行行卡",
   orderTitleBtn1: "手动接单",
-  orderTitleBtn2: "编辑语音",
-
-  orderInfo1: "流水号",
+  orderTitleBtn2: "编辑语⾳音",
+  orderInfo1: "流⽔水号",
   orderInfo2: "订单时间",
   orderInfo3: "联系客户",
   orderInfo4: "详细地址",
@@ -138,52 +129,43 @@ export default {
   orderButton2: "接单",
   overTips: "确定要拒单吗?",
   orderSuceess: "操作成功",
-
-  // 银行卡
-  bankMainTitle: "选择银行卡",
-  bindBankText1: "绑定银行卡",
-  bankTitle1: "银行",
+  bankMainTitle: "选择银⾏行行卡",
+  bindBankText1: "绑定银⾏行行卡",
+  bankTitle1: "银⾏行行",
   bankTitle2: "卡号",
   bankTitle3: "姓名",
-  bankTitle4: "身份证号",
-  bankPla1: "输入银行名称",
-  bankPla2: "输入银行卡号",
-  bankPla3: "输入银行名称",
-  bankPla4: "输入银行名称",
-  bankTitle5: "同意《叮咚外卖快捷支付服务协议》",
-  rechargeBtnText: "预计两小时内到账,确认提现",
-  // 设置
-
-  automaticText1: "自动评价回复",
-  automaticText2: "好评自动评价回复",
-  automaticText3: "差评自动评价回复",
+  bankTitle4: "⾝身份证号",
+  bankPla1: "输入银⾏名称",
+  bankPla2: "输入银⾏卡号",
+  bankPla3: "输入银⾏名称",
+  bankPla4: "输入银⾏名称",
+  bankTitle5: "同意《叮咚外卖快捷⽀支付服务协议》",
+  rechargeBtnText: "预计两⼩小时内到账,确认提现",
+  automaticText1: "⾃自动评价回复",
+  automaticText2: "好评⾃自动评价回复",
+  automaticText3: "差评⾃自动评价回复",
   automaticText4: "添加回复(不超过100字)",
-
   distributionTitle: "配送设置",
-  distributionText1: "起送金额",
+  distributionText1: "起送金额",
   distributionText2: "每餐平均准备时间",
-  distributionText3: "输入额",
+  distributionText3: "输入额",
   distributionText4: "输入时间",
-  distributionText5: "温馨提示",
+  distributionText5: "温馨提示",
   distributionText6:
-    "起送金额为店铺外送起送金额,每餐平均准备时间用于计算商品配送时间,请根据店铺实际餐品准备情况设置。",
-
-  // 我的分类
+    "起送⾦金金额为店铺外送起送⾦金金额,每餐平均准备时间⽤用于计算商品配送时间,请根据店铺实际餐品准备情况设置。",
   ClassificationManage: "我的分类",
-  ClassificationManageText1: "合理的设置分类具有如下好处",
-  ClassificationManageText2: "(1)可以让用户快速找到适合的商品",
+  ClassificationManageText1: "合理理的设置分类具有如下好处",
+  ClassificationManageText2: "(1)可以让用户快速找到适合的商品",
   ClassificationManageText3:
-    "(2)可以让用户知道商家对于某一样商品的看法和态度",
-  ClassificationManageText4: "同一种商品可以置于不同的分类下。",
+    "(2)可以让用户知道商家对于某一样商品的看法和态度",
+  ClassificationManageText4: "同一种商品可以置于不同的分类下。",
   ClassificationManageText5: "当前有的分类",
-  ClassificationManageText6: "该分类包含了以下商品",
-  // 公共的文字
-
+  ClassificationManageText6: "该分类包含了了以下商品",
   saveSuccess: "保存成功",
   editSuccess: "修改成功",
   yuan: "元",
-  changeToEnglish: "切换到泰文",
-  changeToChinese: "切换到中文",
+  changeToEnglish: "切换到泰文",
+  changeToChinese: "切换到中文",
   appName: "叮咚外卖",
   connect: "联系客服",
   next: "下一步",
@@ -197,7 +179,7 @@ export default {
   THURSDAY: "周四",
   FRIDAY: "周五",
   SATURDAY: "周六",
-  SUNDAY: "周日",
+  SUNDAY: "周日",
   every: "每天",
   start: "开始时间",
   end: "结束时间",
@@ -205,12 +187,12 @@ export default {
   min: "分",
   minutes: "分钟",
   weekName: "周期",
-  tip: "提示",
+  tip: "提示",
   passTips: "确认要跳过吗?",
   add: "添加",
   remove: "移除",
   complete: "完成",
-  tab1: "店面",
+  tab1: "店面",
   tab2: "订单",
   tab3: "我的",
   editText: "编辑",
@@ -218,62 +200,130 @@ export default {
   uplaodImg: "上传图片",
   removeTips: "确定要移除吗?移除后不可恢复",
   takeOffTips: "确定要下架该商品吗?",
-  autoBackText: "自动回复",
-  editAutoBack: "编辑自动回复",
+  autoBackText: "自动回复",
+  editAutoBack: "编辑自动回复",
   storeBackInfo: "商家回复",
   delText: "删除",
   successText: "成功",
   addClassTips: "当前已经有两个推荐商品,请先移除后添加。",
-  nothingTips: "暂无数据",
+  nothingTips: "暂无数据",
   fullReduction1: "满",
   fullReduction2: "减",
   loading: "加载中",
   sendCode: "发送验证码",
   applySuccess: "申请成功",
   rechargeTime: "预计到账时间",
-  rechargeTitle2: "银行卡",
-  rechargeTitle3: "提现金额",
-
-  // 订单状态
+  rechargeTitle2: "银⾏行行卡",
+  rechargeTitle3: "提现⾦金金额",
   NOT_RECEIVED: "未接单",
-  RECEIVED: "已接单",
+  RECEIVED: "待取餐",
   REJECTED: "退单",
   COMPLETED: "已完成",
-  UNPAID: "未支付",
-  PAID: "已支付",
+  UNPAID: "未支付",
+  PAID: "已支付",
   RATED: "待评价",
   CANCELLED: "已取消",
   REFUNDED_PENDING: "申请退款中",
   REFUNDED: "已退款",
   ALI_PAY: "支付宝",
   CASH_DELIVERY: "货到付款",
-  CREDIT_CARD: "信用卡",
-  Re_RECEIVED: "待取餐",
+  CREDIT_CARD: "信⽤用卡",
   TAKE_MEAL: "已到店",
   MEAL_DELIVERY: "正在配送中",
   CARRY_OUT: "送达",
-
-  // 账单状态
   BUY: "购买",
   INCOME: "收入",
   REFUND: "退款",
   WITHDRAW: "提现",
-
-  // 提现状态
   Apply_SUCCESS: "提现成功",
-  Apply_PENDING: "提现处理中",
+  Apply_PENDING: "提现处理理中",
   Apply_FAIL: "提现失败",
-
-  // myRecord
-  selectTiltle1: "全部账单",
-  selectTiltle2: "收入账单",
-  selectTiltle3: "提现账单",
-
-  statePENDING: "待审核",
-  stateDENY: "审核未通过",
-  buy: "月售",
-  Complaintlist: "我的投诉",
-  EmailDetail1: "系统邮箱",
-  LegalPerson1: "编辑法人信息",
-  LegalPerson2: "法人姓名:",
+  EBBZOP: "待审核",
+  HBHXVO: "审核未通过",
+  YMCWXK: "月售",
+  QHXNNQ: "我的投诉",
+  RCSJTH: "系统邮箱",
+  GCXGVF: "编辑法人信息",
+  LUPPEG: "法人姓名",
+  TWWYNY: "输入法人姓名",
+  OXLQHX: "法人证件号码",
+  AZWBTB: "输入证件号码",
+  AZMDQP: "证件原件照片:",
+  SARAST: "证件正⾯",
+  NIOXWF: "证件反⾯",
+  KYPQJQ: "⼿手持证件照片:",
+  WVWTVK: "上传",
+  KMXEBK: "提⽰:",
+  ONBSYL: "1、需上传法⼈人证件原件正反⾯面图片",
+  NOMPAT: "2、需保证证件内容清晰。",
+  HMBWUJ: "3、证件需在有效使⽤用期内。",
+  MSEUAP:
+    "4、法人本⼈人⼿手持证件照需保证证件信息清晰,⼿手持证件⼈人的五官清晰可⻅见,照片内容真实有效,不得做任何修改。",
+  DTEOMV: "设置成功",
+  WCTSUL: "营业资质",
+  RKMZQB: "营业资质正面",
+  XKTKDO: "营业资质反⾯",
+  YBCDKV: "编辑门店信息",
+  FQIZGN: "店⾯门头",
+  RGKJPS: "店⾯面内部环境拍照:(最多五张)",
+  FPMPMG: "上传",
+  USOWMJ: "1、需上传店⾯面⻔门头及店铺内部环境照片。",
+  USFFJT: "2、照片需清晰、真实。",
+  CWNZNO: "支付宝尾号",
+  ORHSFG: "提现金额",
+  BIZQHZ: "可⽤用余额",
+  BJGTHA: "元",
+  ZTIPSF: "优惠券结束时间",
+  VCGOOE: "优惠券开始时间",
+  OUGTQF: "优惠券⻔门槛⾦金金额",
+  DADQTD: "输入⻔门槛⾦金金额",
+  PXTFMU: "优惠券名称",
+  TMDCMR: "输入优惠券名称",
+  KEPOWT: "编辑(新增)优惠券",
+  TLZRGT: "优惠券管理",
+  YMZEFF: "当前分类存在规格,请删除规格后再删除",
+  IQYCDU: "多选",
+  GVDYKL: "单选",
+  MUKYDG: "添加规格",
+  BCXVJS: "规格",
+  TMMNWL: "类名",
+  MLPRPD: "是否多选",
+  CUYTPO: "商品规格编辑",
+  SHKVCV: "店铺商品搜索",
+  XZOCQU: "请输入商品名称",
+  QRLPZQ: "已启动",
+  GIMSOZ: "未启动",
+  GPVGLH: "首单",
+  GLWBTR: "自动接单",
+  SOHDGP: "订单",
+  OEUMXU: "接单提醒",
+  CNPBSH: "骑手取餐提醒",
+  NMQKWY: "我的对账单",
+  QTLJZW: "开启",
+  AKHVEE: "关闭",
+  IBHAPI: "好评",
+  QDYXSC: "折扣",
+  NWHGKX: "店主推荐",
+  TEWQHV: "编辑分类",
+  POKFOW: "好评",
+  BWEOYE: "最新",
+  TCSOVO: "全部",
+  ABSYHA: "暂无通告,点击编辑",
+  HXRNYH: "新用户立减",
+  MPSFFU: "退出登录",
+  ZJDSDE: "余额",
+  OZXEWT: "提现",
+  KWQKHQ: "手动接单",
+  JBVNIK: "自动接单",
+  RRXBGZ: "门店信息",
+  CSSATF: "法⼈信息",
+  TVZBVQ: "已上传",
+  TTBMND: "提交审核",
+  TGJPSZ: "很抱歉!!!您的店铺审核暂未通过",
+  LIVTXF: "请仔细检查店铺信息重新申请",
+  GODOSA: "重新申请",
+  HMVTGZ: "自动回复",
+  YUZQBC: "我的投诉",
+  BZIQEA: "停⽌营业",
+  DMCJVT: "开始营业",
 };

+ 10 - 4
models/wordsModel.js

@@ -12,6 +12,7 @@ export default {
         i18n.locale = local;
       } else {
         i18n.locale = Localization.locale;
+        setState({ local: Localization.locale });
       }
       const words = {};
       keys.forEach(item => {
@@ -47,12 +48,17 @@ export default {
       };
     },
     changeLocal() {
-      const { local } = model();
-      if (local) {
-        setState({ local: "" });
+      const { local, getWords } = model();
+      const list = ["zh", "th", "en"];
+      const nowIndex = list.findIndex(item => {
+        return local.indexOf(item) !== -1;
+      });
+      if (nowIndex !== -1) {
+        setState({ local: list[(nowIndex + 1) % 3] });
       } else {
-        setState({ local: "th" });
+        setState({ local: Localization.locale });
       }
+      getWords();
     },
   }),
 };

+ 2 - 2
screens/Appraisal/ComplaintlistScreen.js

@@ -31,7 +31,7 @@ export default function CouponListScreen() {
   const theme = useTheme();
   const { changeBackground } = useModel("barModel");
 
-//   const { Complaintlist } = useModel("wordsModel");
+  const { YUZQBC } = useModel("wordsModel");
   const { getMyList } = useModel("complaintModel");
 
   useFocusEffect(
@@ -44,7 +44,7 @@ export default function CouponListScreen() {
 
   return (
     <>
-      <NavHeaderBar title="我的投诉" />
+      <NavHeaderBar title={YUZQBC} />
       <ListComponent
         getInfo={getMyList}
         renderItem={walletItem}

+ 12 - 12
screens/Appraisal/EmailDetail.js

@@ -54,7 +54,7 @@ const styles = StyleSheet.create({
 export default function EmailDetailScreen() {
     const theme = useTheme();
     const { changeBackground } = useModel("barModel");
-    // const {} = useModel("wordsModel");
+    const { RCSJTH } = useModel("wordsModel");
     // const { getMyList } = useModel("emailModel");
 
     useFocusEffect(
@@ -65,36 +65,36 @@ export default function EmailDetailScreen() {
 
     return (
       <>
-        <NavHeaderBar title='系统邮箱' />
+        <NavHeaderBar title={RCSJTH} />
         <Layout style={styles.main}>
           <Layout style={styles.top}>
-            <Text category='c1'>订单提示</Text>
-            <Text category='c1'>12月26日</Text>
+            <Text category="c1">订单提示</Text>
+            <Text category="c1">12月26日</Text>
           </Layout>
 
           {/* 普通内容 */}
-          <Text category='c1' style={styles.content}>
+          <Text category="c1" style={styles.content}>
             您的订单已经被取消收款方老司机的发链接SDK溜老司机的上路考订水房间了圣诞节弗兰克斯家电快溜缝胶看楼上的甲方看了圣诞节放凌空加施蒂利克福建省浪蝶狂蜂监考老师的加菲看楼上的积分了开机啥的敖德萨所多
           </Text>
 
           {/* 提现到账 */}
           <Layout>
-            <Text category='h4'>
+            <Text category="h4">
               153.98
-              <Text category='c1'>元</Text>
+              <Text category="c1">元</Text>
             </Text>
-            <Text category='c1' style={styles.text}>
+            <Text category="c1" style={styles.text}>
               提现到:
-              <Text category='c1'>中国大众银行(4756)</Text>
+              <Text category="c1">中国大众银行(4756)</Text>
             </Text>
-            <Text category='c1' style={styles.text}>
+            <Text category="c1" style={styles.text}>
               到账时间:
-              <Text category='c1'>2020-12-31 10:48</Text>
+              <Text category="c1">2020-12-31 10:48</Text>
             </Text>
           </Layout>
 
           {/* 审核提交 */}
-          <Text category='c1' style={styles.wait}>
+          <Text category="c1" style={styles.wait}>
             您所提交的商品正在审核中,请您耐心等待...
           </Text>
         </Layout>

+ 2 - 2
screens/Appraisal/SystemEmail.js

@@ -36,7 +36,7 @@ export default function SystemEmailScreen({ navigation }) {
     const theme = useTheme();
     const { changeBackground } = useModel("barModel");
 
-    // const {} = useModel("wordsModel");
+    const { RCSJTH } = useModel("wordsModel");
     const { getMyList } = useModel("emailModel");
 
     useFocusEffect(
@@ -59,7 +59,7 @@ export default function SystemEmailScreen({ navigation }) {
 
     return (
       <>
-        <NavHeaderBar title='系统邮箱' />
+        <NavHeaderBar title={RCSJTH} />
         <ListComponent
           getInfo={getMyList}
           renderItem={emailItem}

+ 35 - 18
screens/Attestation/LegalPersonScreen.js

@@ -11,7 +11,6 @@ import FormInput from "../../components/FormInput";
 import ListUtil from "../../Utils/ListUtil";
 import ScrollPage from "../../components/ScrollPage";
 
-
 const styles = StyleSheet.create({
   container: {
     flex: 1,
@@ -46,6 +45,25 @@ export default function LegalPersonScreen({ navigation }) {
   const { mid } = useModel("userModel");
   const { success } = useModel("loadingModel", true);
 
+  const {
+    GCXGVF,
+    MSEUAP,
+    LUPPEG,
+    TWWYNY,
+    OXLQHX,
+    AZWBTB,
+    AZMDQP,
+    SARAST,
+    NIOXWF,
+    KYPQJQ,
+    WVWTVK,
+    KMXEBK,
+    ONBSYL,
+    NOMPAT,
+    HMBWUJ,
+    DTEOMV,
+  } = useModel("wordsModel");
+
   const {
     getVerfied,
     verifiedInfo,
@@ -90,20 +108,20 @@ export default function LegalPersonScreen({ navigation }) {
     const _imgList = new ListUtil([idNoImgBefore, idNoImgAfter]);
     const idNoImg = _imgList.getListValue();
     saveVeriFied({ realName, idNo, idNoImg, handheldIdNo }).then(() => {
-      success("设置成功");
+      success(DTEOMV);
       navigation.goBack();
     });
   }
 
   return (
     <>
-      <NavHeaderBar title="编辑法人信息" />
+      <NavHeaderBar title={GCXGVF} />
       <ScrollPage>
         <Layout style={styles.container}>
           <FormInput
             key="realName"
-            label="法人姓名:"
-            placeholder="输入姓名"
+            label={LUPPEG}
+            placeholder={TWWYNY}
             value={realName}
             onChange={setRealName}
             textAlign="right"
@@ -112,8 +130,8 @@ export default function LegalPersonScreen({ navigation }) {
           />
           <FormInput
             key="idNo"
-            label="法人证件号码:"
-            placeholder="输入证件号码"
+            label={OXLQHX}
+            placeholder={AZWBTB}
             value={idNo}
             onChange={setIdNo}
             textAlign="right"
@@ -122,7 +140,7 @@ export default function LegalPersonScreen({ navigation }) {
           />
           <FormInput
             key="before"
-            label="证件原件照片:"
+            label={AZMDQP}
             type="label"
             textAlign="right"
             style={{ paddingVertical: 5 }}
@@ -139,7 +157,7 @@ export default function LegalPersonScreen({ navigation }) {
                 aspect={[1, 1]}
               />
               <Text category="c1" status="info" style={styles.text}>
-                证件正面
+                {SARAST}
               </Text>
             </View>
             <View style={styles.imgItem}>
@@ -151,13 +169,13 @@ export default function LegalPersonScreen({ navigation }) {
                 aspect={[1, 1]}
               />
               <Text category="c1" status="info" style={styles.text}>
-                证件反面
+                {NIOXWF}
               </Text>
             </View>
           </View>
           <FormInput
             key="handheldIdNo"
-            label="手持证件照片:"
+            label={KYPQJQ}
             type="label"
             textAlign="right"
             style={{ paddingVertical: 5 }}
@@ -176,26 +194,25 @@ export default function LegalPersonScreen({ navigation }) {
           </View>
           <View style={styles.btn}>
             <Button onPress={submit} disabled={!canSubmit}>
-              上传
+              {WVWTVK}
             </Button>
           </View>
         </Layout>
         <View style={styles.tips}>
           <Text category="c1" status="info">
-            提示:
+            {KMXEBK}
           </Text>
           <Text category="c1" status="info">
-            1、需上传法人证件原件正反面图片。
+            {ONBSYL}
           </Text>
           <Text category="c1" status="info">
-            2、需保证证件内容清晰。
+            {NOMPAT}
           </Text>
           <Text category="c1" status="info">
-            3、证件需在有效使用期内。
+            {HMBWUJ}
           </Text>
           <Text category="c1" status="info">
-            4、法人本人手持证件照需保证证件信息清晰,手持证件人的五官清晰可见,照片内容真实有效,不
-            得做任何修改。
+            {MSEUAP}
           </Text>
         </View>
       </ScrollPage>

+ 5 - 4
screens/Attestation/QualificationScreen.js

@@ -36,6 +36,7 @@ export default function QualificationScreen({ navigation }) {
     updateMerchant,
     changeRegisterInfo,
   } = useModel("userModel");
+  const { XKTKDO, WCTSUL, confirm, RKMZQB } = useModel("wordsModel");
   const { success } = useModel("loadingModel", true);
 
   const [beforeImg, changeBeforeImg] = React.useState("");
@@ -82,7 +83,7 @@ export default function QualificationScreen({ navigation }) {
 
   return (
     <>
-      <NavHeaderBar title="营业资质" />
+      <NavHeaderBar title={WCTSUL} />
       <View style={styles.imgList}>
         <View style={styles.imgItem}>
           <UpLoadImage
@@ -93,7 +94,7 @@ export default function QualificationScreen({ navigation }) {
             aspect={[1, 1]}
           />
           <Text category="c1" style={styles.text}>
-            营业资质正面
+            {RKMZQB}
           </Text>
         </View>
         <View style={styles.imgItem}>
@@ -105,14 +106,14 @@ export default function QualificationScreen({ navigation }) {
             aspect={[1, 1]}
           />
           <Text category="c1" style={styles.text}>
-            营业资质反面
+            {XKTKDO}
           </Text>
         </View>
       </View>
 
       <View style={styles.btn}>
         <Button onPress={submit} disabled={!canSubmit}>
-          确定
+          {confirm}
         </Button>
       </View>
     </>

+ 24 - 7
screens/Attestation/StoreScreen.js

@@ -62,6 +62,17 @@ export default function StoreScreen({ navigation }) {
     updateMerchant,
     changeRegisterInfo,
   } = useModel("userModel");
+  const {
+    WVWTVK,
+    KMXEBK,
+    RGKJPS,
+    FQIZGN,
+    HMBWUJ,
+    MSEUAP,
+    ONBSYL,
+    NOMPAT,
+    YBCDKV,
+  } = useModel("wordsModel");
   const { success, loading } = useModel("loadingModel", true);
 
   const [doorHeadImg, setDoorHeadImg] = React.useState("");
@@ -116,12 +127,12 @@ export default function StoreScreen({ navigation }) {
 
   return (
     <>
-      <NavHeaderBar title="编辑门店信息" />
+      <NavHeaderBar title={YBCDKV} />
       <ScrollPage>
         <Layout style={styles.container}>
           <FormInput
             key="doorHeadImg"
-            label="店面门头:"
+            label={FQIZGN}
             type="label"
             textAlign="right"
             style={{ paddingVertical: 5 }}
@@ -141,7 +152,7 @@ export default function StoreScreen({ navigation }) {
 
           <FormInput
             key="img"
-            label="店面内部环境拍照:(最多五张)"
+            label={RGKJPS}
             type="label"
             textAlign="right"
             style={{ paddingVertical: 5 }}
@@ -198,19 +209,25 @@ export default function StoreScreen({ navigation }) {
 
           <View style={styles.btn}>
             <Button onPress={submit} disabled={!canSubmit}>
-              上传
+              {WVWTVK}
             </Button>
           </View>
         </Layout>
         <View style={styles.tips}>
           <Text category="c1" status="info">
-            提示:
+            {KMXEBK}
+          </Text>
+          <Text category="c1" status="info">
+            {ONBSYL}
+          </Text>
+          <Text category="c1" status="info">
+            {NOMPAT}
           </Text>
           <Text category="c1" status="info">
-            1、需上传店面门头及店铺内部环境照片。
+            {HMBWUJ}
           </Text>
           <Text category="c1" status="info">
-            2、照片需清晰、真实。
+            {MSEUAP}
           </Text>
         </View>
       </ScrollPage>

+ 134 - 137
screens/Bank/MainScreen.js

@@ -4,171 +4,168 @@ import { StyleSheet } from "react-native";
 import { useModel } from "flooks";
 import { useFocusEffect } from "@react-navigation/native";
 import {
-    Layout,
-    Button,
-    useTheme,
-    TopNavigationAction,
-    Icon,
-    Divider,
+  Layout,
+  Button,
+  useTheme,
+  TopNavigationAction,
+  Icon,
+  Divider,
 } from "@ui-kitten/components";
 import NavHeaderBar from "../../components/NavHeaderBar";
 import ListComponent from "../../components/ListComponent";
 import BankCard from "../../components/BankCard";
 
-const PlusIcon = props => <Icon {...props} fill='#fff' name='plus' />;
-
+const PlusIcon = props => <Icon {...props} fill="#fff" name="plus" />;
 
 const styles = StyleSheet.create({
-    list: {
-        flex: 1,
-        backgroundColor: "#EEEEEE",
-        paddingVertical: 7,
-    },
-    separatorStyle: {
-        height: 6,
-        backgroundColor: "#EEEEEE",
-    },
-    subBtn: {
-        paddingHorizontal: 15,
-        paddingVertical: 20,
-        width: "100%",
-        position: "absolute",
-        bottom: 90,
-        left: 0,
-        backgroundColor: "transparent",
-    },
+  list: {
+    flex: 1,
+    backgroundColor: "#EEEEEE",
+    paddingVertical: 7,
+  },
+  separatorStyle: {
+    height: 6,
+    backgroundColor: "#EEEEEE",
+  },
+  subBtn: {
+    paddingHorizontal: 15,
+    paddingVertical: 20,
+    width: "100%",
+    position: "absolute",
+    bottom: 90,
+    left: 0,
+    backgroundColor: "transparent",
+  },
 });
 
-
 export default function BankScreen({ navigation, route }) {
-    const theme = useTheme();
-    const { changeBackground } = useModel("barModel");
-    const { userTitle62, ALI_PAY, bankMainTitle, next } = useModel(
-        "wordsModel"
-    );
-    const { aliAccount } = useModel("userModel");
-    // const {  } = useModel("dialogModel");
-    const {  httpGet } = useModel("httpModel", true);
-    const [pageName, setPageName] = React.useState("Bank");
-    const [selectId, setSelectId] = React.useState();
-    const [showList, changeShow] = React.useState(false);
+  const theme = useTheme();
+  const { changeBackground } = useModel("barModel");
+  const { userTitle62, CWNZNO, ALI_PAY, bankMainTitle, next } = useModel(
+    "wordsModel"
+  );
+  const { aliAccount } = useModel("userModel");
+  // const {  } = useModel("dialogModel");
+  const { httpGet } = useModel("httpModel", true);
+  const [pageName, setPageName] = React.useState("Bank");
+  const [selectId, setSelectId] = React.useState();
+  const [showList, changeShow] = React.useState(false);
+
+  useFocusEffect(
+    React.useCallback(() => {
+      changeBackground(theme["color-primary-500"]);
+      const { name } = route;
+      setPageName(name);
+    }, [])
+  );
+  function getList(page, size) {
+    return httpGet("/bankCard/my", { page, size }, true);
+  }
+
+  const renderItem = ({ item, index }) => (
+    <BankCard
+      key={index}
+      info={item}
+      type={pageName === "Bank" ? "edit" : "choose"}
+      selectId={selectId}
+      pressEvent={() => {
+        if (pageName === "Bank") {
+          navigation.navigate("AddBank", {
+            id: item.id,
+            pageName,
+          });
+        } else {
+          setSelectId(item.id);
+        }
+      }}
+    />
+  );
 
-    useFocusEffect(
-        React.useCallback(() => {
-            changeBackground(theme["color-primary-500"]);
-            const { name } = route;
-            setPageName(name);
-        }, [])
-    );
-    function getList(page, size) {
-        return httpGet("/bankCard/my", { page, size }, true);
+  const aliAccountNo = React.useMemo(() => {
+    if (aliAccount && aliAccount.length > 4) {
+      return `${CWNZNO}${aliAccount.substr(aliAccount.length - 5, 4)}`;
     }
+    if (aliAccount) {
+      return `${CWNZNO}${aliAccount.substr(0, aliAccount.length)}`;
+    }
+    return "";
+  }, [aliAccount]);
 
-    const renderItem = ({ item, index }) => (
+  const ListFooterComponent = () => (
+    <>
+      <Divider style={styles.separatorStyle} />
       <BankCard
-        key={index}
-        info={item}
-        type={pageName === "Bank" ? "edit" : "choose"}
-        selectId={selectId}
-        pressEvent={() => {
-                if (pageName === "Bank") {
-                    navigation.navigate("AddBank", {
-                        id: item.id,
-                        pageName,
-                    });
-                } else {
-                    setSelectId(item.id);
-                }
-            }}
+        disabled
+        info={{
+          bankName: ALI_PAY,
+          cardNo: aliAccountNo,
+          avatar:
+            "https://idingdong.oss-cn-hangzhou.aliyuncs.com/image/2020-05-21-19-10-04YaHrcXTX.png",
+        }}
       />
-    );
+    </>
+  );
 
-    const aliAccountNo = React.useMemo(() => {
-        if (aliAccount && aliAccount.length > 4) {
-            return `支付宝尾号${  aliAccount.substr(aliAccount.length - 5, 4)}`;
-        } if (aliAccount) {
-            return `支付宝尾号${  aliAccount.substr(0, aliAccount.length)}`;
-        } 
-            return "";
-        
-    }, [aliAccount]);
+  const NextButton = () => (
+    <Layout style={{ height: 100, backgroundColor: "transparent" }} />
+  );
+  const renderRightActions = () => (
+    <TopNavigationAction
+      icon={PlusIcon}
+      onPress={() => {
+        navigation.navigate("AddBank", {
+          pageName,
+        });
+      }}
+    />
+  );
 
-    const ListFooterComponent = () => (
-      <>
-        <Divider style={styles.separatorStyle} />
-        <BankCard
-          disabled
-          info={{
-                    bankName: ALI_PAY,
-                    cardNo: aliAccountNo,
-                    avatar:
-                        "https://idingdong.oss-cn-hangzhou.aliyuncs.com/image/2020-05-21-19-10-04YaHrcXTX.png",
-                }}
-        />
-      </>
-    );
-
-    const NextButton = () => (
-      <Layout style={{ height: 100, backgroundColor: "transparent" }} />
-    );
-    const renderRightActions = () => (
-      <TopNavigationAction
-        icon={PlusIcon}
-        onPress={() => {
-                navigation.navigate("AddBank", {
-                    pageName,
-                });
-            }}
-      />
-    );
-
-    const emptyEvent = isEmpty => {
-        const { name } = route;
-        if (name === "ChooseBank" && isEmpty) {
-            navigation.replace("AddBank", {
-                pageName: "Recharge",
-            });
-        } else {
-            changeShow(true);
-        }
-    };
+  const emptyEvent = isEmpty => {
+    const { name } = route;
+    if (name === "ChooseBank" && isEmpty) {
+      navigation.replace("AddBank", {
+        pageName: "Recharge",
+      });
+    } else {
+      changeShow(true);
+    }
+  };
 
-    return (
-      <>
-        {showList && (
+  return (
+    <>
+      {showList && (
         <NavHeaderBar
           title={pageName === "Bank" ? userTitle62 : bankMainTitle}
           accessoryRight={renderRightActions}
         />
-            )}
-        <ListComponent
-          getInfo={getList}
-          renderItem={renderItem}
-          style={styles.list}
-          separatorStyle={styles.separatorStyle}
-          ListFooterComponent={
-                    pageName === "Bank" ? ListFooterComponent : NextButton
-                }
-          showEmpty={pageName === "ChooseBank"}
-          emptyEvent={emptyEvent}
-          showList={showList}
-          extraData={{ selectId }}
-        />
-        {pageName === "ChooseBank" && showList && (
+      )}
+      <ListComponent
+        getInfo={getList}
+        renderItem={renderItem}
+        style={styles.list}
+        separatorStyle={styles.separatorStyle}
+        ListFooterComponent={
+          pageName === "Bank" ? ListFooterComponent : NextButton
+        }
+        showEmpty={pageName === "ChooseBank"}
+        emptyEvent={emptyEvent}
+        showList={showList}
+        extraData={{ selectId }}
+      />
+      {pageName === "ChooseBank" && showList && (
         <Layout style={styles.subBtn}>
           <Button
             disabled={!selectId}
             onPress={() => {
-                            navigation.navigate("Recharge", {
-                                selectId,
-                            });
-                        }}
+              navigation.navigate("Recharge", {
+                selectId,
+              });
+            }}
           >
             {next}
           </Button>
         </Layout>
-            )}
-      </>
-    );
+      )}
+    </>
+  );
 }
-

+ 26 - 19
screens/Bank/RechargeScreen.js

@@ -50,7 +50,14 @@ const styles = StyleSheet.create({
 export default function RechargeScreen({ navigation }) {
     const theme = useTheme();
     const { changeBackground } = useModel("barModel");
-    const { rechargeBtnText, WITHDRAW, applySuccess } = useModel("wordsModel");
+    const {
+      rechargeBtnText,
+      ORHSFG,
+      WITHDRAW,
+      applySuccess,
+      BJGTHA,
+      BIZQHZ,
+    } = useModel("wordsModel");
     const { getUserInfo, money } = useModel("appUserModel");
     const { httpPost, httpGet } = useModel("httpModel", true);
     const { success } = useModel("loadingModel");
@@ -122,36 +129,36 @@ export default function RechargeScreen({ navigation }) {
         <NavHeaderBar title={WITHDRAW} />
         <Divider style={styles.separatorStyle} />
         <BankCard
-          type='edit'
+          type="edit"
           pressEvent={() => {
-                    navigation.navigate("ChooseBank");
-                }}
+            navigation.navigate("ChooseBank");
+          }}
           info={bankCradInfo}
         />
 
         <Layout style={styles.input}>
           <Input
-            appearance='reCharge'
-            label='提现金额'
+            appearance="reCharge"
+            label={ORHSFG}
             value={value}
             accessoryLeft={() => (
-              <Text category='h2' style={styles.left}>
+              <Text category="h2" style={styles.left}>
                 ¥
               </Text>
-                    )}
-            caption={`可用余额${  showMoeny  }元`}
-            keyboardType='numeric'
+            )}
+            caption={`${BIZQHZ}${showMoeny}${BJGTHA}`}
+            keyboardType="numeric"
             onChangeText={text => {
-                        setVal(text);
-                    }}
+              setVal(text);
+            }}
             onBlur={() => {
-                        const value1 = Number(value);
-                        if (value1 > (money || 0)) {
-                            setVal(showMoeny);
-                        } else {
-                            setVal(value1.toFixed(2));
-                        }
-                    }}
+              const value1 = Number(value);
+              if (value1 > (money || 0)) {
+                setVal(showMoeny);
+              } else {
+                setVal(value1.toFixed(2));
+              }
+            }}
           />
         </Layout>
 

+ 10 - 7
screens/Coupon/AddScreen.js

@@ -35,6 +35,9 @@ const styles = StyleSheet.create({
 export default function CouponAddScreen({ navigation, route }) {
   const theme = useTheme();
   const { changeBackground } = useModel("barModel");
+  const { KEPOWT, PXTFMU, delText, TMDCMR, VCGOOE, ZTIPSF, confirm } = useModel(
+    "wordsModel"
+  );
 
   const [id, setId] = React.useState();
   const {
@@ -104,15 +107,15 @@ export default function CouponAddScreen({ navigation, route }) {
 
   return (
     <>
-      <NavHeaderBar title="编辑(新增)优惠券" />
+      <NavHeaderBar title={KEPOWT} />
 
       <Layout style={styles.form}>
         {/* 优惠券名称 */}
         <FormInput
-          label="优惠券名称"
+          label={PXTFMU}
           labelStyle={styles.label}
           key={1}
-          placeholder="输入优惠券名称"
+          placeholder={TMDCMR}
           value={name}
           onChange={changeName}
         />
@@ -141,7 +144,7 @@ export default function CouponAddScreen({ navigation, route }) {
 
         {/* 优惠券开始时间 */}
         <FormInput
-          label="优惠券开始时间"
+          label={VCGOOE}
           labelStyle={styles.label}
           key={4}
           placeholder=""
@@ -152,7 +155,7 @@ export default function CouponAddScreen({ navigation, route }) {
 
         {/* 优惠券结束时间 */}
         <FormInput
-          label="优惠券结束时间"
+          label={ZTIPSF}
           labelStyle={styles.label}
           key={5}
           placeholder=""
@@ -163,11 +166,11 @@ export default function CouponAddScreen({ navigation, route }) {
 
         <Layout style={styles.btnList}>
           <Button style={styles.btn} disabled={!canNext} onPress={submit}>
-            确定
+            {confirm}
           </Button>
           {id != null && (
             <Button appearance="ghost" status="info" onPress={remove}>
-              删除
+              {delText}
             </Button>
           )}
         </Layout>

+ 3 - 1
screens/EditBannerScreen.js

@@ -85,6 +85,8 @@ export default function EditBannerScreen({ route }) {
     uplaodText,
     uplaodImg,
     removeTips,
+    FPMPMG,
+    successText,
   } = useModel("wordsModel");
   useFocusEffect(
     React.useCallback(() => {
@@ -170,7 +172,7 @@ export default function EditBannerScreen({ route }) {
                 loading();
                 uploadStoreImg(img, type).then(() => {
                   changeImg("");
-                  success("上传成功");
+                  success(FPMPMG + successText);
                 });
               }}
             >

+ 22 - 8
screens/Goods/GoodsSpecificationScreen.js

@@ -91,6 +91,14 @@ export default function GoodsSpecificationScreen() {
     cancel,
     successText,
     removeTips,
+    YMZEFF,
+    MUKYDG,
+    TMMNWL,
+    IQYCDU,
+    GVDYKL,
+    BCXVJS,
+    CUYTPO,
+    MLPRPD,
   } = useModel("wordsModel");
   const { addClassGoods } = useModel("goodsModel");
   useFocusEffect(
@@ -256,7 +264,7 @@ export default function GoodsSpecificationScreen() {
           });
           if (_children.length > 0) {
             showDialog({
-              bodyText: "当前分类存在规格,请删除规格后再删除",
+              bodyText: YMZEFF,
               status: "danger",
             });
             return;
@@ -396,9 +404,15 @@ export default function GoodsSpecificationScreen() {
         <Layout style={styles.item}>
           <Layout style={[styles.text, styles.flexRow]}>
             {editNowInfo.parent ? (
-              <Text category="c1">添加{editNowInfo.name}</Text>
+              <Text category="c1">
+                {MUKYDG}
+                {editNowInfo.name}
+              </Text>
             ) : (
-              <Text category="s1">分类名:{editNowInfo.name}</Text>
+              <Text category="s1">
+                {TMMNWL}
+                {editNowInfo.name}
+              </Text>
             )}
             {!!editNowInfo.parent && (
               <Layout style={styles.money}>
@@ -408,7 +422,7 @@ export default function GoodsSpecificationScreen() {
             {!editNowInfo.parent && (
               <Layout style={styles.money}>
                 <Text category="s1">
-                  {editNowInfo.multiple ? "多选" : "单选"}
+                  {editNowInfo.multiple ? { IQYCDU } : { GVDYKL }}
                 </Text>
               </Layout>
             )}
@@ -437,7 +451,7 @@ export default function GoodsSpecificationScreen() {
               addFullReduction({ addType: "2", parent: editNowInfo.id })
             }
           >
-            添加规格
+            {MUKYDG}
           </Button>
         )}
       </View>
@@ -450,7 +464,7 @@ export default function GoodsSpecificationScreen() {
     return (
       <Layout style={styles.item}>
         <Layout style={[styles.text, styles.flexRow]}>
-          <Text>{editNowInfo.parent ? "规格" : "类名"}</Text>
+          <Text>{editNowInfo.parent ? { BCXVJS } : { TMMNWL }}</Text>
           <Input
             size="small"
             defaultValue={editNowInfo.name}
@@ -481,7 +495,7 @@ export default function GoodsSpecificationScreen() {
           )}
           {!editNowInfo.parent && (
             <>
-              <Text>是否多选</Text>
+              <Text>{MLPRPD}</Text>
               <Toggle
                 key="Toggle"
                 checked={editNowInfo.multiple}
@@ -526,7 +540,7 @@ export default function GoodsSpecificationScreen() {
 
   return (
     <>
-      <NavHeaderBar title="商品规格编辑" />
+      <NavHeaderBar title={CUYTPO} />
 
       <Layout style={[styles.lay]}>
         <ListComponent

+ 2 - 2
screens/Goods/GoodsSpecificationScreenNew.js

@@ -85,7 +85,7 @@ export default function GoodsSpecificationScreen() {
     return Array.from(dataMap.keys());
   }, [dataMap]);
 
-  const { delText, editText, confirm, cancel, removeTips } = useModel(
+  const { delText, editText, YMZEFF, confirm, cancel, removeTips } = useModel(
     "wordsModel"
   );
 
@@ -147,7 +147,7 @@ export default function GoodsSpecificationScreen() {
           let parent = dataMapAction.get(info.id);
           if (parent.children.length > 0) {
             showDialog({
-              bodyText: "当前分类存在规格,请删除规格后再删除",
+              bodyText: YMZEFF,
               status: "danger",
             });
             return;

+ 4 - 4
screens/Goods/SearchScreen.js

@@ -35,7 +35,7 @@ export default function SearchScreen({ navigation }) {
   const { changeBackground } = useModel("barModel");
   const { mid } = useModel("userModel");
   const { httpGet } = useModel("httpModel");
-//   const { userTitle3 } = useModel("wordsModel");
+  const { SHKVCV, cancel, XZOCQU } = useModel("wordsModel");
   const [startState, changeStart] = React.useState(false);
   const [searchKey, setSearchKey] = React.useState("");
   const [inputVal, setVal] = React.useState("");
@@ -85,10 +85,10 @@ export default function SearchScreen({ navigation }) {
 
   return (
     <>
-      <NavHeaderBar title="店铺商品搜索" />
+      <NavHeaderBar title={SHKVCV} />
       <Layout style={styles.container}>
         <SearchBar
-          placeholder="请输入商品名称"
+          placeholder={XZOCQU}
           value={inputVal}
           onChange={setVal}
           onSubmit={value => {
@@ -104,7 +104,7 @@ export default function SearchScreen({ navigation }) {
               navigation.goBack();
             }
           }}
-          cancelText={inputVal ? "取消" : "返回"}
+          cancelText={inputVal ? cancel : "返回"}
           showCancelButton
         />
         <ListComponent

+ 3 - 1
screens/Guide1Screen.js

@@ -105,6 +105,8 @@ export default function Guide1Screen({ navigation }) {
     addGoods,
     delText,
     removeTips,
+    GVDYKL,
+    IQYCDU,
   } = useModel("wordsModel");
   const { showDialog } = useModel("dialogModel");
   const route = useRoute();
@@ -203,7 +205,7 @@ export default function Guide1Screen({ navigation }) {
             {item.parent ? (
               <Text category="h1">¥{item.amount}</Text>
             ) : (
-              <Text category="c1">{item.multiple ? "多选" : "单选"}</Text>
+              <Text category="c1">{item.multiple ? IQYCDU : GVDYKL}</Text>
             )}
           </Layout>
         </Layout>

+ 9 - 3
screens/HomeScreen.js

@@ -190,6 +190,11 @@ export default function HomeScreen({ navigation, route }) {
     homeTab3,
     fullReduction2,
     fullReduction1,
+    ABSYHA,
+    HXRNYH,
+    MPSFFU,
+    changeLocal,
+    local,
   } = useModel("wordsModel");
   const [fullReductions, changeFllReduction] = React.useState([]);
   const { showDialog } = useModel("dialogModel", true);
@@ -254,13 +259,14 @@ export default function HomeScreen({ navigation, route }) {
       >
         <MenuItem
           accessoryLeft={LogoutIcon}
-          title="退出登录"
+          title={MPSFFU}
           onPress={() => {
             toggleMenu();
             userLogout();
           }}
         />
         <MenuItem title="06.16.1版本" />
+        <MenuItem title={`切换语言(${local})`} onPress={changeLocal} />
       </OverflowMenu>
     </>
   );
@@ -383,7 +389,7 @@ export default function HomeScreen({ navigation, route }) {
                     firstOrder !== null &&
                     firstOrder !== "" && (
                       <Badge style={styles.badge} key="firstOrder">
-                        新用户立减
+                        {HXRNYH}
                         {firstOrder}
                       </Badge>
                     )}
@@ -417,7 +423,7 @@ export default function HomeScreen({ navigation, route }) {
                 ellipsizeMode="tail"
               >
                 {`${homeTip3}:`}
-                {proclamation || "暂无通告,点击编辑"}
+                {proclamation || ABSYHA}
               </Text>
             </Button>
           </Card>

+ 5 - 3
screens/HomeScreenPage1.js

@@ -101,7 +101,9 @@ export default function HomePage1() {
   const [goodsClass, setGoodsClass] = React.useState([]);
   const { showDialog } = useModel("dialogModel", true);
   const { success } = useModel("loadingModel", true);
-  const { removeTips, remove, successText } = useModel("wordsModel");
+  const { removeTips, remove, successText, NWHGKX, TEWQHV } = useModel(
+    "wordsModel"
+  );
   const { changeBackground } = useModel("barModel");
   const {
     classificationId,
@@ -297,7 +299,7 @@ export default function HomePage1() {
           backgroundColor="#F0F0F0"
           header={props => (
             <Text {...props} style={[styles.title, props.style]}>
-              店主推荐
+              {NWHGKX}
             </Text>
           )}
         >
@@ -319,7 +321,7 @@ export default function HomePage1() {
                 RootNavigation.navigate("ClassificationManage");
               }}
             >
-              编辑分类
+              {TEWQHV}
             </Button>
           </Layout>
           {/* <List

+ 6 - 13
screens/HomeScreenPage2.js

@@ -43,7 +43,7 @@ export default function HomePage2() {
   // eslint-disable-next-line no-unused-vars
   const [commentList, setCommentList] = React.useState([{}, {}, {}]);
 
-  const { editAutoBack } = useModel("wordsModel");
+  const { editAutoBack, TCSOVO, BWEOYE, POKFOW } = useModel("wordsModel");
 
   const allCommentList = () => {
     return commentList.map((item, index) => {
@@ -55,22 +55,15 @@ export default function HomePage2() {
     <Layout style={styles.tabContainer}>
       <Layout style={styles.bageList}>
         <Badge appearance="filled" status="warning" right={5} bottom={4}>
-          全部7345
+          {TCSOVO}
+          7345
         </Badge>
         <Badge appearance="filled" right={5} bottom={4}>
-          最新
+          {BWEOYE}
         </Badge>
         <Badge appearance="filled" right={5} bottom={4}>
-          好评1213
-        </Badge>
-        <Badge appearance="filled" status="info" right={5} bottom={4}>
-          差评12
-        </Badge>
-        <Badge appearance="filled" right={5} bottom={4}>
-          最新
-        </Badge>
-        <Badge appearance="filled" right={5} bottom={4}>
-          好评1213
+          {POKFOW}
+          1213
         </Badge>
         <Badge appearance="filled" status="info" right={5} bottom={4}>
           差评12

+ 17 - 17
screens/MoneyListScreen.js

@@ -85,7 +85,7 @@ export default function MoneyListScreen({ navigation }) {
         new IndexPath(data.length - 1)
     );
 
-    const {userTitle6} = useModel("wordsModel");
+    const { userTitle6, OZXEWT, ZJDSDE } = useModel("wordsModel");
 
     const displayValue = data[selectedIndex.row];
 
@@ -132,33 +132,33 @@ export default function MoneyListScreen({ navigation }) {
         <NavHeaderBar title={userTitle6} />
         <Layout
           style={[
-                    styles.lay,
-                    {
-                        backgroundColor: theme["color-primary-500"],
-                        borderColor: theme["color-primary-500"],
-                    },
-                ]}
+            styles.lay,
+            {
+              backgroundColor: theme["color-primary-500"],
+              borderColor: theme["color-primary-500"],
+            },
+          ]}
         >
-          <Text category='c1' style={[styles.flex1, styles.tiltle]}>
-            余额
+          <Text category="c1" style={[styles.flex1, styles.tiltle]}>
+            {ZJDSDE}
           </Text>
           <Text
-            category='h2'
+            category="h2"
             style={[styles.flex1, styles.money]}
-            status='control'
+            status="control"
           >
             {money || 0}
           </Text>
           <Button
-            appearance='ghost'
+            appearance="ghost"
             style={[styles.flex1]}
-            size='large'
-            status='control'
+            size="large"
+            status="control"
             onPress={() => {
-                        navigation.navigate("ChooseBank");
-                    }}
+              navigation.navigate("ChooseBank");
+            }}
           >
-            提现
+            {OZXEWT}
           </Button>
         </Layout>
         <ListComponent

+ 5 - 2
screens/OrderScreen.js

@@ -50,6 +50,9 @@ export default function OrderScreen({ navigation }) {
     COMPLETED,
     tab2,
     orderTitleBtn2,
+    KWQKHQ,
+    DTEOMV,
+    GLWBTR,
   } = useModel("wordsModel");
 
   const { automaticOrder, updateMerchant } = useModel("userModel");
@@ -105,11 +108,11 @@ export default function OrderScreen({ navigation }) {
               updateMerchant({
                 automaticOrder: !automaticOrder,
               }).then(() => {
-                success("设置成功");
+                success(DTEOMV);
               })
             }
           >
-            {automaticOrder ? "手动接单" : "自动接单"}
+            {automaticOrder ? KWQKHQ : GLWBTR}
           </Button>
           <Button
             appearance="outline"

+ 6 - 6
screens/RegisterSeScreen.js

@@ -69,6 +69,8 @@ export default function RegisterScreen() {
     // guideHome_pla_2,
     guideHome_pla_3,
     next,
+    TTBMND,
+    TVZBVQ,
   } = useModel("wordsModel");
   const [categoryList, changeCategoryList] = React.useState([]);
   const [merchantNatureList, changeMerchantNatureList] = React.useState([]);
@@ -251,7 +253,7 @@ export default function RegisterScreen() {
             <FormInput
               label={guideHome_form_5}
               type="url"
-              value={qualification ? "已上传" : " "}
+              value={qualification ? TVZBVQ : " "}
               textAlign="right"
               style={{ paddingVertical: 5 }}
               changePath={() => {
@@ -262,7 +264,7 @@ export default function RegisterScreen() {
             <FormInput
               label="门店信息"
               type="url"
-              value={doorHeadImg && img ? "已上传" : " "}
+              value={doorHeadImg && img ? TVZBVQ : " "}
               textAlign="right"
               style={{ paddingVertical: 5 }}
               changePath={() => {
@@ -273,9 +275,7 @@ export default function RegisterScreen() {
             <FormInput
               label="法人信息"
               type="url"
-              value={
-                realName && idNo && idNoImg && handheldIdNo ? "已上传" : " "
-              }
+              value={realName && idNo && idNoImg && handheldIdNo ? TVZBVQ : " "}
               textAlign="right"
               style={{ paddingVertical: 5 }}
               changePath={() => {
@@ -323,7 +323,7 @@ export default function RegisterScreen() {
                     });
                   }}
                 >
-                  提交审核
+                  {TTBMND}
                 </Button>
               ) : (
                 <Button

+ 3 - 1
screens/Set/ClassificationManageScreen.js

@@ -32,6 +32,8 @@ export default function ClassificationManageScreen({ navigation, route }) {
     ClassificationManageText3,
     ClassificationManageText4,
     ClassificationManageText5,
+    QRLPZQ,
+    GIMSOZ,
   } = useModel("wordsModel");
 
 
@@ -67,7 +69,7 @@ export default function ClassificationManageScreen({ navigation, route }) {
         <View style={styles.right}>
           {new ClassificationUtil(item).checkSystem() ? (
             <Text category="c1" status="info">
-              {item.isOpen ? "已启动" : "未启动"}
+              {item.isOpen ? QRLPZQ : GIMSOZ}
             </Text>
           ) : (
             <Text category="c1" status="info">

+ 2 - 2
screens/Set/FirstOrderScreen.js

@@ -49,7 +49,7 @@ export default function FirstOrderScreen() {
   const theme = useTheme();
   const { changeBackground } = useModel("barModel", true);
 
-  const { delText, editText, cancel } = useModel("wordsModel");
+  const { delText, editText, cancel, GPVGLH } = useModel("wordsModel");
   const { loading, success } = useModel("loadingModel");
   const [money, changeMoney] = React.useState("");
   const [edit, changeEdit] = React.useState(false);
@@ -67,7 +67,7 @@ export default function FirstOrderScreen() {
 
   return (
     <>
-      <NavHeaderBar title="首单" />
+      <NavHeaderBar title={GPVGLH} />
       <ScrollPage
         style={styles.lay}
         enabledFresh

+ 14 - 22
screens/Set/OrderSetting.js

@@ -74,7 +74,7 @@ export default function OrderSettingScreen({ navigation }) {
     const { changeBackground } = useModel("barModel");
     // const { automaticOrder } = useModel("userModel");
 
-    // const {} = useModel("wordsModel");
+    const { GLWBTR, NMQKWY, CNPBSH, OEUMXU, SOHDGP } = useModel("wordsModel");
     // const { getMyList } = useModel("emailModel");
 
     const [automaticOrder, changeautoMaticOrder] = React.useState(true);
@@ -90,51 +90,43 @@ export default function OrderSettingScreen({ navigation }) {
 
     return (
       <>
-        <NavHeaderBar title='订单' />
+        <NavHeaderBar title={SOHDGP} />
 
         <MenuItem
-          title='自动接单'
+          title={GLWBTR}
           accessoryRight={() => (
             <Toggle
-              key='Toggle'
+              key="Toggle"
               checked={automaticOrder}
               onChange={changeautoMaticOrder}
             />
-                )}
+          )}
           style={styles.menuItem}
         />
 
         <Text style={styles.title}>订单语音配置</Text>
         <MenuItem
-          title='接单提醒'
+          title={OEUMXU}
           accessoryRight={() => (
-            <Toggle
-              key='Toggle2'
-              checked={voice1}
-              onChange={changeVoice1}
-            />
-                )}
+            <Toggle key="Toggle2" checked={voice1} onChange={changeVoice1} />
+          )}
           style={styles.menuItem}
         />
         <MenuItem
-          title='骑手取餐提醒'
+          title={CNPBSH}
           accessoryRight={() => (
-            <Toggle
-              key='Toggle4'
-              checked={voice2}
-              onChange={changeVoice2}
-            />
-                )}
+            <Toggle key="Toggle4" checked={voice2} onChange={changeVoice2} />
+          )}
           style={styles.menuItem}
         />
 
         <MenuItem
-          title='我的对账单'
+          title={NMQKWY}
           accessoryRight={ForwardIcon}
           style={styles.bottom}
           onPress={() => {
-                    navigation.navigate("MyRecord");
-                }}
+            navigation.navigate("MyRecord");
+          }}
         />
       </>
     );

+ 174 - 194
screens/Set/SystemClassificationEditScreen.js

@@ -2,216 +2,196 @@
 import * as WebBrowser from "expo-web-browser";
 import * as React from "react";
 import { useModel } from "flooks";
-import {
-    Layout,
-    Button,
-    Text,
-    Icon,
-    Toggle,
-} from "@ui-kitten/components";
+import { Layout, Button, Text, Icon, Toggle } from "@ui-kitten/components";
 import { StyleSheet } from "react-native";
 import { useRoute } from "@react-navigation/native";
 import ListComponent from "../../components/ListComponent";
 import TipNavHeader from "../../components/TipNavHeader";
 import {
-    ClassificationUtil,
-    getClassificationByName,
+  ClassificationUtil,
+  getClassificationByName,
 } from "../../Utils/SystemRuleUtil";
 import GoodsCard from "../../components/GoodsCard";
 
-
-
-const StarIcon = props => <Icon {...props} name='plus' />;
+const StarIcon = props => <Icon {...props} name="plus" />;
 const styles = StyleSheet.create({
-    text1: {
-        marginTop: 10,
-        marginLeft: 57,
-        maxWidth: 200,
-    },
-    list: {
-        backgroundColor: "#fff",
-    },
-    separatorStyle: {
-        height: 0,
-    },
-    right: {
-        flexDirection: "row",
-        alignItems: "center",
-    },
-    addGoods: {
-        width: 33,
-        margin: 15,
-    },
-    toggle: {
-        alignSelf: "flex-start",
-        marginTop: 10,
-    },
-    top: {
-        backgroundColor: "rgb(238, 238, 238)",
-        paddingHorizontal: 13,
-        paddingVertical: 10,
-        marginTop: 10,
-    },
+  text1: {
+    marginTop: 10,
+    marginLeft: 57,
+    maxWidth: 200,
+  },
+  list: {
+    backgroundColor: "#fff",
+  },
+  separatorStyle: {
+    height: 0,
+  },
+  right: {
+    flexDirection: "row",
+    alignItems: "center",
+  },
+  addGoods: {
+    width: 33,
+    margin: 15,
+  },
+  toggle: {
+    alignSelf: "flex-start",
+    marginTop: 10,
+  },
+  top: {
+    backgroundColor: "rgb(238, 238, 238)",
+    paddingHorizontal: 13,
+    paddingVertical: 10,
+    marginTop: 10,
+  },
 });
 
-
-
 // 系统分类编辑
 export default function SystemClassificationEditScreen({ navigation }) {
-    const { ClassificationManageText6,getWordsStr, } = useModel("wordsModel");
-
-    // const {} = useModel("userModel");
-    const route = useRoute();
-    // const {  } = useModel("loadingModel");
-    const { httpGet } = useModel("httpModel");
-    const { clossClassTip, saveInfo, removeClassGoods } = useModel(
-        "goodsModel",
-        true
-    );
-
-    const [id, setId] = React.useState();
-    const [title, setTitle] = React.useState();
-    const [tips, setTipList] = React.useState([]);
-    const [classifyInfo, setClass] = React.useState(new ClassificationUtil());
-    const [delId, setDel] = React.useState(0);
-	const [isOpen, changeIsOpen] = React.useState(false);
-	
-
-	function getInfo(classifyId) {
-        return httpGet(`/classification/get/${classifyId}`, {}, true).then(
-            res => {
-                setTitle(res.name || "");
-                const classify = new ClassificationUtil(res);
-                setClass(classify);
-                setTipList(classify.getMenuTipsList());
-                changeIsOpen(res.isOpen);
-            }
-        );
-	}
-    function getList() {
-        const { classifyId } = route.params || {};
-        setId(classifyId || 0);
-        setDel(0);
-        return getInfo(classifyId)
-            .then(() => {
-                return httpGet("/classification/allGoods", {
-                    classificationId: classifyId,
-                });
-            })
-            .then(res => {
-                let list = res || [];
-                list = list.filter(item => {
-                    return item != null;
-                });
-                return Promise.resolve({
-                    content: list,
-                    last: true,
-                });
-            });
-    }
-
- 
-	
-	
-    const checkEvent = isChecked => {
-        changeIsOpen(isChecked);
-        if (!isChecked) {
-            clossClassTip(() => {
-                saveInfo({
-                    ...classifyInfo.allInfo,
-                    isOpen: isChecked,
-                }).then(() => {
-                    getInfo(classifyInfo.id);
-                });
-            });
-        } else {
-            saveInfo({
-                ...classifyInfo.allInfo,
-                isOpen: isChecked,
-            }).then(() => {
-                getInfo(classifyInfo.id);
-            });
-        }
-    };
-
-	function remove(classId, goodsId) {
-        removeClassGoods(classId, goodsId, () => {
-            setDel(goodsId);
+  const { ClassificationManageText6, getWordsStr, QTLJZW, AKHVEE } = useModel(
+    "wordsModel"
+  );
+
+  // const {} = useModel("userModel");
+  const route = useRoute();
+  // const {  } = useModel("loadingModel");
+  const { httpGet } = useModel("httpModel");
+  const { clossClassTip, saveInfo, removeClassGoods } = useModel(
+    "goodsModel",
+    true
+  );
+
+  const [id, setId] = React.useState();
+  const [title, setTitle] = React.useState();
+  const [tips, setTipList] = React.useState([]);
+  const [classifyInfo, setClass] = React.useState(new ClassificationUtil());
+  const [delId, setDel] = React.useState(0);
+  const [isOpen, changeIsOpen] = React.useState(false);
+
+  function getInfo(classifyId) {
+    return httpGet(`/classification/get/${classifyId}`, {}, true).then(res => {
+      setTitle(res.name || "");
+      const classify = new ClassificationUtil(res);
+      setClass(classify);
+      setTipList(classify.getMenuTipsList());
+      changeIsOpen(res.isOpen);
+    });
+  }
+  function getList() {
+    const { classifyId } = route.params || {};
+    setId(classifyId || 0);
+    setDel(0);
+    return getInfo(classifyId)
+      .then(() => {
+        return httpGet("/classification/allGoods", {
+          classificationId: classifyId,
+        });
+      })
+      .then(res => {
+        let list = res || [];
+        list = list.filter(item => {
+          return item != null;
         });
+        return Promise.resolve({
+          content: list,
+          last: true,
+        });
+      });
+  }
+
+  const checkEvent = isChecked => {
+    changeIsOpen(isChecked);
+    if (!isChecked) {
+      clossClassTip(() => {
+        saveInfo({
+          ...classifyInfo.allInfo,
+          isOpen: isChecked,
+        }).then(() => {
+          getInfo(classifyInfo.id);
+        });
+      });
+    } else {
+      saveInfo({
+        ...classifyInfo.allInfo,
+        isOpen: isChecked,
+      }).then(() => {
+        getInfo(classifyInfo.id);
+      });
     }
-    const goodsItem = ({ item, index }) => (
-      <GoodsCard
-        appearance='classification'
-        key={index}
-        info={item}
-        removeEvent={() => remove(id, item.id)}
-      />
+  };
+
+  function remove(classId, goodsId) {
+    removeClassGoods(classId, goodsId, () => {
+      setDel(goodsId);
+    });
+  }
+  const goodsItem = ({ item, index }) => (
+    <GoodsCard
+      appearance="classification"
+      key={index}
+      info={item}
+      removeEvent={() => remove(id, item.id)}
+    />
+  );
+
+  function TipsTexts() {
+    const _tips =
+      [...tips].map((item, index) => {
+        return <Text key={index}>{getWordsStr(item)}</Text>;
+      }) || [];
+
+    _tips.push(
+      <Toggle
+        key="Toggle"
+        checked={isOpen}
+        onChange={checkEvent}
+        style={styles.toggle}
+      >
+        {isOpen ? QTLJZW : AKHVEE}
+      </Toggle>
     );
 
-   
-
-    function TipsTexts() {
-        const _tips =
-            [...tips].map((item, index) => {
-                return <Text key={index}>{getWordsStr(item)}</Text>;
-            }) || [];
-
-        _tips.push(
-          <Toggle
-            key='Toggle'
-            checked={isOpen}
-            onChange={checkEvent}
-            style={styles.toggle}
-          >
-            {isOpen ? "开启" : "关闭"}
-          </Toggle>
-        );
-
-        return _tips;
-    }
-
-    return (
-      <>
-        <TipNavHeader title={title}>{TipsTexts()}</TipNavHeader>
-
-        <Layout style={styles.top}>
-          <Text category='h6'>{ClassificationManageText6}</Text>
-        </Layout>
-        <ListComponent
-          getInfo={getList}
-          renderItem={goodsItem}
-          separatorStyle={styles.separatorStyle}
-          showEmpty
-          delId={delId}
-          style={styles.list}
-          extraData={{ id }}
-          ListFooterComponent={() => {
-                    if (
-                        classifyInfo.getType() !==
-                            getClassificationByName("好评") &&
-                        classifyInfo.getType() !==
-                            getClassificationByName("折扣")
-                    ) {
-                        return (
-                          <Button
-                            style={styles.addGoods}
-                            appearance='classification'
-                            status='danger'
-                            accessoryLeft={StarIcon}
-                            onPress={() => {
-                                    navigation.navigate("AddClassification", {
-                                        type: "classification",
-                                        classificationId: id,
-                                    });
-                                }}
-                          />
-                        );
-                    } 
-                        return <></>;
-                    
+    return _tips;
+  }
+
+  return (
+    <>
+      <TipNavHeader title={title}>{TipsTexts()}</TipNavHeader>
+
+      <Layout style={styles.top}>
+        <Text category="h6">{ClassificationManageText6}</Text>
+      </Layout>
+      <ListComponent
+        getInfo={getList}
+        renderItem={goodsItem}
+        separatorStyle={styles.separatorStyle}
+        showEmpty
+        delId={delId}
+        style={styles.list}
+        extraData={{ id }}
+        ListFooterComponent={() => {
+          if (
+            classifyInfo.getType() !== getClassificationByName("好评") &&
+            classifyInfo.getType() !== getClassificationByName("折扣")
+          ) {
+            return (
+              <Button
+                style={styles.addGoods}
+                appearance="classification"
+                status="danger"
+                accessoryLeft={StarIcon}
+                onPress={() => {
+                  navigation.navigate("AddClassification", {
+                    type: "classification",
+                    classificationId: id,
+                  });
                 }}
-        />
-      </>
-    );
+              />
+            );
+          }
+          return <></>;
+        }}
+      />
+    </>
+  );
 }
-

+ 6 - 3
screens/StoreAudit.js

@@ -45,6 +45,9 @@ export default function StoreAudit() {
     storeAudioText3,
     storeAudioText4,
     complete,
+    TGJPSZ,
+    LIVTXF,
+    GODOSA,
   } = useModel("wordsModel");
   useFocusEffect(
     React.useCallback(() => {
@@ -87,13 +90,13 @@ export default function StoreAudit() {
     <>
       <Image source={img2} style={styles.icon} />
       <Text category="h6" status="danger" style={styles.text}>
-        很抱歉!!!您的店铺审核暂未通过
+        {TGJPSZ}
       </Text>
       <Text category="h6" status="danger" style={styles.text}>
-        请仔细检查店铺信息重新申请
+        {LIVTXF}
       </Text>
       <Button style={styles.button} onPress={() => changeGuideStep("ComeBack")}>
-        重新申请
+        {GODOSA}
       </Button>
     </>
   );

+ 7 - 3
screens/UserScreen.js

@@ -73,6 +73,10 @@ export default function UserScreen({ navigation }) {
     // userTitle22,
     userTitle23,
     userTitle24,
+    DMCJVT,
+    BZIQEA,
+    YUZQBC,
+    HMVTGZ,
   } = useModel("wordsModel");
 
   useFocusEffect(
@@ -181,14 +185,14 @@ export default function UserScreen({ navigation }) {
           </MenuGroup>
           <MenuGroup title={userTitle5} style={styles.menuGroup2}>
             <MenuItem
-              title="自动回复"
+              title={HMVTGZ}
               accessoryRight={ForwardIcon}
               onPress={() => {
                 navigation.navigate("Automatic");
               }}
             />
             <MenuItem
-              title="我的投诉"
+              title={YUZQBC}
               accessoryRight={ForwardIcon}
               onPress={() => {
                 navigation.navigate("Complaintlist");
@@ -223,7 +227,7 @@ export default function UserScreen({ navigation }) {
             appearance={isOpening ? "outline" : "fill"}
             onPress={closeMer}
           >
-            {isOpening ? "停止营业" : "开始营业"}
+            {isOpening ? BZIQEA : DMCJVT}
           </Button>
         </Layout>
       </Layout>