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..0962190 100644
--- a/api/home.js
+++ b/api/home.js
@@ -20,6 +20,24 @@ class Home {
static option(data){
return Serve.post('/option',data)
}
+ /*
+ * 获取用户在线接口
+ */
+ static online(){
+ return Serve.get('/online')
+ }
+ /*
+ * 获取未读消息
+ */
+ 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 b9f6138..400aba0 100644
--- a/api/member.js
+++ b/api/member.js
@@ -127,17 +127,21 @@ 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 ebbb2a8..917af47 100644
--- a/i18n/lang/en.json
+++ b/i18n/lang/en.json
@@ -68,7 +68,27 @@
"c4": "Size",
"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"
+ "c7": "Current valuation",
+ "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",
diff --git a/i18n/lang/zh-TW.json b/i18n/lang/zh-TW.json
index 01e7a49..4c6b2c6 100644
--- a/i18n/lang/zh-TW.json
+++ b/i18n/lang/zh-TW.json
@@ -67,7 +67,27 @@
"c3": "可開",
"c4": "數量",
"c5": "您的劃轉訂單已提交成功,請耐心等待,劃轉結果會以簡訊或郵件的管道通知。請注意查收,如有疑問請及時聯系客服",
- "c6": "漲幅比例"
+ "c6": "漲幅比例",
+ "loading": "加载中",
+ "c12": "駁回信息",
+ "c13": "提款密碼",
+ "c14": "請填写提款密碼",
+ "c15": "重置提款密碼",
+ "rejection":"拒絕理由",
+ "c16": "轉移",
+ "c17": "轉移地址",
+ "c18": "轉移金額",
+ "c19": "充值/轉移",
+ "c20": "聯絡客服",
+ "c21": "選擇幣種",
+ "c22": "密碼及邮箱驗證碼",
+ "c23": "預計到帳時間",
+ "c24": "到帳數量",
+ "c25": "提現",
+ "c26": "轉移數量不能大於{name}",
+ "c27": "轉移記錄",
+ "c28": "確認",
+ "c29": "請認真核對您的提幣地址,務必檢查是否正確填寫。如果您漏添或填錯,將有可能對您的資產造成損失"
},
"base": {
"a0": "標題",
diff --git a/pages/base/home.vue b/pages/base/home.vue
index dbb0d16..08f2692 100644
--- a/pages/base/home.vue
+++ b/pages/base/home.vue
@@ -864,6 +864,15 @@
+
+
+
+ {{newscount>=100?'99+':newscount}}
+ {{$t('common.service')}}
+
+
+