【问题标题】:Tizen emulator wearable web app styles not workingTizen 模拟器可穿戴 Web 应用程序样式不起作用
【发布时间】:2021-08-24 02:58:37
【问题描述】:

Tizen 模拟器有问题。我已经设置了 Tizen 工作室并运行了一个示例应用程序。对于目标设备,样式应用得很好。下面是目标设备截图。

但不幸的是,Tizen 模拟器样式不起作用。请参考下面的截图。

我不明白为什么会这样。这是我的代码,它只是一个简单的代码。

<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width,user-scalable=no">
    <title>Basic</title>
    <link rel="stylesheet" href="lib/tau/wearable/theme/default/tau.min.css">
    <link rel="stylesheet" media="all and (-tizen-geometric-shape: circle)" href="lib/tau/wearable/theme/default/tau.circle.min.css">
    <!-- load theme file for your application -->
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <div class="ui-page ui-page-active" id="main">
        <div class="ui-header">
            <h1>Hello World</h1>
         </div>
         <div class="ui-content">
            <p>Hello TAU!</p>
         </div>
         <div class="ui-footer">
            <button>OK</button>
         </div>
    </div>
    <script src="lib/tau/wearable/js/tau.min.js"></script>
    <script src="js/app.js"></script>
    <script src="js/lowBatteryCheck.js"></script>
    <script src="js/circle-helper.js"></script>
</body>
</html>

如果有人可以帮助我,感谢他们的支持。谢谢!

【问题讨论】:

    标签: css tizen tizen-web-app tizen-emulator tizen-studio


    【解决方案1】:

    已从三星开发者论坛收到答复。

    I never use the newer watch emulators they are always buggy.
    
    Try the W-4.0 Wearable-Circle-x86 Emulator to see if that works correctly.
    
    Ron
    

    现在完美运行!

    【讨论】:

      猜你喜欢
      • 2017-01-03
      • 1970-01-01
      • 2019-12-27
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-01-08
      • 1970-01-01
      相关资源
      最近更新 更多