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/assets/img/tishi.png b/assets/img/tishi.png new file mode 100644 index 0000000..7b45fff Binary files /dev/null and b/assets/img/tishi.png differ diff --git a/assets/img/zhuanzan.png b/assets/img/zhuanzan.png new file mode 100644 index 0000000..a85dbd5 Binary files /dev/null and b/assets/img/zhuanzan.png differ 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 4bfa280..a0599e2 100644 --- a/i18n/lang/en.json +++ b/i18n/lang/en.json @@ -69,7 +69,26 @@ "c5": "your transfer order has been submitted successfully, please wait patiently, and the transfer result will be notified by SMS or e-mail. Please check it carefully. If you have any questions, please contact the customer service in time.", "c6": "Proportion of increase", "c7": "Current valuation", - "loading": "loading" + "loading": "loading", + "c12": "Rejection Information", + "c13": "Withdrawal password", + "c14": "Please fill in the withdrawal password", + "c15": "Reset withdrawal password", + "rejection":"Reason for rejection", + "c16": "Send", + "c17": "Transfer Address", + "c18": "Transfer Amount", + "c19": "Recharge/Transfer", + "c20": "Contact Customer Service", + "c21": "Select Currency", + "c22": "Password and Email Verification Code", + "c23": "Estimated arrival time", + "c24": "Received quantity", + "c25": "Withdrawal", + "c26": "The transfer quantity cannot be greater than {name}", + "c27": "Transfer Records", + "c28": "confirm", + "c29": "Please check your withdrawal address carefully and make sure it is filled in correctly. If you miss or fill in the wrong information, you may lose your assets." }, "base": { "a0": "Title", @@ -242,6 +261,7 @@ "d12": "Please enter your phone number", "d13": "Please select", "d14": "Select date", + "d15": "The file size is too large to exceed", "SelectAreaCode": "Select Area Code" }, "exchange": { diff --git a/i18n/lang/zh-TW.json b/i18n/lang/zh-TW.json index f1e1c92..54c93b4 100644 --- a/i18n/lang/zh-TW.json +++ b/i18n/lang/zh-TW.json @@ -68,7 +68,26 @@ "c4": "數量", "c5": "您的劃轉訂單已提交成功,請耐心等待,劃轉結果會以簡訊或郵件的管道通知。請注意查收,如有疑問請及時聯系客服", "c6": "漲幅比例", - "loading": "加载中" + "loading": "加载中", + "c12": "駁回信息", + "c13": "提款密碼", + "c14": "請填写提款密碼", + "c15": "重置提款密碼", + "rejection":"拒絕理由", + "c16": "轉移", + "c17": "轉移地址", + "c18": "轉移金額", + "c19": "充值/轉移", + "c20": "聯絡客服", + "c21": "選擇幣種", + "c22": "密碼及邮箱驗證碼", + "c23": "預計到帳時間", + "c24": "到帳數量", + "c25": "提現", + "c26": "轉移數量不能大於{name}", + "c27": "轉移記錄", + "c28": "確認", + "c29": "請認真核對您的提幣地址,務必檢查是否正確填寫。如果您漏添或填錯,將有可能對您的資產造成損失" }, "base": { "a0": "標題", @@ -241,6 +260,7 @@ "d12": "請輸入手機號", "d13": "請選擇", "d14": "選擇日期", + "d15": "檔案尺寸過大,不得超過", "SelectAreaCode": "選擇區號" }, "exchange": { 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.json b/pages.json index 8a4651a..fd17465 100644 --- a/pages.json +++ b/pages.json @@ -179,6 +179,12 @@ { "path" : "pages/oncs/onservice" }, + { + "path" : "pages/safe/withdrawals-pwd" + }, + { + "path" : "pages/assets/draw1" + }, { "path": "pages/service/index", "style": { diff --git a/pages/accountSettings/accountSettings.vue b/pages/accountSettings/accountSettings.vue index 43865cb..a5ad1f5 100644 --- a/pages/accountSettings/accountSettings.vue +++ b/pages/accountSettings/accountSettings.vue @@ -59,13 +59,13 @@ + {{$t('accountSettings.a7')}} {{user.email}} - {{$t('accountSettings.a5')}} + diff --git a/pages/assets/coin-list.vue b/pages/assets/coin-list.vue index f89b8b6..0159e00 100644 --- a/pages/assets/coin-list.vue +++ b/pages/assets/coin-list.vue @@ -8,7 +8,7 @@