我想在android中使用Phonegap和sencha的评等栏。对于以下链接所引用的i:
sencha.触摸-2-ux触摸额定值
因此,我将Ext.ux.touch.Rating.js和Ext.ux.touch.Rating.css保存在assets中的www文件夹中。在app.js中,我添加了以下一行:
requires : ['Ext.ux.touch.Rating'],在js文件中,我添加了以下代码:
xtype : 'rating',
label : 'Star Rating',
itemsCount : 5,
itemCls : 'x-rating-star',
itemHoverCls : 'x-rating-star-hover',
clearIcon : true但是它让我在控制台下面出错了:
Failed to load resource: the server responded with a status of 404 (Not Found) 我没有达到我必须保存和使用这些文件的地方。
发布于 2013-02-18 14:06:03
试着在Sencha Touch中直接使用它。那应该能行
https://stackoverflow.com/questions/11519438
复制相似问题