Link 連結子介面
此元件在介面上顯示一個子選單項,通常用於連結子介面。
| 鍵 | 類型 | 描述 | 必選 | 預設值 | 最低版本需求 |
|---|---|---|---|---|---|
| url | 字串 | 子介面檔名 | * | - | - |
url 可以為普通檔名、XUI 檔名或網路地址。普通檔案將使用預設打開方式打開,xui/xuic 檔案將作為子介面打開,網路地址將使用內置瀏覽器打開。
範例
{
cell = "Group";
label = "子页面";
};
{
url = "sub/xui-sub.xuic"; -- 相對於 xpp 的路徑
cell = "Link";
label = "更多组件演示";
};
{
url = "sub/xui-dynamic.xui";
cell = "Link";
label = "动态联动通知演示";
};
{
cell = "Group";
label = "资源浏览";
};
{
url = "https://xxtouch.app";
cell = "Link";
label = "打开 XXTouch.app";
};
{
url = "res/b6d21727a66f856f79dc9b6ef8e7b4d6.gif";
cell = "Link";
label = "打开一个图片";
};
{
url = "res/SmartSelect.mp4";
cell = "Link";
label = "打开一个视频";
};
{
url = "https://www.apple.com/apple-events/september-2015/";
cell = "Link";
label = "在线视频";
};
