| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081 |
- <template>
- <cwg-page-wrapper class="create-page" :isHeaderFixed="true">
- <view class="container">
- <view
- class="app-page-head card-header d-flex gap-3 flex-wrap align-items-center justify-content-between border-0">
- <view class="app-page-head mb-0">
- <h1 class="app-page-title" v-t="'Downloadpage.item1'"></h1>
- </view>
- </view>
- <view class="col-lg-12">
- <view class="clearfix">
- <view class="card">
- <view class="card-header">
- <view class="nav nav-pills nav-fill card-header-pills">
- <view class="nav-item">
- <view class="nav-link" :class="{ 'active': activeName == 'MT4' }"
- @click="activeName = 'MT4'">MT-4</view>
- </view>
- <view class="nav-item">
- <view class="nav-link" :class="{ 'active': activeName == 'MT5' }"
- @click="activeName = 'MT5'">MT-5</view>
- </view>
- </view>
- </view>
- <view class="card-body">
- <view class="tab-content">
- <view v-if="activeName == 'MT4'">
- <view class="row">
- <view class="col-12">
- <h3 class="mb-3 fw-bold" v-t="'Downloadpage.item2'" />
- <p class="mb-5" v-t="'Downloadpage.item3'" />
- </view>
- <view class="col-lg-4 mb-5">
- <view class="card card-action action-elevate action-border-primary">
- <view class="row g-0">
- <view class="col-md-4">
- <view
- class="card-header border-0 p-0 m-2 position-relative overflow-hidden">
- <image src="/static/images/vu/windows.png" alt=""
- mode="widthFix" class="img-fluid rounded" />
- </view>
- </view>
- <view class="col-md-8 py-3 d-flex flex-column">
- <view class="card-body px-3 py-2">
- <view class="badge badge-sm bg-danger mb-1">MT-4</view>
- <h4>
- <view class="text-dark" v-t="'Downloadpage.item4'" />
- </h4>
- <p v-t="'Downloadpage.item5'" />
- <cwg-link type="download"
- :url="config.Host80 + '/mt/cwgmarketssvgltd4setup.exe'"
- downloadName="cwgmarketssvgltd4setup.exe">
- <view class="btn btn-danger waves-effect waves-light"><i
- class="fi fi-rr-download"></i> {{
- t('Downloadpage.item6-1') }}</view>
- </cwg-link>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="col-lg-4 mb-5">
- <view class="card card-action action-elevate action-border-primary">
- <view class="row g-0">
- <view class="col-md-4">
- <view
- class="card-header border-0 p-0 m-2 position-relative overflow-hidden">
- <image src="/static/images/vu/windows.png" alt=""
- mode="widthFix" class="img-fluid rounded" />
- </view>
- </view>
- <view class="col-md-8 py-3 d-flex flex-column">
- <view class="card-body px-3 py-2">
- <view class="badge badge-sm bg-danger mb-1">MT-4</view>
- <h4>
- <view class="text-dark" v-t="'Downloadpage.item4-1'" />
- </h4>
- <p v-t="'Downloadpage.item5'" />
- <cwg-link type="download" class="download-card"
- :url="config.Host80 + '/mt/mt4.zip'"
- downloadName="mt4.zip">
- <view class="btn btn-danger waves-effect waves-light">
- <i class="fi fi-rr-download"></i> {{
- t('Downloadpage.item6-1') }}
- </view>
- </cwg-link>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="col-lg-4 mb-5">
- <view class="card card-action action-elevate action-border-primary">
- <view class="row g-0">
- <view class="col-md-4">
- <view
- class="card-header border-0 p-0 m-2 position-relative overflow-hidden">
- <image src="/static/images/vu/ios.png" alt=""
- mode="widthFix" class="img-fluid rounded" />
- </view>
- </view>
- <view class="col-md-8 py-3 d-flex flex-column">
- <view class="card-body px-3 py-2">
- <view class="badge badge-sm bg-danger mb-1">MT-4</view>
- <h4>
- <view class="text-dark" v-t="'Downloadpage.item6'" />
- </h4>
- <p v-t="'Downloadpage.item5'" />
- <cwg-link type="download" class="download-card"
- :url="config.Host80 + '/mt/MetaTrader4.pkg'"
- downloadName="MetaTrader4.pkg">
- <view class="btn btn-danger waves-effect waves-light"><i
- class="fi fi-rr-download"></i> {{
- t('Downloadpage.item6-1') }}</view>
- </cwg-link>
- </view>
- </view>
- </view>
- </view>
- </view>
- <h3 class="mb-3 fw-bold" v-t="'Downloadpage.item38'" />
- <view class="col-lg-4 mb-5">
- <view class="card card-action action-elevate action-border-primary">
- <view class="row g-0">
- <view class="col-md-4">
- <view
- class="card-header border-0 p-0 m-2 position-relative overflow-hidden">
- <image src="/static/images/vu/icon-windows-ios.png" alt=""
- mode="widthFix" class="img-fluid rounded" />
- </view>
- </view>
- <view class="col-md-8 py-3 d-flex flex-column">
- <view class="card-body px-3 py-2">
- <view class="badge badge-sm bg-danger mb-1">MT-4</view>
- <h4>
- <view class="text-dark" v-t="'Downloadpage.item40'" />
- </h4>
- <p>PC and macOS</p>
- <cwg-link type="html" target="_blank"
- :url="'https://www.' + config.host + '.com/' + locale + '/vu-mt4-web-trading/web'">
- <view class="btn btn-danger waves-effect waves-light"><i
- class="fi fi-rr-download"></i> 开始交易</view>
- </cwg-link>
- </view>
- </view>
- </view>
- </view>
- </view>
- <h3 class="mb-3 fw-bold" v-t="'Downloadpage.item7'" />
- <view class="col-lg-6 mb-5">
- <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 p-0 m-2 position-relative ">
- <QrCode :text="mt42" />
- <!-- <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">MT-4</view>
- <h4>
- <view class="text-dark">Google Play (Android)</view>
- </h4>
- <p>CWG MT4</p>
- <cwg-link type="download" class="download-card" :url="mt41"
- downloadName="MetaTrader4.abb">
- <view class="btn btn-danger waves-effect waves-light"><i
- class="fi fi-rr-download"></i> {{
- t('Downloadpage.item6-1') }}</view>
- </cwg-link>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="col-lg-6 mb-5">
- <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 p-0 m-2 position-relative overflow-hidden">
- <QrCode :text="mt42" />
- <!-- <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">MT-4</view>
- <h4>
- <view class="text-dark">MetaTrader .Apk</view>
- </h4>
- <p>CWG MT4</p>
- <cwg-link type="download" class="download-card" :url="mt42"
- downloadName="MetaTrader4.apk">
- <view class="btn btn-danger waves-effect waves-light"><i
- class="fi fi-rr-download"></i> {{
- t('Downloadpage.item6-1') }}</view>
- </cwg-link>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="col-lg-6 mb-5">
- <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 p-0 m-2 position-relative overflow-hidden">
- <QrCode :text="mt43" />
- <!-- <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">MT-4</view>
- <h4>
- <view class="text-dark">App Store (IOS)</view>
- </h4>
- <p>CWG MT4</p>
- <cwg-link type="download" class="download-card" :url="mt43"
- downloadName="MetaTrader4.app">
- <view class="btn btn-danger waves-effect waves-light"><i
- class="fi fi-rr-download"></i> {{
- t('Downloadpage.item6-1') }}</view>
- </cwg-link>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view v-if="activeName == 'MT5'">
- <view class="row">
- <view class="col-12">
- <h3 class="mb-3 fw-bold" v-t="'Downloadpage.item11'" />
- <p class="mb-5" v-t="'Downloadpage.item3'" />
- </view>
- <view class="col-lg-4 mb-5">
- <view class="card card-action action-elevate action-border-primary">
- <view class="row g-0">
- <view class="col-md-4">
- <view
- class="card-header border-0 p-0 m-2 position-relative overflow-hidden">
- <image src="/static/images/vu/windows.png" alt=""
- mode="widthFix" class="img-fluid rounded" />
- </view>
- </view>
- <view class="col-md-8 py-3 d-flex flex-column">
- <view class="card-body px-3 py-2">
- <view class="badge badge-sm bg-danger mb-1">MT-5</view>
- <h4>
- <view class="text-dark" v-t="'Downloadpage.item4'" />
- </h4>
- <p v-t="'Downloadpage.item5'" />
- <cwg-link type="download" class="download-card"
- :url="config.Host80 + '/mt/cwgmarketssvg5setup.exe'"
- downloadName="cwgmarketssvg5setup.exe">
- <view class="btn btn-danger waves-effect waves-light"><i
- class="fi fi-rr-download"></i> {{
- t('Downloadpage.item6-1') }}</view>
- </cwg-link>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="col-lg-4 mb-5">
- <view class="card card-action action-elevate action-border-primary">
- <view class="row g-0">
- <view class="col-md-4">
- <view
- class="card-header border-0 p-0 m-2 position-relative overflow-hidden">
- <image src="/static/images/vu/windows.png" alt=""
- mode="widthFix" class="img-fluid rounded" />
- </view>
- </view>
- <view class="col-md-8 py-3 d-flex flex-column">
- <view class="card-body px-3 py-2">
- <view class="badge badge-sm bg-danger mb-1">MT-5</view>
- <h4>
- <view class="text-dark" v-t="'Downloadpage.item4-1'" />
- </h4>
- <p v-t="'Downloadpage.item5'" />
- <cwg-link type="download" class="download-card"
- :url="config.Host80 + '/mt/mt5.zip'"
- downloadName="mt5.zip">
- <view class="btn btn-danger waves-effect waves-light">
- <i class="fi fi-rr-download"></i> {{
- t('Downloadpage.item6-1') }}
- </view>
- </cwg-link>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="col-lg-4 mb-5">
- <view class="card card-action action-elevate action-border-primary">
- <view class="row g-0">
- <view class="col-md-4">
- <view
- class="card-header border-0 p-0 m-2 position-relative overflow-hidden">
- <image src="/static/images/vu/ios.png" alt=""
- mode="widthFix" class="img-fluid rounded" />
- </view>
- </view>
- <view class="col-md-8 py-3 d-flex flex-column">
- <view class="card-body px-3 py-2">
- <view class="badge badge-sm bg-danger mb-1">MT-5</view>
- <h4>
- <view class="text-dark" v-t="'Downloadpage.item6'" />
- </h4>
- <p v-t="'Downloadpage.item5'" />
- <cwg-link type="download" class="download-card"
- :url="config.Host80 + '/mt/MetaTrader5.pkg'"
- downloadName="MetaTrader5.pkg">
- <view class="btn btn-danger waves-effect waves-light"><i
- class="fi fi-rr-download"></i> {{
- t('Downloadpage.item6-1') }}</view>
- </cwg-link>
- </view>
- </view>
- </view>
- </view>
- </view>
- <h3 class="mb-3 fw-bold" v-t="'Downloadpage.item39'" />
- <view class="col-lg-4 mb-5">
- <view class="card card-action action-elevate action-border-primary">
- <view class="row g-0">
- <view class="col-md-4">
- <view
- class="card-header border-0 p-0 m-2 position-relative overflow-hidden">
- <image src="/static/images/vu/icon-windows-ios.png" alt=""
- mode="widthFix" class="img-fluid rounded" />
- </view>
- </view>
- <view class="col-md-8 py-3 d-flex flex-column">
- <view class="card-body px-3 py-2">
- <view class="badge badge-sm bg-danger mb-1">MT-5</view>
- <h4>
- <view class="text-dark" v-t="'Downloadpage.item40'" />
- </h4>
- <p>PC and macOS</p>
- <cwg-link type="html"
- class="download-card download-card-web" target="_blank"
- :url="'https://www.' + config.host + '.com/' + locale + '/mt5/web'">
- <view class="btn btn-danger waves-effect waves-light"><i
- class="fi fi-rr-download"></i> 开始交易</view>
- </cwg-link>
- </view>
- </view>
- </view>
- </view>
- </view>
- <h3 class="mb-3 fw-bold" v-t="'Downloadpage.item13'" />
- <view class="col-lg-6 mb-5">
- <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 p-0 m-2 position-relative ">
- <QrCode :text="mt52" />
- <!-- <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">MT-5</view>
- <h4>
- <view class="text-dark">Google Play (Android)</view>
- </h4>
- <p>CWG MT5</p>
- <cwg-link type="download" class="download-card" :url="mt51"
- downloadName="MetaTrader5.abb">
- <view class="btn btn-danger waves-effect waves-light"><i
- class="fi fi-rr-download"></i> {{
- t('Downloadpage.item6-1') }}</view>
- </cwg-link>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="col-lg-6 mb-5">
- <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 p-0 m-2 position-relative overflow-hidden">
- <QrCode :text="mt52" />
- <!-- <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">MT-5</view>
- <h4>
- <view class="text-dark">MetaTrader .Apk</view>
- </h4>
- <p>CWG MT5</p>
- <cwg-link type="download" class="download-card" :url="mt52"
- downloadName="MetaTrader5.apk">
- <view class="btn btn-danger waves-effect waves-light"><i
- class="fi fi-rr-download"></i> {{
- t('Downloadpage.item6-1') }}</view>
- </cwg-link>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view class="col-lg-6 mb-5">
- <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 p-0 m-2 position-relative overflow-hidden">
- <QrCode :text="mt53" />
- <!-- <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">MT-5</view>
- <h4>
- <view class="text-dark">App Store (IOS)</view>
- </h4>
- <p>CWG MT5</p>
- <cwg-link type="download" class="download-card" :url="mt53"
- downloadName="MetaTrader5.app">
- <view class="btn btn-danger waves-effect waves-light"><i
- class="fi fi-rr-download"></i> {{
- t('Downloadpage.item6-1') }}</view>
- </cwg-link>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </cwg-page-wrapper>
- </template>
- <script setup lang="ts">
- import { ref, computed, onMounted, nextTick } from 'vue'
- import QrCode from "@/components/QRCode.vue"
- import { useI18n } from 'vue-i18n'
- import config from '@/config';
- const { t, locale } = useI18n()
- const activeName = ref('MT4')
- const logoImageRef = ref('') // 保持变量名 logoImage
- const mt41 = ref('https://www.metatrader4.com/en/download#download-block-android?server=CWGMarketsSVGLtd-Demo,CWGMarketsSVGLtd-Live')
- const mt42 = ref(`${config.Host80}/metatrader/metatrader4.apk`) // 稍后动态计算
- const mt43 = ref('https://apps.apple.com/us/app/metatrader-4/id496212596?server=CWGMarketsSVGLtd-Demo,CWGMarketsSVGLtd-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 mt53 = ref('https://download.metatrader.com/cdn/mobile/mt5/ios?server=CWGMarketsSVG-Demo,CWGMarketsSVG-Live')
- const tabsConfig = computed(() => [
- { text: 'MT4', value: 'MT4' },
- { text: 'MT5', value: 'MT5' },
- ])
- // ---------- 计算属性 ----------
- const isZh = computed(() => ['cn', 'zh', 'zhHant'].includes(locale.value))
- const showQrcode = ref(false)
- onMounted(async () => {
- await nextTick()
- setTimeout(() => {
- showQrcode.value = true
- }, 200)
- })
- </script>
- <style lang="scss" scoped>
- @import "@/uni.scss";
- /* 让 card 本身等高,但内部元素自适应 */
- .row {
- display: flex;
- flex-wrap: wrap;
- align-items: stretch;
- }
- .row > [class*="col-lg-4"] {
- display: flex;
- flex-direction: column;
- }
- .card {
- flex: 1;
- display: flex;
- flex-direction: column;
- height: 100%;
- }
- /* 关键修改:让 card-body 不强制占满,只保持默认 */
- .card-body {
- /* 移除 flex: 1,改为默认值 */
- flex: 0 0 auto;
- display: block;
- }
- /* 只有需要弹性填充的特定容器才使用 flex */
- .flex-column.d-flex {
- flex: 1;
- display: flex;
- flex-direction: column;
- }
- /* 按钮底部对齐只在需要的地方使用 */
- .card-body .btn {
- margin-top: auto;
- }
- @media screen and (max-width: 768px) {
- .img-fluid {
- max-width: px2rpx(120);
- }
- :deep(.qr-container) {
- justify-content: flex-start;
- }
- }
- #custom_Downloadpage {
- width: 100%;
- height: 100%;
- .main-content {
- width: 100%;
- height: calc(100% - px2rpx(50));
- padding: px2rpx(10);
- box-sizing: border-box;
- overflow-y: auto;
- }
- .download-section {
- background: transparent;
- border: 1px solid var(--bs-border-color);
- border-radius: px2rpx(12);
- padding: px2rpx(24) px2rpx(20);
- margin-bottom: px2rpx(16);
- box-shadow: 0 px2rpx(2) px2rpx(12) rgba(0, 0, 0, 0.06);
- .section-header {
- text-align: center;
- margin-bottom: px2rpx(24);
- }
- .section-title {
- font-size: px2rpx(20);
- font-weight: 600;
- color: var(--bs-heading-color);
- margin-bottom: px2rpx(8);
- }
- .section-subtitle {
- font-size: px2rpx(14);
- color: var(--bs-heading-color);
- line-height: 1.5;
- }
- }
- .download-cards {
- display: flex;
- justify-content: center;
- flex-wrap: wrap;
- gap: px2rpx(16);
- }
- .download-card {
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: px2rpx(24) px2rpx(20);
- background: linear-gradient(135deg, #4990EF 0%, #3A7BE0 100%);
- color: #fff;
- border-radius: px2rpx(12);
- min-width: px2rpx(160);
- max-width: px2rpx(200);
- text-decoration: none;
- transition: all 0.3s ease;
- position: relative;
- overflow: hidden;
- &::before {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
- }
- &:hover {
- transform: translateY(px2rpx(-4));
- box-shadow: 0 px2rpx(8) px2rpx(24) rgba(73, 144, 239, 0.35);
- }
- &:active {
- transform: translateY(px2rpx(-2));
- }
- .card-icon {
- width: px2rpx(48);
- height: px2rpx(48);
- margin-bottom: px2rpx(16);
- position: relative;
- z-index: 1;
- }
- .card-info {
- text-align: center;
- position: relative;
- z-index: 1;
- .card-title {
- font-size: px2rpx(15);
- font-weight: 500;
- margin-bottom: px2rpx(4);
- color: #fff;
- }
- .card-desc {
- font-size: px2rpx(12);
- opacity: 0.85;
- }
- }
- .download-badge {
- margin-top: px2rpx(12);
- padding: px2rpx(4) px2rpx(12);
- background: rgba(255, 255, 255, 0.2);
- border-radius: px2rpx(20);
- font-size: px2rpx(11);
- font-weight: 500;
- position: relative;
- z-index: 1;
- }
- .download-badge-apple {
- background: rgba(0, 0, 0, 0.25);
- }
- }
- .download-card-web {
- flex-direction: row;
- justify-content: space-between;
- padding: px2rpx(20) px2rpx(24);
- min-width: px2rpx(280);
- max-width: 100%;
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- .card-info {
- text-align: left;
- }
- .icon-arrow {
- font-size: px2rpx(20);
- opacity: 0.9;
- }
- &:hover {
- .icon-arrow {
- transform: translateX(px2rpx(4));
- transition: transform 0.3s ease;
- }
- }
- }
- .mobile-section {
- .mobile-cards {
- display: flex;
- flex-direction: column;
- gap: px2rpx(20);
- }
- .mobile-card {
- background: transparent;
- border-radius: px2rpx(12);
- padding: px2rpx(20);
- border: px2rpx(1) solid var(--bs-border-color);
- }
- .mobile-card-header {
- display: flex;
- align-items: center;
- margin-bottom: px2rpx(20);
- .card-icon {
- width: px2rpx(40);
- height: px2rpx(40);
- margin-right: px2rpx(16);
- background-color: #fff;
- overflow: hidden;
- border-radius: px2rpx(10);
- }
- .card-info {
- text-align: left;
- .card-title {
- font-size: px2rpx(16);
- font-weight: 600;
- color: var(--bs-heading-color);
- margin-bottom: px2rpx(4);
- }
- .card-desc {
- font-size: px2rpx(13);
- color: var(--bs-heading-color);
- }
- }
- }
- .qr-codes {
- display: flex;
- justify-content: space-around;
- flex-wrap: wrap;
- gap: px2rpx(16);
- &.qr-codes-single {
- justify-content: center;
- }
- }
- .qr-item {
- text-align: center;
- .qr-label {
- font-weight: 600;
- font-size: px2rpx(13);
- color: var(--bs-heading-color);
- margin-bottom: px2rpx(10);
- line-height: 2;
- }
- }
- }
- .instruments-banner {
- width: 100%;
- padding: px2rpx(40) px2rpx(20);
- background-image: url('/static/images/tc_bg.png');
- background-size: cover;
- background-repeat: no-repeat;
- background-position: center;
- color: var(--bs-emphasis-color);
- text-align: center;
- border-radius: px2rpx(12);
- margin-bottom: px2rpx(16);
- box-sizing: border-box;
- .banner-content {
- margin-bottom: px2rpx(24);
- }
- .banner-title {
- font-size: px2rpx(22);
- font-weight: 600;
- margin-bottom: px2rpx(8);
- }
- .banner-subtitle {
- font-size: px2rpx(14);
- opacity: 0.9;
- }
- .banner-buttons {
- display: flex;
- justify-content: center;
- flex-wrap: wrap;
- gap: px2rpx(12);
- }
- .banner-btn {
- display: inline-flex;
- flex-direction: column;
- align-items: center;
- padding: px2rpx(14) px2rpx(25);
- background-color: #EB3F57;
- color: var(--bs-emphasis-color);
- font-size: px2rpx(14);
- text-decoration: none;
- border-radius: px2rpx(8);
- transition: all 0.3s ease;
- min-width: px2rpx(200);
- &:hover {
- background-color: #d6364d;
- transform: translateY(px2rpx(-2));
- box-shadow: 0 px2rpx(4) px2rpx(12) rgba(235, 63, 87, 0.4);
- }
- .btn-tag {
- font-size: px2rpx(12);
- opacity: 0.85;
- margin-top: px2rpx(4);
- }
- }
- }
- .features-grid {
- background: transparent;
- border: 1px solid var(--bs-border-color);
- border-radius: px2rpx(12);
- padding: px2rpx(24) px2rpx(20);
- margin-bottom: px2rpx(16);
- box-shadow: 0 px2rpx(2) px2rpx(12) rgba(0, 0, 0, 0.06);
- .feature-item {
- display: flex;
- align-items: center;
- padding: px2rpx(20) 0;
- border-bottom: px2rpx(1) solid #f0f0f0;
- &:last-child {
- border-bottom: none;
- }
- }
- .feature-icon {
- width: px2rpx(64);
- height: px2rpx(64);
- display: flex;
- align-items: center;
- justify-content: center;
- background: linear-gradient(135deg, #fef0f0 0%, #ffe8e8 100%);
- border-radius: px2rpx(12);
- margin-right: px2rpx(16);
- flex-shrink: 0;
- i {
- font-size: px2rpx(32);
- color: #EB3F57;
- }
- }
- .feature-content {
- flex: 1;
- }
- .feature-title {
- font-size: px2rpx(16);
- font-weight: 600;
- color: var(--bs-heading-color);
- margin-bottom: px2rpx(6);
- }
- .feature-desc {
- font-size: px2rpx(14);
- color: var(--bs-heading-color);
- line-height: 1.6;
- }
- }
- .info-section {
- background: transparent;
- border: 1px solid var(--bs-border-color);
- border-radius: px2rpx(12);
- padding: px2rpx(24) px2rpx(20);
- margin-bottom: px2rpx(16);
- box-shadow: 0 px2rpx(2) px2rpx(12) rgba(0, 0, 0, 0.06);
- .info-block {
- .info-title {
- font-size: px2rpx(20);
- font-weight: 600;
- text-align: center;
- margin-bottom: px2rpx(20);
- span {
- border-bottom: px2rpx(3) solid #EB3F57;
- padding: 0 px2rpx(8) px2rpx(8);
- }
- }
- .info-subtitle {
- font-size: px2rpx(14);
- color: var(--bs-heading-color);
- text-align: center;
- margin-bottom: px2rpx(24);
- }
- }
- .info-content {
- .info-item {
- padding: px2rpx(20) 0;
- border-bottom: px2rpx(1) dashed #e0e0e0;
- &:last-child {
- border-bottom: none;
- }
- &.info-item-border {
- border-top: px2rpx(1) dashed #e0e0e0;
- }
- }
- .info-label {
- font-size: px2rpx(15);
- font-weight: 600;
- color: var(--bs-heading-color);
- margin-bottom: px2rpx(8);
- }
- .info-text {
- font-size: px2rpx(14);
- color: var(--bs-heading-color);
- line-height: 1.6;
- }
- .info-image {
- display: flex;
- justify-content: center;
- padding-top: px2rpx(24);
- image {
- max-width: 100%;
- border-radius: px2rpx(8);
- }
- }
- }
- }
- @media (max-width: 768px) {
- .download-section {
- padding: px2rpx(16) px2rpx(12);
- border-radius: px2rpx(8);
- .section-title {
- font-size: px2rpx(18);
- }
- }
- .download-cards {
- gap: px2rpx(12);
- }
- .download-card {
- min-width: px2rpx(140);
- padding: px2rpx(16) px2rpx(12);
- .card-icon {
- width: px2rpx(40);
- height: px2rpx(40);
- }
- .card-info {
- .card-title {
- font-size: px2rpx(13);
- }
- .card-desc {
- font-size: px2rpx(11);
- }
- }
- }
- .download-card-web {
- width: 100%;
- }
- .mobile-section {
- .mobile-card {
- padding: px2rpx(16);
- }
- .qr-codes {
- gap: px2rpx(12);
- }
- }
- .instruments-banner {
- padding: px2rpx(24) px2rpx(16);
- border-radius: px2rpx(8);
- .banner-title {
- font-size: px2rpx(18);
- }
- .banner-btn {
- min-width: px2rpx(160);
- padding: px2rpx(12) px2rpx(20);
- }
- }
- .features-grid {
- padding: px2rpx(16) px2rpx(12);
- border-radius: px2rpx(8);
- .feature-item {
- flex-direction: column;
- text-align: center;
- padding: px2rpx(16) 0;
- }
- .feature-icon {
- margin-right: 0;
- margin-bottom: px2rpx(12);
- }
- }
- .info-section {
- padding: px2rpx(16) px2rpx(12);
- border-radius: px2rpx(8);
- .info-block {
- .info-title {
- font-size: px2rpx(18);
- }
- }
- }
- }
- :deep(.el-tabs) {
- .el-tabs__header {
- margin-bottom: px2rpx(20);
- }
- .el-tabs__nav-wrap::after {
- height: px2rpx(1);
- }
- .el-tabs__item {
- font-size: px2rpx(15);
- color: var(--bs-heading-color);
- padding: 0 px2rpx(20);
- height: px2rpx(44);
- line-height: px2rpx(44);
- &.is-active {
- color: #4990EF;
- font-weight: 600;
- }
- }
- .el-tabs__active-bar {
- height: px2rpx(3);
- border-radius: px2rpx(3);
- }
- }
- :deep(uni-image),
- :deep(img) {
- width: px2rpx(30);
- height: px2rpx(30);
- object-fit: cover;
- border-radius: px2rpx(6);
- }
- }
- .mt {
- width: px2rpx(200) !important;
- height: px2rpx(200) !important;
- }
- </style>
|