最近在开发快应用,开发过程中遇到了一些问题总结下来
1.接口申明在 manifest 文件的 features 中,除了@system.app使用前以外都需要申明。
2.纯文字需text标签 div标签文字内容不展示(文本节点必须放在text, span, a, label 标签内)
3.相对定位和绝对定位都不能用,也没有z-index , 因此想实现某个东西浮在另一个东西的上面,需要用到它的stack标签
4.
<!-- 设置或清空输入框的值示例.注意: 必须在input的change事件中同步value的变量值 -->
<div class="input-item">
<text class="input-hint">设置或清空输入框的值:</text>
<input class="input-text" type="text" placeholder="必须在change事件中同步value才能改变value" value="{
{inputValue}}"
onchange="updateValue"></input>
<div class="doc-row" style="margin-top: 30px;"