瀏覽代碼

Merge branch 'dev5.8.9' of Software/android-cloud-H5 into master

tangdehang 6 月之前
父節點
當前提交
b083f06690

+ 3 - 3
.env.development

@@ -10,10 +10,10 @@ API_URL_BROWSER = "/api"
 
 # 文件服务器
 FILE_PREFIX = "/file"
-FILE_HOST = "file.phone.androidscloud.com"
-FILE_PORT = 8121
+FILE_HOST = "14.18.190.138"
+FILE_PORT = 18120
 FILE_UPLOAD_KEY = "e858720c23ke455aa60e"
-FILE_HTTPS = true
+FILE_HTTPS = false
 
 # 友盟统计
 UMENG_DATASOURCES_APP_KEY = "62ad961905844627b5b8638c"

+ 3 - 3
.env.test

@@ -8,10 +8,10 @@ API_URL_BROWSER = "/api"
 
 # 文件服务器
 FILE_PREFIX = "/"
-FILE_HOST = "file.phone.androidscloud.com"
-FILE_PORT = 8121
+FILE_HOST = "14.18.190.138"
+FILE_PORT = 18120
 FILE_UPLOAD_KEY = "13d0arghebcc4cm49cf04"
-FILE_HTTPS = true
+FILE_HTTPS = false
 
 # 友盟统计
 UMENG_DATASOURCES_APP_KEY = "62ad961905844627b5b8638c"

+ 2 - 0
README.md

@@ -16,6 +16,8 @@ test 测试环境
 staging 验收环境
 production 生产环境
 
+## node 版本 16.18.0
+
 ## Build Setup
 
 ```bash

二進制
assets/image/introductionCloudPhone/empty-tips-defaultWhite.png


+ 3 - 1
pages/introductionCloudPhone/articleDetails.vue

@@ -1,7 +1,9 @@
+<!-- @notes: 页面于2024-11-17 由判断是否为app [isShowApp] 进行背景颜色判断的需求取消,统一换成白色背景. html上直接写 布尔值的均由 [isShowApp] 替换-->
 <template>
   <layoutBack :isGoBack='false'>
     <layout title='福利社区文章' :isRouterBack="true">
-      <div :class="isShowApp?'article':'article article-white'">
+      <!-- <div :class="isShowApp?'article':'article article-white'"> -->
+      <div class="article" :class="{'article-white': !false}">
         <div class="article-title" v-if="isShowApp">
           福利社区文章
         </div>

+ 6 - 4
pages/introductionCloudPhone/components/layout.vue

@@ -1,5 +1,7 @@
+<!-- @notes: 页面于2024-11-17 由判断是否为app [isShowApp] 进行背景颜色判断的需求取消,统一换成白色背景. html上直接写 布尔值的均由 [isShowApp] 替换-->
 <template>
-  <div :class="isShowApp?'layout':'layout layout-white'">
+  <!-- <div :class="isShowApp?'layout':'layout layout-white'"> -->
+  <div class="layout" :class="{'layout-white': !false}">
     <div style="height: 12.2666666667vw" v-if="isShowNavBar">
       <van-nav-bar :title="title" left-arrow fixed @click-left="goBackFun" />
     </div>
@@ -39,9 +41,9 @@ export default {
   mounted() { },
   computed: {
     containerStyle() {
-      if (this.isShowApp) {
-        return { backgroundColor: '#1C1C1E', padding: this.padding ? this.padding : '16px' };
-      }
+      // if (this.isShowApp) {
+      //   return { backgroundColor: '#1C1C1E', padding: this.padding ? this.padding : '16px' };
+      // }
       return { backgroundColor: '#F2F4F7', padding: this.padding ? this.padding : '16px' };
     },
     isShowApp() {

+ 8 - 6
pages/introductionCloudPhone/index.vue

@@ -1,12 +1,14 @@
+<!-- @notes: 页面于2024-11-17 由判断是否为app [isShowApp] 进行背景颜色判断的需求取消,统一换成白色背景. html上直接写 布尔值的均由 [isShowApp] 替换-->
 <template>
   <layoutBack :isGoBack='true'>
     <layout title='推荐云手机'>
-      <div :class="isShowApp?'introduction':'introduction introduction-white'">
+      <!-- <div :class="isShowApp?'introduction':'introduction introduction-white'"> -->
+      <div class="introduction" :class="{'introduction-white': !false}">
         <div class="introduction-title" v-if="isShowApp">
           推荐云手机
         </div>
 
-        <div class="introduction-tips" :style="{color: isShowApp ? '#EDEEF0' : '#0A132B' }">
+        <div class="introduction-tips" :style="{color: false ? '#EDEEF0' : '#0A132B' }">
           请搜索您在云手机内希望使用的应用!
         </div>
 
@@ -56,10 +58,10 @@
           <div class="empty">
           <div class="empty-title">当前搜索结果为空,您可以通过下面两种方式在云手机安装APP(限安卓手机应用上传安装)</div>
           <div class="empty-img">
-            <img :src="require(`@/assets/image/introductionCloudPhone/${isShowApp ? 'empty-tips-default' : 'empty-tips-defaultWhite'}.png`)" alt="">
+            <img :src="require(`@/assets/image/introductionCloudPhone/${false ? 'empty-tips-default' : 'empty-tips-defaultWhite'}.png`)" alt="">
           </div>
           <div class="empty-tips">
-              <div :style="{color: isShowApp ? '#EDEEF0' : '#0A132B' }">
+              <div :style="{color: false ? '#EDEEF0' : '#0A132B' }">
                 温馨提示:
               </div>
               <div>
@@ -67,7 +69,7 @@
               </div>
           </div>
           <div class="empty-btn" style="bottom: 24px; left: 16px;width: calc(100% - 32PX)">
-            <div v-for="item in emptyBtn" :key="item.key" @click="emptyBtnFun(item.type)" :class="{dark: isShowApp && !item.type}">
+            <div v-for="item in emptyBtn" :key="item.key" @click="emptyBtnFun(item.type)" :class="{dark: false && !item.type}">
               {{ item.name }}
             </div>
           </div>
@@ -459,7 +461,7 @@ export default {
   .empty-img{
     height: 348px;
     margin-top: 24px;
-    padding-left: 20px;
+    // padding-left: 20px;
     &>img{
       width: 100%;
       height: 100%;

+ 4 - 0
static/rtcEngine/js/WXtrialInterface.js

@@ -402,6 +402,10 @@ const app = new Vue({
                     case 'downAdnInstallRep':
                         Toast(result.data.msg)
                         break
+                    // 接受到这个消息就自动退出云机
+                    case 'exitPhone':
+                        this.exit()
+                        break
                 }
             }
 

+ 5 - 1
static/webRtcYJ/WXdraw.js

@@ -180,7 +180,11 @@ function doConnectDirectives() {
       '🚀 ~ file: WXdraw.js ~ line 78 ~ doConnectDirectives ~ result',
       result,
     );
-
+    // 接受到这个消息就自动退出云机
+    if(result.type === 'exitPhone') {
+      quit()
+      return
+    }
     if (result.type === 'cutting') {
       if (result.data.status === 0) {
         $.toast('复制成功', 'text');