zhb 2 weeks ago
parent
commit
c1d12bb229
2 changed files with 113 additions and 1 deletions
  1. 4 1
      locale/cn.json
  2. 109 0
      pages/common/download.vue

+ 4 - 1
locale/cn.json

@@ -796,7 +796,10 @@
     "item37": "只需将指标拖到分析图上,即可获得可操作的见解!",
     "item37": "只需将指标拖到分析图上,即可获得可操作的见解!",
     "item38": "CWG MetaTrader 4 网页版",
     "item38": "CWG MetaTrader 4 网页版",
     "item39": "CWG MetaTrader 5 网页版",
     "item39": "CWG MetaTrader 5 网页版",
-    "item40": "无需下载软件,即可直接访问—PC或者macOS"
+    "item40": "无需下载软件,即可直接访问—PC或者macOS",
+    "item41": "App 下载",
+    "item42": "CWG Center App 下载",
+    "item43": "安装CWG Center App 快速交易"
   },
   },
   "Documentary": {
   "Documentary": {
     "title": "跟单社区",
     "title": "跟单社区",

+ 109 - 0
pages/common/download.vue

@@ -21,6 +21,10 @@
                                     <view class="nav-link cursor-pointer" :class="{ 'active': activeName == 'MT5' }"
                                     <view class="nav-link cursor-pointer" :class="{ 'active': activeName == 'MT5' }"
                                         @click="activeName = 'MT5'">MetaTrader 5</view>
                                         @click="activeName = 'MT5'">MetaTrader 5</view>
                                 </view>
                                 </view>
+                                <!-- <view class="nav-item">
+                                    <view class="nav-link cursor-pointer" :class="{ 'active': activeName == 'App' }"
+                                        @click="activeName = 'App'" v-t="'Downloadpage.item41'"></view>
+                                </view> -->
                             </view>
                             </view>
                         </view>
                         </view>
                         <view class="card-body">
                         <view class="card-body">
@@ -498,6 +502,108 @@
                                         </view>
                                         </view>
                                     </view>
                                     </view>
                                 </view>
                                 </view>
+                                <view v-if="activeName == 'App'">
+                                    <view class="row">
+                                        <view class="col-12">
+                                            <h3 class="mb-3 fw-bold" v-t="'Downloadpage.item42'" />
+                                            <p class="mb-5 lh-sm" v-t="'Downloadpage.item43'" />
+                                        </view>
+                                        <view class="col-lg-6 mb-5">
+                                          <cwg-link type="download" class="download-card" :url="app1"
+                                                    downloadName="CWG Center.abb"
+                                                    title="CWG Center">
+<!--                                            <view class="btn btn-danger waves-effect waves-light"><i-->
+<!--                                              class="fi fi-rr-download"></i> {{-->
+<!--                                                t('Downloadpage.item6-1') }}</view>-->
+
+                                            <view class="card card-action action-elevate action-border-primary">
+                                                <view class="row g-0">
+                                                    <view class="col-md-6">
+                                                        <view class="card-header border-0 download-qr-header position-relative">
+                                                            <QrCode :text="app1" :width="qrSize" :height="qrSize" />
+                                                            <!-- <image src="/static/images/vu/android.png" alt=""
+                                                                mode="widthFix" class="img-fluid" /> -->
+                                                        </view>
+                                                    </view>
+                                                    <view class="col-md-6 py-3 d-flex flex-column">
+                                                        <view class="card-body px-3 py-2">
+                                                            <view class="badge badge-sm bg-danger mb-1">Android</view>
+                                                            <h4>
+                                                                <view class="text-dark">Google Play (Android)</view>
+                                                            </h4>
+                                                            <p>CWG Center App</p>
+
+
+                                                        </view>
+                                                    </view>
+                                                </view>
+                                            </view>
+                                          </cwg-link>
+                                        </view>
+                                        <view class="col-lg-6 mb-5">
+                                          <cwg-link type="download" class="download-card" :url="app2"
+                                                    downloadName="CWG Center.apk"
+                                                    title="CWG Center">
+<!--                                            <view class="btn btn-danger waves-effect waves-light"><i-->
+<!--                                              class="fi fi-rr-download"></i> {{-->
+<!--                                                t('Downloadpage.item6-1') }}</view>-->
+
+                                            <view class="card card-action action-elevate action-border-primary">
+                                                <view class="row g-0">
+                                                    <view class="col-md-6">
+                                                        <view class="card-header border-0 download-qr-header position-relative overflow-hidden">
+                                                            <QrCode :text="app2" :width="qrSize" :height="qrSize" />
+                                                            <!-- <image src="/static/images/vu/metatrade.png" alt=""
+                                                                mode="widthFix" class="img-fluid" /> -->
+                                                        </view>
+                                                    </view>
+                                                    <view class="col-md-6 py-3 d-flex flex-column">
+                                                        <view class="card-body px-3 py-2">
+                                                            <view class="badge badge-sm bg-danger mb-1">Apk</view>
+                                                            <h4>
+                                                                <view class="text-dark">CWG Center.Apk</view>
+                                                            </h4>
+                                                            <p>CWG Center App</p>
+
+                                                        </view>
+                                                    </view>
+                                                </view>
+                                            </view>
+                                          </cwg-link>
+                                        </view>
+                                        <view class="col-lg-6 mb-5">
+                                          <cwg-link type="download" class="download-card" :url="app3"
+                                                    downloadName="CWG Center.app"
+                                                    title="CWG Center">
+<!--                                            <view class="btn btn-danger waves-effect waves-light"><i-->
+<!--                                              class="fi fi-rr-download"></i> {{-->
+<!--                                                t('Downloadpage.item6-1') }}</view>-->
+
+                                            <view class="card card-action action-elevate action-border-primary">
+                                                <view class="row g-0">
+                                                    <view class="col-md-6">
+                                                        <view class="card-header border-0 download-qr-header position-relative overflow-hidden">
+                                                            <QrCode :text="app3" :width="qrSize" :height="qrSize" />
+                                                            <!-- <image src="/static/images/vu/ios-1.png" alt=""
+                                                                mode="widthFix" class="img-fluid" /> -->
+                                                        </view>
+                                                    </view>
+                                                    <view class="col-md-6 py-3 d-flex flex-column">
+                                                        <view class="card-body px-3 py-2">
+                                                            <view class="badge badge-sm bg-danger mb-1">IOS</view>
+                                                            <h4>
+                                                                <view class="text-dark">App Store (IOS)</view>
+                                                            </h4>
+                                                            <p>CWG Center App</p>
+
+                                                        </view>
+                                                    </view>
+                                                </view>
+                                            </view>
+                                          </cwg-link>
+                                        </view>
+                                    </view>
+                                </view>
                             </view>
                             </view>
                         </view>
                         </view>
                     </view>
                     </view>
@@ -521,6 +627,9 @@ const mt43 = ref('https://apps.apple.com/us/app/metatrader-4/id496212596?server=
 const mt51 = ref('https://download.metatrader.com/cdn/mobile/mt5/android?server=CWGMarketsSVG-Demo,CWGMarketsSVG-Live')
 const mt51 = ref('https://download.metatrader.com/cdn/mobile/mt5/android?server=CWGMarketsSVG-Demo,CWGMarketsSVG-Live')
 const mt52 = ref(`${config.Host80}/mt/metatrader5.apk`)
 const mt52 = ref(`${config.Host80}/mt/metatrader5.apk`)
 const mt53 = ref('https://download.metatrader.com/cdn/mobile/mt5/ios?server=CWGMarketsSVG-Demo,CWGMarketsSVG-Live')
 const mt53 = ref('https://download.metatrader.com/cdn/mobile/mt5/ios?server=CWGMarketsSVG-Demo,CWGMarketsSVG-Live')
+const app1 = ref(`${config.Host80}/app/cwg-center.abb`)
+const app2 = ref(`${config.Host80}/app/cwg-center.apk`)
+const app3 = ref(`${config.Host80}/app/cwg-center.app`)
 const qrSize = 160
 const qrSize = 160
 const tabsConfig = computed(() => [
 const tabsConfig = computed(() => [
     { text: 'MT4', value: 'MT4' },
     { text: 'MT4', value: 'MT4' },