download.vue 26 KB

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