zhb пре 1 месец
родитељ
комит
a6d6ebf561
2 измењених фајлова са 11 додато и 22 уклоњено
  1. 4 4
      pages/customer/account-select.vue
  2. 7 18
      pages/customer/create-account.vue

+ 4 - 4
pages/customer/account-select.vue

@@ -109,7 +109,7 @@ const typeList = computed(() => [
         name: 'AccountType.StandardAccount',
         showCondition: () => showLogin.value && showLogin.value.indexOf('7') == -1,
         description: 'Custom.NewAccount.DesLogin5',
-        minDeposit: '50 USD',
+        minDeposit: '200 USD',
         minSpread: '0.01',
         maxLeverage: '1:1000',
         icon: '/static/images/info/bank-information-1.webp',
@@ -122,7 +122,7 @@ const typeList = computed(() => [
         description: 'Custom.NewAccount.DesLogin3',
         minDeposit: '200 USD',
         minSpread: '0.01',
-        maxLeverage: '1:2000',
+        maxLeverage: '1:1000',
         icon: '/static/images/info/bank-information-2.webp',
     },
     {
@@ -131,9 +131,9 @@ const typeList = computed(() => [
         name: 'AccountType.CentAccount',
         showCondition: () => showLogin.value && showLogin.value.indexOf('8') == -1 && isTimeShow.value,
         description: 'Custom.NewAccount.DesLogin8',
-        minDeposit: '10 USD',
+        minDeposit: '200 USD',
         minSpread: '0.01',
-        maxLeverage: '1:1000',
+        maxLeverage: '1:500',
         icon: '/static/images/info/bank-information-3.webp',
     }
 ])

+ 7 - 18
pages/customer/create-account.vue

@@ -167,9 +167,9 @@ const standardAccounts = ref([
         id: 7,
         type: 'StandardAccount',
         name: 'AccountType.StandardAccount',
-        showCondition: () => showLogin.value.indexOf('7') === -1,
+        showCondition: () => showLogin.value && showLogin.value.indexOf('7') == -1,
         description: 'Custom.NewAccount.DesLogin5',
-        minDeposit: '50 USD',
+        minDeposit: '200 USD',
         minSpread: '0.01',
         maxLeverage: '1:1000',
         icon: '/static/images/info/bank-information-1.webp',
@@ -178,33 +178,22 @@ const standardAccounts = ref([
         id: 2,
         type: 'SeniorAccount',
         name: 'AccountType.SeniorAccount',
-        showCondition: () => showLogin.value.indexOf('2') === -1,
+        showCondition: () => showLogin.value && showLogin.value.indexOf('2') == -1,
         description: 'Custom.NewAccount.DesLogin3',
-        features: [
-            { key: 'Custom.NewAccount.DesLogin31', condition: true },
-            { key: 'Custom.NewAccount.DesLogin32', condition: true },
-            { key: 'Custom.NewAccount.DesLogin33', condition: true },
-            { key: 'Custom.NewAccount.DesLogin34', condition: true }
-        ],
         minDeposit: '200 USD',
         minSpread: '0.01',
-        maxLeverage: '1:2000',
+        maxLeverage: '1:1000',
         icon: '/static/images/info/bank-information-2.webp',
     },
     {
         id: 8,
         type: 'CentAccount',
         name: 'AccountType.CentAccount',
-        showCondition: () => showLogin.value.indexOf('8') === -1 && isTimeShow.value,
+        showCondition: () => showLogin.value && showLogin.value.indexOf('8') == -1 && isTimeShow.value,
         description: 'Custom.NewAccount.DesLogin8',
-        features: [
-            { key: 'Custom.NewAccount.DesLogin81', condition: true },
-            { key: 'Custom.NewAccount.DesLogin82', condition: true },
-            { key: 'Custom.NewAccount.DesLogin84', condition: true }
-        ],
-        minDeposit: '10 USD',
+        minDeposit: '200 USD',
         minSpread: '0.01',
-        maxLeverage: '1:1000',
+        maxLeverage: '1:500',
         icon: '/static/images/info/bank-information-3.webp',
     }
 ])