Explorar o código

ipad outdoor户外版

duanchangpeng %!s(int64=4) %!d(string=hai) anos
pai
achega
f71c406da2

+ 1 - 1
hbuild/GoAllOutTv/GoAllOutTv/manifest.json

@@ -6,7 +6,7 @@
         "name" : "1.3.5", /*应用版本名称*/
         "code" : 42
     },
-    "description" : "小飞龙TV平台", /*应用描述信息*/
+    "description" : "小飞龙TV平台 户外版outDoor", /*应用描述信息*/
     "icons" : {
         "72" : "icon.png"
     },

+ 3 - 1
tv/src/Global.js

@@ -6,7 +6,9 @@ companyInfo = {
 };
 
 // 当前版本   演示版
-runVersion = 'test';
+// runVersion = 'test';
+// 户外版本
+runVersion = 'outDoor';
 
 // headapi = process.env.NODE_ENV === 'development' ? '/api/' : '../';
 // headapi = 'http://192.168.0.110:8080/';//从郑伟那里获得数据源

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

@@ -376,9 +376,14 @@ if (t == 1) {
     Mock.mock('/api/testTable', 'post', testTable());
     Mock.mock('/api/getUserList', 'post', getUserList());
 
-    // let curheadapi = 'http://192.168.0.63:8080/';
-    // let curheadapi = 'http://192.168.0.10:8080/';
-    let curheadapi = 'http://cal.beswell.com:85/DataTransfer/';
+    let curheadapi = 'http://192.168.0.63:8080/';
+
+    if (runVersion == 'test') {
+        curheadapi = 'http://cal.beswell.com:85/DataTransfer/';
+    }
+    if(runVersion == 'outDoor'){
+         curheadapi = 'http://192.168.0.105:9000/';
+    }
 
     // 0: 下课 团课/私教/PK 的排名
     let LessonClass = 1;

+ 5 - 5
tv/src/components/levelIcon.vue

@@ -1,5 +1,5 @@
 <template>
-    <div  :class="[{'levelIconTV':runVersion == 'test'},{'levelIconTest':runVersion != 'test'},{'levelIcon':true}]">
+    <div  :class="[{'levelIconTV':runVersion == 'test'},{'levelIconOutDoor':runVersion != 'test'},{'levelIcon':true}]">
         <ul>
             <li>
           <span class="cube">
@@ -62,10 +62,10 @@
       margin: 0 auto;
       height: 5rem;
     }
-    .levelIconTest {
-      /*position: absolute;*/
-      /*bottom: 0.1rem;*/
-      /*padding-bottom: 5px;*/
+    .levelIconOutDoor {
+      position: absolute;
+      bottom: 0.1rem;
+      padding-bottom: 5px;
     }
     .levelIconTV {
       position: absolute;

+ 0 - 1
tv/src/views/2pkRank.vue

@@ -307,7 +307,6 @@ export default {
       if (runVersion == 'test') {
         return false
       }
-      console.log(dpId, groupNo);
       let that = this;
       let param = {
         dpId: dpId,