download.vue 28 KB

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