download.vue 29 KB

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