1

我只是从 Apple TV 标记语言开始,我的客户需要一步登录,但是如果我尝试在一个表单中添加两个字段,则只显示第一个字段,我的代码是:

<document 
  data-view="LoginScreen">
   <formTemplate>
      <banner>
        <img src="${CONFIG.configURL}/${CONFIG.splashScreen}"
      width="1920" height="1080" />
        <description>Enter email</description>
      </banner>
      <textField name="username">username@test.ro</textField>
      <banner>
        <img src="${CONFIG.configURL}/${CONFIG.splashScreen}"
      width="1920" height="1080" />
        <description>Enter password</description>
      </banner>
      <textField text="******" secure="true" name="password"></textField>
      <footer>
        <button id="login">
          <text>Login</text>
        </button>
      </footer>
   </formTemplate>
</document>

有什么建议么 ?

谢谢你,对不起我的英语不好!

4

0 回答 0