hhgRepertory
hhgRepertory
结合VirtualView 的Scrooler实现横向可滑动的列表, 使用engine.addCardLoadSupport加载数据却是竖直排列的,但是直接在data.json中写,又是横向排列的。
{ "type": "container-scroll", "header": { "type": "BLXHeader1", "style": { "margin": [ 0, 0, 8, 0 ] }, "title": "每日领券", "subhead": "每日领券,优惠领不停", "text_more": "查看更多", "icon_go_right": "http://192.168.1.5:8080/icon/icon_go_right.png" }, "load": "com.blx.coupon.scroller", "loadType": "-1",...
{ "type": "container-banner", "id": "banner", "load": "com.blx.request.load.top.banner", "loadType ": "1", "style": { "pageRatio": 1, "infinite": "true", "indicatorImg2": "https://img.alicdn.com/tps/TB1XRNFNXXXXXXKXXXXXXXXXXXX-32-4.png", "indicatorImg1": "https://img.alicdn.com/tps/TB16i4qNXXXXXbBXFXXXXXXXXXX-32-4.png", "indicatorMargin": "10", "indicatorGravity": "right", "scrollMarginLeft": "0", "indicatorGap": "2", "indicatorHeight": "1.5",...