소스 검색

ipad演示版样式兼容

duanchangpeng 4 년 전
부모
커밋
9aad6a839b
5개의 변경된 파일19개의 추가작업 그리고 14개의 파일을 삭제
  1. 0 0
      hbuild/GoAllOutTv/GoAllOutTv/index.html
  2. 3 3
      tv/src/Mock/index.js
  3. 14 9
      tv/src/components/levelIcon.vue
  4. 0 1
      tv/src/views/Index.vue
  5. 2 1
      tv/src/views/Main.vue

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
hbuild/GoAllOutTv/GoAllOutTv/index.html


+ 3 - 3
tv/src/Mock/index.js

@@ -381,15 +381,15 @@ if (t == 1) {
     let curheadapi = 'http://cal.beswell.com:85/DataTransfer/';
 
     // 0: 下课 团课/私教/PK 的排名
-    let LessonClass = 0;
-    let LessonDp = 0;
+    let LessonClass = 1;
+    let LessonDp = 1;
     // 1:团课/私教
     // 2:竞技课2PK
     // 3:竞技课threepk
     if (LessonClass == 1) {
         // 上团课
         Mock.mock(curheadapi + 'ClassStatQuery', 'post', getClassStat(1, 1));
-        Mock.mock(curheadapi + 'UserListInfo', 'post', testStudent(1, 1));
+        Mock.mock(curheadapi + 'UserListInfo', 'post', testStudent(2, 1));
     } else if (LessonClass == 2) {
         // 上2队PK课
         Mock.mock(curheadapi + 'ClassStatQuery', 'post', getClassStat(1, 2));

+ 14 - 9
tv/src/components/levelIcon.vue

@@ -1,5 +1,5 @@
 <template>
-    <div class="levelIcon">
+    <div  :class="[{'levelIconTV':runVersion == 'test'},{'levelIconTest':runVersion != 'test'},{'levelIcon':true}]">
         <ul>
             <li>
           <span class="cube">
@@ -56,14 +56,19 @@
 
 <style scoped>
     .levelIcon {
-        position: absolute;
-        bottom: 0.1rem;
-        width: 100%;
-        overflow: hidden;
-        display: block;
-        margin: 0 auto;
-        height: 5rem;
-        padding-bottom: 5px;
+      width: 100%;
+      overflow: hidden;
+      display: block;
+      margin: 0 auto;
+      height: 5rem;
+    }
+    .levelIconTest {
+
+    }
+    .levelIconTV {
+      position: absolute;
+      bottom: 0.1rem;
+      padding-bottom: 5px;
     }
 
     .levelIcon ul {

+ 0 - 1
tv/src/views/Index.vue

@@ -5,7 +5,6 @@
     </keep-alive>
   </div>
 </template>
-<!--<script src="../../public/mui.js"></script>-->
 
 <script>
 import {

+ 2 - 1
tv/src/views/Main.vue

@@ -596,7 +596,8 @@ ul, li {
 
 .userList {
   width: 100%;
-  height: 76%;
+  /*min-height: 33%;*/
+  /*height: 76%;*/
   overflow: hidden;
   overflow-y: scroll;
   display: block;

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.