zhb 1 месяц назад
Родитель
Сommit
39efecd6cc

+ 47 - 6
pages/common/download.vue

@@ -75,11 +75,23 @@
                                 <view class="qr-codes">
                                     <view class="qr-item">
                                         <view class="qr-label">Google Play</view>
-                                        <QrCode v-if="showQrcode && mt41" :key="mt41" :text="mt41"></QrCode>
+										// #ifdef H5
+										<QrCode v-if="showQrcode && mt41" :key="mt41" :text="mt41"></QrCode>
+										// #endif
+										// #ifdef APP-PLUS
+                                        <image class="mt" src="/static/images/mt/mt41.png" alt=""
+                                            mode="widthFix" />
+										// #endif
                                     </view>
                                     <view class="qr-item">
                                         <view class="qr-label">MetaTrader .Apk</view>
-                                        <QrCode v-if="showQrcode && mt41" :key="mt42" :text="mt42"></QrCode>
+										// #ifdef H5
+										<QrCode v-if="showQrcode && mt42" :key="mt41" :text="mt42"></QrCode>
+										// #endif
+										// #ifdef APP-PLUS
+                                        <image class="mt" src="/static/images/mt/mt42.png" alt=""
+                                            mode="widthFix" />
+										// #endif
                                     </view>
                                 </view>
                             </view>
@@ -95,7 +107,13 @@
                                 <view class="qr-codes qr-codes-single">
                                     <view class="qr-item">
                                         <view class="qr-label">App Store</view>
-                                        <QrCode v-if="showQrcode && mt41" :key="mt43" :text="mt43"></QrCode>
+										// #ifdef H5
+										<QrCode v-if="showQrcode && mt43" :key="mt43" :text="mt43"></QrCode>
+										// #endif
+										// #ifdef APP-PLUS
+                                        <image class="mt" src="/static/images/mt/mt43.png" alt=""
+                                            mode="widthFix" />
+										// #endif
                                     </view>
                                 </view>
                             </view>
@@ -174,11 +192,23 @@
                                 <view class="qr-codes">
                                     <view class="qr-item">
                                         <view class="qr-label">Google Play</view>
-                                        <QrCode v-if="showQrcode && mt41" :key="mt51" :text="mt51"></QrCode>
+										// #ifdef H5
+										<QrCode v-if="showQrcode && mt51" :key="mt51" :text="mt51"></QrCode>
+										// #endif
+										// #ifdef APP-PLUS
+                                        <image class="mt" src="/static/images/mt/mt51.png" alt=""
+                                            mode="widthFix" />
+										// #endif
                                     </view>
                                     <view class="qr-item">
                                         <view class="qr-label">MetaTrader .Apk</view>
-                                        <QrCode v-if="showQrcode && mt41" :key="mt52" :text="mt52"></QrCode>
+										// #ifdef H5
+										<QrCode v-if="showQrcode && mt52" :key="mt52" :text="mt52"></QrCode>
+										// #endif
+										// #ifdef APP-PLUS
+                                        <image class="mt" src="/static/images/mt/mt52.png" alt=""
+                                            mode="widthFix" />
+										// #endif
                                     </view>
                                 </view>
                             </view>
@@ -194,7 +224,13 @@
                                 <view class="qr-codes qr-codes-single">
                                     <view class="qr-item">
                                         <view class="qr-label">App Store</view>
-                                        <QrCode v-if="showQrcode && mt41" :key="mt53" :text="mt53"></QrCode>
+										// #ifdef H5
+										<QrCode v-if="showQrcode && mt53" :key="mt53" :text="mt53"></QrCode>
+										// #endif
+										// #ifdef APP-PLUS
+                                        <image class="mt" src="/static/images/mt/mt53.png" alt=""
+                                            mode="widthFix" />
+										// #endif
                                     </view>
                                 </view>
                             </view>
@@ -757,4 +793,9 @@ onMounted(async () => {
         border-radius: px2rpx(6);
     }
 }
+	
+.mt{
+	width: px2rpx(200) !important;
+	height: px2rpx(200) !important;
+}
 </style>

BIN
static/images/mt/mt41.png


BIN
static/images/mt/mt42.png


BIN
static/images/mt/mt43.png


BIN
static/images/mt/mt51.png


BIN
static/images/mt/mt52.png


BIN
static/images/mt/mt53.png