ljc 5 часов назад
Родитель
Сommit
2b2a88344f
1 измененных файлов с 16 добавлено и 16 удалено
  1. 16 16
      pages/login/index.vue

+ 16 - 16
pages/login/index.vue

@@ -123,6 +123,16 @@
                           class="desc-link" />
                 <text v-t="'signup.agreemnet7'"></text>
               </view>
+              <cwg-match-media :min-width="791">
+                <view class="qr-container">
+                  <view class="qr-title">
+                    <view class="line"></view>
+                    <view class="qr-tit2">{{ t('newSignin.item2') }}</view>
+                    <view class="line"></view>
+                  </view>
+                  <QrCode width="200" height="200" :text="loginQrCode"></QrCode>
+                </view>
+              </cwg-match-media>
             </view>
             <view v-show="activeTab == 2" style="overflow-y: scroll;">
               <view class="title">
@@ -247,18 +257,6 @@
                 <text v-t="'signup.agreemnet7'"></text>
               </view>
             </view>
-            <cwg-match-media :min-width="791">
-
-
-              <!-- <view class="qr-container">
-                <view class="qr-title">
-                  <view class="line"></view>
-                  <view class="qr-tit2">{{ t('newSignin.item2') }}</view>
-                  <view class="line"></view>
-                </view>
-                <QrCode width="200" height="200" text="cardGuide" :logo="logoImage"></QrCode>
-              </view> -->
-            </cwg-match-media>
           </view>
         </uni-col>
       </uni-row>
@@ -312,6 +310,9 @@ const tabs = computed(() => [
   { text: t('signin.tabs2'), value: 2, },
 ])
 
+// 登录二维码
+const loginQrCode =  ref('https://secure.44a5c8109e4.com/wgt/CWG Center.apk')
+
 const { confirm,toast } = usePopup()
 const activeTab = ref(1)
 
@@ -1141,8 +1142,7 @@ const handleChatIconClick = () => {
       height: calc(100vh - 60px);
       display: flex;
       flex-direction: column;
-      //justify-content: center;
-      padding: 0 px2rpx(24);
+      padding: 0 px2rpx(24) px2rpx(40);
 
       .company {
         padding: px2rpx(10) 0 px2rpx(10) 0;
@@ -1249,11 +1249,11 @@ button {
 
 .qr-title {
   font-size: px2rpx(16);
-  line-height: 1.5;
+  line-height: 1.2;
   color: #cecece;
   font-weight: 500;
   text-align: center;
-  margin: px2rpx(40) 0;
+  margin: px2rpx(20) 0;
   display: flex;
   align-items: center;
   justify-content: center;