From 127cd4a533c91982553a1b6b027c12c993e4d564 Mon Sep 17 00:00:00 2001
From: Wik-T <812952667@qq.com>
Date: Wed, 11 Jan 2023 16:07:27 +0800
Subject: [PATCH] =?UTF-8?q?1.=E4=BC=98=E5=8C=962.0=E6=B6=88=E6=81=AF?=
=?UTF-8?q?=E4=B8=AD=E5=BF=83=E5=88=97=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Utils/Api.js | 4 +--
pages/user/news/news.vue | 66 ++++++++++++++++++++++++++++------------
2 files changed, 48 insertions(+), 22 deletions(-)
diff --git a/Utils/Api.js b/Utils/Api.js
index 5365596..bb2d990 100644
--- a/Utils/Api.js
+++ b/Utils/Api.js
@@ -171,8 +171,8 @@ export const getDiscountByCode = params => {
//站内信列表
-export const queryMsgByList = params => {
- return POST('GET', `${base}/bsMsg/queryMsgByList`, params).then(res => res.data);
+export const getMsgByList = params => {
+ return POST('GET', `${base}//bsMsg/getMsgByList`, params).then(res => res.data);
}
// 根据优惠券查卡券
export const getCouponByDiscount = params => {
diff --git a/pages/user/news/news.vue b/pages/user/news/news.vue
index 30ae517..7821e81 100644
--- a/pages/user/news/news.vue
+++ b/pages/user/news/news.vue
@@ -3,14 +3,14 @@
- {{item.codeName}}
+ v-for="(item,index) in newsTyplist" :key="index" @click="changeValue(item.codeValue)">
+ {{item.codeName}}
+
-
-
+
+
@@ -35,7 +35,7 @@
- {{item.title}}
+ {{item.title}}
¥{{item.content | msgFormat('price')}}
@@ -73,7 +73,7 @@