From fa8dac00615aa49c28e2d524fe42b6070ac7e072 Mon Sep 17 00:00:00 2001 From: luyisha Date: Fri, 22 Sep 2023 18:33:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=85=AC=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/member.js | 4 ++++ src/i18n/de.json | 1 + src/i18n/en.json | 1 + src/i18n/fra.json | 1 + src/i18n/it.json | 1 + src/i18n/jp.json | 1 + src/i18n/kor.json | 1 + src/i18n/pt.json | 1 + src/i18n/spa.json | 1 + src/i18n/tr.json | 1 + src/i18n/tw.json | 1 + src/views/notice/index.vue | 12 ++++++++---- 12 files changed, 22 insertions(+), 4 deletions(-) diff --git a/src/api/member.js b/src/api/member.js index 7405f15..c37ce7c 100644 --- a/src/api/member.js +++ b/src/api/member.js @@ -145,6 +145,10 @@ class Member { static agent(data){ return server.post('/agent/register',data) } + // 公告列表 + static notice(data){ + return server.get('/notice',{params:data}) + } } export default Member; diff --git a/src/i18n/de.json b/src/i18n/de.json index f68e933..2400a43 100644 --- a/src/i18n/de.json +++ b/src/i18n/de.json @@ -38,6 +38,7 @@ "c9":"kurze Einführung" }, "common": { + "announcement": "Bekanntmachung", "a3":"Aufzeichnungen über den Kauf", "option":"Handel mit Optionen", "exchange":"Devisenhandel", diff --git a/src/i18n/en.json b/src/i18n/en.json index 28446d9..edd5989 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -38,6 +38,7 @@ "c9":"brief introduction" }, "common": { + "announcement": "Announcement", "million": "million", "user": "users trust us", "tradings": "trading transactions", diff --git a/src/i18n/fra.json b/src/i18n/fra.json index f767cf5..076cca7 100644 --- a/src/i18n/fra.json +++ b/src/i18n/fra.json @@ -38,6 +38,7 @@ "c9":"Introduction" }, "common": { + "announcement": "annonce", "a3":"Ostosta koskevat tiedot", "option":"Opérations d'options", "exchange":"Négociation de devises", diff --git a/src/i18n/it.json b/src/i18n/it.json index a50eadf..3925871 100644 --- a/src/i18n/it.json +++ b/src/i18n/it.json @@ -38,6 +38,7 @@ "c9":"breve introduzione" }, "common": { + "announcement": "annuncio", "a3":"Registri di acquisto", "option":"Scambio di opzioni", "exchange":"Commercio di valuta", diff --git a/src/i18n/jp.json b/src/i18n/jp.json index e4c3420..c79895f 100644 --- a/src/i18n/jp.json +++ b/src/i18n/jp.json @@ -38,6 +38,7 @@ "c9":"概要" }, "common": { + "announcement": "発表", "a3":"購入申請記録", "option":"約束権", "exchange":"通貨取引", diff --git a/src/i18n/kor.json b/src/i18n/kor.json index 4c43cdd..a8f8780 100644 --- a/src/i18n/kor.json +++ b/src/i18n/kor.json @@ -38,6 +38,7 @@ "c9":"간단 한 소개" }, "common": { + "announcement": "발표", "a3":"구 매 신청 기록", "option":"옵션", "exchange":"통화 거래", diff --git a/src/i18n/pt.json b/src/i18n/pt.json index f053a59..905bab5 100644 --- a/src/i18n/pt.json +++ b/src/i18n/pt.json @@ -38,6 +38,7 @@ "c9":"Breve introdução" }, "common": { + "announcement": "anúncio", "a3":"Registos de Compras", "option":"Operações de opção", "exchange":"Troca de moeda", diff --git a/src/i18n/spa.json b/src/i18n/spa.json index 5e9b9d2..a2b17b9 100644 --- a/src/i18n/spa.json +++ b/src/i18n/spa.json @@ -38,6 +38,7 @@ "c9":"Introducción" }, "common": { + "announcement": "anuncio", "a3":"Registro de pedidos", "option":"Comercio de opciones", "exchange":"Comercio de divisas", diff --git a/src/i18n/tr.json b/src/i18n/tr.json index ee4160a..ddaf254 100644 --- a/src/i18n/tr.json +++ b/src/i18n/tr.json @@ -38,6 +38,7 @@ "c9":"kısa tanıtım" }, "common":{ + "announcement": "duyuru", "a3":"Satın alma kaydı", "option":"Opsiyon ticareti", "exchange":"Döviz ticareti", diff --git a/src/i18n/tw.json b/src/i18n/tw.json index 8d5f9a3..452a717 100644 --- a/src/i18n/tw.json +++ b/src/i18n/tw.json @@ -38,6 +38,7 @@ "c9":"簡介" }, "common": { + "announcement": "公告", "million": "幾百萬", "user": "用戶信任我們", "tradings": "交易", diff --git a/src/views/notice/index.vue b/src/views/notice/index.vue index d5d572f..a855756 100644 --- a/src/views/notice/index.vue +++ b/src/views/notice/index.vue @@ -3,7 +3,7 @@
-
+
{{item.title}}
@@ -39,11 +39,11 @@ export default { getList() { let data = { page: this.page, - type:'notice' + // type:'notice' } - Member.article(data).then(res => { + Member.notice(data).then(res => { this.detail = res; - this.list = res.data; + this.list = res; }) }, } @@ -53,6 +53,10 @@ export default { .list{ .item{ color: #758696; + + .color-light{ + color: #fff; + } &:hover{ color: white; }