diff --git a/src/api/platform/follower.js b/src/api/platform/follower.js
new file mode 100644
index 0000000..cbba817
--- /dev/null
+++ b/src/api/platform/follower.js
@@ -0,0 +1,9 @@
+import request from "@/utils/request";
+
+// 查询收货地址列表
+export function listFollower(user_id) {
+ return request({
+ url: `/platform/follower/list/${user_id}`,
+ method: "get",
+ });
+}
diff --git a/src/views/platform/address.vue b/src/views/platform/address.vue
index dedbb87..4f6be87 100644
--- a/src/views/platform/address.vue
+++ b/src/views/platform/address.vue
@@ -31,6 +31,9 @@ import { listAddress, getAddress, delAddress, addAddress, updateAddress } from "
export default {
name: "Address",
+ props: {
+ userId: Number
+ },
data() {
return {
// 遮罩层
@@ -101,6 +104,7 @@ export default {
/** 查询收货地址列表 */
getList() {
this.loading = true;
+ this.queryParams.userId = this.userId
listAddress(this.queryParams).then(response => {
this.addressList = response.rows;
this.total = response.total;
@@ -195,6 +199,13 @@ export default {
...this.queryParams
}, `address_${new Date().getTime()}.xlsx`)
}
+ },
+ watch: {
+ userId(newValue) {
+ if (newValue) {
+ this.getList();
+ }
+ }
}
};
diff --git a/src/views/platform/follower.vue b/src/views/platform/follower.vue
new file mode 100644
index 0000000..24db9c3
--- /dev/null
+++ b/src/views/platform/follower.vue
@@ -0,0 +1,152 @@
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime) }}
+
+
+
+
+ {{ scope.row.followingUser.nickName }}
+
+
+
+
+ {{ scope.row.followingUser.userId }}
+
+
+
+
+ {{ scope.row.followingUser.phonenumber }}
+
+
+
+
+ {{ scope.row.followingUser.wechatNickName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.isDefault ? '是' : '否' }}
+
+
+
+
+ {{ parseTime(scope.row.followingUser.loginDate) }}
+
+
+
+
+ {{ parseTime(scope.row.followingUser.createTime) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index c917c1c..6139c3e 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -78,7 +78,7 @@
- {{ scope.row.referrerSysUser.phonenumber }}
+ {{ scope.row.referrerSysUser.nickName }}
@@ -131,12 +131,14 @@
钱包明细
购买明细
-
+
浏览记录
收藏记录
购物车
- 粉丝
+
+
+
优惠券
@@ -168,13 +170,14 @@