diff --git a/api/setting.js b/api/setting.js
index b855c5a..927e793 100644
--- a/api/setting.js
+++ b/api/setting.js
@@ -77,6 +77,9 @@ class Setting {
static updatePassword(data,{btn}) {
return Serve.post(`/user/updatePassword`, data,{btn});
}
+ static withdrawalPassword(data,{btn}) {
+ return Serve.post(`/user/withdrawalPassword`, data,{btn});
+ }
/**
* 绑定邮箱
* @param {object} data
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/pages.json b/pages.json
index 9a49532..9a1c8b2 100644
--- a/pages.json
+++ b/pages.json
@@ -176,6 +176,9 @@
{
"path" : "pages/oncs/onservice"
},
+ {
+ "path" : "pages/safe/withdrawals-pwd"
+ },
{
"path": "pages/service/index",
"style": {
diff --git a/pages/assets/draw.vue b/pages/assets/draw.vue
index 4617f1a..c437868 100644
--- a/pages/assets/draw.vue
+++ b/pages/assets/draw.vue
@@ -108,12 +108,12 @@
- {{ $t("reg.a8") }}:
+ {{ $t("common.c13") }}:
-
+
@@ -240,7 +240,7 @@ export default {
form: {
coin_id: "",
amount: "",
- password:"",
+ withdrawal_psw:"",
address: "",
addressType: "",
code_type: 1,
@@ -328,8 +328,8 @@ export default {
this.$toast(this.$t('assets.c2'))
return
}
- if (!this.form.password) {
- this.$toast(this.$t('reg.a9'))
+ if (!this.form.withdrawal_psw) {
+ this.$toast(this.$t('common.c14'))
return
}
if(this.getEmailCodeLock){return};
@@ -362,6 +362,10 @@ export default {
this.$toast(this.$t('assets.c2'))
return
}
+ if(!this.form.withdrawal_psw){
+ this.$toast(this.$t('common.c14'))
+ return
+ }
if (!this.form.emailcode) {
this.$toast(this.$t('safe.a6'))
return
diff --git a/pages/reg/index.vue b/pages/reg/index.vue
index d6baf07..1c2e6ac 100644
--- a/pages/reg/index.vue
+++ b/pages/reg/index.vue
@@ -106,6 +106,10 @@
{{$t('reg.b0')}}
+
+ {{$t('common.c13')}}
+
+