Commit 320c6f8c by liangqi

更改大小写命名规范

parent acef61a2
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
"axios": "^0.17.1", "axios": "^0.17.1",
"better-scroll": "^1.8.0", "better-scroll": "^1.8.0",
"echarts": "^4.0.2", "echarts": "^4.0.2",
"element-ui": "^2.0.11", "element-ui": "^2.1.0",
"mint-ui": "^2.2.13", "mint-ui": "^2.2.13",
"vue": "^2.5.2", "vue": "^2.5.2",
"vue-awesome-swiper": "^3.1.2", "vue-awesome-swiper": "^3.1.2",
...@@ -25,42 +25,42 @@ ...@@ -25,42 +25,42 @@
"vuex": "^3.0.1" "vuex": "^3.0.1"
}, },
"devDependencies": { "devDependencies": {
"less": "^2.7.3", "autoprefixer": "^7.2.5",
"less-loader": "^4.0.5",
"autoprefixer": "^7.1.2",
"babel-core": "^6.22.1", "babel-core": "^6.22.1",
"babel-helper-vue-jsx-merge-props": "^2.0.3", "babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^7.1.1", "babel-loader": "^7.1.1",
"babel-plugin-syntax-jsx": "^6.18.0", "babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-transform-runtime": "^6.22.0", "babel-plugin-transform-runtime": "^6.22.0",
"babel-plugin-transform-vue-jsx": "^3.5.0", "babel-plugin-transform-vue-jsx": "^3.5.1",
"babel-preset-env": "^1.3.2", "babel-preset-env": "^1.3.2",
"babel-preset-stage-2": "^6.22.0", "babel-preset-stage-2": "^6.22.0",
"chalk": "^2.0.1", "chalk": "^2.0.1",
"copy-webpack-plugin": "^4.0.1", "copy-webpack-plugin": "^4.0.1",
"css-loader": "^0.28.0", "css-loader": "^0.28.9",
"extract-text-webpack-plugin": "^3.0.0", "extract-text-webpack-plugin": "^3.0.0",
"file-loader": "^1.1.4", "file-loader": "^1.1.4",
"friendly-errors-webpack-plugin": "^1.6.1", "friendly-errors-webpack-plugin": "^1.6.1",
"html-webpack-plugin": "^2.30.1", "html-webpack-plugin": "^2.30.1",
"node-notifier": "^5.1.2", "less": "^2.7.3",
"less-loader": "^4.0.5",
"node-notifier": "^5.2.1",
"optimize-css-assets-webpack-plugin": "^3.2.0", "optimize-css-assets-webpack-plugin": "^3.2.0",
"ora": "^1.2.0", "ora": "^1.4.0",
"portfinder": "^1.0.13", "portfinder": "^1.0.13",
"postcss-import": "^11.0.0", "postcss-import": "^11.0.0",
"postcss-loader": "^2.0.8", "postcss-loader": "^2.1.0",
"postcss-url": "^7.2.1", "postcss-url": "^7.2.1",
"rimraf": "^2.6.0", "rimraf": "^2.6.0",
"semver": "^5.3.0", "semver": "^5.5.0",
"shelljs": "^0.7.6", "shelljs": "^0.7.6",
"uglifyjs-webpack-plugin": "^1.1.1", "uglifyjs-webpack-plugin": "^1.1.8",
"url-loader": "^0.5.8", "url-loader": "^0.5.8",
"vue-loader": "^13.3.0", "vue-loader": "^13.7.1",
"vue-style-loader": "^3.0.1", "vue-style-loader": "^3.1.2",
"vue-template-compiler": "^2.5.2", "vue-template-compiler": "^2.5.2",
"webpack": "^3.6.0", "webpack": "^3.6.0",
"webpack-bundle-analyzer": "^2.9.0", "webpack-bundle-analyzer": "^2.10.0",
"webpack-dev-server": "^2.9.1", "webpack-dev-server": "^2.11.1",
"webpack-merge": "^4.1.0" "webpack-merge": "^4.1.0"
}, },
"engines": { "engines": {
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
</div> </div>
</template> </template>
<script> <script>
import tabbar from '@/components/common/Tabbar' import tabbar from '@/components/common/tabbar'
export default { export default {
name: 'my', name: 'my',
data() { data() {
......
...@@ -82,11 +82,11 @@ ...@@ -82,11 +82,11 @@
</template> </template>
<script> <script>
import fn from "@/utils/function.js"; import fn from "@/utils/function.js";
import coin from "@/components/Dashboard/coin"; import coin from "@/components/dashboard/coin";
import region from "@/components/Dashboard/region"; import region from "@/components/dashboard/region";
import subaccount from "@/components/Dashboard/subaccount"; import subaccount from "@/components/dashboard/subaccount";
import animatedNum from "@/components/Common/AnimatedNum"; import animatedNum from "@/components/common/animatedNum";
import dashboardChart from "@/components/Dashboard/dashboardChart.vue"; import dashboardChart from "@/components/dashboard/dashboardChart.vue";
export default { export default {
name: "dashboard", name: "dashboard",
components: { components: {
......
...@@ -78,9 +78,9 @@ ...@@ -78,9 +78,9 @@
</template> </template>
<script> <script>
import fn from "@/utils/function.js"; import fn from "@/utils/function.js";
import coin from "@/components/Dashboard/coin"; import coin from "@/components/dashboard/coin";
import region from "@/components/Dashboard/region"; import region from "@/components/dashboard/region";
import subaccount from "@/components/Dashboard/subaccount"; import subaccount from "@/components/dashboard/subaccount";
export default { export default {
name: "no", name: "no",
components: { components: {
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
import fn from '@/utils/function.js'; import fn from '@/utils/function.js';
import { mapState } from 'vuex'; import { mapState } from 'vuex';
import IEcharts from 'vue-echarts-v3'; import IEcharts from 'vue-echarts-v3';
import animatedNum from "@/components/Common/AnimatedNum.vue"; import animatedNum from "@/components/common/animatedNum.vue";
export default { export default {
components: { components: {
IEcharts, IEcharts,
......
...@@ -65,8 +65,8 @@ ...@@ -65,8 +65,8 @@
<script> <script>
import fn from '@/utils/function.js' import fn from '@/utils/function.js'
import { mapState } from 'vuex' import { mapState } from 'vuex'
import chart from '@/components/Miners/chart.vue' import chart from '@/components/miners/chart.vue'
import animateNum from '@/components/Common/AnimatedNum' import animateNum from '@/components/common/animatedNum'
export default { export default {
name: 'minershow', name: 'minershow',
components: { components: {
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
</template> </template>
<script> <script>
import fn from '@/utils/function.js'; import fn from '@/utils/function.js';
import group from "@/components/Miners/group"; import group from "@/components/miners/group";
export default { export default {
name: 'miners', name: 'miners',
components: { components: {
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
<script> <script>
import fn from '@/utils/function.js'; import fn from '@/utils/function.js';
import { mapState } from 'vuex'; import { mapState } from 'vuex';
import animatedNum from "@/components/Common/AnimatedNum"; import animatedNum from "@/components/common/animatedNum";
export default { export default {
name: 'payments', name: 'payments',
components: { components: {
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
</template> </template>
<script> <script>
export default { export default {
name: 'reg', name: 'rega',
data() { data() {
return { return {
regForm: { regForm: {
......
...@@ -11,160 +11,160 @@ const router = new Router({ ...@@ -11,160 +11,160 @@ const router = new Router({
routes: [{ routes: [{
path: '/', path: '/',
name: 'home', name: 'home',
component: resolve => require(['@/components/Home.vue'], resolve), component: resolve => require(['@/components/home.vue'], resolve),
meta: { meta: {
title: 'home.vue' title: 'home.vue'
} }
}, { }, {
path: '/jump', path: '/jump',
name: 'jump', name: 'jump',
component: resolve => require(['@/components/Jump.vue'], resolve), component: resolve => require(['@/components/jump.vue'], resolve),
meta: { meta: {
title: 'Jump.vue' title: 'jump.vue'
} }
}, { }, {
path: '/reg', path: '/reg',
name: 'reg', name: 'reg',
component: resolve => require(['@/components/Reg'], resolve), component: resolve => require(['@/components/reg'], resolve),
meta: { meta: {
title: 'Reg.vue' title: 'reg.vue'
} }
}, { }, {
path: '/login', path: '/login',
name: 'login', name: 'login',
component: resolve => require(['@/components/Login'], resolve), component: resolve => require(['@/components/login'], resolve),
meta: { meta: {
title: 'Login.vue' title: 'login.vue'
} }
}, { }, {
path: '/create', path: '/create',
name: 'create', name: 'create',
component: resolve => require(['@/components/Users/Create.vue'], resolve), component: resolve => require(['@/components/users/create.vue'], resolve),
meta: { meta: {
title: 'Create.vue' title: 'create.vue'
} }
}, { }, {
path: '/welcome', path: '/welcome',
name: 'welcome', name: 'welcome',
component: resolve => require(['@/components/Users/Welcome.vue'], resolve), component: resolve => require(['@/components/users/welcome.vue'], resolve),
meta: { meta: {
title: 'Welcome.vue' title: 'welcome.vue'
} }
}, { }, {
path: '/subaccount', path: '/subaccount',
name: 'subaccount', name: 'subaccount',
component: resolve => require(['@/components/Users/Subaccount.vue'], resolve), component: resolve => require(['@/components/users/subaccount.vue'], resolve),
meta: { meta: {
title: 'Subaccount.vue' title: 'subaccount.vue'
} }
}, },
{ {
path: '/my', path: '/my',
name: 'my', name: 'my',
component: resolve => require(['@/components/Common/my.vue'], resolve), component: resolve => require(['@/components/common/my.vue'], resolve),
children: [{ children: [{
path: ':puid/:coin_type/:region_id/dashboard', path: ':puid/:coin_type/:region_id/dashboard',
name: 'dashboard', name: 'dashboard',
component: resolve => require(['@/components/Dashboard'], resolve), component: resolve => require(['@/components/dashboard'], resolve),
meta: { meta: {
title: 'Dashboard.vue' title: 'dashboard.vue'
} }
}, { }, {
path: ':puid/:coin_type', path: ':puid/:coin_type',
name: 'no', name: 'no',
component: resolve => require(['@/components/Dashboard/no.vue'], resolve), component: resolve => require(['@/components/dashboard/no.vue'], resolve),
meta: { meta: {
title: 'no.vue' title: 'no.vue'
} }
}, { }, {
path: ':puid/:coin_type/:region_id/miners', path: ':puid/:coin_type/:region_id/miners',
name: 'miners', name: 'miners',
component: resolve => require(['@/components/Miners/'], resolve), component: resolve => require(['@/components/miners/'], resolve),
meta: { meta: {
title: 'Miners.vue' title: 'miners.vue'
} }
}, { }, {
path: ':puid/:coin_type/:region_id/miners/:worker_id', path: ':puid/:coin_type/:region_id/miners/:worker_id',
name: 'minershow', name: 'minershow',
component: resolve => require(['@/components/Miners/detail.vue'], resolve), component: resolve => require(['@/components/miners/detail.vue'], resolve),
meta: { meta: {
title: 'detail.vue' title: 'detail.vue'
} }
}, { }, {
path: ':puid/:coin_type/:region_id/miners/:worker_id', path: ':puid/:coin_type/:region_id/miners/:worker_id',
name: 'minershow', name: 'minershow',
component: resolve => require(['@/components/Miners/detail.vue'], resolve), component: resolve => require(['@/components/miners/detail.vue'], resolve),
meta: { meta: {
title: 'MinerShow.vue' title: 'MinerShow.vue'
} }
}, { }, {
path: ':puid/:coin_type/:region_id/payments', path: ':puid/:coin_type/:region_id/payments',
name: 'payments', name: 'payments',
component: resolve => require(['@/components/Payments'], resolve), component: resolve => require(['@/components/payments'], resolve),
meta: { meta: {
title: 'Payments.vue' title: 'payments.vue'
} }
}, { }, {
path: 'settings', path: 'settings',
name: 'settings', name: 'settings',
component: resolve => require(['@/components/Settings/index.vue'], resolve), component: resolve => require(['@/components/settings/index.vue'], resolve),
meta: { meta: {
title: 'Settings.vue' title: 'settings.vue'
} }
}] }]
},{ },{
path: '/address', path: '/address',
name: 'modifyAddress', name: 'modifyAddress',
component: resolve => require(['@/components/Settings/Address.vue'], resolve), component: resolve => require(['@/components/settings/address.vue'], resolve),
meta: { meta: {
title: 'Address.vue' title: 'address.vue'
} }
},{ },{
path: '/search', path: '/search',
name: 'search', name: 'search',
component: resolve => require(['@/components/Miners/search.vue'], resolve), component: resolve => require(['@/components/miners/search.vue'], resolve),
meta: { meta: {
title: 'search.vue' title: 'search.vue'
} }
},{ },{
path: '/defaultCoin', path: '/defaultCoin',
name: 'defaultCoin', name: 'defaultCoin',
component: resolve => require(['@/components/Settings/DefaultCoin'], resolve), component: resolve => require(['@/components/settings/defaultCoin'], resolve),
meta: { meta: {
title: 'DefaultCoin.vue' title: 'defaultCoin.vue'
} }
}, { }, {
path: '/language', path: '/language',
name: 'language', name: 'language',
component: resolve => require(['@/components/Settings/Language'], resolve), component: resolve => require(['@/components/settings/language'], resolve),
meta: { meta: {
title: 'Language.vue' title: 'language.vue'
} }
}, { }, {
path: '/account', path: '/account',
name: 'account', name: 'account',
component: resolve => require(['@/components/Settings/Account'], resolve), component: resolve => require(['@/components/settings/account'], resolve),
meta: { meta: {
title: 'Account.vue' title: 'account.vue'
} }
}, { }, {
path: '/notice', path: '/notice',
name: 'notice', name: 'notice',
component: resolve => require(['@/components/Notice'], resolve), component: resolve => require(['@/components/notice'], resolve),
meta: { meta: {
title: 'Notice.vue' title: 'notice.vue'
} }
}, { }, {
path: '/noticeList', path: '/noticeList',
name: 'noticeList', name: 'noticeList',
component: resolve => require(['@/components/Notice/list'], resolve), component: resolve => require(['@/components/notice/list'], resolve),
meta: { meta: {
title: 'NoticeList.vue' title: 'NoticeList.vue'
} }
}, { }, {
path: '/noticeShow', path: '/noticeShow',
name: 'noticeShow', name: 'noticeShow',
component: resolve => require(['@/components/Notice/detail'], resolve), component: resolve => require(['@/components/notice/detail'], resolve),
meta: { meta: {
title: 'NoticeShow.vue' title: 'NoticeShow.vue'
} }
......
...@@ -126,14 +126,14 @@ export default { ...@@ -126,14 +126,14 @@ export default {
slogen1: 'Decentration,Make the world a better place', slogen1: 'Decentration,Make the world a better place',
slogen2: 'en超过<span>100,000</span>台矿机平稳运行在我们的平台上', slogen2: 'en超过<span>100,000</span>台矿机平稳运行在我们的平台上',
shouye: 'Home', shouye: 'Home',
yonghumianban: 'Dashboard', yonghumianban: 'dashboard',
kuangji: 'Minners', kuangji: 'Minners',
shouyi: 'Payments', shouyi: 'payments',
tongji: 'Statistics', tongji: 'Statistics',
kefu: 'Customer Service', kefu: 'Customer Service',
bangzhu: 'Help', bangzhu: 'Help',
guanyuwomen: 'About Us', guanyuwomen: 'About Us',
gonggao: 'Notice', gonggao: 'notice',
gaodu: 'Height', gaodu: 'Height',
shijian: 'Date', shijian: 'Date',
qvkuaihaxi: 'Hash', qvkuaihaxi: 'Hash',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment