diff --git a/element/index.js b/element/index.js
index f4715c0..0a11747 100644
--- a/element/index.js
+++ b/element/index.js
@@ -1,8 +1,12 @@
// 导入自己需要的组件
-import { Slider } from 'element-ui'
+import { Slider,Progress,Steps,Step,Select,Option } from 'element-ui'
+const components = [Slider,Progress,Steps,Step,Select,Option]
const element = {
install: function (Vue) {
- Vue.use(Slider)
+ // Vue.use(Slider)
+ components.forEach(component => {
+ Vue.use(component)
+ })
}
}
export default element
\ No newline at end of file
diff --git a/i18n/lang/en.json b/i18n/lang/en.json
index a1febdd..6c53793 100644
--- a/i18n/lang/en.json
+++ b/i18n/lang/en.json
@@ -395,7 +395,7 @@
"a0": "Mobile registration",
"a1": "Register Account",
"a2": "Mobile Phone",
- "a3": "Please enter your mobile number",
+ "a3": "Enter your phone number",
"a4": "Email",
"a5": "Enter your email address",
"a6": "Email verification Code",
@@ -541,7 +541,8 @@
"a7": "Register Now",
"a8": "Mobile",
"a9": "mailbox",
- "b0": "Done"
+ "b0": "Done",
+ "country": "Country code"
},
"contract": {
"a0": "Open Position",
diff --git a/i18n/lang/zh-TW.json b/i18n/lang/zh-TW.json
index 54db779..119fb85 100644
--- a/i18n/lang/zh-TW.json
+++ b/i18n/lang/zh-TW.json
@@ -539,7 +539,8 @@
"a7": "立即註冊",
"a8": "手機",
"a9": "郵箱",
- "b0": "完成"
+ "b0": "完成",
+ "country": "區號"
},
"contract": {
"a0": "開倉",
diff --git a/main.js b/main.js
index a2c6788..55810f9 100644
--- a/main.js
+++ b/main.js
@@ -3,9 +3,9 @@ import App from './App.vue'
import '@/plugins'
import i18n from "./i18n";
import store from './store'
-// import 'element-ui/lib/theme-chalk/index.css'
-// import element from './element/index'
-// Vue.use(element)
+import 'element-ui/lib/theme-chalk/index.css'
+import element from './element/index'
+Vue.use(element)
//把vuex定义成全局组件
Vue.prototype.$store = store
Vue.prototype._i18n = i18n;
diff --git a/pages/reg/index.vue b/pages/reg/index.vue
index 47276b6..8e9b474 100644
--- a/pages/reg/index.vue
+++ b/pages/reg/index.vue
@@ -72,12 +72,19 @@
{{$t('reg.a2')}}
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
@@ -174,8 +181,10 @@