diff --git a/common/api/user.js b/common/api/user.js
index 39b4728..2833b3b 100644
--- a/common/api/user.js
+++ b/common/api/user.js
@@ -256,6 +256,34 @@ export default {
if(file) Object.assign(params, { file: file });
return vm.$u.post('Order/orderEvaluate', params);
},
+ // 信息模块
+ messageIndex({ }) {
+ return vm.$u.post('Message/messageIndex', { });
+ },
+ // 公告咨询列表
+ informationList({ }) {
+ return vm.$u.post('Message/informationList', { });
+ },
+ // 关注列表
+ snsfriendList({ }) {
+ return vm.$u.post('message/snsfriendList', { });
+ },
+ // 公告消息列表
+ informationInfo({ }) {
+ return vm.$u.post('message/informationInfo', { });
+ },
+ // 活动消息列表
+ messageactivityList({ }) {
+ return vm.$u.post('message/messageactivityList', { });
+ },
+ // 全部已读接口
+ delMessage({ type }) {
+ return vm.$u.post('message/delMessage', { type });
+ },
+ // 已读消息
+ delMessage({ type }) {
+ return vm.$u.post('/message/readMessage', { type });
+ },
}
}
}
\ No newline at end of file
diff --git a/components/informations/titles/titles.vue b/components/informations/titles/titles.vue
index 76a6d0f..0d0920d 100644
--- a/components/informations/titles/titles.vue
+++ b/components/informations/titles/titles.vue
@@ -53,6 +53,7 @@
diff --git a/pageA/welcome/welcome.vue b/pageA/welcome/welcome.vue
index 9c198ed..a89b50f 100644
--- a/pageA/welcome/welcome.vue
+++ b/pageA/welcome/welcome.vue
@@ -13,7 +13,7 @@
}
},
- onLoad() {
+ onLoad() {
},
methods: {
diff --git a/pageD/activity/activity.vue b/pageD/activity/activity.vue
index f5361ca..6dfe87c 100644
--- a/pageD/activity/activity.vue
+++ b/pageD/activity/activity.vue
@@ -4,11 +4,11 @@
{{item.type}}
- {{item.name}}
+ {{item.title}}
-
+
- {{item.about}}
+ {{item.summary}}
@@ -21,43 +21,23 @@
data() {
return {
actives: [
- {
- url: '../../pageE/static/mine/1.png',
- name: '百元趋势新品',
- type: '2020-05-14 20:11',
- about: '百搭休闲格纹裙!你值得有用!'
- },
- {
- url: '../../pageE/static/mine/1.png',
- name: '百元趋势新品',
- type: '2020-05-14 20:11',
- about: '百搭休闲格纹裙!你值得有用!'
- },
- {
- url: '../../pageE/static/mine/1.png',
- name: '百元趋势新品',
- type: '2020-05-14 20:11',
- about: '百搭休闲格纹裙!你值得有用!'
- },
- {
- url: '../../pageE/static/mine/1.png',
- name: '百元趋势新品',
- type: '2020-05-14 20:11',
- about: '百搭休闲格纹裙!你值得有用!'
- },
- {
- url: '../../pageE/static/mine/1.png',
- name: '百元趋势新品',
- type: '2020-05-14 20:11',
- about: '百搭休闲格纹裙!你值得有用!'
- },
]
};
},
+ onLoad(){
+ this.messageactivityList()
+ },
methods: {
titletext(){
console.log("22345")
+ },
+ // 活动消息列表
+ messageactivityList(){
+ this.$u.api.messageactivityList({}).then((res)=>{
+ console.log(res)
+ this.actives = res.data
+ })
}
},
components:{
@@ -66,6 +46,9 @@