{
  "q_template": {
    "body": [
      "<template>",
      "\t<div>",
      "\t\t$1",
      "\t</div>",
      "</template>"
    ],
    "triggerAssist": false,
    "prefix": "q_template"
  },
  "q_template_root": {
    "body": [
      "<template>",
      "\t<div>",
      "\t\t$1",
      "\t</div>",
      "</template>",
      "<style>",
      "\t",
      "</style>",
      "<script>",
      "\texport default {",
      "\t\tdata: {",
      "\t\t\t",
      "\t\t},",
      "\t\tonInit () {",
      "\t\t\t",
      "\t\t}",
      "\t}",
      "</script>"
    ],
    "triggerAssist": false,
    "prefix": "q_template_root"
  },
  "q_style": {
    "body": [
      "<style>",
      "\t$1",
      "</style>"
    ],
    "triggerAssist": false,
    "prefix": "q_style"
  },
  "q_script": {
    "body": [
      "<script>",
      "\texport default {",
      "\t\tdata: {",
      "\t\t\t",
      "\t\t},",
      "\t\tonInit () {",
      "\t\t\t",
      "\t\t}",
      "\t}",
      "</script>"
    ],
    "triggerAssist": false,
    "prefix": "q_script"
  },
  "q_tabs": {
    "body": [
      "<tabs>",
      "\t<tab-content>",
      "\t\t<div><text>tabContent1$1</text></div>",
      "\t\t<div><text>tabContent2</text></div>",
      "\t\t<div><text>tabContent3</text></div>",
      "\t</tab-content>",
      "\t<tab-bar>",
      "\t\t<text>tabBar1</text>",
      "\t\t<text>tabBar2</text>",
      "\t\t<text>tabBar3</text>",
      "\t</tab-bar>",
      "</tabs>"
    ],
    "triggerAssist": false,
    "prefix": "q_tabs"
  },
  "q_tabs-bar": {
    "body": [
      "<tab-bar>",
      "\t$1",
      "</tab-bar>"
    ],
    "triggerAssist": false,
    "prefix": "q_tabs"
  },
  "q_tabs-content": {
    "body": [
      "<tab-content>",
      "\t$1",
      "</tab-content>"
    ],
    "triggerAssist": false,
    "prefix": "q_tabs-content"
  },
  "q_list": {
    "body": [
      "<list onscrollbottom=\"scrollbottom\" id=\"list\">",
      "\t<!-- 列表元素，属性type值相同时，需要确保渲染后的视图布局也完全相同 -->",
      "\t<list-item type=\"listItem\" for=\"{{listData$1}}\">",
      "\t\t<text>{{\\$item}}--{{\\$idx}}</text>",
      "\t</list-item>",
      "\t<!-- 加载更多 -->",
      "\t<list-item type=\"loadMore\" class=\"load-more\" if=\"{{loadMore}}\">",
      "\t\t<progress type=\"circular\"></progress>",
      "\t\t<text>加载更多</text>",
      "\t</list-item>",
      "</list>"
    ],
    "triggerAssist": false,
    "prefix": "q_list"
  },
  "q_list-item": {
    "body": [
      "<list-item type=\"$1\">",
      "\t$2",
      "</list-item>"
    ],
    "triggerAssist": false,
    "prefix": "q_list-item"
  },
  "q_div": {
    "body": [
      "<div>",
      "\t$1",
      "</div>"
    ],
    "triggerAssist": false,
    "prefix": "q_div"
  },
  "q_image": {
    "body": [
      "<image src=\"$1\"></image>"
    ],
    "triggerAssist": false,
    "prefix": "q_image"
  },
  "q_input": {
    "body": [
      "<input class=\"input\" type=\"text$1\" placeholder=\"请输入text\" onchange=\"change\"></input>"
    ],
    "triggerAssist": false,
    "prefix": "q_input"
  },
  "q_label": {
    "body": [
      "<!-- label为input、textarea组件定义标注 -->",
      "<label target=\"inputID$1\">input:</label>",
      "<input type=\"text\" class=\"class1\" id=\"inputID\" placeholder=\"请输入\">"
    ],
    "triggerAssist": false,
    "prefix": "q_label"
  },
  "q_picker": {
    "body": [
      "<picker class=\"picker\" type=\"time$1\" onchange=\"change\"></picker>"
    ],
    "triggerAssist": false,
    "prefix": "q_picker"
  },
  "q_progress": {
    "body": [
      "<progress class=\"progerss\" type=\"horizontal$1\" percent=\"10\"></progress>"
    ],
    "triggerAssist": false,
    "prefix": "q_progress"
  },
  "q_refresh": {
    "body": [
      "<refresh class=\"refresh\" onrefresh=\"refresh\" refreshing=\"{{isRefreshing}}\">",
      "\t$1<div class=\"page-title-wrap\">",
      "\t\t<text class=\"page-title\">{{componentName}}</text>",
      "\t</div>",
      "\t<div class=\"item-container\">",
      "\t\t<input class=\"btn\" type=\"button\" value=\"停止刷新\" onclick=\"stopRefresh\">",
      "\t</div>",
      "</refresh>"
    ],
    "triggerAssist": false,
    "prefix": "q_refresh"
  },
  "q_slider": {
    "body": [
      "<slider class=\"slider\" min=\"0$1\" max=\"100\" value=\"{{currentValue}}\" onchange=\"getValue('currentValue')\"></slider>"
    ],
    "triggerAssist": false,
    "prefix": "q_slider"
  },
  "q_a": {
    "body": [
      "<a href=\"/page?param=value$1\">"
    ],
    "triggerAssist": false,
    "prefix": "q_a"
  },
  "q_stack": {
    "body": [
      "<stack class=\"stack\">",
      "\t$1",
      "</stack>"
    ],
    "triggerAssist": false,
    "prefix": "q_stack"
  },
  "q_swiper": {
    "body": [
      "<swiper class=\"swiper\" autoplay=\"{{autoPlay$1}}\" interval=\"{{sliderValue}}\" indicator=\"{{indicator}}\">",
      "\t<text class=\"item\">A</text>",
      "\t<text class=\"item\">B</text>",
      "\t<text class=\"item\">C</text>",
      "</swiper>"
    ],
    "triggerAssist": false,
    "prefix": "q_swiper"
  },
  "q_switch": {
    "body": [
      "<switch checked=\"true\" class=\"switch\"></switch>"
    ],
    "triggerAssist": false,
    "prefix": "q_switch"
  },
  "q_text": {
    "body": [
      "<text>$1</text>"
    ],
    "triggerAssist": false,
    "prefix": "q_text"
  },
  "q_textarea": {
    "body": [
      "<textarea placeholder=\"$2\" class=\"textarea\">$1</textarea>"
    ],
    "triggerAssist": false,
    "prefix": "q_textarea"
  },
  "q_video": {
    "body": [
      "<video autoplay=\"true\"  onprepared=\"\" onstart=\"\"  onpause=\"\" onfinish=\"\" onerror=\"\" onseeking=\"\" onseeked=\"\" ontimeupdate=\"\" src=\"$1\"></video>"
    ],
    "triggerAssist": false,
    "prefix": "q_video"
  },
  "q_web": {
    "body": [
      "<web src=\"$1\" id=\"web\"></web>"
    ],
    "triggerAssist": false,
    "prefix": "q_web"
  },
  "q_import": {
    "body": [
      "<import name=\"$1\" src=\"$2\"></import>"
    ],
    "triggerAssist": false,
    "prefix": "q_import"
  },
  "q_block": {
    "body": [
      "<block for=\"$data\">",
      "\t<text>{{\\$item.name}}</text>",
      "</block>"
    ],
    "triggerAssist": false,
    "prefix": "q_block"
  }
}
