检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
样式:使用CSS代码自定义组件样式。自定义代码支持多行输入,并高亮显示样式参数。 宽度:字段配置框宽度占页面宽度的比例。 上传视频 在事件发布页上传视频,仅支持上传一个视频。
请求示例 ES6版本 const _shareParams = { title: 'title share', desc: 'desc share-01', h5Uri: 'h5://link.h5demo/html/index.html', pcUri
{ url: '', headers: {}, filePath: '' }).then(result => { console.log(result); }).catch(error => { console.log('下载异常', error); }); ES5
{ url: '', headers: {}, filePath: '' }).then(result => { console.log(result); }).catch(error => { console.log('下载异常', error); }); ES5
请求示例 ES6版本 HWH5.makePhoneCall({ dialNumber: '18066668888', makeWay: 0 }).then(reply => { console.log(reply); }).catch(error
请求示例 ES6版本 HWH5.setStorage({ key: 'bulletin_detail_c00299309_10010', data: '{data:"{{ book.brand }} is platform"}', isolation:
请求示例 ES6版本 HWH5.removeEventListenerByType('share'); HWH5.addEventListener({ type: 'share', func: () => ({ title: '公司公告',
已选中,2:未选中且不可操作,3:已选中且不可操作 返回结果 参数 说明 uu_id 唯一标识 userId 账号 userNameCn 中文名 userNameEn 英文名 deptName 最小部门名称 deptL1Name 一级部门名称 avatar 头像地址 请求示例 ES6
返回说明 参数 类型 说明 abort Function 取消上传函数 ES6示例 const filePath = '/downloads/xxxx.asr'; const _appId = 'com.huawei.xxx'; const _appName = 'xxxxxx';
请求示例 ES6版本 HWH5.openUserProfile({ userId: 'zhangsan@yourcompany' }).catch((error) => { console.log('查看通讯录详细信息异常', error); }); ES5版本 HWH5.
users), supportPortals: 1, fixedFlag: 2 }).then(data => { console.log(data); }).catch(error => { console.log(error); }); ES5
请求示例 ES6示例 HWH5.navigateToWecode({ uri: 'h5://XXXX/html/index.html?
会议过程中可以随时双向协作,写画内容扫码一键带走,减少会后复杂的整理过程。 大屏应用生态 企业智慧屏联接华为应用市场,具有企业智慧屏应用专区,提供适配大屏的办公应用。
请求示例 get请求 ES6版本 · const _url = 'http://xxxx:8080/wecode/getData'; · const _headers = { · 'Content-Type': 'application
如 http://… 或 https://… uri 需严格遵循 search 在前,hash 在后的规则,否则会打开失败,如 http://www.example.com/?
回调函数,持续回调 onSuccess Function 否 下载成功后回调函数 onError Function 否 下载失败或是异常的回调函数 返回说明 参数 类型 说明 abort Function 取消下载函数 ES6版本 const downloadTask = await
请求示例 ES6示例 HWH5.openLocation({ latitude: 22.610036, longitude: 114.029313, zoom: 11, name: '深圳北站', address: '深圳市龙华区致远路28号' }); ES5示例
请求示例 ES6版本 HWH5.setNavigationBarTitle({ title: '{{ book.brand }}' }).catch(error => { console.log('设置标题异常', error); }); ES5版本 HWH5.
类型 必填 说明 chatID String 是 必传,联系人id/群组id chatType String 是 必传,0 个人 1 群组 chatName String 否 可选,聊天对象名称 返回结果 参数 说明 原生UI组件 原生提供UI界面,原生识别跳转环境 请求示例 ES6
(error => { console.log('knowledgeList error = ', error); }); ES5版本 HWH5.knowledgeList({ type: '0', source: '4', sid: '0', cateIds: