{ "#ifdef": { "body": [ "", "$0", "" ], "prefix": "ifdef", "project": "uni-app", "scope": "vue-html" }, "#ifndef": { "body": [ "", "$0", "" ], "prefix": "ifndef", "project": "uni-app", "scope": "vue-html" }, "Vue Base": { "body": [ "", "", "", "", "" ], "description": "Base for Vue File", "prefix": "vbase", "scope": "vue-html" }, "Vue Class Binding": { "body": ["<${1|div|} :class=\"{ ${2:className}: ${3:data} }\"><,${1:div}>"], "description": "vue class binding", "prefix": "vclass", "scope": "vue-html" }, "Vue Class Binding Object": { "body": [ "<${1|div|} :class=\"[${2:classNameA}, ${3:classNameB}]\"><,${1:div}>" ], "description": "vue class binding", "prefix": "vclass-obj", "scope": "vue-html" }, "Vue Component with Props Binding": { "body": ["<${1|component|} :${1:propName}=\"${0}\"><,${1:component}>"], "description": "component element with props", "prefix": "vel-props", "scope": "vue-html" }, "Vue Image Source Binding": { "body": [ "\"${2:altText}\"/" ], "description": "image source binding", "prefix": "vsrc", "scope": "vue-html" }, "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", "scope": "vue-html" }, "Vue Nuxt Routing Link": { "body": ["${1:page}"], "description": "nuxt routing link", "prefix": "vnuxtl", "scope": "vue-html" }, "Vue Style Binding": { "body": [ "<${1|div|} :style=\"{ fontSize: ${2:data} + 'px' }\"><,${1:div}>" ], "description": "vue inline style binding", "prefix": "vstyle", "scope": "vue-html" }, "Vue Style Binding Object": { "body": [ "<${1|div|} :style=\"[${2:styleObjectA}, ${3:styleObjectB]}\"><,${1:div}>" ], "description": "vue inline style binding, objects", "prefix": "vstyle-obj", "scope": "vue-html" }, "Vue Transition Component with JavaScript Hooks": { "body": [ "", "", "" ], "description": "transition component js hooks", "prefix": "vanim", "scope": "vue-html" }, "Vue v-for": { "body": [ "<${1:div} v-for=\"${2:item} in ${2:item}s\" :key=\"${2:item}.id\">", "\t{{ ${2:item} }}", "" ], "description": "vfor statement", "prefix": "vfor", "scope": "vue-html" }, "Vue v-model Directive": { "body": [""], "description": "v-model directive", "prefix": "vmodel", "scope": "vue-html" }, "Vue v-model Number Directive": { "body": [ "" ], "description": "v-model directive number input", "prefix": "vmodel-num", "scope": "vue-html" }, "Vue v-on Shortcut Directive": { "body": ["@click=\"${1:handler}(${2:arg}, $event)\""], "description": "v-on click handler with arguments", "prefix": "von", "scope": "vue-html" }, "uAccordion": { "body": [ "", "\t", "\t\t", "\t\t\t折叠面板{{index}}", "\t\t", "\t\t", "\t\t\t", "\t\t\t\thello uni-app", "\t\t\t\thello uni-app", "\t\t\t\thello uni-app", "\t\t\t", "\t\t", "\t", "" ], "prefix": "uaccordion", "project": "uni-app", "scope": "vue-html" }, "uAudio": { "body": [ "" ], "prefix": "uaudio", "project": "uni-app", "scope": "vue-html" }, "uBadge": { "body": [""], "prefix": "ubadge", "project": "uni-app", "scope": "vue-html" }, "uButton": { "body": [""], "prefix": "ubutton", "project": "uni-app", "scope": "vue-html" }, "uCalendar": { "body": [ "" ], "prefix": "ucalendar", "project": "uni-app", "scope": "vue-html" }, "uCard": { "body": [ "", "\t内容主体,可自定义内容及样式$4", "" ], "prefix": "ucard", "project": "uni-app", "scope": "vue-html" }, "uCheckbox": { "body": [ "" ], "prefix": "ucheckbox", "project": "uni-app", "scope": "vue-html" }, "uCollapse": { "body": [ "", "\t", "\t\t内容$3", "\t", "" ], "prefix": "uCollapse", "project": "uni-app", "scope": "vue-html" }, "uCountDown": { "body": [ "" ], "prefix": "ucountdown", "project": "uni-app", "scope": "vue-html" }, "uDrawer": { "body": [ "", "\t", "\t\t$2", "\t", "" ], "prefix": "uDrawer", "project": "uni-app", "scope": "vue-html" }, "uEditor": { "body": [""], "prefix": "uEditor", "project": "uni-app", "scope": "vue-html" }, "uForm": { "body": [ "
", "\t", "\t\tswitch$1", "\t\t", "\t", "\t", "\t\tslider", "\t\t", "\t", "\t", "\t\tinput", "\t\t", "\t", "\t", "\t\tradio", "\t\t", "\t\t", "\t\t", "\t\t", "\t", "\t", "\t\tcheckbox", "\t\t", "\t\t\t", "\t\t\t", "\t\t", "\t", "\t", "\t\t", "\t\t", "\t", "
" ], "prefix": "uform", "project": "uni-app", "scope": "vue-html" }, "uGrid": { "body": [""], "prefix": "ugrid", "project": "uni-app", "scope": "vue-html" }, "uIcon": { "body": [""], "prefix": "uicon", "project": "uni-app", "scope": "vue-html" }, "uImage": { "body": ["$0"], "prefix": "uimage", "project": "uni-app", "scope": "vue-html" }, "uInput": { "body": [""], "prefix": "uinput", "project": "uni-app", "scope": "vue-html" }, "uList": { "body": [ "", "\t", "\t", "" ], "prefix": "ulist", "project": "uni-app", "scope": "vue-html" }, "uListMedia": { "body": [ "", "\t", "\t\t", "\t\t\t", "\t\t\t", "\t\t\t\t{{item.title$3}}", "\t\t\t\t{{item.content$4}}", "\t\t\t", "\t\t", "\t", "" ], "prefix": "ulistmedia", "project": "uni-app", "scope": "vue-html" }, "uLoadMore": { "body": [ "" ], "prefix": "uloadmore", "project": "uni-app", "scope": "vue-html" }, "uMap": { "body": [""], "prefix": "umap", "project": "uni-app", "scope": "vue-html" }, "uNavBar": { "body": [ "" ], "prefix": "unavbar", "project": "uni-app", "scope": "vue-html" }, "uNavigator": { "body": ["$0"], "prefix": "unavigator", "project": "uni-app", "scope": "vue-html" }, "uNoticeBar": { "body": [""], "prefix": "uNoticeBar", "project": "uni-app", "scope": "vue-html" }, "uNumberBox": { "body": [""], "prefix": "unumberbox", "project": "uni-app", "scope": "vue-html" }, "uPagination": { "body": [ "" ], "prefix": "uPagination", "project": "uni-app", "scope": "vue-html" }, "uPicker": { "body": [ "", "\tpicker组件", "" ], "prefix": "upicker", "project": "uni-app", "scope": "vue-html" }, "uPickerView": { "body": [ "", "\t", "\t\t$0", "\t", "\t", "\t\t$2", "\t", "\t", "\t\t", "\t", "" ], "prefix": "upickerview", "project": "uni-app", "scope": "vue-html" }, "uPopup": { "body": [ "" ], "prefix": "upopup", "project": "uni-app", "scope": "vue-html" }, "uProductList": { "body": [ "", "\t", "\t\t", "\t\t\t", "\t\t", "\t\t{{product.title}}", "\t\t", "\t\t\t¥{{product.originalPrice}}", "\t\t\t¥{{product.favourPrice}}", "\t\t\t{{product.tip}}", "\t\t", "\t", "" ], "prefix": "uproductlist", "project": "uni-app", "scope": "vue-html" }, "uProgress": { "body": [" "], "prefix": "uprogress", "project": "uni-app", "scope": "vue-html" }, "uRadio": { "body": [ "" ], "prefix": "uradio", "project": "uni-app", "scope": "vue-html" }, "uRate": { "body": [""], "prefix": "uRate", "project": "uni-app", "scope": "vue-html" }, "uRichText": { "body": [""], "prefix": "urichtext", "project": "uni-app", "scope": "vue-html" }, "uScrollView": { "body": [ "", "\t$0", "\t", "\t", "\t", "" ], "prefix": "uscrollview", "project": "uni-app", "scope": "vue-html" }, "uSegmentedControl": { "body": [ "", "", "\t", "\t\t选项卡1的内容", "\t", "\t", "\t\t选项卡2的内容", "\t", "\t", "\t\t选项卡3的内容", "\t", "" ], "prefix": "usegmentedcontrol", "project": "uni-app", "scope": "vue-html" }, "uSlider": { "body": [""], "prefix": "uslider", "project": "uni-app", "scope": "vue-html" }, "uSteps": { "body": [""], "prefix": "usteps", "project": "uni-app", "scope": "vue-html" }, "uSwipeAction": { "body": [ "", "\t$2", "" ], "prefix": "uSwipeAction", "project": "uni-app", "scope": "vue-html" }, "uSwiper": { "body": [ "", "\t", "\t\t$1", "\t", "\t", "\t\t$2", "\t", "\t", "\t\t$0", "\t", "" ], "prefix": "uswiper", "project": "uni-app", "scope": "vue-html" }, "uSwipermsg": { "body": [ "", "\t", "\t\t", "\t", "\t", "\t\t", "\t\t\t消息1", "\t\t", "\t\t", "\t\t\t消息2", "\t\t", "\t\t", "\t\t\t消息3", "\t\t", "\t", "" ], "prefix": "uswipermsg", "project": "uni-app", "scope": "vue-html" }, "uSwitch": { "body": [""], "prefix": "uswitch", "project": "uni-app", "scope": "vue-html" }, "uTag": { "body": [""], "prefix": "utag", "project": "uni-app", "scope": "vue-html" }, "uTemplate": { "body": [""], "prefix": "utemplate", "project": "uni-app", "scope": "vue-html" }, "uText": { "body": ["$0"], "prefix": "utext", "project": "uni-app", "scope": "vue-html" }, "uTextarea": { "body": ["