为什么jquery mobile的数据图标没有显示?

son*_*one 5 jquery-mobile

我使用按钮在我的代码中使用了数据图标,但问题是,图标没有显示.它只显示一个圆圈..

这是我的HTML代码

<a href="index.html" data-role="button" data-icon="delete">Remove</a> 
<a href="index.html" data-role="button" data-icon="plus">Add</a> 
<a href="index.html" data-role="button" data-icon="arrow-u">Up</a> 
<a href="index.html" data-role="button" data-icon="arrow-d">Down</a> 
Run Code Online (Sandbox Code Playgroud)

我不是这个问题发生的原因,对于所有使用图标或自动有图标的按钮

data-add-back-btn="true"
Run Code Online (Sandbox Code Playgroud)

后退图标也不显示,只显示带有文本的按钮

谁能帮我?谢谢.

Jas*_*per 3

除非添加该属性,否则链接不会变成按钮data-role="button"

表单<input type="button" /><input type="submit" />会自动变成“按钮小部件”,<button></button>标签也是如此。

文档:http://jquerymobile.com/demos/1.1.0/docs/buttons/buttons-types.html