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 @@
"axios": "^0.17.1",
"better-scroll": "^1.8.0",
"echarts": "^4.0.2",
"element-ui": "^2.0.11",
"element-ui": "^2.1.0",
"mint-ui": "^2.2.13",
"vue": "^2.5.2",
"vue-awesome-swiper": "^3.1.2",
......@@ -25,42 +25,42 @@
"vuex": "^3.0.1"
},
"devDependencies": {
"less": "^2.7.3",
"less-loader": "^4.0.5",
"autoprefixer": "^7.1.2",
"autoprefixer": "^7.2.5",
"babel-core": "^6.22.1",
"babel-helper-vue-jsx-merge-props": "^2.0.3",
"babel-loader": "^7.1.1",
"babel-plugin-syntax-jsx": "^6.18.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-stage-2": "^6.22.0",
"chalk": "^2.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",
"file-loader": "^1.1.4",
"friendly-errors-webpack-plugin": "^1.6.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",
"ora": "^1.2.0",
"ora": "^1.4.0",
"portfinder": "^1.0.13",
"postcss-import": "^11.0.0",
"postcss-loader": "^2.0.8",
"postcss-loader": "^2.1.0",
"postcss-url": "^7.2.1",
"rimraf": "^2.6.0",
"semver": "^5.3.0",
"semver": "^5.5.0",
"shelljs": "^0.7.6",
"uglifyjs-webpack-plugin": "^1.1.1",
"uglifyjs-webpack-plugin": "^1.1.8",
"url-loader": "^0.5.8",
"vue-loader": "^13.3.0",
"vue-style-loader": "^3.0.1",
"vue-loader": "^13.7.1",
"vue-style-loader": "^3.1.2",
"vue-template-compiler": "^2.5.2",
"webpack": "^3.6.0",
"webpack-bundle-analyzer": "^2.9.0",
"webpack-dev-server": "^2.9.1",
"webpack-bundle-analyzer": "^2.10.0",
"webpack-dev-server": "^2.11.1",
"webpack-merge": "^4.1.0"
},
"engines": {
......
......@@ -5,7 +5,7 @@
</div>
</template>
<script>
import tabbar from '@/components/common/Tabbar'
import tabbar from '@/components/common/tabbar'
export default {
name: 'my',
data() {
......
......@@ -82,11 +82,11 @@
</template>
<script>
import fn from "@/utils/function.js";
import coin from "@/components/Dashboard/coin";
import region from "@/components/Dashboard/region";
import subaccount from "@/components/Dashboard/subaccount";
import animatedNum from "@/components/Common/AnimatedNum";
import dashboardChart from "@/components/Dashboard/dashboardChart.vue";
import coin from "@/components/dashboard/coin";
import region from "@/components/dashboard/region";
import subaccount from "@/components/dashboard/subaccount";
import animatedNum from "@/components/common/animatedNum";
import dashboardChart from "@/components/dashboard/dashboardChart.vue";
export default {
name: "dashboard",
components: {
......
......@@ -78,9 +78,9 @@
</template>
<script>
import fn from "@/utils/function.js";
import coin from "@/components/Dashboard/coin";
import region from "@/components/Dashboard/region";
import subaccount from "@/components/Dashboard/subaccount";
import coin from "@/components/dashboard/coin";
import region from "@/components/dashboard/region";
import subaccount from "@/components/dashboard/subaccount";
export default {
name: "no",
components: {
......
......@@ -20,7 +20,7 @@
import fn from '@/utils/function.js';
import { mapState } from 'vuex';
import IEcharts from 'vue-echarts-v3';
import animatedNum from "@/components/Common/AnimatedNum.vue";
import animatedNum from "@/components/common/animatedNum.vue";
export default {
components: {
IEcharts,
......
......@@ -65,8 +65,8 @@
<script>
import fn from '@/utils/function.js'
import { mapState } from 'vuex'
import chart from '@/components/Miners/chart.vue'
import animateNum from '@/components/Common/AnimatedNum'
import chart from '@/components/miners/chart.vue'
import animateNum from '@/components/common/animatedNum'
export default {
name: 'minershow',
components: {
......
......@@ -54,7 +54,7 @@
</template>
<script>
import fn from '@/utils/function.js';
import group from "@/components/Miners/group";
import group from "@/components/miners/group";
export default {
name: 'miners',
components: {
......
......@@ -74,7 +74,7 @@
<script>
import fn from '@/utils/function.js';
import { mapState } from 'vuex';
import animatedNum from "@/components/Common/AnimatedNum";
import animatedNum from "@/components/common/animatedNum";
export default {
name: 'payments',
components: {
......
......@@ -30,7 +30,7 @@
</template>
<script>
export default {
name: 'reg',
name: 'rega',
data() {
return {
regForm: {
......
......@@ -11,160 +11,160 @@ const router = new Router({
routes: [{
path: '/',
name: 'home',
component: resolve => require(['@/components/Home.vue'], resolve),
component: resolve => require(['@/components/home.vue'], resolve),
meta: {
title: 'home.vue'
}
}, {
path: '/jump',
name: 'jump',
component: resolve => require(['@/components/Jump.vue'], resolve),
component: resolve => require(['@/components/jump.vue'], resolve),
meta: {
title: 'Jump.vue'
title: 'jump.vue'
}
}, {
path: '/reg',
name: 'reg',
component: resolve => require(['@/components/Reg'], resolve),
component: resolve => require(['@/components/reg'], resolve),
meta: {
title: 'Reg.vue'
title: 'reg.vue'
}
}, {
path: '/login',
name: 'login',
component: resolve => require(['@/components/Login'], resolve),
component: resolve => require(['@/components/login'], resolve),
meta: {
title: 'Login.vue'
title: 'login.vue'
}
}, {
path: '/create',
name: 'create',
component: resolve => require(['@/components/Users/Create.vue'], resolve),
component: resolve => require(['@/components/users/create.vue'], resolve),
meta: {
title: 'Create.vue'
title: 'create.vue'
}
}, {
path: '/welcome',
name: 'welcome',
component: resolve => require(['@/components/Users/Welcome.vue'], resolve),
component: resolve => require(['@/components/users/welcome.vue'], resolve),
meta: {
title: 'Welcome.vue'
title: 'welcome.vue'
}
}, {
path: '/subaccount',
name: 'subaccount',
component: resolve => require(['@/components/Users/Subaccount.vue'], resolve),
component: resolve => require(['@/components/users/subaccount.vue'], resolve),
meta: {
title: 'Subaccount.vue'
title: 'subaccount.vue'
}
},
{
path: '/my',
name: 'my',
component: resolve => require(['@/components/Common/my.vue'], resolve),
component: resolve => require(['@/components/common/my.vue'], resolve),
children: [{
path: ':puid/:coin_type/:region_id/dashboard',
name: 'dashboard',
component: resolve => require(['@/components/Dashboard'], resolve),
component: resolve => require(['@/components/dashboard'], resolve),
meta: {
title: 'Dashboard.vue'
title: 'dashboard.vue'
}
}, {
path: ':puid/:coin_type',
name: 'no',
component: resolve => require(['@/components/Dashboard/no.vue'], resolve),
component: resolve => require(['@/components/dashboard/no.vue'], resolve),
meta: {
title: 'no.vue'
}
}, {
path: ':puid/:coin_type/:region_id/miners',
name: 'miners',
component: resolve => require(['@/components/Miners/'], resolve),
component: resolve => require(['@/components/miners/'], resolve),
meta: {
title: 'Miners.vue'
title: 'miners.vue'
}
}, {
path: ':puid/:coin_type/:region_id/miners/:worker_id',
name: 'minershow',
component: resolve => require(['@/components/Miners/detail.vue'], resolve),
component: resolve => require(['@/components/miners/detail.vue'], resolve),
meta: {
title: 'detail.vue'
}
}, {
path: ':puid/:coin_type/:region_id/miners/:worker_id',
name: 'minershow',
component: resolve => require(['@/components/Miners/detail.vue'], resolve),
component: resolve => require(['@/components/miners/detail.vue'], resolve),
meta: {
title: 'MinerShow.vue'
}
}, {
path: ':puid/:coin_type/:region_id/payments',
name: 'payments',
component: resolve => require(['@/components/Payments'], resolve),
component: resolve => require(['@/components/payments'], resolve),
meta: {
title: 'Payments.vue'
title: 'payments.vue'
}
}, {
path: 'settings',
name: 'settings',
component: resolve => require(['@/components/Settings/index.vue'], resolve),
component: resolve => require(['@/components/settings/index.vue'], resolve),
meta: {
title: 'Settings.vue'
title: 'settings.vue'
}
}]
},{
path: '/address',
name: 'modifyAddress',
component: resolve => require(['@/components/Settings/Address.vue'], resolve),
component: resolve => require(['@/components/settings/address.vue'], resolve),
meta: {
title: 'Address.vue'
title: 'address.vue'
}
},{
path: '/search',
name: 'search',
component: resolve => require(['@/components/Miners/search.vue'], resolve),
component: resolve => require(['@/components/miners/search.vue'], resolve),
meta: {
title: 'search.vue'
}
},{
path: '/defaultCoin',
name: 'defaultCoin',
component: resolve => require(['@/components/Settings/DefaultCoin'], resolve),
component: resolve => require(['@/components/settings/defaultCoin'], resolve),
meta: {
title: 'DefaultCoin.vue'
title: 'defaultCoin.vue'
}
}, {
path: '/language',
name: 'language',
component: resolve => require(['@/components/Settings/Language'], resolve),
component: resolve => require(['@/components/settings/language'], resolve),
meta: {
title: 'Language.vue'
title: 'language.vue'
}
}, {
path: '/account',
name: 'account',
component: resolve => require(['@/components/Settings/Account'], resolve),
component: resolve => require(['@/components/settings/account'], resolve),
meta: {
title: 'Account.vue'
title: 'account.vue'
}
}, {
path: '/notice',
name: 'notice',
component: resolve => require(['@/components/Notice'], resolve),
component: resolve => require(['@/components/notice'], resolve),
meta: {
title: 'Notice.vue'
title: 'notice.vue'
}
}, {
path: '/noticeList',
name: 'noticeList',
component: resolve => require(['@/components/Notice/list'], resolve),
component: resolve => require(['@/components/notice/list'], resolve),
meta: {
title: 'NoticeList.vue'
}
}, {
path: '/noticeShow',
name: 'noticeShow',
component: resolve => require(['@/components/Notice/detail'], resolve),
component: resolve => require(['@/components/notice/detail'], resolve),
meta: {
title: 'NoticeShow.vue'
}
......
......@@ -126,14 +126,14 @@ export default {
slogen1: 'Decentration,Make the world a better place',
slogen2: 'en超过<span>100,000</span>台矿机平稳运行在我们的平台上',
shouye: 'Home',
yonghumianban: 'Dashboard',
yonghumianban: 'dashboard',
kuangji: 'Minners',
shouyi: 'Payments',
shouyi: 'payments',
tongji: 'Statistics',
kefu: 'Customer Service',
bangzhu: 'Help',
guanyuwomen: 'About Us',
gonggao: 'Notice',
gonggao: 'notice',
gaodu: 'Height',
shijian: 'Date',
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