| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920 |
- <template>
- <cwg-page-wrapper class="create-page" :isHeaderFixed="true">
- <cwg-header :title="t('Downloadpage.item1')" />
- <view id="custom_Downloadpage">
- <view class="main-content">
- <cwg-asset-tabs v-model="activeName" :tabs="tabsConfig" />
- <view v-if="activeName == 'MT4'">
- <view class="download-section">
- <view class="section-header">
- <view class="section-title" v-t="'Downloadpage.item2'" />
- <view class="section-subtitle" v-t="'Downloadpage.item3'" />
- </view>
- <view class="download-cards">
- <cwg-link type="download" class="download-card"
- :url="myLink + '/mt/cwgmarketssvgltd4setup.exe'"
- downloadName="cwgmarketssvgltd4setup.exe">
- <image class="card-icon" src="/static/images/windows-os-1-48.png" alt=""
- mode="widthFix" />
- <view class="card-info">
- <view class="card-title" v-t="'Downloadpage.item4'" />
- <view class="card-desc" v-t="'Downloadpage.item5'" />
- </view>
- <view class="download-badge">Windows</view>
- </cwg-link>
- <cwg-link type="download" class="download-card" :url="myLink + '/mt/mt4.zip'"
- downloadName="mt4.zip">
- <image class="card-icon" src="/static/images/windows-os-1-48.png" alt=""
- mode="widthFix" />
- <view class="card-info">
- <view class="card-title" v-t="'Downloadpage.item4-1'" />
- <view class="card-desc" v-t="'Downloadpage.item5'" />
- </view>
- <view class="download-badge">ZIP</view>
- </cwg-link>
- <cwg-link type="download" class="download-card" :url="myLink + '/mt/MetaTrader4.pkg'"
- downloadName="MetaTrader4.pkg">
- <image class="card-icon" src="/static/images/apple-os-1-48.png" alt=""
- mode="widthFix" />
- <view class="card-info">
- <view class="card-title" v-t="'Downloadpage.item6'" />
- <view class="card-desc" v-t="'Downloadpage.item5'" />
- </view>
- <view class="download-badge download-badge-apple">macOS</view>
- </cwg-link>
- </view>
- </view>
- <view class="download-section web-section">
- <view class="section-header">
- <view class="section-title" v-t="'Downloadpage.item38'" />
- </view>
- <view class="download-cards">
- <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>
- </cwg-link>
- </view>
- </view>
- <view class="download-section mobile-section">
- <view class="section-header">
- <view class="section-title" v-t="'Downloadpage.item7'" />
- </view>
- <view class="mobile-cards">
- <view class="mobile-card">
- <view class="mobile-card-header">
- <image class="card-icon" src="/static/images/android-os-3-72.png" alt=""
- mode="widthFix" />
- <view class="card-info">
- <view class="card-title" v-t="'Downloadpage.item8'" />
- <view class="card-desc" v-t="'Downloadpage.item9'" />
- </view>
- </view>
- <view class="qr-codes">
- <view class="qr-item">
- <view class="qr-label">Google Play</view>
- <QrCode :text="mt41" :logoImage="logoImage"></QrCode>
- </view>
- <view class="qr-item">
- <view class="qr-label">MetaTrader .Apk</view>
- <QrCode :text="mt42" :logoImage="logoImage"></QrCode>
- </view>
- </view>
- </view>
- <view class="mobile-card">
- <view class="mobile-card-header">
- <image class="card-icon" src="/static/images/apple-os-3-72.png" alt=""
- mode="widthFix" />
- <view class="card-info">
- <view class="card-title" v-t="'Downloadpage.item8'" />
- <view class="card-desc" v-t="'Downloadpage.item10'" />
- </view>
- </view>
- <view class="qr-codes qr-codes-single">
- <view class="qr-item">
- <view class="qr-label">App Store</view>
- <QrCode :text="mt43" :logoImage="logoImage"></QrCode>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view v-if="activeName == 'MT5'">
- <view class="download-section">
- <view class="section-header">
- <view class="section-title" v-t="'Downloadpage.item11'" />
- <view class="section-subtitle" v-t="'Downloadpage.item12'" />
- </view>
- <view class="download-cards">
- <cwg-link type="download" class="download-card"
- :url="myLink + '/mt/cwgmarketssvg5setup.exe'" downloadName="cwgmarketssvg5setup.exe">
- <image class="card-icon" src="/static/images/windows-os-1-48.png" alt=""
- mode="widthFix" />
- <view class="card-info">
- <view class="card-title" v-t="'Downloadpage.item4'" />
- <view class="card-desc" v-t="'Downloadpage.item5'" />
- </view>
- <view class="download-badge">Windows</view>
- </cwg-link>
- <cwg-link type="download" class="download-card" :url="myLink + '/mt/mt5.zip'"
- downloadName="mt5.zip">
- <image class="card-icon" src="/static/images/windows-os-1-48.png" alt=""
- mode="widthFix" />
- <view class="card-info">
- <view class="card-title" v-t="'Downloadpage.item4-1'" />
- <view class="card-desc" v-t="'Downloadpage.item5'" />
- </view>
- <view class="download-badge">ZIP</view>
- </cwg-link>
- <cwg-link type="download" class="download-card" :url="myLink + '/mt/MetaTrader5.pkg'"
- downloadName="MetaTrader5.dmg">
- <image class="card-icon" src="/static/images/apple-os-1-48.png" alt=""
- mode="widthFix" />
- <view class="card-info">
- <view class="card-title" v-t="'Downloadpage.item6'" />
- <view class="card-desc" v-t="'Downloadpage.item5'" />
- </view>
- <view class="download-badge download-badge-apple">macOS</view>
- </cwg-link>
- </view>
- </view>
- <view class="download-section web-section">
- <view class="section-header">
- <view class="section-title" v-t="'Downloadpage.item39'" />
- </view>
- <view class="download-cards">
- <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>
- </cwg-link>
- </view>
- </view>
- <view class="download-section mobile-section">
- <view class="section-header">
- <view class="section-title" v-t="'Downloadpage.item13'" />
- </view>
- <view class="mobile-cards">
- <view class="mobile-card">
- <view class="mobile-card-header">
- <image class="card-icon" src="/static/images/android-os-3-72.png" alt=""
- mode="widthFix" />
- <view class="card-info">
- <view class="card-title" v-t="'Downloadpage.item8'" />
- <view class="card-desc" v-t="'Downloadpage.item14'" />
- </view>
- </view>
- <view class="qr-codes">
- <view class="qr-item">
- <view class="qr-label">Google Play</view>
- <QrCode :text="mt51" :logoImage="logoImage"></QrCode>
- </view>
- <view class="qr-item">
- <view class="qr-label">MetaTrader .Apk</view>
- <QrCode :text="mt52" :logoImage="logoImage"></QrCode>
- </view>
- </view>
- </view>
- <view class="mobile-card">
- <view class="mobile-card-header">
- <image class="card-icon" src="/static/images/apple-os-3-72.png" alt=""
- mode="widthFix" />
- <view class="card-info">
- <view class="card-title" v-t="'Downloadpage.item8'" />
- <view class="card-desc" v-t="'Downloadpage.item15'" />
- </view>
- </view>
- <view class="qr-codes qr-codes-single">
- <view class="qr-item">
- <view class="qr-label">App Store</view>
- <QrCode :text="mt53" :logoImage="logoImage"></QrCode>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <view v-if="activeName == 'Instruments'">
- <view class="instruments-banner">
- <view class="banner-content">
- <view class="banner-title" v-t="'Downloadpage.item18'" />
- <view class="banner-subtitle" v-t="'Downloadpage.item19'" />
- </view>
- <view class="banner-buttons">
- <cwg-link type="download" 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>
- </cwg-link>
- <cwg-link type="download" 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>
- </cwg-link>
- <cwg-link type="download" class="banner-btn" url="https://mt.tradingcentral.com/download"
- v-if="['cn', 'zhHant'].indexOf(Session.Get('lang')) == -1">
- <span v-t="'Downloadpage.item20'"></span>
- </cwg-link>
- </view>
- </view>
- <view class="features-grid">
- <view class="feature-item">
- <view class="feature-icon">
- <i class="iconfenxi1 iconfont"></i>
- </view>
- <view class="feature-content">
- <view class="feature-title" v-t="'Downloadpage.item21'" />
- <view class="feature-desc" v-t="'Downloadpage.item22'" />
- </view>
- </view>
- <view class="feature-item">
- <view class="feature-icon">
- <i class="iconlazhutu iconfont"></i>
- </view>
- <view class="feature-content">
- <view class="feature-title" v-t="'Downloadpage.item23'" />
- <view class="feature-desc" v-t="'Downloadpage.item24'" />
- </view>
- </view>
- <view class="feature-item">
- <view class="feature-icon">
- <i class="iconzhibiao iconfont"></i>
- </view>
- <view class="feature-content">
- <view class="feature-title" v-t="'Downloadpage.item25'" />
- <view class="feature-desc" v-t="'Downloadpage.item26'" />
- </view>
- </view>
- </view>
- <view class="info-section">
- <view class="info-block">
- <view class="info-title"><span v-t="'Downloadpage.item27'"></span></view>
- <view class="info-content">
- <view class="info-item">
- <view v-t="'Downloadpage.item28'" class="info-label" />
- <view v-t="'Downloadpage.item29'" class="info-text" />
- </view>
- <view class="info-item info-item-border">
- <view v-t="'Downloadpage.item30'" class="info-label" />
- <view v-t="'Downloadpage.item31'" class="info-text" />
- </view>
- </view>
- </view>
- </view>
- <view class="info-section">
- <view class="info-block">
- <view class="info-title"><span v-t="'Downloadpage.item32'"></span></view>
- <view class="info-subtitle" v-t="'Downloadpage.item33'" />
- <view class="info-content">
- <view class="info-item">
- <view v-t="'Downloadpage.item34'" class="info-label" />
- <view v-t="'Downloadpage.item35'" class="info-text" />
- <view class="info-image">
- <image src="/static/images/tc-bg1.jpg" alt="" mode="widthFix" />
- </view>
- </view>
- <view class="info-item">
- <view v-t="'Downloadpage.item36'" class="info-label" />
- <view v-t="'Downloadpage.item37'" class="info-text" />
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </cwg-page-wrapper>
- </template>
- <script setup lang="ts">
- import { ref, computed, onMounted } from 'vue'
- import QrCode from "@/components/QRCode.vue"
- // import logoImage from "@/assets/images/MTBG.jpg"
- import { useI18n } from 'vue-i18n'
- const { t, locale } = useI18n()
- // ---------- 存储辅助函数(模拟原 Session) ----------
- const Session = {
- Get(key: string, parse = false) {
- const value = uni.getStorageSync(key)
- if (parse && value) {
- try {
- return JSON.parse(value)
- } catch {
- return value
- }
- }
- return value
- }
- }
- // ---------- 响应式数据 ----------
- const activeName = ref('MT4')
- const link = ref('')
- const myLink = ref('')
- const logoImageRef = ref('') // 保持变量名 logoImage
- const mt41 = ref('https://www.metatrader4.com/en/download#download-block-android?server=CWGMarketsSVGLtd-Demo,CWGMarketsSVGLtd-Live')
- const mt42 = ref('') // 稍后动态计算
- 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('')
- const mt53 = ref('https://download.metatrader.com/cdn/mobile/mt5/ios?server=CWGMarketsSVG-Demo,CWGMarketsSVG-Live')
- // ---------- 辅助函数:获取当前域名主体(兼容 H5) ----------
- const getDomainMain = () => {
- // 在 uni-app H5 环境下可使用 window.location
- // 若在其他环境(如 App 内嵌 webview)可能没有 window,这里做兼容
- if (typeof window !== 'undefined' && window.location && window.location.host) {
- const parts = window.location.host.split('.')
- return parts.length > 1 ? parts[1] : ''
- }
- // 降级方案:从配置或空字符串
- return ''
- }
- const getOrigin = () => {
- if (typeof window !== 'undefined' && window.location && window.location.origin) {
- return window.location.origin
- }
- return ''
- }
- const tabsConfig = computed(() => [
- { text: 'MT4', value: 'MT4' },
- { text: 'MT5', value: 'MT5' },
- ])
- // ---------- 计算属性 ----------
- const country = computed(() => {
- const user = Session.Get("user", true)
- return user?.customInfo?.country
- })
- const lang = computed(() => {
- return Session.Get('lang')
- })
- // ---------- 方法 ----------
- const getLang = (lang: string) => {
- let val = 'en'
- if (lang == 'cn') {
- val = 'cn'
- } else if (lang == 'zhHant') {
- val = 'zh'
- } else {
- val = 'en'
- }
- return val
- }
- // ---------- 生命周期 ----------
- onMounted(() => {
- // 计算动态链接
- const domainMain = getDomainMain()
- const origin = getOrigin()
- link.value = domainMain
- myLink.value = origin
- // 原 mt42 动态拼接
- mt42.value = `https://secure.${domainMain}.com/metatrader/metatrader4.apk`
- // 原 mt52 动态拼接
- mt52.value = `${origin}/mt/metatrader5.apk`
- })
- // 组件导出(可选,defineOptions 保留组件名)
- defineOptions({
- name: "custom_Downloadpage"
- })
- </script>
- <style lang="scss" scoped>
- @import "@/uni.scss";
- #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: #fff;
- 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: #333;
- margin-bottom: px2rpx(8);
- }
- .section-subtitle {
- font-size: px2rpx(14);
- color: #666;
- 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);
- }
- .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: #f8f9fa;
- border-radius: px2rpx(12);
- padding: px2rpx(20);
- border: px2rpx(1) solid #eee;
- }
- .mobile-card-header {
- display: flex;
- align-items: center;
- margin-bottom: px2rpx(20);
- .card-icon {
- width: px2rpx(40);
- height: px2rpx(40);
- margin-right: px2rpx(16);
- }
- .card-info {
- text-align: left;
- .card-title {
- font-size: px2rpx(16);
- font-weight: 600;
- color: #333;
- margin-bottom: px2rpx(4);
- }
- .card-desc {
- font-size: px2rpx(13);
- color: #666;
- }
- }
- }
- .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: #333;
- 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: #fff;
- 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: #fff;
- 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: #fff;
- 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: #333;
- margin-bottom: px2rpx(6);
- }
- .feature-desc {
- font-size: px2rpx(14);
- color: #666;
- line-height: 1.6;
- }
- }
- .info-section {
- background: #fff;
- 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: #666;
- 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: #333;
- margin-bottom: px2rpx(8);
- }
- .info-text {
- font-size: px2rpx(14);
- color: #666;
- 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: #999;
- 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);
- }
- }
- </style>
|