download.vue 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795
  1. <template>
  2. <cwg-page-wrapper class="create-page" :isHeaderFixed="true">
  3. <cwg-header :title="t('Downloadpage.item1')" />
  4. <view id="custom_Downloadpage">
  5. <view class="main-content">
  6. <cwg-asset-tabs v-model="activeName" :tabs="tabsConfig" />
  7. <view v-if="activeName == 'MT4'">
  8. <view class="download-section">
  9. <view class="section-header">
  10. <view class="section-title" v-t="'Downloadpage.item2'" />
  11. <view class="section-subtitle" v-t="'Downloadpage.item3'" />
  12. </view>
  13. <view class="download-cards">
  14. <cwg-link type="download" class="download-card"
  15. :url="config.Host80 + '/mt/cwgmarketssvgltd4setup.exe'"
  16. downloadName="cwgmarketssvgltd4setup.exe">
  17. <image class="card-icon" src="/static/images/windows-os-1-48.png" alt=""
  18. mode="widthFix" />
  19. <view class="card-info">
  20. <view class="card-title" v-t="'Downloadpage.item4'" />
  21. <view class="card-desc" v-t="'Downloadpage.item5'" />
  22. </view>
  23. <view class="download-badge">Windows</view>
  24. </cwg-link>
  25. <cwg-link type="download" class="download-card" :url="config.Host80 + '/mt/mt4.zip'"
  26. downloadName="mt4.zip">
  27. <image class="card-icon" src="/static/images/windows-os-1-48.png" alt=""
  28. mode="widthFix" />
  29. <view class="card-info">
  30. <view class="card-title" v-t="'Downloadpage.item4-1'" />
  31. <view class="card-desc" v-t="'Downloadpage.item5'" />
  32. </view>
  33. <view class="download-badge">ZIP</view>
  34. </cwg-link>
  35. <cwg-link type="download" class="download-card" :url="config.Host80 + '/mt/MetaTrader4.pkg'"
  36. downloadName="MetaTrader4.pkg">
  37. <image class="card-icon" src="/static/images/apple-os-1-48.png" alt=""
  38. mode="widthFix" />
  39. <view class="card-info">
  40. <view class="card-title" v-t="'Downloadpage.item6'" />
  41. <view class="card-desc" v-t="'Downloadpage.item5'" />
  42. </view>
  43. <view class="download-badge download-badge-apple">macOS</view>
  44. </cwg-link>
  45. </view>
  46. </view>
  47. <view class="download-section web-section">
  48. <view class="section-header">
  49. <view class="section-title" v-t="'Downloadpage.item38'" />
  50. </view>
  51. <view class="download-cards">
  52. <cwg-link type="html" class="download-card download-card-web" target="_blank"
  53. :url="'https://www.' + config.host + '.com/' + locale + '/mt4/web'">
  54. <view class="card-info">
  55. <view class="card-title" v-t="'Downloadpage.item40'" />
  56. </view>
  57. <text class="icon-arrow">→</text>
  58. </cwg-link>
  59. </view>
  60. </view>
  61. <view class="download-section mobile-section">
  62. <view class="section-header">
  63. <view class="section-title" v-t="'Downloadpage.item7'" />
  64. </view>
  65. <view class="mobile-cards">
  66. <view class="mobile-card">
  67. <view class="mobile-card-header">
  68. <image class="card-icon" src="/static/images/android-os-3-72.png" alt=""
  69. mode="widthFix" />
  70. <view class="card-info">
  71. <view class="card-title" v-t="'Downloadpage.item8'" />
  72. <view class="card-desc" v-t="'Downloadpage.item9'" />
  73. </view>
  74. </view>
  75. <view class="qr-codes">
  76. <view class="qr-item">
  77. <view class="qr-label">Google Play</view>
  78. // #ifdef H5
  79. <QrCode v-if="showQrcode && mt41" :key="mt41" :text="mt41"></QrCode>
  80. // #endif
  81. // #ifdef APP-PLUS
  82. <image class="mt" src="/static/images/mt/mt41.png" alt="" mode="widthFix" />
  83. // #endif
  84. </view>
  85. <view class="qr-item">
  86. <view class="qr-label">MetaTrader .Apk</view>
  87. // #ifdef H5
  88. <QrCode v-if="showQrcode && mt42" :key="mt41" :text="mt42"></QrCode>
  89. // #endif
  90. // #ifdef APP-PLUS
  91. <image class="mt" src="/static/images/mt/mt42.png" alt="" mode="widthFix" />
  92. // #endif
  93. </view>
  94. </view>
  95. </view>
  96. <view class="mobile-card">
  97. <view class="mobile-card-header">
  98. <image class="card-icon" src="/static/images/apple-os-3-72.png" alt=""
  99. mode="widthFix" />
  100. <view class="card-info">
  101. <view class="card-title" v-t="'Downloadpage.item8'" />
  102. <view class="card-desc" v-t="'Downloadpage.item10'" />
  103. </view>
  104. </view>
  105. <view class="qr-codes qr-codes-single">
  106. <view class="qr-item">
  107. <view class="qr-label">App Store</view>
  108. // #ifdef H5
  109. <QrCode v-if="showQrcode && mt43" :key="mt43" :text="mt43"></QrCode>
  110. // #endif
  111. // #ifdef APP-PLUS
  112. <image class="mt" src="/static/images/mt/mt43.png" alt="" mode="widthFix" />
  113. // #endif
  114. </view>
  115. </view>
  116. </view>
  117. </view>
  118. </view>
  119. </view>
  120. <view v-if="activeName == 'MT5'">
  121. <view class="download-section">
  122. <view class="section-header">
  123. <view class="section-title" v-t="'Downloadpage.item11'" />
  124. <view class="section-subtitle" v-t="'Downloadpage.item12'" />
  125. </view>
  126. <view class="download-cards">
  127. <cwg-link type="download" class="download-card"
  128. :url="config.Host80 + '/mt/cwgmarketssvg5setup.exe'"
  129. downloadName="cwgmarketssvg5setup.exe">
  130. <image class="card-icon" src="/static/images/windows-os-1-48.png" alt=""
  131. mode="widthFix" />
  132. <view class="card-info">
  133. <view class="card-title" v-t="'Downloadpage.item4'" />
  134. <view class="card-desc" v-t="'Downloadpage.item5'" />
  135. </view>
  136. <view class="download-badge">Windows</view>
  137. </cwg-link>
  138. <cwg-link type="download" class="download-card" :url="config.Host80 + '/mt/mt5.zip'"
  139. downloadName="mt5.zip">
  140. <image class="card-icon" src="/static/images/windows-os-1-48.png" alt=""
  141. mode="widthFix" />
  142. <view class="card-info">
  143. <view class="card-title" v-t="'Downloadpage.item4-1'" />
  144. <view class="card-desc" v-t="'Downloadpage.item5'" />
  145. </view>
  146. <view class="download-badge">ZIP</view>
  147. </cwg-link>
  148. <cwg-link type="download" class="download-card" :url="config.Host80 + '/mt/MetaTrader5.pkg'"
  149. downloadName="MetaTrader5.dmg">
  150. <image class="card-icon" src="/static/images/apple-os-1-48.png" alt=""
  151. mode="widthFix" />
  152. <view class="card-info">
  153. <view class="card-title" v-t="'Downloadpage.item6'" />
  154. <view class="card-desc" v-t="'Downloadpage.item5'" />
  155. </view>
  156. <view class="download-badge download-badge-apple">macOS</view>
  157. </cwg-link>
  158. </view>
  159. </view>
  160. <view class="download-section web-section">
  161. <view class="section-header">
  162. <view class="section-title" v-t="'Downloadpage.item39'" />
  163. </view>
  164. <view class="download-cards">
  165. <cwg-link type="html" class="download-card download-card-web" target="_blank"
  166. :url="'https://www.' + config.host + '.com/' + locale + '/mt5/web'">
  167. <view class="card-info">
  168. <view class="card-title" v-t="'Downloadpage.item40'" />
  169. </view>
  170. <text class="icon-arrow">→</text>
  171. </cwg-link>
  172. </view>
  173. </view>
  174. <view class="download-section mobile-section">
  175. <view class="section-header">
  176. <view class="section-title" v-t="'Downloadpage.item13'" />
  177. </view>
  178. <view class="mobile-cards">
  179. <view class="mobile-card">
  180. <view class="mobile-card-header">
  181. <image class="card-icon" src="/static/images/android-os-3-72.png" alt=""
  182. mode="widthFix" />
  183. <view class="card-info">
  184. <view class="card-title" v-t="'Downloadpage.item8'" />
  185. <view class="card-desc" v-t="'Downloadpage.item14'" />
  186. </view>
  187. </view>
  188. <view class="qr-codes">
  189. <view class="qr-item">
  190. <view class="qr-label">Google Play</view>
  191. // #ifdef H5
  192. <QrCode v-if="showQrcode && mt51" :key="mt51" :text="mt51"></QrCode>
  193. // #endif
  194. // #ifdef APP-PLUS
  195. <image class="mt" src="/static/images/mt/mt51.png" alt="" mode="widthFix" />
  196. // #endif
  197. </view>
  198. <view class="qr-item">
  199. <view class="qr-label">MetaTrader .Apk</view>
  200. // #ifdef H5
  201. <QrCode v-if="showQrcode && mt52" :key="mt52" :text="mt52"></QrCode>
  202. // #endif
  203. // #ifdef APP-PLUS
  204. <image class="mt" src="/static/images/mt/mt52.png" alt="" mode="widthFix" />
  205. // #endif
  206. </view>
  207. </view>
  208. </view>
  209. <view class="mobile-card">
  210. <view class="mobile-card-header">
  211. <image class="card-icon" src="/static/images/apple-os-3-72.png" alt=""
  212. mode="widthFix" />
  213. <view class="card-info">
  214. <view class="card-title" v-t="'Downloadpage.item8'" />
  215. <view class="card-desc" v-t="'Downloadpage.item15'" />
  216. </view>
  217. </view>
  218. <view class="qr-codes qr-codes-single">
  219. <view class="qr-item">
  220. <view class="qr-label">App Store</view>
  221. // #ifdef H5
  222. <QrCode v-if="showQrcode && mt53" :key="mt53" :text="mt53"></QrCode>
  223. // #endif
  224. // #ifdef APP-PLUS
  225. <image class="mt" src="/static/images/mt/mt53.png" alt="" mode="widthFix" />
  226. // #endif
  227. </view>
  228. </view>
  229. </view>
  230. </view>
  231. </view>
  232. </view>
  233. </view>
  234. </view>
  235. </cwg-page-wrapper>
  236. </template>
  237. <script setup lang="ts">
  238. import { ref, computed, onMounted, nextTick } from 'vue'
  239. import QrCode from "@/components/QRCode.vue"
  240. import { useI18n } from 'vue-i18n'
  241. import config from '@/config';
  242. const { t, locale } = useI18n()
  243. const activeName = ref('MT4')
  244. const logoImageRef = ref('') // 保持变量名 logoImage
  245. const mt41 = ref('https://www.metatrader4.com/en/download#download-block-android?server=CWGMarketsSVGLtd-Demo,CWGMarketsSVGLtd-Live')
  246. const mt42 = ref(`${config.Host80}/metatrader/metatrader4.apk`) // 稍后动态计算
  247. const mt43 = ref('https://apps.apple.com/us/app/metatrader-4/id496212596?server=CWGMarketsSVGLtd-Demo,CWGMarketsSVGLtd-Live')
  248. const mt51 = ref('https://download.metatrader.com/cdn/mobile/mt5/android?server=CWGMarketsSVG-Demo,CWGMarketsSVG-Live')
  249. const mt52 = ref(`${config.Host80}/mt/metatrader5.apk`)
  250. const mt53 = ref('https://download.metatrader.com/cdn/mobile/mt5/ios?server=CWGMarketsSVG-Demo,CWGMarketsSVG-Live')
  251. const tabsConfig = computed(() => [
  252. { text: 'MT4', value: 'MT4' },
  253. { text: 'MT5', value: 'MT5' },
  254. ])
  255. // ---------- 计算属性 ----------
  256. const isZh = computed(() => ['cn', 'zh', 'zhHant'].includes(locale.value))
  257. const showQrcode = ref(false)
  258. onMounted(async () => {
  259. await nextTick()
  260. setTimeout(() => {
  261. showQrcode.value = true
  262. }, 200)
  263. })
  264. </script>
  265. <style lang="scss" scoped>
  266. @import "@/uni.scss";
  267. #custom_Downloadpage {
  268. width: 100%;
  269. height: 100%;
  270. .main-content {
  271. width: 100%;
  272. height: calc(100% - px2rpx(50));
  273. padding: px2rpx(10);
  274. box-sizing: border-box;
  275. overflow-y: auto;
  276. }
  277. .download-section {
  278. background: #fff;
  279. border-radius: px2rpx(12);
  280. padding: px2rpx(24) px2rpx(20);
  281. margin-bottom: px2rpx(16);
  282. box-shadow: 0 px2rpx(2) px2rpx(12) rgba(0, 0, 0, 0.06);
  283. .section-header {
  284. text-align: center;
  285. margin-bottom: px2rpx(24);
  286. }
  287. .section-title {
  288. font-size: px2rpx(20);
  289. font-weight: 600;
  290. color: var(--bs-heading-color);
  291. margin-bottom: px2rpx(8);
  292. }
  293. .section-subtitle {
  294. font-size: px2rpx(14);
  295. color: var(--bs-heading-color);
  296. line-height: 1.5;
  297. }
  298. }
  299. .download-cards {
  300. display: flex;
  301. justify-content: center;
  302. flex-wrap: wrap;
  303. gap: px2rpx(16);
  304. }
  305. .download-card {
  306. display: flex;
  307. flex-direction: column;
  308. align-items: center;
  309. padding: px2rpx(24) px2rpx(20);
  310. background: linear-gradient(135deg, #4990EF 0%, #3A7BE0 100%);
  311. color: var(--bs-emphasis-color);
  312. border-radius: px2rpx(12);
  313. min-width: px2rpx(160);
  314. max-width: px2rpx(200);
  315. text-decoration: none;
  316. transition: all 0.3s ease;
  317. position: relative;
  318. overflow: hidden;
  319. &::before {
  320. content: '';
  321. position: absolute;
  322. top: 0;
  323. left: 0;
  324. right: 0;
  325. bottom: 0;
  326. background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  327. }
  328. &:hover {
  329. transform: translateY(px2rpx(-4));
  330. box-shadow: 0 px2rpx(8) px2rpx(24) rgba(73, 144, 239, 0.35);
  331. }
  332. &:active {
  333. transform: translateY(px2rpx(-2));
  334. }
  335. .card-icon {
  336. width: px2rpx(48);
  337. height: px2rpx(48);
  338. margin-bottom: px2rpx(16);
  339. position: relative;
  340. z-index: 1;
  341. }
  342. .card-info {
  343. text-align: center;
  344. position: relative;
  345. z-index: 1;
  346. .card-title {
  347. font-size: px2rpx(15);
  348. font-weight: 500;
  349. margin-bottom: px2rpx(4);
  350. }
  351. .card-desc {
  352. font-size: px2rpx(12);
  353. opacity: 0.85;
  354. }
  355. }
  356. .download-badge {
  357. margin-top: px2rpx(12);
  358. padding: px2rpx(4) px2rpx(12);
  359. background: rgba(255, 255, 255, 0.2);
  360. border-radius: px2rpx(20);
  361. font-size: px2rpx(11);
  362. font-weight: 500;
  363. position: relative;
  364. z-index: 1;
  365. }
  366. .download-badge-apple {
  367. background: rgba(0, 0, 0, 0.25);
  368. }
  369. }
  370. .download-card-web {
  371. flex-direction: row;
  372. justify-content: space-between;
  373. padding: px2rpx(20) px2rpx(24);
  374. min-width: px2rpx(280);
  375. max-width: 100%;
  376. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  377. .card-info {
  378. text-align: left;
  379. }
  380. .icon-arrow {
  381. font-size: px2rpx(20);
  382. opacity: 0.9;
  383. }
  384. &:hover {
  385. .icon-arrow {
  386. transform: translateX(px2rpx(4));
  387. transition: transform 0.3s ease;
  388. }
  389. }
  390. }
  391. .mobile-section {
  392. .mobile-cards {
  393. display: flex;
  394. flex-direction: column;
  395. gap: px2rpx(20);
  396. }
  397. .mobile-card {
  398. background: #f8f9fa;
  399. border-radius: px2rpx(12);
  400. padding: px2rpx(20);
  401. border: px2rpx(1) solid #eee;
  402. }
  403. .mobile-card-header {
  404. display: flex;
  405. align-items: center;
  406. margin-bottom: px2rpx(20);
  407. .card-icon {
  408. width: px2rpx(40);
  409. height: px2rpx(40);
  410. margin-right: px2rpx(16);
  411. }
  412. .card-info {
  413. text-align: left;
  414. .card-title {
  415. font-size: px2rpx(16);
  416. font-weight: 600;
  417. color: var(--bs-heading-color);
  418. margin-bottom: px2rpx(4);
  419. }
  420. .card-desc {
  421. font-size: px2rpx(13);
  422. color: var(--bs-heading-color);
  423. }
  424. }
  425. }
  426. .qr-codes {
  427. display: flex;
  428. justify-content: space-around;
  429. flex-wrap: wrap;
  430. gap: px2rpx(16);
  431. &.qr-codes-single {
  432. justify-content: center;
  433. }
  434. }
  435. .qr-item {
  436. text-align: center;
  437. .qr-label {
  438. font-weight: 600;
  439. font-size: px2rpx(13);
  440. color: var(--bs-heading-color);
  441. margin-bottom: px2rpx(10);
  442. line-height: 2;
  443. }
  444. }
  445. }
  446. .instruments-banner {
  447. width: 100%;
  448. padding: px2rpx(40) px2rpx(20);
  449. background-image: url('/static/images/tc_bg.png');
  450. background-size: cover;
  451. background-repeat: no-repeat;
  452. background-position: center;
  453. color: var(--bs-emphasis-color);
  454. text-align: center;
  455. border-radius: px2rpx(12);
  456. margin-bottom: px2rpx(16);
  457. box-sizing: border-box;
  458. .banner-content {
  459. margin-bottom: px2rpx(24);
  460. }
  461. .banner-title {
  462. font-size: px2rpx(22);
  463. font-weight: 600;
  464. margin-bottom: px2rpx(8);
  465. }
  466. .banner-subtitle {
  467. font-size: px2rpx(14);
  468. opacity: 0.9;
  469. }
  470. .banner-buttons {
  471. display: flex;
  472. justify-content: center;
  473. flex-wrap: wrap;
  474. gap: px2rpx(12);
  475. }
  476. .banner-btn {
  477. display: inline-flex;
  478. flex-direction: column;
  479. align-items: center;
  480. padding: px2rpx(14) px2rpx(25);
  481. background-color: #EB3F57;
  482. color: var(--bs-emphasis-color);
  483. font-size: px2rpx(14);
  484. text-decoration: none;
  485. border-radius: px2rpx(8);
  486. transition: all 0.3s ease;
  487. min-width: px2rpx(200);
  488. &:hover {
  489. background-color: #d6364d;
  490. transform: translateY(px2rpx(-2));
  491. box-shadow: 0 px2rpx(4) px2rpx(12) rgba(235, 63, 87, 0.4);
  492. }
  493. .btn-tag {
  494. font-size: px2rpx(12);
  495. opacity: 0.85;
  496. margin-top: px2rpx(4);
  497. }
  498. }
  499. }
  500. .features-grid {
  501. background: #fff;
  502. border-radius: px2rpx(12);
  503. padding: px2rpx(24) px2rpx(20);
  504. margin-bottom: px2rpx(16);
  505. box-shadow: 0 px2rpx(2) px2rpx(12) rgba(0, 0, 0, 0.06);
  506. .feature-item {
  507. display: flex;
  508. align-items: center;
  509. padding: px2rpx(20) 0;
  510. border-bottom: px2rpx(1) solid #f0f0f0;
  511. &:last-child {
  512. border-bottom: none;
  513. }
  514. }
  515. .feature-icon {
  516. width: px2rpx(64);
  517. height: px2rpx(64);
  518. display: flex;
  519. align-items: center;
  520. justify-content: center;
  521. background: linear-gradient(135deg, #fef0f0 0%, #ffe8e8 100%);
  522. border-radius: px2rpx(12);
  523. margin-right: px2rpx(16);
  524. flex-shrink: 0;
  525. i {
  526. font-size: px2rpx(32);
  527. color: #EB3F57;
  528. }
  529. }
  530. .feature-content {
  531. flex: 1;
  532. }
  533. .feature-title {
  534. font-size: px2rpx(16);
  535. font-weight: 600;
  536. color: var(--bs-heading-color);
  537. margin-bottom: px2rpx(6);
  538. }
  539. .feature-desc {
  540. font-size: px2rpx(14);
  541. color: var(--bs-heading-color);
  542. line-height: 1.6;
  543. }
  544. }
  545. .info-section {
  546. background: #fff;
  547. border-radius: px2rpx(12);
  548. padding: px2rpx(24) px2rpx(20);
  549. margin-bottom: px2rpx(16);
  550. box-shadow: 0 px2rpx(2) px2rpx(12) rgba(0, 0, 0, 0.06);
  551. .info-block {
  552. .info-title {
  553. font-size: px2rpx(20);
  554. font-weight: 600;
  555. text-align: center;
  556. margin-bottom: px2rpx(20);
  557. span {
  558. border-bottom: px2rpx(3) solid #EB3F57;
  559. padding: 0 px2rpx(8) px2rpx(8);
  560. }
  561. }
  562. .info-subtitle {
  563. font-size: px2rpx(14);
  564. color: var(--bs-heading-color);
  565. text-align: center;
  566. margin-bottom: px2rpx(24);
  567. }
  568. }
  569. .info-content {
  570. .info-item {
  571. padding: px2rpx(20) 0;
  572. border-bottom: px2rpx(1) dashed #e0e0e0;
  573. &:last-child {
  574. border-bottom: none;
  575. }
  576. &.info-item-border {
  577. border-top: px2rpx(1) dashed #e0e0e0;
  578. }
  579. }
  580. .info-label {
  581. font-size: px2rpx(15);
  582. font-weight: 600;
  583. color: var(--bs-heading-color);
  584. margin-bottom: px2rpx(8);
  585. }
  586. .info-text {
  587. font-size: px2rpx(14);
  588. color: var(--bs-heading-color);
  589. line-height: 1.6;
  590. }
  591. .info-image {
  592. display: flex;
  593. justify-content: center;
  594. padding-top: px2rpx(24);
  595. image {
  596. max-width: 100%;
  597. border-radius: px2rpx(8);
  598. }
  599. }
  600. }
  601. }
  602. @media (max-width: 768px) {
  603. .download-section {
  604. padding: px2rpx(16) px2rpx(12);
  605. border-radius: px2rpx(8);
  606. .section-title {
  607. font-size: px2rpx(18);
  608. }
  609. }
  610. .download-cards {
  611. gap: px2rpx(12);
  612. }
  613. .download-card {
  614. min-width: px2rpx(140);
  615. padding: px2rpx(16) px2rpx(12);
  616. .card-icon {
  617. width: px2rpx(40);
  618. height: px2rpx(40);
  619. }
  620. .card-info {
  621. .card-title {
  622. font-size: px2rpx(13);
  623. }
  624. .card-desc {
  625. font-size: px2rpx(11);
  626. }
  627. }
  628. }
  629. .download-card-web {
  630. width: 100%;
  631. }
  632. .mobile-section {
  633. .mobile-card {
  634. padding: px2rpx(16);
  635. }
  636. .qr-codes {
  637. gap: px2rpx(12);
  638. }
  639. }
  640. .instruments-banner {
  641. padding: px2rpx(24) px2rpx(16);
  642. border-radius: px2rpx(8);
  643. .banner-title {
  644. font-size: px2rpx(18);
  645. }
  646. .banner-btn {
  647. min-width: px2rpx(160);
  648. padding: px2rpx(12) px2rpx(20);
  649. }
  650. }
  651. .features-grid {
  652. padding: px2rpx(16) px2rpx(12);
  653. border-radius: px2rpx(8);
  654. .feature-item {
  655. flex-direction: column;
  656. text-align: center;
  657. padding: px2rpx(16) 0;
  658. }
  659. .feature-icon {
  660. margin-right: 0;
  661. margin-bottom: px2rpx(12);
  662. }
  663. }
  664. .info-section {
  665. padding: px2rpx(16) px2rpx(12);
  666. border-radius: px2rpx(8);
  667. .info-block {
  668. .info-title {
  669. font-size: px2rpx(18);
  670. }
  671. }
  672. }
  673. }
  674. :deep(.el-tabs) {
  675. .el-tabs__header {
  676. margin-bottom: px2rpx(20);
  677. }
  678. .el-tabs__nav-wrap::after {
  679. height: px2rpx(1);
  680. }
  681. .el-tabs__item {
  682. font-size: px2rpx(15);
  683. color: var(--bs-heading-color);
  684. padding: 0 px2rpx(20);
  685. height: px2rpx(44);
  686. line-height: px2rpx(44);
  687. &.is-active {
  688. color: #4990EF;
  689. font-weight: 600;
  690. }
  691. }
  692. .el-tabs__active-bar {
  693. height: px2rpx(3);
  694. border-radius: px2rpx(3);
  695. }
  696. }
  697. :deep(uni-image),
  698. :deep(img) {
  699. width: px2rpx(30);
  700. height: px2rpx(30);
  701. object-fit: cover;
  702. border-radius: px2rpx(6);
  703. }
  704. }
  705. .mt {
  706. width: px2rpx(200) !important;
  707. height: px2rpx(200) !important;
  708. }
  709. </style>