"forms": [ { "jsComponentName": "wkwidget", "isDefault": false, "scheduledUpdateTime": "10:30", "defaultDimension": "1*2", "name": "wkwidget", "description": "", "colorMode": "auto", "type": "JS", "supportDimensions": [ "1*2" ], "updateEnabled": true, "updateDuration": 1 }, { "jsComponentName": "xkwidget", "isDefault": true, "scheduledUpdateTime": "10:30", "defaultDimension": "2*2", "name": "xkwidget", "description": "", "colorMode": "auto", "type": "JS", "supportDimensions": [ "2*2" ], "updateEnabled": true, "updateDuration": 1 }, { "jsComponentName": "zkwidget", "isDefault": false, "scheduledUpdateTime": "10:30", "defaultDimension": "2*4", "name": "zkwidget", "description": "", "colorMode": "auto", "type": "JS", "supportDimensions": [ "2*4" ], "updateEnabled": true, "updateDuration": 1 }, { "jsComponentName": "dkwidget", "isDefault": false, "scheduledUpdateTime": "10:30", "defaultDimension": "4*4", "name": "dkwidget", "description": "", "colorMode": "auto", "type": "JS", "supportDimensions": [ "4*4" ], "updateEnabled": true, "updateDuration": 1 } ] |
{ "data": {}, "actions": { "routerEvent": { "action": "router", "bundleName": "com.fkxxskj.bailianCard", "abilityName": "com.example.cardmodel.Ace.AboutAbility" } } } |
<div class="container"> |
public class AboutAbility extends AceAbility { @Override public void onStart(Intent intent) { setInstanceName("default"); setPageParams("pages/index/about/about",null); super.onStart(intent); // this.getWindow().addFlags(WindowManager.LayoutConfig.MOD_STATUS_BAR); this.setDisplayOrientation(AbilityInfo.DisplayOrientation.FOLLOWRECENT); } @Override public void onStop() { super.onStop(); } } |