Parcourir la source

考试系统响应式页面开发

tanxue il y a 3 ans
Parent
commit
ddf2db6693
1 fichiers modifiés avec 3 ajouts et 9 suppressions
  1. 3 9
      pages/examsystem/index.vue

+ 3 - 9
pages/examsystem/index.vue

@@ -34,8 +34,8 @@
                 <div class="experience-content-box">
                   <i class="sjxyd-icon"></i>
                   <h5>手机学员端</h5>
-                  <p>用手机扫描二维码,考生30秒体验答卷</p>
-                  <a style="cursor: default">扫码体验</a>
+                  <p>点击立即体验按钮,考生30秒体验答卷</p>
+                  <a style="cursor: default" @click="FreeTrial">立即体验</a>
                 </div>
               </div>
               <div class="swiper-slide">
@@ -398,8 +398,7 @@
     computed:   {},
     methods:    {
       // 免费试用
-      FreeTrial(type){
-        var registerType = type;
+      FreeTrial(){
         this.getSystemWidth();
         if(this.SystemWidthFlag){
           window.open('https://cdnks.mtavip.com/mdist/#/webRegister?flug=1')
@@ -417,11 +416,6 @@
           this.SystemWidthFlag = false;
         }
       },
-      // 按钮
-      testFun(){
-        var width=document.documentElement.clientWidth;
-        console.log(width,'this.windowHeight(document.documentElement.clientHeight);')
-      },
       // 考试学员端体验
       clientKsTy(){
         if(this.youkeFlag) {