|
|
@@ -11,7 +11,7 @@
|
|
|
<view class="section-subtitle" v-t="'Downloadpage.item3'" />
|
|
|
</view>
|
|
|
<view class="download-cards">
|
|
|
- <a class="download-card" :href="myLink + '/mt/cwgmarketssvgltd4setup.exe'"
|
|
|
+ <cwg-link type="html" class="download-card" :url="myLink + '/mt/cwgmarketssvgltd4setup.exe'"
|
|
|
download="cwgmarketssvgltd4setup.exe">
|
|
|
<image class="card-icon" src="/static/images/windows-os-1-48.png" alt=""
|
|
|
mode="widthFix" />
|
|
|
@@ -20,8 +20,9 @@
|
|
|
<view class="card-desc" v-t="'Downloadpage.item5'" />
|
|
|
</view>
|
|
|
<view class="download-badge">Windows</view>
|
|
|
- </a>
|
|
|
- <a class="download-card" :href="myLink + '/mt/mt4.zip'" download="mt4.zip">
|
|
|
+ </cwg-link>
|
|
|
+ <cwg-link type="html" class="download-card" :url="myLink + '/mt/mt4.zip'"
|
|
|
+ download="mt4.zip">
|
|
|
<image class="card-icon" src="/static/images/windows-os-1-48.png" alt=""
|
|
|
mode="widthFix" />
|
|
|
<view class="card-info">
|
|
|
@@ -29,8 +30,9 @@
|
|
|
<view class="card-desc" v-t="'Downloadpage.item5'" />
|
|
|
</view>
|
|
|
<view class="download-badge">ZIP</view>
|
|
|
- </a>
|
|
|
- <a class="download-card" :href="myLink + '/mt/MetaTrader4.pkg'" download="MetaTrader4.pkg">
|
|
|
+ </cwg-link>
|
|
|
+ <cwg-link type="html" class="download-card" :url="myLink + '/mt/MetaTrader4.pkg'"
|
|
|
+ download="MetaTrader4.pkg">
|
|
|
<image class="card-icon" src="/static/images/apple-os-1-48.png" alt=""
|
|
|
mode="widthFix" />
|
|
|
<view class="card-info">
|
|
|
@@ -38,7 +40,7 @@
|
|
|
<view class="card-desc" v-t="'Downloadpage.item5'" />
|
|
|
</view>
|
|
|
<view class="download-badge download-badge-apple">macOS</view>
|
|
|
- </a>
|
|
|
+ </cwg-link>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="download-section web-section">
|
|
|
@@ -46,13 +48,13 @@
|
|
|
<view class="section-title" v-t="'Downloadpage.item38'" />
|
|
|
</view>
|
|
|
<view class="download-cards">
|
|
|
- <a class="download-card download-card-web" target="_blank"
|
|
|
- :href="'https://www.' + link + '.com/' + getLang(lang) + '/mt4/web'">
|
|
|
+ <cwg-link type="html" class="download-card download-card-web" target="_blank"
|
|
|
+ :url="'https://www.' + link + '.com/' + getLang(lang) + '/mt4/web'">
|
|
|
<view class="card-info">
|
|
|
<view class="card-title" v-t="'Downloadpage.item40'" />
|
|
|
</view>
|
|
|
<text class="icon-arrow">→</text>
|
|
|
- </a>
|
|
|
+ </cwg-link>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="download-section mobile-section">
|
|
|
@@ -107,7 +109,7 @@
|
|
|
<view class="section-subtitle" v-t="'Downloadpage.item12'" />
|
|
|
</view>
|
|
|
<view class="download-cards">
|
|
|
- <a class="download-card" :href="myLink + '/mt/cwgmarketssvg5setup.exe'"
|
|
|
+ <cwg-link type="html" class="download-card" :url="myLink + '/mt/cwgmarketssvg5setup.exe'"
|
|
|
download="cwgmarketssvg5setup.exe">
|
|
|
<image class="card-icon" src="/static/images/windows-os-1-48.png" alt=""
|
|
|
mode="widthFix" />
|
|
|
@@ -116,8 +118,9 @@
|
|
|
<view class="card-desc" v-t="'Downloadpage.item5'" />
|
|
|
</view>
|
|
|
<view class="download-badge">Windows</view>
|
|
|
- </a>
|
|
|
- <a class="download-card" :href="myLink + '/mt/mt5.zip'" download="mt5.zip">
|
|
|
+ </cwg-link>
|
|
|
+ <cwg-link type="html" class="download-card" :url="myLink + '/mt/mt5.zip'"
|
|
|
+ download="mt5.zip">
|
|
|
<image class="card-icon" src="/static/images/windows-os-1-48.png" alt=""
|
|
|
mode="widthFix" />
|
|
|
<view class="card-info">
|
|
|
@@ -125,8 +128,9 @@
|
|
|
<view class="card-desc" v-t="'Downloadpage.item5'" />
|
|
|
</view>
|
|
|
<view class="download-badge">ZIP</view>
|
|
|
- </a>
|
|
|
- <a class="download-card" :href="myLink + '/mt/MetaTrader5.pkg'" download="MetaTrader5.dmg">
|
|
|
+ </cwg-link>
|
|
|
+ <cwg-link type="html" class="download-card" :url="myLink + '/mt/MetaTrader5.pkg'"
|
|
|
+ download="MetaTrader5.dmg">
|
|
|
<image class="card-icon" src="/static/images/apple-os-1-48.png" alt=""
|
|
|
mode="widthFix" />
|
|
|
<view class="card-info">
|
|
|
@@ -134,7 +138,7 @@
|
|
|
<view class="card-desc" v-t="'Downloadpage.item5'" />
|
|
|
</view>
|
|
|
<view class="download-badge download-badge-apple">macOS</view>
|
|
|
- </a>
|
|
|
+ </cwg-link>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="download-section web-section">
|
|
|
@@ -142,13 +146,13 @@
|
|
|
<view class="section-title" v-t="'Downloadpage.item39'" />
|
|
|
</view>
|
|
|
<view class="download-cards">
|
|
|
- <a class="download-card download-card-web" target="_blank"
|
|
|
- :href="'https://www.' + link + '.com/' + getLang(lang) + '/mt5/web'">
|
|
|
+ <cwg-link type="html" class="download-card download-card-web" target="_blank"
|
|
|
+ :url="'https://www.' + link + '.com/' + getLang(lang) + '/mt5/web'">
|
|
|
<view class="card-info">
|
|
|
<view class="card-title" v-t="'Downloadpage.item40'" />
|
|
|
</view>
|
|
|
<text class="icon-arrow">→</text>
|
|
|
- </a>
|
|
|
+ </cwg-link>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="download-section mobile-section">
|
|
|
@@ -202,22 +206,22 @@
|
|
|
<view class="banner-subtitle" v-t="'Downloadpage.item19'" />
|
|
|
</view>
|
|
|
<view class="banner-buttons">
|
|
|
- <a class="banner-btn" style="padding: 10px 25px;min-width: 220px;"
|
|
|
- href="https://mt.tradingcentral.cn/download"
|
|
|
+ <cwg-link type="html" class="banner-btn" style="padding: 10px 25px;min-width: 220px;"
|
|
|
+ url="https://mt.tradingcentral.cn/download"
|
|
|
v-if="['cn', 'zhHant'].indexOf(Session.Get('lang')) != -1">
|
|
|
<view v-t="'Downloadpage.item20'" />
|
|
|
<view class="btn-tag">中国大陆用户</view>
|
|
|
- </a>
|
|
|
- <a class="banner-btn" style="padding: 10px 25px;min-width: 220px;"
|
|
|
- href="https://mt.tradingcentral.com/download"
|
|
|
+ </cwg-link>
|
|
|
+ <cwg-link type="html" class="banner-btn" style="padding: 10px 25px;min-width: 220px;"
|
|
|
+ url="https://mt.tradingcentral.com/download"
|
|
|
v-if="['cn', 'zhHant'].indexOf(Session.Get('lang')) != -1">
|
|
|
<view v-t="'Downloadpage.item20'" />
|
|
|
<view class="btn-tag">港澳台地区及海外用户</view>
|
|
|
- </a>
|
|
|
- <a class="banner-btn" href="https://mt.tradingcentral.com/download"
|
|
|
+ </cwg-link>
|
|
|
+ <cwg-link type="html" class="banner-btn" url="https://mt.tradingcentral.com/download"
|
|
|
v-if="['cn', 'zhHant'].indexOf(Session.Get('lang')) == -1">
|
|
|
<span v-t="'Downloadpage.item20'"></span>
|
|
|
- </a>
|
|
|
+ </cwg-link>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="features-grid">
|