download.vue 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796
  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 + '/vu-mt4-web-trading/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.pkg">
  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: #fff;
  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. color: #fff;
  351. }
  352. .card-desc {
  353. font-size: px2rpx(12);
  354. opacity: 0.85;
  355. }
  356. }
  357. .download-badge {
  358. margin-top: px2rpx(12);
  359. padding: px2rpx(4) px2rpx(12);
  360. background: rgba(255, 255, 255, 0.2);
  361. border-radius: px2rpx(20);
  362. font-size: px2rpx(11);
  363. font-weight: 500;
  364. position: relative;
  365. z-index: 1;
  366. }
  367. .download-badge-apple {
  368. background: rgba(0, 0, 0, 0.25);
  369. }
  370. }
  371. .download-card-web {
  372. flex-direction: row;
  373. justify-content: space-between;
  374. padding: px2rpx(20) px2rpx(24);
  375. min-width: px2rpx(280);
  376. max-width: 100%;
  377. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  378. .card-info {
  379. text-align: left;
  380. }
  381. .icon-arrow {
  382. font-size: px2rpx(20);
  383. opacity: 0.9;
  384. }
  385. &:hover {
  386. .icon-arrow {
  387. transform: translateX(px2rpx(4));
  388. transition: transform 0.3s ease;
  389. }
  390. }
  391. }
  392. .mobile-section {
  393. .mobile-cards {
  394. display: flex;
  395. flex-direction: column;
  396. gap: px2rpx(20);
  397. }
  398. .mobile-card {
  399. background: #f8f9fa;
  400. border-radius: px2rpx(12);
  401. padding: px2rpx(20);
  402. border: px2rpx(1) solid #eee;
  403. }
  404. .mobile-card-header {
  405. display: flex;
  406. align-items: center;
  407. margin-bottom: px2rpx(20);
  408. .card-icon {
  409. width: px2rpx(40);
  410. height: px2rpx(40);
  411. margin-right: px2rpx(16);
  412. }
  413. .card-info {
  414. text-align: left;
  415. .card-title {
  416. font-size: px2rpx(16);
  417. font-weight: 600;
  418. color: var(--bs-heading-color);
  419. margin-bottom: px2rpx(4);
  420. }
  421. .card-desc {
  422. font-size: px2rpx(13);
  423. color: var(--bs-heading-color);
  424. }
  425. }
  426. }
  427. .qr-codes {
  428. display: flex;
  429. justify-content: space-around;
  430. flex-wrap: wrap;
  431. gap: px2rpx(16);
  432. &.qr-codes-single {
  433. justify-content: center;
  434. }
  435. }
  436. .qr-item {
  437. text-align: center;
  438. .qr-label {
  439. font-weight: 600;
  440. font-size: px2rpx(13);
  441. color: var(--bs-heading-color);
  442. margin-bottom: px2rpx(10);
  443. line-height: 2;
  444. }
  445. }
  446. }
  447. .instruments-banner {
  448. width: 100%;
  449. padding: px2rpx(40) px2rpx(20);
  450. background-image: url('/static/images/tc_bg.png');
  451. background-size: cover;
  452. background-repeat: no-repeat;
  453. background-position: center;
  454. color: var(--bs-emphasis-color);
  455. text-align: center;
  456. border-radius: px2rpx(12);
  457. margin-bottom: px2rpx(16);
  458. box-sizing: border-box;
  459. .banner-content {
  460. margin-bottom: px2rpx(24);
  461. }
  462. .banner-title {
  463. font-size: px2rpx(22);
  464. font-weight: 600;
  465. margin-bottom: px2rpx(8);
  466. }
  467. .banner-subtitle {
  468. font-size: px2rpx(14);
  469. opacity: 0.9;
  470. }
  471. .banner-buttons {
  472. display: flex;
  473. justify-content: center;
  474. flex-wrap: wrap;
  475. gap: px2rpx(12);
  476. }
  477. .banner-btn {
  478. display: inline-flex;
  479. flex-direction: column;
  480. align-items: center;
  481. padding: px2rpx(14) px2rpx(25);
  482. background-color: #EB3F57;
  483. color: var(--bs-emphasis-color);
  484. font-size: px2rpx(14);
  485. text-decoration: none;
  486. border-radius: px2rpx(8);
  487. transition: all 0.3s ease;
  488. min-width: px2rpx(200);
  489. &:hover {
  490. background-color: #d6364d;
  491. transform: translateY(px2rpx(-2));
  492. box-shadow: 0 px2rpx(4) px2rpx(12) rgba(235, 63, 87, 0.4);
  493. }
  494. .btn-tag {
  495. font-size: px2rpx(12);
  496. opacity: 0.85;
  497. margin-top: px2rpx(4);
  498. }
  499. }
  500. }
  501. .features-grid {
  502. background: #fff;
  503. border-radius: px2rpx(12);
  504. padding: px2rpx(24) px2rpx(20);
  505. margin-bottom: px2rpx(16);
  506. box-shadow: 0 px2rpx(2) px2rpx(12) rgba(0, 0, 0, 0.06);
  507. .feature-item {
  508. display: flex;
  509. align-items: center;
  510. padding: px2rpx(20) 0;
  511. border-bottom: px2rpx(1) solid #f0f0f0;
  512. &:last-child {
  513. border-bottom: none;
  514. }
  515. }
  516. .feature-icon {
  517. width: px2rpx(64);
  518. height: px2rpx(64);
  519. display: flex;
  520. align-items: center;
  521. justify-content: center;
  522. background: linear-gradient(135deg, #fef0f0 0%, #ffe8e8 100%);
  523. border-radius: px2rpx(12);
  524. margin-right: px2rpx(16);
  525. flex-shrink: 0;
  526. i {
  527. font-size: px2rpx(32);
  528. color: #EB3F57;
  529. }
  530. }
  531. .feature-content {
  532. flex: 1;
  533. }
  534. .feature-title {
  535. font-size: px2rpx(16);
  536. font-weight: 600;
  537. color: var(--bs-heading-color);
  538. margin-bottom: px2rpx(6);
  539. }
  540. .feature-desc {
  541. font-size: px2rpx(14);
  542. color: var(--bs-heading-color);
  543. line-height: 1.6;
  544. }
  545. }
  546. .info-section {
  547. background: #fff;
  548. border-radius: px2rpx(12);
  549. padding: px2rpx(24) px2rpx(20);
  550. margin-bottom: px2rpx(16);
  551. box-shadow: 0 px2rpx(2) px2rpx(12) rgba(0, 0, 0, 0.06);
  552. .info-block {
  553. .info-title {
  554. font-size: px2rpx(20);
  555. font-weight: 600;
  556. text-align: center;
  557. margin-bottom: px2rpx(20);
  558. span {
  559. border-bottom: px2rpx(3) solid #EB3F57;
  560. padding: 0 px2rpx(8) px2rpx(8);
  561. }
  562. }
  563. .info-subtitle {
  564. font-size: px2rpx(14);
  565. color: var(--bs-heading-color);
  566. text-align: center;
  567. margin-bottom: px2rpx(24);
  568. }
  569. }
  570. .info-content {
  571. .info-item {
  572. padding: px2rpx(20) 0;
  573. border-bottom: px2rpx(1) dashed #e0e0e0;
  574. &:last-child {
  575. border-bottom: none;
  576. }
  577. &.info-item-border {
  578. border-top: px2rpx(1) dashed #e0e0e0;
  579. }
  580. }
  581. .info-label {
  582. font-size: px2rpx(15);
  583. font-weight: 600;
  584. color: var(--bs-heading-color);
  585. margin-bottom: px2rpx(8);
  586. }
  587. .info-text {
  588. font-size: px2rpx(14);
  589. color: var(--bs-heading-color);
  590. line-height: 1.6;
  591. }
  592. .info-image {
  593. display: flex;
  594. justify-content: center;
  595. padding-top: px2rpx(24);
  596. image {
  597. max-width: 100%;
  598. border-radius: px2rpx(8);
  599. }
  600. }
  601. }
  602. }
  603. @media (max-width: 768px) {
  604. .download-section {
  605. padding: px2rpx(16) px2rpx(12);
  606. border-radius: px2rpx(8);
  607. .section-title {
  608. font-size: px2rpx(18);
  609. }
  610. }
  611. .download-cards {
  612. gap: px2rpx(12);
  613. }
  614. .download-card {
  615. min-width: px2rpx(140);
  616. padding: px2rpx(16) px2rpx(12);
  617. .card-icon {
  618. width: px2rpx(40);
  619. height: px2rpx(40);
  620. }
  621. .card-info {
  622. .card-title {
  623. font-size: px2rpx(13);
  624. }
  625. .card-desc {
  626. font-size: px2rpx(11);
  627. }
  628. }
  629. }
  630. .download-card-web {
  631. width: 100%;
  632. }
  633. .mobile-section {
  634. .mobile-card {
  635. padding: px2rpx(16);
  636. }
  637. .qr-codes {
  638. gap: px2rpx(12);
  639. }
  640. }
  641. .instruments-banner {
  642. padding: px2rpx(24) px2rpx(16);
  643. border-radius: px2rpx(8);
  644. .banner-title {
  645. font-size: px2rpx(18);
  646. }
  647. .banner-btn {
  648. min-width: px2rpx(160);
  649. padding: px2rpx(12) px2rpx(20);
  650. }
  651. }
  652. .features-grid {
  653. padding: px2rpx(16) px2rpx(12);
  654. border-radius: px2rpx(8);
  655. .feature-item {
  656. flex-direction: column;
  657. text-align: center;
  658. padding: px2rpx(16) 0;
  659. }
  660. .feature-icon {
  661. margin-right: 0;
  662. margin-bottom: px2rpx(12);
  663. }
  664. }
  665. .info-section {
  666. padding: px2rpx(16) px2rpx(12);
  667. border-radius: px2rpx(8);
  668. .info-block {
  669. .info-title {
  670. font-size: px2rpx(18);
  671. }
  672. }
  673. }
  674. }
  675. :deep(.el-tabs) {
  676. .el-tabs__header {
  677. margin-bottom: px2rpx(20);
  678. }
  679. .el-tabs__nav-wrap::after {
  680. height: px2rpx(1);
  681. }
  682. .el-tabs__item {
  683. font-size: px2rpx(15);
  684. color: var(--bs-heading-color);
  685. padding: 0 px2rpx(20);
  686. height: px2rpx(44);
  687. line-height: px2rpx(44);
  688. &.is-active {
  689. color: #4990EF;
  690. font-weight: 600;
  691. }
  692. }
  693. .el-tabs__active-bar {
  694. height: px2rpx(3);
  695. border-radius: px2rpx(3);
  696. }
  697. }
  698. :deep(uni-image),
  699. :deep(img) {
  700. width: px2rpx(30);
  701. height: px2rpx(30);
  702. object-fit: cover;
  703. border-radius: px2rpx(6);
  704. }
  705. }
  706. .mt {
  707. width: px2rpx(200) !important;
  708. height: px2rpx(200) !important;
  709. }
  710. </style>