Pārlūkot izejas kodu

ipad演示版样式兼容

duanchangpeng 4 gadi atpakaļ
vecāks
revīzija
9aad6a839b

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 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;

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels