button

Misc</view><button type="default"plain>plain</button><button type="default"disabled>disabled</button><button type="default"loading={{true}}>loading</button><button type="default"hover-class="red">hover...

按钮(Button

demo-block title="填充模式"><view class="btn-list btn-list-default"><button type="primary"fill="solid">solid</button><button type="primary"fill="outline">outline</button><button type="primary"fill="none">...

AButton 按钮

String button href 如果不为空,使用 a 标签渲染,否则默认使用 button 渲染。String-inactiveLoading 设为 true 时,当 loading 为 true 时不会触发 click 事件,且不会改变 button 的样式;设为 false 时,保持 loading 原有的行为。...

卡片菜单

AUCardMenu*tmpView=[[AUCardMenu alloc]initWithData:@[model,model2,model3,model4]location:CGPointMake(button.width-20,button.centerY)offset:13];tmpView.cellView.delegate=self;[tmpView showPopMenu:button animation:YES];self....

视频

video><button type="default"size="defaultSize"onTap="play">Play</button><button type="default"size="defaultSize"onTap="pause">Pause</button>...

振动

API-DEMO page/API/vibrate/vibrate.axml-><view class = "page" ><button type="primary"onTap="vibrate">开始振动</button><button type="primary"onTap="vibrateLong">长时间振动(400ms)</button><button type="primary"onTap="vibrateShort...

轻提示(Toast)

toast</button><button onTap="handleShowToast"data-index="4"class="button"inline="{{true}}"inlineSize="{{medium}}">纯文字 toast,文案过长</button><button onTap="handleShowToast"data-index="2"class="button"inline="{{true}}...

使用 H5 容器

button1.frame=CGRectOffset(button.frame,0,80);button1.backgroundColor=[UIColor blueColor];[button1 setTitle:@"前端调用 native"forState:UIControlStateNormal];[button1 addTarget:self action:@selector(openJsApi)...

使用 H5 离线包

button5.frame=CGRectOffset(button4.frame,0,80);button5.backgroundColor=[UIColor blueColor];[button5 setTitle:@"更新离线包"forState:UIControlStateNormal];[button5 addTarget:self action:@selector(updateOffPack)...

剪贴板

my.getClipboard 说明:mPaaS 10.1....button"type="primary"size="mini"onTap="handleCopy">复制</button></view></view><view class = "page-section" ><view class="page-section-title">getClipboard</view><view class="page-section-demo">...

漏斗图

event.type:click and(event.target:register or event.target:button_19 or event.target:button_18 or event.target:button_17 or event.target:button_16)|select"event.target"as target,count(1)as click_count group by target order...

对话框(Dialog)

block>操作按钮"><view class="btn-list"><button onTap="handleOpenVertical">纵向</button><button onTap="handleOpenHori">横向</button></view></demo-block>内容区域"><view class="btn-list"><button onTap="handleOpenCus">自定义内容...

路由

API-DEMO page/API/navigator/navigator.axml-><view class="page"><view class="page-section"><button type="primary"onTap="navigateTo">跳转新页面</button><button type="primary"onTap="navigateBack">返回上一页</button><button ...

Filter 筛选

FilterList><FilterItem v-for="i in 8" :option="i" v-model="selected">{{ i }}</FilterItem></FilterList></AFilter><div class="button-wrap"><button class="am-button white"@click="show=true">...

蓝牙 API 列表

section-title">扫描蓝牙设备</view><view class="page-section-demo"><button type="primary"onTap="startBluetoothDevicesDiscovery">开始搜索</button><button type="primary"onTap="getBluetoothDevices">所有搜索到的设备</button>...

选择日期

body-button"type="primary"onTap="datePicker">选择日期-1</button><button class="page-body-button"type="primary"onTap="datePickerHMS">选择日期-2</button><button class="page-body-button"type="primary"onTap="datePickerYMDHMS">...

弹出层(Popup)

view></popup><demo-block title="弹出位置"><view class="btn-list"><button data-position="top"onTap="handleShowBasic">顶部弹出</button><button data-position="bottom"onTap="handleShowBasic">底部弹出</button><button data-...

弹窗(Modal)

block>操作按钮"><view class="btn-list"><button onTap="openCustomBtnModal">自定义按钮</button><button onTap="openMainBtnModal">只有主按钮</button></view></demo-block>内容区域"><view class="btn-list"><button onTap=...

隐藏加载中

代码示例 显示/隐藏全局加载框:点击以下按钮看不同效果</h1><p>注意安卓下显示 loading 后,会覆盖整个界面,所以请使用系统回退键关闭 loading</p><button class="btn show">显示 loading</button><button class="btn delay">延迟 2 秒...

样式

代码示例:/*button.acss*/.sm-button { padding:5px;}/*app.acss*/import"./button.acss;md-button { padding:15px;} 导入路径支持从 node_modules 目录载入第三方模块,例如 page.acss:@import"./button.acss;相对路径*/import"/button....

导航栏

API-DEMO page/API/navigation-bar-loading/navigation-bar-loading.axml-><view class="page"><view class="page-section"><button type="primary"onTap="showNavigationBarLoading">显示加载动画</button><button onTap=...

背景蒙层(Mask)

block title="基础用法"><view class="btn-list"><button data-type="product"onTap="handleClickBtn">显示product类型的遮罩层</button><button data-type="market"onTap="handleClickBtn">显示market类型的遮罩层</button></view></demo-...

用户截屏事件

已经开启监听":'已经取消监听' }}</view><view a:if="{{condition}}"><button type="primary"onTap="offUserCaptureScreen">取消监听屏幕事件</button></view><view a:else><button type="primary"onTap="onUserCaptureScreen">开启监听...

Inform 临时通知

string null slots 属性 说明 scope-通知内容-button 当 operation 为 button 时,可定制 buttonText 内容为 DOM。events 属性 说明 函数 buttonClick 单击按钮时触发。Function():void Demo 基础样式 截图 代码<template><div>...

气泡菜单(Popover)

'隐藏':'显示'}}</view><view>{{placement}}</view></view><view slot="items" class="tooltip"><view>Popover</view><view>Content</view></view></popover></view>...-btn"onTap="handleNextPosition">下个位置</button><button class="demo...

移除 AP 数据

代码示例<button id="J_saveDataBtn"class="btn">保存数据</button><button id="J_getDataBtn"class="btn">查看数据</button><button id="J_removeDataBtn"class="btn">删除数据</button><script>function ready(callback){/如果 jsbridge ...

获取 AP 数据

代码示例<button id="J_saveDataBtn"class="btn">保存数据</button><button id="J_getDataBtn"class="btn">查看数据</button><button id="J_removeDataBtn"class="btn">删除数据</button><script>function ready(callback){/如果 jsbridge ...

按钮基本类

本文主要介绍按钮基本类的样式效果及其代码示例。AUButton 遵照新的 UED 需求完成,目前包含两种样式,...button 上需要旋转菊花[button startLoadingWithTitle:@"Loading"currentViewController:self];button 菊花停止[button stopLoading];

ACSS 语法参考

示例代码:/*button.acss*/.sm-button { padding:5px;}/*app.acss*/import"./button.acss;md-button { padding:15px;} 导入路径支持从 node_modules 目录载入第三方模块,例如 page.acss:@import"./button.acss;相对路径*/import"/button....

警告框

alert 接口的使用方法 AlipayJSBridge.call('alert',{ title:'亲',message:'你好',button:'确定' },function(e){ alert(JSON.stringify(e));});代码示例 alert 和 confirm:点击以下按钮看不同效果</h1><a href="javascript:void(0)"class=...

虚拟手柄及自定义手柄

width="100dp"android:layout_height="wrap_content"android:orientation="vertical"><Button android:id="@id/btn_x"android:layout_width="wrap_content"android:layout_height="wrap_content"android:text="X"/></LinearLayout></...

swiper

area-button"type="default"onTap="changeIndicatorDots">indicator-dots</button><button class="btn-area-button"type="default"onTap="changeAutoplay">autoplay</button></view><slider onChange="intervalChange"value="{{interval}}...

转换文件存储类型

DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Document</title> </head> <body> <button id="check">查看</button><button id="restore">解冻</button><button id="change">转换</button>!导入SDK文件->...

API错误码

InvalidParameter.InteractiveButtonMsgButtonTitleMaxSize 发送Interactive button消息时button title不超过20个字符。InvalidParameter.InteractiveProductActionCatalogIdNotEmpty 发送Interactive product消息时Action中catalog_id不能...

form

group></view><view class="btn-area"><button formType="submit">Submit</button><button formType="reset">Reset</button></view></form>Page({ formSubmit:function(e){ console.log('form发生了submit事件,携带数据为:',e.detail....

选择城市

description">选择城市</view><view class="page-section"><view class="page-section-title">chooseCity</view><view class="page-section-demo"><button type="primary"onTap="chooseCity">选择城市</button><button type="primary"onTap=...

页面

示例代码<view>{{text}}</view><button onTap="changeTitle">Change normal data</button><view>{{array[0].text}}</view><button onTap="changeArray">Change Array data</button><view>{{object.text}}</view><button onTap=...

客户端接入

embed"type="password"class="biz-input"></div><div id="captcha-element"></div>/预留的验证码页面元素,用于配置初始化函数中的element参数<button id="button"class="login-btn">登录</button></div></div>在客户端原代码后,集成验证...

解冻文件

DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8" /> <title>Document</title> </head> <body> <button id='upload'>上传</button><button id='restore'>解冻文件</button>!导入SDK文件->...

设置 AP 数据

代码示例<button id="J_saveDataBtn"class="btn">保存数据</button><button id="J_getDataBtn"class="btn">查看数据</button><button id="J_removeDataBtn"class="btn">删除数据</button><script>function ready(callback){/如果 jsbridge ...
共有7条 < 1 2 3 4 ... 7 >
跳转至: GO
产品推荐
云服务器 安全管家服务 安全中心
这些文档可能帮助您
弹性公网IP 短信服务 人工智能平台 PAI 金融分布式架构 物联网平台 对象存储
新人特惠 爆款特惠 最新活动 免费试用