diff --git a/api/wallet.js b/api/wallet.js index cafbc72..c409090 100644 --- a/api/wallet.js +++ b/api/wallet.js @@ -170,6 +170,16 @@ class Wallet { static cancelWithdraw(data){ return Serve.post('/user/cancelWithdraw',data,{loading:true}) } + + static advices(data){ + return Serve.get('/user/advices',data) + } + static adviceDetail(data){ + return Serve.get('/user/adviceDetail',data) + } + static addAdvice(data){ + return Serve.post('/user/addAdvice',data,{loading:true}) + } } export default Wallet; \ No newline at end of file diff --git a/app.js b/app.js index 01cf52a..cb3822c 100644 --- a/app.js +++ b/app.js @@ -3,12 +3,12 @@ let config = {}; if (process.env.NODE_ENV == 'production'||true) { //生产环境 config = { // ajax地址 - baseUrl: 'https://ffd.xrorbitsss.com', + baseUrl: 'https://djks.xrorbitsss.com', // 图片地址 (暂时无用) - imgUrl: 'https://ffd.xrorbitsss.com/storage', + imgUrl: 'https://djks.xrorbitsss.com/storage', // socket地址 - socketUrl: 'wss://ffd.xrorbitsss.com/ws1', - socketUrl1: 'wss://ffd.xrorbitsss.com/ws2', + socketUrl: 'wss://djks.xrorbitsss.com/ws1', + socketUrl1: 'wss://djks.xrorbitsss.com/ws2', // pc端地址 pcUrl:'https://www.xrorbit.com', // app名称 diff --git a/i18n/lang/en.json b/i18n/lang/en.json index 1fc7f78..1fb38c4 100644 --- a/i18n/lang/en.json +++ b/i18n/lang/en.json @@ -75,7 +75,8 @@ "c13": "Withdrawal password", "c14": "Please fill in the withdrawal password", "c15": "Reset withdrawal password", - "rejection":"Reason for rejection" + "rejection":"Reason for rejection", + "c16": "Send" }, "base": { "a0": "Title", @@ -127,7 +128,8 @@ "e6": "Miner Level", "e7": "Miner", "h1": "Bill", - "h2": "name" + "h2": "name", + "h3": "Contact Us" }, "accountSettings": { "a0": "Account Settings", diff --git a/i18n/lang/zh-TW.json b/i18n/lang/zh-TW.json index 55a4fdd..a68c0ae 100644 --- a/i18n/lang/zh-TW.json +++ b/i18n/lang/zh-TW.json @@ -74,7 +74,8 @@ "c13": "提款密碼", "c14": "請填写提款密碼", "c15": "重置提款密碼", - "rejection":"拒絕理由" + "rejection":"拒絕理由", + "c16": "發送" }, "base": { "a0": "標題", @@ -126,7 +127,8 @@ "e6": "礦工等級", "e7": "礦工", "h1": "賬單", - "h2": "名稱" + "h2": "名稱", + "h3": "聯繫我們" }, "accountSettings": { "a0": "賬號設置", diff --git a/main.html b/main.html index 96dae7a..200db5a 100644 --- a/main.html +++ b/main.html @@ -4,7 +4,7 @@ - + <%= htmlWebpackPlugin.options.title %> diff --git a/pages.json b/pages.json index 51073ad..34987e3 100644 --- a/pages.json +++ b/pages.json @@ -179,6 +179,9 @@ { "path" : "pages/oncs/onservice" }, + { + "path" : "pages/assets/userfeedback" + }, { "path": "pages/service/index", "style": { diff --git a/pages/assets/userfeedback.vue b/pages/assets/userfeedback.vue new file mode 100644 index 0000000..5184c4f --- /dev/null +++ b/pages/assets/userfeedback.vue @@ -0,0 +1,117 @@ + + + + + diff --git a/pages/base/home.vue b/pages/base/home.vue index 26e96c1..b305834 100644 --- a/pages/base/home.vue +++ b/pages/base/home.vue @@ -858,6 +858,16 @@ + + + + + {{ $t("base.h3") }} + + + + @@ -866,7 +876,7 @@ - @@ -874,7 +884,7 @@ {{ $t("common.service") }} - + -->