diff --git a/sdk/demo/demo.html b/sdk/demo/demo.html index bf57dbe94208eb86c6f6334d4812e6db64e810ea..2eff3169e30f9d3eacfcfc35936ecf0e701fd20b 100644 --- a/sdk/demo/demo.html +++ b/sdk/demo/demo.html @@ -22,13 +22,14 @@ Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. 云手机SDK demo @@ -87,7 +102,7 @@ Copyright 2022 Huawei Cloud Computing Technology Co., Ltd.
+ class="container">
+ class="play-ctr-btn" + onclick="cloudapp.fullscreenToggle('fullscreen-container')">Fullscreen 信任目标机器
diff --git a/sdk/enter.html b/sdk/enter.html index 119aeadc6969a51e92802b25f311327ddb935f55..b108e9f0ee7d65f29690868d71a59e714a2ce7b7 100644 --- a/sdk/enter.html +++ b/sdk/enter.html @@ -79,7 +79,7 @@
-
+
请输入正确的ip
@@ -174,17 +174,6 @@ pageContent.classList.add('pc-size'); } - if (sessionStorage.getItem('cloudPhoneHost')) { - let localHref = window.location.href + 'index'; - if (window.location.href.indexOf('enter.html') > -1) { - localHref = window.location.href.replace('enter.html', 'index.html'); - if (localHref === window.location.href) { - localHref = window.location.href.replace('enter.html', 'demo.html'); - } - } - window.location.href = localHref; - } - ipInputEle.addEventListener('blur', function () { const ipValue = ipInputEle.value; if (!ipExp.test(ipValue)) { diff --git a/sdk/index.html b/sdk/index.html index f1d20be7b950e850d995c92b3c0ae3804a7893d0..77c56e94a12d66fe599fb449711942c5eb098da9 100644 --- a/sdk/index.html +++ b/sdk/index.html @@ -29,11 +29,6 @@ Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. padding: 0; } - .fullscreen-container { - margin: 20px auto 10px; - width: 1200px; - height: 600px; - } .container { width: 100%; @@ -89,22 +84,33 @@ Copyright 2022 Huawei Cloud Computing Technology Co., Ltd. border-radius: 10px; } + .play-ctr-btn { + display: inline-block; + background: #fff; + border: 1px solid #595959; + text-align: center; + height: 30px; + line-height: 30px; + border-radius: 5px; + font-size: 14px; + } +
+ class="fullscreen-container">
+ class="broadway container" + workers="false" + render="true" + webgl="auto">
+ id="loading"> + width="50" + height="50"> Exit 信任目标机器 + target="_blank" + class="play-ctr-btn" + href="">信任目标机器