zhb пре 1 месец
родитељ
комит
29aae4d50d
2 измењених фајлова са 20 додато и 2 уклоњено
  1. 2 1
      locale/cn.json
  2. 18 1
      pages/customer/components/TerminalDialog.vue

+ 2 - 1
locale/cn.json

@@ -11,7 +11,8 @@
     "item9": "最低入金",
     "item10": "最小手数",
     "item11": "最大杠杆",
-    "item12": "最小点差"
+    "item12": "最小点差",
+    "item13": "更多打开方式"
   },
   "common": {
     "confirm": "确认",

+ 18 - 1
pages/customer/components/TerminalDialog.vue

@@ -83,6 +83,19 @@
                     </svg>
                 </view>
             </view>
+            <view @click="handleClick" class="card">
+                <view class="card-content">
+                    <text class="card-title" v-t="'vu.item13'"></text>
+                </view>
+                <view class="card-arrow">
+                    <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"
+                        stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
+                        <path d="M5 12l14 0"></path>
+                        <path d="M13 18l6 -6"></path>
+                        <path d="M13 6l6 6"></path>
+                    </svg>
+                </view>
+            </view>
         </view>
     </cwg-popup>
 </template>
@@ -93,12 +106,16 @@ import { useI18n } from 'vue-i18n'
 import { TerminalMap } from '../composables/TerminalMap'
 import config from '@/config';
 const { t, locale } = useI18n()
+import useRouter from "@/hooks/useRouter";
+const router = useRouter();
 const props = defineProps({
     visible: { type: Boolean, default: false },
     mtType: { type: String, default: 'MT4', validator: val => ['MT4', 'MT5'].includes(val) }
 })
 const emit = defineEmits(['update:visible'])
-
+const handleClick = () => {
+    router.push("/pages/common/download")
+}
 // ---------- 平台相关 ----------
 const platform = ref('')
 const baseUrl = ref('')