为 sublime text 2&3 准备的微信应用号/小程序 snippet,方便大家...
为 sublime text 2&3 准备的微信应用号/小程序 snippet,方便大家使用<p></p><div><br></div><div><h1 style="box-sizing: border-box; margin-bottom: 16px; line-height: 1.25; padding-bottom: 0.3em; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(238, 238, 238); color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';">weapp-snippet-for-sublime-text-2-3</h1><h2 style="box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; line-height: 1.25; padding-bottom: 0.3em; border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(238, 238, 238); color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';"><a id="user-content-为-sublime-text-23-准备的微信应用号小程序-snippet方便大家使用" class="anchor" href="https://github.com/Abbotton/weapp-snippet-for-sublime-text-2-3#为-sublime-text-23-准备的微信应用号小程序-snippet方便大家使用" aria-hidden="true" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1; background-color: transparent;"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>为 sublime text 2&3 准备的微信应用号/小程序 snippet,方便大家使用</h2><h3 style="box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';"><a id="user-content-简介" class="anchor" href="https://github.com/Abbotton/weapp-snippet-for-sublime-text-2-3#简介" aria-hidden="true" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1; background-color: transparent;"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>简介</h3><p style="box-sizing: border-box; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 24px;">刚接触微信小程序开发,尝试着使用了一下微信开发调试工具 v0.9版的代码编辑功能,感觉好鸡肋有木有!?于是果断回到 ST.但是,ST 不认微信"发明"出来的这个WXML,这个WXML 可以说是 html 和 xml 的变异结合体.</p><p style="box-sizing: border-box; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 24px;">不过还好ST有自定义 snippet 的功能,于是我就动手把 WXML 里的组件和部分其他内容都整成了 snippet 分享出来方便大家使用,提升大家的开发效率.</p><p style="box-sizing: border-box; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 24px;">废话不多说,开撸~</p><h3 style="box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';"><a id="user-content-安装部署" class="anchor" href="https://github.com/Abbotton/weapp-snippet-for-sublime-text-2-3#安装部署" aria-hidden="true" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1; background-color: transparent;"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>安装部署</h3><p style="box-sizing: border-box; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 24px;">将下载好的代码片段放入 Sublime text安装目录/Packages/User 目录中即可.</p><h3 style="box-sizing: border-box; margin-top: 24px; margin-bottom: 16px; font-size: 1.25em; line-height: 1.25; color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';"><a id="user-content-snippet-列表" class="anchor" href="https://github.com/Abbotton/weapp-snippet-for-sublime-text-2-3#snippet-列表" aria-hidden="true" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1; background-color: transparent;"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>snippet 列表</h3><p style="box-sizing: border-box; margin-bottom: 16px; color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 24px;">为了防止和其他 snippet 冲突,本 snippet 中的所有触发命令都以'w'开头.</p><table style="box-sizing: border-box; border-spacing: 0px; margin-bottom: 16px; display: block; width: 888px; overflow: auto; color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 24px;"><thead style="box-sizing: border-box;"><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><th style="box-sizing: border-box; padding: 6px 13px; font-weight: bold; border: 1px solid rgb(221, 221, 221);">命令</th><th align="right" style="box-sizing: border-box; padding: 6px 13px; font-weight: bold; border: 1px solid rgb(221, 221, 221);">对应组件或命令</th></tr></thead><tbody style="box-sizing: border-box;"><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wapp</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/framework/app-service/app.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">注册小程序</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wblockif</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/framework/view/wxml/conditional.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">block wx:if</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wbutton</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/button.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">button</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wcheckbox</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/checkbox.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">checkbox</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wcheckboxgroup</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/checkbox.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">checkbox-group</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wactionsheet</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/action-sheet.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">action-sheet</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wcanvas</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/canvas.html#canvas" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">canvas</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wimage</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/image.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">image</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wtext</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/text.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">text</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wview</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/view.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">view</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wviewbind</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/framework/view/wxml/event.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">view 事件</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wmap</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/map.html#map" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">map</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wmodal</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/modal.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">modal</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wnavigator</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/navigator.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">navigator</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wexport</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/framework/app-service/module.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">模块化</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wfor</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/view/wxml/data.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">for</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wform</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/form.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">form</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wradio</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/radio.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">radio</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wradiogroup</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/radio.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">radio-group</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wslider</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/slider.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">slider</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wicon</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/icon.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">icon</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">winput</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/input.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">input</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">winfutautofocus</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/input.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">input</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wtoast</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/toast.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">toast</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wvideo</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/video.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">video</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">winputfocus</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/input.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">input</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wlabel</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/label.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">label</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wloading</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/loading.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">loading</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wpage</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/framework/app-service/page.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">Page()</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wprogress</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/progress.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">progress</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wscrollview</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/scroll-view.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">scroll-view</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wswitch</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/switch.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">switch</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wtemplate</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/framework/view/wxml/template.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">template</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wswiper</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/swiper.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">swiper</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wviewelif</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/view.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">view</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204); background-color: rgb(248, 248, 248);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wviewelse</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/view.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">view</a></td></tr><tr style="box-sizing: border-box; border-top-width: 1px; border-top-style: solid; border-top-color: rgb(204, 204, 204);"><td style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);">wviewif</td><td align="right" style="box-sizing: border-box; padding: 6px 13px; border-color: rgb(221, 221, 221);"><a href="https://mp.weixin.qq.com/debug/wxadoc/dev/component/view.html" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; background-color: transparent;">view</a></td></tr></tbody></table><h3 style="box-sizing: border-box; margin-top: 24px; font-size: 1.25em; line-height: 1.25; color: rgb(51, 51, 51); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';"><a id="user-content-enjoy" class="anchor" href="https://github.com/Abbotton/weapp-snippet-for-sublime-text-2-3#enjoy" aria-hidden="true" style="box-sizing: border-box; color: rgb(64, 120, 192); text-decoration: none; float: left; padding-right: 4px; margin-left: -20px; line-height: 1; background-color: transparent;"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path d="M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z"></path></svg></a>enjoy</h3></div>
页:
[1]