{
    "view": {
        "body": [
            "<view>$0</view>"
        ],
        "prefix": "view"
    },
    "temp": {
        "body": [
            "<template>",
            "$0",
            "</template>"
        ],
        "prefix": "templ"
    },
    "temps": {
        "body": [
            "<template #default=\"scope\">",
            "$0",
            "</template>"
        ],
        "prefix": "temps"
    },
    "#ifndef": {
        "body": [
            "<!-- #ifndef ${1|APP-PLUS,MP,MP-ALIPAY,MP-BAIDU,MP-WEIXIN,MP-QQ,H5|} -->",
            "$0",
            "<!-- #endif -->"
        ],
        "prefix": "ifndef"
    },
    "Vue Base": {
        "body": [
            "<template>",
            "\t<${1:div}>",
            "",
            "\t</${1:div}>",
            "</template>",
            "",
            "<script>",
            "\texport default {",
            "\t\t${0}",
            "\t}",
            "</script>",
            "",
            "<style scoped>",
            "",
            "</style>"
        ],
        "prefix": "vbase",
    },
    "Vue Class Binding": {
        "body": [
            "<${1|div|} :class=\"{ ${2:className}: ${3:data} }\"><,${1:div}>"
        ],
        "prefix": "vclass",
    },
    "Vue Class Binding Object": {
        "body": [
            "<${1|div|} :class=\"[${2:classNameA}, ${3:classNameB}]\"><,${1:div}>"
        ],
        "prefix": "vclass-obj",
    },
    "Vue Component with Props Binding": {
        "body": [
            "<${1|component|} :${1:propName}=\"${0}\"><,${1:component}>"
        ],
        "prefix": "vel-props",
    },
    "Vue Image Source Binding": {
        "body": [
            "<img :src=\"'/path/to/images/' + ${1:fileName}\" alt=\"${2:altText}\"/>"
        ],
        "prefix": "vsrc",
    },
    "Vue Multiple Conditional Class Bindings": {
        "body": [
            "<${1|div|} :class=\"[${2:classNameA}, {${3:classNameB} : ${4:condition}}]\"><,${1:div}>"
        ],
        "description": "vue multiple conditional class bindings",
        "prefix": "vclass-obj-mult"
    },
    "Vue Nuxt Routing Link": {
        "body": [
            "<nuxt-link to=\"/${1:page}\">${1:page}</nuxt-link>"
        ],
        "description": "nuxt routing link",
        "prefix": "vnuxtl"
    },
    "Vue Style Binding": {
        "body": [
            "<${1|div|} :style=\"{ fontSize: ${2:data} + 'px' }\"><,${1:div}>"
        ],
        "description": "vue inline style binding",
        "prefix": "vstyle"
    },
    "Vue Style Binding Object": {
        "body": [
            "<${1|div|} :style=\"[${2:styleObjectA}, ${3:styleObjectB]}\"><,${1:div}>"
        ],
        "description": "vue inline style binding, objects",
        "prefix": "vstyle-obj"
    },
    "Vue Transition Component with JavaScript Hooks": {
        "body": [
            "<transition",
            "\tmode=\"out-in\"",
            "\t@before-enter=\"beforeEnter\"",
            "\t@enter=\"enter\"",
            "",
            "\t@before-leave=\"beforeLeave\"",
            "\t@leave=\"leave\"",
            "\t:css=\"false\">",
            "",
            "</transition>"
        ],
        "description": "transition component js hooks",
        "prefix": "vanim"
    },
    "Vue v-for": {
        "body": [
            "<${1:div} v-for=\"${2:item} in ${2:item}s\" :key=\"${2:item}.id\">",
            "\t{{ ${2:item} }}",
            "</${1:div}>"
        ],
        "description": "vfor statement",
        "prefix": "vfor"
    },
    "Vue v-model Directive": {
        "body": [
            "<input v-model=\"${1:data}\" type=\"text\" />"
        ],
        "description": "v-model directive",
        "prefix": "vmodel"
    },
    "Vue v-model Number Directive": {
        "body": [
            "<input v-model.number=\"${1:numData}\" type=\"number\" step=\"1\" />"
        ],
        "description": "v-model directive number input",
        "prefix": "vmodel-num"
    },
    "Vue v-on Shortcut Directive": {
        "body": [
            "@click=\"${1:handler}(${2:arg}, $event)\""
        ],
        "description": "v-on click handler with arguments",
        "prefix": "von"
    },
    "uAccordion": {
        "body": [
            "<view class=\"uni-list\">",
            "\t<view class=\"uni-list-cell uni-collapse\" v-for=\"(item,index) in list$1\" :key=\"index\">",
            "\t\t<view class=\"uni-list-cell-navigate uni-navigate-bottom\" :class=\"item.show ? 'uni-active' : ''\" @click=\"trigerCollapse$0(index)\">",
            "\t\t\t折叠面板{{index}}",
            "\t\t</view>",
            "\t\t<view class=\"uni-collapse-content\" :class=\"item.show ? 'uni-active' : ''\">",
            "\t\t\t<view class=\"page-pd\">",
            "\t\t\t\t<view class=\"uni-h1\">hello uni-app</view>",
            "\t\t\t\t<view class=\"uni-h2\">hello uni-app</view>",
            "\t\t\t\t<view class=\"uni-h3\">hello uni-app</view>",
            "\t\t\t</view>",
            "\t\t</view>",
            "\t</view>",
            "</view>"
        ],
        "prefix": "uaccordion"
    },
    "uAudio": {
        "body": [
            "<audio :src=\"$1\" :poster=\"$0\" :name=\"$2\" :author=\"$3\" :action=\"$4\" controls></audio>"
        ],
        "prefix": "uaudio"
    },
    "uBadge": {
        "body": [
            "<uni-badge text=\"$1\" type=\"$2\"></uni-badge>"
        ],
        "prefix": "ubadge"
    },
    "uButton": {
        "body": [
            "<button type=\"primary\">$1</button>"
        ],
        "prefix": "ubutton"
    },
    "uCalendar": {
        "body": [
            "<uni-calendar lunar=\"\" @change=\"$1\" @to-click=\"$2\"></uni-calendar>"
        ],
        "prefix": "ucalendar"
    },
    "uCard": {
        "body": [
            "<uni-card title=\"标题文字\" thumbnail=\"$1\" extra=\"额外信息$2\" note=\"Tips$3\">",
            "\t内容主体，可自定义内容及样式$4",
            "</uni-card>"
        ],
        "prefix": "ucard"
    },
    "uCheckbox": {
        "body": [
            "<label class=\"checkbox\">",
            "\t<checkbox value=\"$1\" checked= />$0",
            "</label>"
        ],
        "prefix": "ucheckbox"
    },
    "uCollapse": {
        "body": [
            "<uni-collapse @change=\"$1\">",
            "\t<uni-collapse-item title=\"$2\">",
            "\t\t内容$3",
            "\t</uni-collapse-item>",
            "</uni-collapse>"
        ],
        "prefix": "uCollapse"
    },
    "uCountDown": {
        "body": [
            "<uni-countdown font-color=\"$1\" bgr-color=\"$2\" timer=\"$3\"></uni-countdown>"
        ],
        "prefix": "ucountdown"
    },
    "uDrawer": {
        "body": [
            "<uni-drawer :visible=\"$1\">",
            "\t<view style=\"padding:30upx;\">",
            "\t\t$2",
            "\t</view>",
            "</uni-drawer>"
        ],
        "prefix": "uDrawer"
    },
    "uEditor": {
        "body": [
            "<editor placeholder=\"$1\"></editor>"
        ],
        "prefix": "uEditor"
    },
    "uForm": {
        "body": [
            "<form @submit=\"formSubmit\" @reset=\"formReset\">",
            "\t<view class=\"section section_gap\">",
            "\t\t<view class=\"section__title\">switch$1</view>",
            "\t\t<switch name=\"switch\" />",
            "\t</view>",
            "\t<view class=\"section section_gap\">",
            "\t\t<view class=\"section__title\">slider</view>",
            "\t\t<slider name=\"slider\" show-value></slider>",
            "\t</view>",
            "\t<view class=\"section\">",
            "\t\t<view class=\"section__title\">input</view>",
            "\t\t<input name=\"input\" placeholder=\"please input here\" />",
            "\t</view>",
            "\t<view class=\"section section_gap\">",
            "\t\t<view class=\"section__title\">radio</view>",
            "\t\t<radio-group name=\"radio-group\">",
            "\t\t<label>",
            "\t\t\t<radio value=\"radio1\" />radio1</label>",
            "\t\t<label>",
            "\t\t\t<radio value=\"radio2\" />radio2</label>",
            "\t\t</radio-group>",
            "\t</view>",
            "\t<view class=\"section section_gap\">",
            "\t\t<view class=\"section__title\">checkbox</view>",
            "\t\t<checkbox-group name=\"checkbox\">",
            "\t\t\t<label>",
            "\t\t\t\t<checkbox value=\"checkbox1\" />checkbox1</label>",
            "\t\t\t<label>",
            "\t\t\t\t<checkbox value=\"checkbox2\" />checkbox2</label>",
            "\t\t</checkbox-group>",
            "\t</view>",
            "\t<view class=\"btn-area\">",
            "\t\t<button formType=\"submit\">Submit</button>",
            "\t\t<button formType=\"reset\">Reset</button>",
            "\t</view>",
            "</form>"
        ],
        "prefix": "uform"
    },
    "uGrid": {
        "body": [
            "<uni-grid :data=\"$1\"></uni-grid>"
        ],
        "prefix": "ugrid"
    },
    "uIcon": {
        "body": [
            "<uni-icon type=\"$1\"></uni-icon>"
        ],
        "prefix": "uicon"
    },
    "uImage": {
        "body": [
            "<image src=\"$1\" mode=\"$2\">$0</image>"
        ],
        "prefix": "uimage"
    },
    "uInput": {
        "body": [
            "<input type=\"text$1\" value=\"$0\" />"
        ],
        "prefix": "uinput"
    },
    "uList": {
        "body": [
            "<uni-list>",
            "\t<uni-list-item title=\"$1\" note=\"$2\"></uni-list-item>",
            "\t<uni-list-item title=\"$3\" note=\"$4\"></uni-list-item>",
            "</uni-list>"
        ],
        "prefix": "ulist"
    },
    "uListMedia": {
        "body": [
            "<view class=\"uni-list\">",
            "\t<view class=\"uni-list-cell\" hover-class=\"uni-list-cell-hover\" v-for=\"(item,index) in list$1\" :key=\"index\">",
            "\t\t<view class=\"uni-media-list\">",
            "\t\t\t<image class=\"uni-media-list-logo\" :src=\"item.img$2\"></image>",
            "\t\t\t<view class=\"uni-media-list-body\">",
            "\t\t\t\t<view class=\"uni-media-list-text-top\">{{item.title$3}}</view>",
            "\t\t\t\t<view class=\"uni-media-list-text-bottom uni-ellipsis\">{{item.content$4}}</view>",
            "\t\t\t</view>",
            "\t\t</view>",
            "\t</view>",
            "</view>"
        ],
        "prefix": "ulistmedia"
    },
    "uLoadMore": {
        "body": [
            "<uni-load-more :loadingType=\"$1\" :contentText=\"$2\"></uni-load-more>"
        ],
        "prefix": "uloadmore"
    },
    "uMap": {
        "body": [
            "<map :latitude=\"$1\" :longitude=\"$0\"></map>"
        ],
        "prefix": "umap"
    },
    "uNavBar": {
        "body": [
            "<uni-nav-bar left-icon=\"back\" left-text=\"返回\" right-text=\"菜单\" title=\"标题$1\"></uni-nav-bar>"
        ],
        "prefix": "unavbar"
    },
    "uNavigator": {
        "body": [
            "<navigator url=\"$1\">$0</navigator>"
        ],
        "prefix": "unavigator"
    },
    "uNoticeBar": {
        "body": [
            "<uni-notice-bar single=\"$1\" text=\"$2\"></uni-notice-bar>"
        ],
        "prefix": "uNoticeBar"
    },
    "uNumberBox": {
        "body": [
            "<uni-number-box @change=\"$1\"></uni-number-box>"
        ],
        "prefix": "unumberbox"
    },
    "uPagination": {
        "body": [
            "<uni-pagination title=\"$1\" show-icon=\"$2\" total=\"$3\" current=\"$4\"></uni-pagination>"
        ],
        "prefix": "uPagination"
    },
    "uPicker": {
        "body": [
            "<picker mode=\"$1\" :range=\"$2\" @change=\"$3\">",
            "\t<view>picker组件</view>",
            "</picker>"
        ],
        "prefix": "upicker"
    },
    "uPickerView": {
        "body": [
            "<picker-view indicator-style=\"height: 50px;\" :value=\"value$1\" @change=\"bindChange\">",
            "\t<picker-view-column>",
            "\t\t$0",
            "\t</picker-view-column>",
            "\t<picker-view-column>",
            "\t\t$2",
            "\t</picker-view-column>",
            "\t<picker-view-column>",
            "\t\t",
            "\t</picker-view-column>",
            "</picker-view>"
        ],
        "prefix": "upickerview"
    },
    "uPopup": {
        "body": [
            "<uni-popup msg=\"$1\" :show=\"true$2\" type=\"middle$3\"></uni-popup>"
        ],
        "prefix": "upopup"
    },
    "uProductList": {
        "body": [
            "<view class=\"uni-product-list\">",
            "\t<view class=\"uni-product\" v-for=\"(product,index) in productList$1\" :key=\"index\">",
            "\t\t<view class=\"image-view\">",
            "\t\t\t<image v-if=\"renderImage\" class=\"uni-product-image\" :src=\"product.image\"></image>",
            "\t\t</view>",
            "\t\t<view class=\"uni-product-title\">{{product.title}}</view>",
            "\t\t<view class=\"uni-product-price\">",
            "\t\t\t<text class=\"uni-product-price-favour\">￥{{product.originalPrice}}</text>",
            "\t\t\t<text class=\"uni-product-price-original\">￥{{product.favourPrice}}</text>",
            "\t\t\t<text class=\"uni-product-tip\">{{product.tip}}</text>",
            "\t\t</view>",
            "\t</view>",
            "</view>"
        ],
        "prefix": "uproductlist"
    },
    "uProgress": {
        "body": [
            " <progress percent=\"$1\" show-info$0 />"
        ],
        "prefix": "uprogress"
    },
    "uRadio": {
        "body": [
            "<label class=\"radio\">",
            "\t<radio value=\"$1\" checked= />$0",
            "</label>"
        ],
        "prefix": "uradio"
    },
    "uRate": {
        "body": [
            "<uni-rate value=\"$1\"></uni-rate>"
        ],
        "prefix": "uRate"
    },
    "uRichText": {
        "body": [
            "<rich-text :nodes=\"$1\"></rich-text>"
        ],
        "prefix": "urichtext"
    },
    "uScrollView": {
        "body": [
            "<scroll-view scroll-y$1>",
            "\t<view>$0</view>",
            "\t<view></view>",
            "\t<view></view>",
            "\t<view></view>",
            "</scroll-view>"
        ],
        "prefix": "uscrollview"
    },
    "uSegmentedControl": {
        "body": [
            "<uni-segmented-control :current=\"current$1\" :values=\"$0\" @clickItem=\"$2\"></uni-segmented-control>",
            "<view class=\"content\">",
            "\t<view v-show=\"current === 0\">",
            "\t\t选项卡1的内容",
            "\t</view>",
            "\t<view v-show=\"current === 1\">",
            "\t\t选项卡2的内容",
            "\t</view>",
            "\t<view v-show=\"current === 2\">",
            "\t\t选项卡3的内容",
            "\t</view>",
            "</view>"
        ],
        "prefix": "usegmentedcontrol"
    },
    "uSlider": {
        "body": [
            "<slider @change=\"$1\" show-value$0/>"
        ],
        "prefix": "uslider"
    },
    "uSteps": {
        "body": [
            "<uni-steps :options=\"$1\" :active=\"0$2\"></uni-steps>"
        ],
        "prefix": "usteps"
    },
    "uSwipeAction": {
        "body": [
            "<uni-swipe-action :options=\"$1\">",
            "\t$2",
            "</uni-swipe-action>"
        ],
        "prefix": "uSwipeAction"
    },
    "uSwiper": {
        "body": [
            "<swiper :indicator-dots=\"true\" :autoplay=\"true\" :interval=\"3000\" :duration=\"1000\">",
            "\t<swiper-item>",
            "\t\t<view class=\"swiper-item\">$1</view>",
            "\t</swiper-item>",
            "\t<swiper-item>",
            "\t\t<view class=\"swiper-item\">$2</view>",
            "\t</swiper-item>",
            "\t<swiper-item>",
            "\t\t<view class=\"swiper-item\">$0</view>",
            "\t</swiper-item>",
            "</swiper>"
        ],
        "prefix": "uswiper"
    },
    "uSwipermsg": {
        "body": [
            "<view class=\"uni-swiper-msg\">",
            "\t<view class=\"uni-swiper-msg-icon\">",
            "\t\t<image src=\"$1\" mode=\"widthFix\"></image>",
            "\t</view>",
            "\t<swiper vertical=\"true\" autoplay=\"true\" circular=\"true\" interval=\"3000\">",
            "\t\t<swiper-item>",
            "\t\t\t<navigator>消息1</navigator>",
            "\t\t</swiper-item>",
            "\t\t<swiper-item>",
            "\t\t\t<navigator>消息2</navigator>",
            "\t\t</swiper-item>",
            "\t\t<swiper-item>",
            "\t\t\t<navigator>消息3</navigator>",
            "\t\t</swiper-item>",
            "\t</swiper>",
            "</view>"
        ],
        "prefix": "uswipermsg"
    },
    "uSwitch": {
        "body": [
            "<switch checked @change=\"$1\" />"
        ],
        "prefix": "uswitch"
    },
    "uTag": {
        "body": [
            "<uni-tag text=\"$1\" type=\"$2\"></uni-tag>"
        ],
        "prefix": "utag"
    },
    "uTemplate": {
        "body": [
            "<template>",
            "\t<view>$0</view>",
            "</template>"
        ],
        "prefix": "utemplate"
    },
    "uText": {
        "body": [
            "<text>$0</text>"
        ],
        "prefix": "utext"
    },
    "uTextarea": {
        "body": [
            "<textarea value=\"$1\" placeholder=\"$0\" />"
        ],
        "prefix": "utextarea"
    },
    "uTimeline": {
        "body": [
            "<view class=\"uni-timeline\">",
            "\t<view class=\"uni-timeline-item uni-timeline-first-item\">",
            "\t\t<view class=\"uni-timeline-item-keynode\">日期1$1</view>",
            "\t\t<view class=\"uni-timeline-item-divider\"></view>",
            "\t\t<view class=\"uni-timeline-item-content\">事件1</view>",
            "\t</view>",
            "\t<view class=\"uni-timeline-item\">",
            "\t\t<view class=\"uni-timeline-item-keynode\">日期2</view>",
            "\t\t<view class=\"uni-timeline-item-divider\"></view>",
            "\t\t<view class=\"uni-timeline-item-content\">事件2</view>",
            "\t</view>",
            "\t<view class=\"uni-timeline-item uni-timeline-last-item\">",
            "\t\t<view class=\"uni-timeline-item-keynode\">日期3</view>",
            "\t\t<view class=\"uni-timeline-item-divider\"></view>",
            "\t\t<view class=\"uni-timeline-item-content\">事件3</view>",
            "\t</view>",
            "</view>"
        ],
        "prefix": "utimeline"
    },
    "uVideo": {
        "body": [
            "<video src=\"$1\" controls></video>"
        ],
        "prefix": "uvideo"
    },
    "uView": {
        "body": [
            "<view class=\"$1\">$0</view>"
        ],
        "prefix": "uview"
    },
    "uWebView": {
        "body": [
            "<web-view src=\"$1\"></web-view>"
        ],
        "prefix": "uwebview"
    },
    "view for": {
        "body": [
            "<view v-for=\"(item,index) in ${1:dataList}\" :key=\"index\">",
            "\t$0",
            "</view>"
        ],
        "description": "view带for循环",
        "prefix": "viewfor"
    },
    "view_class": {
        "body": [
            "<view class=\"$1\">",
            "\t$0",
            "</view>"
        ],
        "prefix": "viewclass",
        "triggerAssist": true
    }
}
