diff --git a/sites/net150.top/.editorconfig b/sites/net150.top/.editorconfig new file mode 100644 index 000000000..cb530eac4 --- /dev/null +++ b/sites/net150.top/.editorconfig @@ -0,0 +1,14 @@ +UTF-8 +# This file is for unifying the coding style for different editors and IDEs +# editorconfig.org +root = true +[*] +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +[*.{js,styl,html,json,vue}] +indent_size = 2 +indent_style = space +[*.md] +trim_trailing_whitespace = false diff --git a/sites/net150.top/.eslintignore b/sites/net150.top/.eslintignore new file mode 100644 index 000000000..db4c6d9b6 --- /dev/null +++ b/sites/net150.top/.eslintignore @@ -0,0 +1,2 @@ +dist +node_modules \ No newline at end of file diff --git a/sites/net150.top/.eslintrc b/sites/net150.top/.eslintrc new file mode 100644 index 000000000..84a3a2e9c --- /dev/null +++ b/sites/net150.top/.eslintrc @@ -0,0 +1,39 @@ +{ + "parser": "vue-eslint-parser", + "parserOptions": { + "ecmaVersion": 8, + "sourceType": "module", + "allowImportExportEverywhere": false + }, + "extends": [ + "standard", + "plugin:vue/recommended" + ], + "plugins": [ + "jsdoc" + ], + "globals": { + "MIP": true + }, + "env": { + "browser": true + }, + "rules": { + "jsdoc/check-param-names": 1, + "jsdoc/check-tag-names": 1, + "jsdoc/check-types": 1, + "jsdoc/newline-after-description": 1, + "jsdoc/no-undefined-types": 1, + "jsdoc/require-description-complete-sentence": 0, + "jsdoc/require-example": 0, + "jsdoc/require-hyphen-before-param-description": 0, + "jsdoc/require-param": 1, + "jsdoc/require-param-description": 1, + "jsdoc/require-param-name": 1, + "jsdoc/require-param-type": 1, + "jsdoc/require-returns-description": 1, + "jsdoc/require-returns-type": 1, + "jsdoc/valid-types": 1, + "no-var": 2 + } +} diff --git a/sites/net150.top/.gitignore b/sites/net150.top/.gitignore new file mode 100644 index 000000000..1207415d5 --- /dev/null +++ b/sites/net150.top/.gitignore @@ -0,0 +1,8 @@ +node_modules/ +dist/ +.idea/ +*.log +Thumbs.db +.DS_Store +*.swp +*.gz diff --git a/sites/net150.top/common/.gitkeep b/sites/net150.top/common/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/sites/net150.top/components/mip-test/README.md b/sites/net150.top/components/mip-test/README.md new file mode 100644 index 000000000..18910755c --- /dev/null +++ b/sites/net150.top/components/mip-test/README.md @@ -0,0 +1,31 @@ +# mip-test + +标题|内容 +----|---- +类型| +支持布局| +所需脚本| [https://c.mipcdn.com/extensions/platform/v2/net150.top/mip-test/mip-test.js](https://c.mipcdn.com/extensions/platform/v2/net150.top/mip-test/mip-test.js) + +## 说明 + +组件功能说明 + +## 示例 + +示例说明 + +``` +// 代码示例 +``` + +## 属性 + +### 属性1 + +**说明**: + +**必选项**: + +**单位**: + +**默认值**: \ No newline at end of file diff --git a/sites/net150.top/components/mip-test/example/index.html b/sites/net150.top/components/mip-test/example/index.html new file mode 100644 index 000000000..10feb2f4a --- /dev/null +++ b/sites/net150.top/components/mip-test/example/index.html @@ -0,0 +1,21 @@ + + +
+ + +