From 8bb89fd4ef3b7df0cef0800bf075a388cb7a2189 Mon Sep 17 00:00:00 2001 From: liaoxinyu Date: Fri, 24 Jan 2025 16:14:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9A=90=E8=97=8F=E9=AB=98=E7=BA=A7=E8=AE=A4?= =?UTF-8?q?=E8=AF=81=E4=B8=8D=E5=BF=85=E8=A6=81=E7=9A=84=E8=AE=A4=E8=AF=81?= =?UTF-8?q?=E3=80=81=E4=BF=AE=E6=94=B9k=E7=BA=BF=E5=9B=BA=E5=AE=9A?= =?UTF-8?q?=E4=B8=BA=E7=BE=8E=E5=9B=BD=E6=97=B6=E9=97=B4=E3=80=81=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E5=AE=A2=E6=9C=8D=E5=92=8C=E6=8F=90=E9=86=92=E3=80=81?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E6=92=A4=E9=94=80=E6=8C=89=E9=92=AE=E5=92=8C?= =?UTF-8?q?=E6=92=A4=E9=94=80=E5=9B=9E=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 46 +++++++++++++ api/home.js | 12 ++++ api/member.js | 28 ++++---- i18n/lang/en.json | 4 +- i18n/lang/zh-TW.json | 4 +- pages.json | 3 + pages/assets/records.vue | 54 +++++++++------ pages/auth/senior.vue | 4 +- pages/base/home.vue | 52 ++++++++++++++- pages/oncs/onservice.vue | 118 +++++++++++++++++++++++++++++++++ pages/safe/email.vue | 2 +- static/chart_main/sevencoin.js | 15 ++++- static/img/cs_w.svg | 1 + utils/class/date.js | 77 ++++++++++----------- 14 files changed, 344 insertions(+), 76 deletions(-) create mode 100644 pages/oncs/onservice.vue create mode 100644 static/img/cs_w.svg diff --git a/App.vue b/App.vue index 0150f73..3ba8e6c 100644 --- a/App.vue +++ b/App.vue @@ -140,6 +140,52 @@ export default { color: $text-color; } +.circle-pulse { + background: red; + width: 7px; + height: 7px; + border-radius: 50%; + position: absolute; + right: -10px; + top: 10px; +} + +.circle-pulse:after { + background-color: red; + content: ""; + display: table; + border-radius: 50%; + position: absolute; + animation-name: pulse1; + animation-duration: 0.9s; + animation-iteration-count: infinite; + animation-timing-function: ease-out; +} + +@keyframes pulse1 { + 0% { + opacity: 1; + width: 7px; + height: 7px; + left: 0; + top: 0; + } + 95% { + opacity: 0.1; + left: -10.5px; + top: -10.5px; + width: 28px; + height: 28px; + } + 100% { + opacity: 0; + width: 7px; + height: 7px; + left: 0; + top: 0; + } +} + /* #ifdef H5 */ .layout-page { height: 100%!important; diff --git a/api/home.js b/api/home.js index 7fdb8f6..70c0a44 100644 --- a/api/home.js +++ b/api/home.js @@ -20,6 +20,18 @@ class Home { static option(data){ return Serve.post('/option',data) } + /* + * 获取未读消息 + */ + static chat(){ + return Serve.get('/user/chat') + } + /* + * 已读消息 + */ + static chatRead(){ + return Serve.get('/user/chatRead') + } } export default Home; \ No newline at end of file diff --git a/api/member.js b/api/member.js index 225b44c..188f88a 100644 --- a/api/member.js +++ b/api/member.js @@ -127,18 +127,22 @@ class Member { static contact () { return server.get(`/contact`); } - - /** - * 获取图形验证码 - * @param data {email,token} - */ - static Graph_che() { - return server.get(`/register/Graph_che`); - } - // 提币获取邮箱验证码 - static getWdcode(data){ - return server.get(`/user/wdcode`, data); - } + + /** + * 获取图形验证码 + * @param data {email,token} + */ + static Graph_che() { + return server.get(`/register/Graph_che`); + } + // 提币获取邮箱验证码 + static getWdcode(data){ + return server.get(`/user/wdcode`, data); + } + // 查询用户的帐号 + static getUnameByUid(data){ + return server.get(`/user/getUserName`, data); + } } export default Member; diff --git a/i18n/lang/en.json b/i18n/lang/en.json index ae32796..5c38c5f 100644 --- a/i18n/lang/en.json +++ b/i18n/lang/en.json @@ -109,7 +109,9 @@ "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": "Increase ratio", "c7": "Current valuation", - "GraphicValidation": "Graphical verification" + "GraphicValidation": "Graphical verification", + "loading": "loading", + "rejection":"Reason for rejection" }, "base": { "a0": "Title", diff --git a/i18n/lang/zh-TW.json b/i18n/lang/zh-TW.json index 61364f4..927ec83 100644 --- a/i18n/lang/zh-TW.json +++ b/i18n/lang/zh-TW.json @@ -109,7 +109,9 @@ "c5": "您的劃轉訂單已提交成功,請耐心等待,劃轉結果會以簡訊或郵件的管道通知。請注意查收,如有疑問請及時聯系客服", "c6": "漲幅比例", "c7": "當前估值", - "GraphicValidation": "圖形驗證" + "GraphicValidation": "圖形驗證", + "loading": "加载中", + "rejection":"拒絕理由" }, "base": { "a0": "標題", diff --git a/pages.json b/pages.json index 19df325..bc81732 100644 --- a/pages.json +++ b/pages.json @@ -173,6 +173,9 @@ { "path": "pages/service/service" }, + { + "path" : "pages/oncs/onservice" + }, { "path": "pages/service/index", "style": { diff --git a/pages/assets/records.vue b/pages/assets/records.vue index 3bbe59b..7a8326d 100644 --- a/pages/assets/records.vue +++ b/pages/assets/records.vue @@ -16,29 +16,39 @@ - - - - + + {{ $t("assets.c9") }} + {{ $t("assets.d0") }} + {{ $t("assets.c0") }} + {{ $t("exchange.g3") }} - - - - + + + {{ item.datetime | parseTime }} + + + {{ item.status_text }} + + + {{$t('assets.d1')}} + {{$t('assets.d2')}} + {{$t('assets.d3')}} + + + {{ item.amount }} + ({{ item.coin_name }}) + + + {{$t('exchange.g4')}} + + + + {{$t('common.rejection')}}:{{item.remark}} +
1、{{$t('auth.b5')}}
diff --git a/pages/base/home.vue b/pages/base/home.vue index 3da2634..52200a6 100644 --- a/pages/base/home.vue +++ b/pages/base/home.vue @@ -5,6 +5,7 @@
{{ $t("assets.c9") }}{{ $t("assets.d0") }}{{ $t("assets.c0") }}
- {{ item.datetime | parseTime }} - - {{ item.status_text }} - - {{$t('assets.d1')}} - {{$t('assets.d2')}} - {{$t('assets.d3')}} - - {{ item.amount }} - ({{ item.coin_name }}) -