足力健前端,vue版本

attributes.json 25KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822
  1. {
  2. "disabled": {
  3. "description": "是否禁用。",
  4. "type": "Boolean"
  5. },
  6. "loop": {
  7. "description": "是否循环播放",
  8. "type": "Boolean"
  9. },
  10. "hover-class": {
  11. "description": "指定按下去的样式类。当 hover-class=\"none\" 时,没有点击态效果",
  12. "type": "String"
  13. },
  14. "hover-stop-propagation": {
  15. "description": "指定是否阻止本节点的祖先节点出现点击态",
  16. "type": "Boolean"
  17. },
  18. "hover-start-time": {
  19. "description": "按住后多久出现点击态,单位毫秒",
  20. "type": "Number"
  21. },
  22. "hover-stay-time": {
  23. "description": "手指松开后点击态保留时间,单位毫秒",
  24. "type": "Number"
  25. },
  26. "scroll-x": {
  27. "description": "允许横向滚动",
  28. "type": "Boolean"
  29. },
  30. "scroll-y": {
  31. "description": "允许纵向滚动",
  32. "type": "Boolean"
  33. },
  34. "upper-threshold": {
  35. "description": "距顶部/左边多远时(单位px),触发 scrolltoupper 事件",
  36. "type": "Number"
  37. },
  38. "lower-threshold": {
  39. "description": "距底部/右边多远时(单位px),触发 scrolltolower 事件",
  40. "type": "Number"
  41. },
  42. "scroll-top": {
  43. "description": "设置竖向滚动条位置",
  44. "type": "Number"
  45. },
  46. "scroll-left": {
  47. "description": "设置横向滚动条位置",
  48. "type": "Number"
  49. },
  50. "scroll-into-view": {
  51. "description": " 值应为某子元素id(id不能以数字开头)。设置哪个方向可滚动,则在哪个方向滚动到该元素",
  52. "type": "String"
  53. },
  54. "scroll-with-animation": {
  55. "description": "在设置滚动条位置时使用动画过渡",
  56. "type": "Boolean"
  57. },
  58. "enable-back-to-top": {
  59. "description": "iOS点击顶部状态栏、安卓双击标题栏时,滚动条返回顶部,只支持竖向",
  60. "type": "Boolean"
  61. },
  62. "indicator-dots": {
  63. "description": "是否显示面板指示点",
  64. "type": "Boolean"
  65. },
  66. "indicator-color": {
  67. "description": "指示点颜色",
  68. "type": "HexColor"
  69. },
  70. "indicator-active-color": {
  71. "description": "当前选中的指示点颜色",
  72. "type": "HexColor"
  73. },
  74. "active-class": {
  75. "description": "swiper-item 可见时的 class",
  76. "type": "String"
  77. },
  78. "changing-class": {
  79. "description": "acceleration 设置为 {{true}} 时且处于滑动过程中,中间若干屏处于可见时的class",
  80. "type": "Boolean"
  81. },
  82. "acceleration": {
  83. "description": "当开启时,会根据滑动速度,连续滑动多屏",
  84. "type": "Boolean"
  85. },
  86. "disable-programmatic-animation": {
  87. "description": "是否禁用代码变动触发 swiper 切换时使用动画。",
  88. "type": "Boolean"
  89. },
  90. "disable-touch": {
  91. "description": "是否禁止用户 touch 操作",
  92. "type": "Boolean"
  93. },
  94. "touchable": {
  95. "description": "是否监听用户的触摸事件",
  96. "type": "Boolean"
  97. },
  98. "easing-function": {
  99. "description": "指定 swiper 切换缓动动画类型,有效值:default、linear、easeInCubic、easeOutCubic、easeInOutCubic",
  100. "type": "String"
  101. },
  102. "autoplay": {
  103. "description": "自动播放",
  104. "type": "Boolean"
  105. },
  106. "current": {
  107. "description": "当前所在滑块的 index",
  108. "type": "Number"
  109. },
  110. "current-item-id": {
  111. "description": "当前所在滑块的 item-id ,不能与 current 被同时指定",
  112. "type": "String"
  113. },
  114. "interval": {
  115. "description": "自动切换时间间隔",
  116. "type": "Number"
  117. },
  118. "duration": {
  119. "description": "指定视频长度",
  120. "type": "Number"
  121. },
  122. "circular": {
  123. "description": "是否采用衔接滑动",
  124. "type": "Boolean"
  125. },
  126. "vertical": {
  127. "description": "滑动方向是否为纵向",
  128. "type": "Boolean"
  129. },
  130. "previous-margin": {
  131. "description": "前边距,可用于露出前一项的一小部分,接受 px 和 rpx 值",
  132. "type": "String"
  133. },
  134. "next-margin": {
  135. "description": "后边距,可用于露出后一项的一小部分,接受 px 和 rpx 值",
  136. "type": "String"
  137. },
  138. "display-multiple-items": {
  139. "description": "同时显示的滑块数量",
  140. "type": "Number"
  141. },
  142. "skip-hidden-item-layout": {
  143. "description": "是否跳过未显示的滑块布局,设为 true 可优化复杂情况下的滑动性能,但会丢失隐藏状态滑块的布局信息",
  144. "type": "Boolean"
  145. },
  146. "item-id": {
  147. "description": "该 swiper-item 的标识符",
  148. "type": "String"
  149. },
  150. "scale-area": {
  151. "description": "当里面的movable-view设置为支持双指缩放时,设置此值可将缩放手势生效区域修改为整个movable-area",
  152. "type": "Boolean"
  153. },
  154. "direction": {
  155. "description": "movable-view 的移动方向。",
  156. "type": "String",
  157. "options": [
  158. "all",
  159. "vertical",
  160. "horizontal",
  161. "none"
  162. ]
  163. },
  164. "inertia": {
  165. "description": "movable-view 是否带有惯性。",
  166. "type": "Boolean"
  167. },
  168. "out-of-bounds": {
  169. "description": "超过可移动区域后,movable-view 是否还可以移动。",
  170. "type": "Boolean"
  171. },
  172. "damping": {
  173. "description": "阻尼系数,用于控制 x 或 y 改变时的动画和过界回弹的动画,值越大移动越快。",
  174. "type": "Number"
  175. },
  176. "x": {
  177. "description": "定义 x 轴方向的偏移,如果 x 的值不在可移动范围内,会自动移动到可移动范围;改变 x 的值会触发动画。",
  178. "type": "String|Number"
  179. },
  180. "y": {
  181. "description": "定义 y 轴方向的偏移,如果 y 的值不在可移动范围内,会自动移动到可移动范围;改变 y 的值会触发动画。",
  182. "type": "String|Number"
  183. },
  184. "friction": {
  185. "description": "摩擦系数,用于控制惯性滑动的动画,值越大摩擦力越大,滑动越快停止;必须大于0,否则会被设置成默认值 2。",
  186. "type": "Number"
  187. },
  188. "scale": {
  189. "description": "是否支持双指缩放,默认缩放手势生效区域是在 movable-view 内。",
  190. "type": "Boolean"
  191. },
  192. "scale-min": {
  193. "description": "定义缩放倍数最小值,默认为 0.5。",
  194. "type": "Number"
  195. },
  196. "scale-max": {
  197. "description": "定义缩放倍数最大值,默认为 10。",
  198. "type": "Number"
  199. },
  200. "scale-value": {
  201. "description": "定义缩放倍数,取值范围为 0.5 - 10",
  202. "type": "Number"
  203. },
  204. "src": {
  205. "description": "webview 指向网页的链接",
  206. "type": "String|URIString"
  207. },
  208. "type": {
  209. "description": "开放数据类型",
  210. "type": "String"
  211. },
  212. "size": {
  213. "description": "按钮的大小",
  214. "type": "String",
  215. "options": [
  216. "default",
  217. "mini"
  218. ]
  219. },
  220. "selectable": {
  221. "description": "文本是否可选",
  222. "type": "Boolean"
  223. },
  224. "space": {
  225. "description": "显示连续空格",
  226. "type": "String",
  227. "options": [
  228. "ensp",
  229. "emsp",
  230. "nbsp"
  231. ]
  232. },
  233. "decode": {
  234. "description": "是否解码",
  235. "type": "Boolean"
  236. },
  237. "nodes": {
  238. "description": "节点列表",
  239. "type": "Array"
  240. },
  241. "percent": {
  242. "description": "百分比0~100",
  243. "type": "Number"
  244. },
  245. "show-info": {
  246. "description": "在进度条右侧显示百分比",
  247. "type": "Boolean"
  248. },
  249. "stroke-width": {
  250. "description": "进度条线的宽度,单位px",
  251. "type": "Number"
  252. },
  253. "color": {
  254. "description": "switch 的颜色,同 css 的 color",
  255. "type": "ColorString"
  256. },
  257. "activeColor": {
  258. "description": "radio已选择的颜色",
  259. "type": "ColorString"
  260. },
  261. "backgroundColor": {
  262. "description": "radio背景条的颜色",
  263. "type": "ColorString"
  264. },
  265. "active": {
  266. "description": "进度条从左往右的动画",
  267. "type": "Boolean"
  268. },
  269. "active-mode": {
  270. "description": "backwards: 动画从头播;forwards:动画从上次结束点接着播",
  271. "type": "String"
  272. },
  273. "plain": {
  274. "description": "按钮是否镂空,背景色透明",
  275. "type": "Boolean"
  276. },
  277. "loading": {
  278. "description": "名称前是否带 loading 图标",
  279. "type": "Boolean"
  280. },
  281. "form-type": {
  282. "description": "用于 form 组件,点击分别会触发 form 组件的 submit/reset 事件",
  283. "type": "String",
  284. "options": [
  285. "submit",
  286. "reset"
  287. ]
  288. },
  289. "open-type": {
  290. "description": "跳转方式",
  291. "type": "String",
  292. "options": [
  293. "navigate",
  294. "redirect",
  295. "switchTab",
  296. "reLaunch",
  297. "navigateBack"
  298. ]
  299. },
  300. "lang": {
  301. "description": "",
  302. "type": "String",
  303. "options": [
  304. "ts"
  305. ]
  306. },
  307. "session-from": {
  308. "description": "会话来源",
  309. "type": "String"
  310. },
  311. "send-message-title": {
  312. "description": "会话内消息卡片标题",
  313. "type": "String"
  314. },
  315. "send-message-path": {
  316. "description": "会话内消息卡片点击跳转应用路径",
  317. "type": "String"
  318. },
  319. "send-message-img": {
  320. "description": "会话内消息卡片图片",
  321. "type": "String"
  322. },
  323. "show-message-card": {
  324. "description": "显示会话内消息卡片",
  325. "type": "Boolean"
  326. },
  327. "app-parameter": {
  328. "description": "打开 APP 时,向 APP 传递的参数",
  329. "type": "String"
  330. },
  331. "value": {
  332. "description": "radio当前取值",
  333. "type": "Number"
  334. },
  335. "checked": {
  336. "description": "是否选中",
  337. "type": "Boolean"
  338. },
  339. "report-submit": {
  340. "description": "是否返回 formId 用于发送模板消息",
  341. "type": "Boolean"
  342. },
  343. "password": {
  344. "description": "是否是密码类型",
  345. "type": "Boolean"
  346. },
  347. "placeholder": {
  348. "description": "提示信息。",
  349. "type": "String"
  350. },
  351. "placeholder-style": {
  352. "description": "指定 placeholder 的样式",
  353. "type": "String"
  354. },
  355. "placeholder-class": {
  356. "description": "指定 placeholder 的样式类",
  357. "type": "String"
  358. },
  359. "maxlength": {
  360. "description": "最大输入长度,设置为 -1 的时候不限制最大长度",
  361. "type": "Number"
  362. },
  363. "cursor-spacing": {
  364. "description": "指定光标与键盘的距离,单位 px 。取 textarea 距离底部的距离和 cursor-spacing 指定的距离的最小值作为光标与键盘的距离",
  365. "type": "Number"
  366. },
  367. "auto-focus": {
  368. "description": "获取焦点",
  369. "type": "Boolean"
  370. },
  371. "focus": {
  372. "description": "获取焦点",
  373. "type": "Boolean"
  374. },
  375. "confirm-type": {
  376. "description": "设置键盘右下角按钮的文字",
  377. "type": "String",
  378. "options": [
  379. "send",
  380. "search",
  381. "next",
  382. "go",
  383. "done"
  384. ]
  385. },
  386. "confirm-hold": {
  387. "description": "点击键盘右下角按钮时是否保持键盘不收起",
  388. "type": "Boolean"
  389. },
  390. "cursor": {
  391. "description": "指定focus时的光标位置",
  392. "type": "Number"
  393. },
  394. "selection-start": {
  395. "description": " 光标起始位置,自动聚集时有效,需与selection-end搭配使用",
  396. "type": "Number"
  397. },
  398. "selection-end": {
  399. "description": " 光标结束位置,自动聚集时有效,需与selection-satrt搭配使用",
  400. "type": "Number"
  401. },
  402. "adjust-position": {
  403. "description": "键盘弹起时,是否自动上推页面",
  404. "type": "Boolean"
  405. },
  406. "for": {
  407. "description": "绑定控件的 id",
  408. "type": "String"
  409. },
  410. "mode": {
  411. "description": "SD(标清), HD(高清), FHD(超清), RTC(实时通话) ",
  412. "type": "String",
  413. "options": [
  414. "RTC",
  415. "SD",
  416. "HD",
  417. "FHD"
  418. ]
  419. },
  420. "indicator-style": {
  421. "description": "设置选择器中间选中框的样式",
  422. "type": "String"
  423. },
  424. "indicator-class": {
  425. "description": "设置选择器中间选中框的类名",
  426. "type": "String"
  427. },
  428. "mask-style": {
  429. "description": "设置蒙层的样式",
  430. "type": "String"
  431. },
  432. "mask-class": {
  433. "description": "设置蒙层的类名",
  434. "type": "String"
  435. },
  436. "range": {
  437. "description": "mode为 selector 或 multiSelector 时,range 有效",
  438. "type": "Array"
  439. },
  440. "range-key": {
  441. "description": "当 range 是一个 Object Array 时,通过 range-key 来指定 Object 中 key 的值作为选择器显示内容",
  442. "type": "String"
  443. },
  444. "start": {
  445. "description": "mode为time:表示有效时间范围的开始,字符串格式为\"hh:mm\";mode为date:表示有效日期范围的开始,字符串格式为\"YYYY-MM-DD\"",
  446. "type": "String"
  447. },
  448. "end": {
  449. "description": "mode为time:表示有效时间范围的结束,字符串格式为\"hh:mm\";mode为date:表示有效日期范围的结束,字符串格式为\"YYYY-MM-DD\"",
  450. "type": "String"
  451. },
  452. "fields": {
  453. "description": "有效值 year,month,day,表示选择器的粒度",
  454. "type": "String",
  455. "options": [
  456. "year",
  457. "month",
  458. "day"
  459. ]
  460. },
  461. "custom-item": {
  462. "description": "可为每一列的顶部添加一个自定义的项",
  463. "type": "String"
  464. },
  465. "min": {
  466. "description": " radio 最小值",
  467. "type": "Number"
  468. },
  469. "max": {
  470. "description": "radio最大值",
  471. "type": "Number"
  472. },
  473. "step": {
  474. "description": "radio步长,取值必须大于 0,并且可被(max - min)整除",
  475. "type": "Number"
  476. },
  477. "select-color": {
  478. "description": "radio已选择的颜色",
  479. "type": "ColorString"
  480. },
  481. "block-size": {
  482. "description": "radio滑块的大小,取值范围为 12 - 28",
  483. "type": "Number"
  484. },
  485. "block-color": {
  486. "description": "滑块颜色",
  487. "type": "ColorString"
  488. },
  489. "show-value": {
  490. "description": "是否显示当前 value",
  491. "type": "Boolean"
  492. },
  493. "auto-height": {
  494. "description": "是否自动增高,设置auto-height时,style.height不生效",
  495. "type": "Boolean"
  496. },
  497. "fixed": {
  498. "description": "如果 textarea 是在一个 position:fixed 的区域,需要显示指定属性 fixed 为 true",
  499. "type": "Boolean"
  500. },
  501. "show-confirm-bar": {
  502. "description": "是否显示键盘上方带有”完成“按钮那一栏",
  503. "type": "Boolean"
  504. },
  505. "target": {
  506. "description": "在哪个目标上发生跳转,默认当前应用",
  507. "type": "String"
  508. },
  509. "url": {
  510. "description": "推流地址。目前仅支持 flv, rtmp 格式",
  511. "type": "String"
  512. },
  513. "delta": {
  514. "description": "当 open-type 为 navigateBack 时有效,表示回退的层数",
  515. "type": "Number"
  516. },
  517. "app-id": {
  518. "description": "当target=\"miniProgram\"时有效,要打开的小程序 appId",
  519. "type": "String"
  520. },
  521. "path": {
  522. "description": "当target=\"miniProgram\"时有效,打开的页面路径,如果为空则打开首页",
  523. "type": "String"
  524. },
  525. "extra-data": {
  526. "description": "当target=\"miniProgram\"时有效,需要传递给目标应用的数据,目标应用可在 App.onLaunch(),App.onShow() 中获取到这份数据",
  527. "type": "Object"
  528. },
  529. "version": {
  530. "description": "当target=\"miniProgram\"时有效,要打开的小程序版本,有效值 develop(开发版),trial(体验版),release(正式版),仅在当前小程序为开发版或体验版时此参数有效;如果当前小程序是体验版或正式版,则打开的小程序必定是正式版",
  531. "type": "String"
  532. },
  533. "animation-type": {
  534. "description": "当 open-type=\"navigateTo\" 或 open-type=\"navigateBack\" 时有效,窗口的显示/关闭的动画类型。",
  535. "type": "String",
  536. "options": [
  537. "auto",
  538. "none",
  539. "slide-in-right",
  540. "slide-in-left",
  541. "slide-in-top",
  542. "slide-in-bottom",
  543. "fade-in",
  544. "zoom-out",
  545. "zoom-fade-out",
  546. "pop-in",
  547. "slide-out-right",
  548. "slide-out-left",
  549. "slide-out-top",
  550. "slide-out-bottom",
  551. "fade-out",
  552. "zoom-in",
  553. "zoom-fade-in",
  554. "pop-out"
  555. ]
  556. },
  557. "animation-duration": {
  558. "description": "当 open-type=\"navigateTo\" 或 open-type=\"navigateBack\" 时有效,窗口的显示/关闭动画的持续时间。",
  559. "type": "Number"
  560. },
  561. "poster": {
  562. "description": "视频封面的图片网络资源地址,如果 controls 属性值为 false 则设置 poster 无效",
  563. "type": "String"
  564. },
  565. "controls": {
  566. "description": "控件",
  567. "type": "Array"
  568. },
  569. "name": {
  570. "description": "默认控件上的音频名字,如果 controls 属性值为 false 则设置 name 无效",
  571. "type": "String"
  572. },
  573. "author": {
  574. "description": "默认控件上的作者名字,如果 controls 属性值为 false 则设置 author 无效",
  575. "type": "String"
  576. },
  577. "lazy-load": {
  578. "description": "图片懒加载。只针对page与scroll-view下的image有效",
  579. "type": "Boolean"
  580. },
  581. "initial-time": {
  582. "description": "指定视频初始播放位置",
  583. "type": "Number"
  584. },
  585. "danmu-list": {
  586. "description": "弹幕列表",
  587. "type": "Array"
  588. },
  589. "danmu-btn": {
  590. "description": "是否显示弹幕按钮,只在初始化时有效,不能动态变更",
  591. "type": "Boolean"
  592. },
  593. "enable-danmu": {
  594. "description": " 是否展示弹幕,只在初始化时有效,不能动态变更",
  595. "type": "Boolean"
  596. },
  597. "muted": {
  598. "description": "是否静音",
  599. "type": "Boolean"
  600. },
  601. "page-gesture": {
  602. "description": "在非全屏模式下,是否开启亮度与音量调节手势",
  603. "type": "Boolean"
  604. },
  605. "show-progress": {
  606. "description": " 若不设置,宽度大于240时才会显示",
  607. "type": "Boolean"
  608. },
  609. "show-fullscreen-btn": {
  610. "description": "是否显示全屏按钮",
  611. "type": "Boolean"
  612. },
  613. "show-play-btn": {
  614. "description": "是否显示视频底部控制栏的播放按钮",
  615. "type": "Boolean"
  616. },
  617. "show-center-play-btn": {
  618. "description": "是否显示视频中间的播放按钮",
  619. "type": "Boolean"
  620. },
  621. "enable-progress-gesture": {
  622. "description": "是否开启控制进度的手势",
  623. "type": "Boolean"
  624. },
  625. "objectFit": {
  626. "description": "当视频大小与 video 容器大小不一致时,视频的表现形式。",
  627. "type": "String",
  628. "options": [
  629. "contain",
  630. "fill",
  631. "cover"
  632. ]
  633. },
  634. "show-mute-btn": {
  635. "description": "是否显示静音按钮",
  636. "type": "Boolean"
  637. },
  638. "title": {
  639. "description": "视频的标题,全屏时在顶部展示",
  640. "type": "String"
  641. },
  642. "play-btn-position": {
  643. "description": "播放按钮的位置",
  644. "type": "String"
  645. },
  646. "enable-play-gesture": {
  647. "description": "是否开启播放手势,即双击切换播放、暂停",
  648. "type": "Boolean"
  649. },
  650. "auto-pause-if-navigate": {
  651. "description": "当跳转到其它小程序页面时,是否自动暂停本页面的视频",
  652. "type": "Boolean"
  653. },
  654. "auto-pause-if-open-native": {
  655. "description": "当跳转到其它微信原生页面时,是否自动暂停本页面的视频",
  656. "type": "Boolean"
  657. },
  658. "vslide-gesture": {
  659. "description": "在非全屏模式下,是否开启亮度与音量调节手势(同 page-gesture)",
  660. "type": "Boolean"
  661. },
  662. "vslide-gesture-in-fullscreen": {
  663. "description": "在全屏模式下,是否开启亮度与音量调节手势",
  664. "type": "Boolean"
  665. },
  666. "ad-unit-id": {
  667. "description": "视频前贴广告单元ID",
  668. "type": "String"
  669. },
  670. "poster-for-crawler": {
  671. "description": "用于给搜索等场景作为视频封面展示,建议使用无播放 icon 的视频封面图,只支持网络地址",
  672. "type": "String"
  673. },
  674. "flash": {
  675. "description": "前置或后置,值为front, back",
  676. "type": "String",
  677. "options": [
  678. "back",
  679. "front"
  680. ]
  681. },
  682. "device-position": {
  683. "description": "闪光灯,值为auto, on, off",
  684. "type": "String"
  685. },
  686. "orientation": {
  687. "description": "画面方向,可选值有 vertical,horizontal",
  688. "type": "String",
  689. "options": [
  690. "vertical",
  691. "horizontal"
  692. ]
  693. },
  694. "object-fit": {
  695. "description": "填充模式,可选值有 contain,fillCrop",
  696. "type": "String",
  697. "options": [
  698. "contain",
  699. "fillCrop"
  700. ]
  701. },
  702. "background-mute": {
  703. "description": "进入后台时是否静音",
  704. "type": "Boolean"
  705. },
  706. "min-cache": {
  707. "description": "最小缓冲区,单位s",
  708. "type": "String"
  709. },
  710. "max-cache": {
  711. "description": "最大缓冲区,单位s",
  712. "type": "String"
  713. },
  714. "autopush": {
  715. "description": "自动推流",
  716. "type": "Boolean"
  717. },
  718. "enable-camera": {
  719. "description": "开启摄像头",
  720. "type": "Boolean"
  721. },
  722. "min-bitrate": {
  723. "description": "最小码率",
  724. "type": "String"
  725. },
  726. "max-bitrate": {
  727. "description": "最大码率",
  728. "type": "String"
  729. },
  730. "beauty": {
  731. "description": "美颜",
  732. "type": "Number"
  733. },
  734. "aspect": {
  735. "description": "美白",
  736. "type": "Number"
  737. },
  738. "waiting-image": {
  739. "description": "进入后台时推流的等待画面",
  740. "type": "String"
  741. },
  742. "waiting-image-md5": {
  743. "description": "等待画面资源的MD5值",
  744. "type": "String"
  745. },
  746. "longitude": {
  747. "description": "中心经度",
  748. "type": "Number"
  749. },
  750. "latitude": {
  751. "description": "中心纬度",
  752. "type": "Number"
  753. },
  754. "markers": {
  755. "description": "标记点",
  756. "type": "Array"
  757. },
  758. "covers": {
  759. "description": "即将移除,请使用 markers",
  760. "type": "Array"
  761. },
  762. "polyline": {
  763. "description": "路线",
  764. "type": "Array"
  765. },
  766. "circles": {
  767. "description": "圆",
  768. "type": "Array"
  769. },
  770. "include-points": {
  771. "description": "缩放视野以包含所有给定的坐标点",
  772. "type": "Array"
  773. },
  774. "show-location": {
  775. "description": "显示带有方向的当前定位点",
  776. "type": "Boolean"
  777. },
  778. "canvas-id": {
  779. "description": "canvas 组件的唯一标识符",
  780. "type": "String"
  781. },
  782. "disable-scroll": {
  783. "description": "当在 canvas 中移动时且有绑定手势事件时,禁止屏幕滚动以及下拉刷新",
  784. "type": "Boolean"
  785. },
  786. "open-gid": {
  787. "description": "当 type=\"groupName\" 时生效, 群id",
  788. "type": "String"
  789. },
  790. "webview-styles": {
  791. "description": "webview 的样式",
  792. "type": "Object|Boolean"
  793. },
  794. "unit-id": {
  795. "description": "广告单元id,可在小程序管理后台的流量主模块新建",
  796. "type": "String"
  797. },
  798. "scoped": {
  799. "description": "",
  800. "type": "String"
  801. },
  802. "animation": {
  803. "description": "是否使用动画,默认为 true。",
  804. "type": "Boolean"
  805. },
  806. "read-only": {
  807. "description": "设置编辑器为只读。",
  808. "type": "Boolean"
  809. },
  810. "show-img-size": {
  811. "description": "点击图片时显示图片大小控件。",
  812. "type": "Boolean"
  813. },
  814. "show-img-toolbar": {
  815. "description": "点击图片时显示工具栏控件。",
  816. "type": "Boolean"
  817. },
  818. "show-img-resize": {
  819. "description": "点击图片时显示修改尺寸控件。",
  820. "type": "String"
  821. }
  822. }