diff --git a/HSLink-app/pages.json b/HSLink-app/pages.json
index 62ae7b5..fa4c836 100644
--- a/HSLink-app/pages.json
+++ b/HSLink-app/pages.json
@@ -63,35 +63,7 @@
"navigationBarBackgroundColor": "#333",//顶部背景色
"navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序)
}
- },
- {
- "path": "pages/release-detial/release-release/release-release",
- "style": {
- "enablePullDownRefresh": true,
- "navigationBarTitleText": "发图文",//顶部名称
- "navigationBarBackgroundColor": "#333",//顶部背景色
- "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序)
- }
- },
- {
- "path": "pages/release-detial/release-video/release-video",
- "style": {
- "enablePullDownRefresh": true,
- "navigationBarTitleText": "发视频",//顶部名称
- "navigationBarBackgroundColor": "#333",//顶部背景色
- "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序)
- }
- },
- {
- "path": "pages/release-detial/release-qa/release-qa",
- "style": {
- "enablePullDownRefresh": true,
- "navigationBarTitleText": "提问",//顶部名称
- "navigationBarBackgroundColor": "#333",//顶部背景色
- "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序)
- }
}
-
,{
"path" : "pages/tabbar/my/my-article/my-article",
"style": {
@@ -132,6 +104,33 @@
"navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序)
}
}
+ ,{
+ "path" : "pages/person-info-page/person-info-page",
+ "style": {
+ "enablePullDownRefresh": true,
+ "navigationBarTitleText": "个人主页",//顶部名称
+ "navigationBarBackgroundColor": "#333",//顶部背景色
+ "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序)
+ }
+ }
+ ,{
+ "path" : "pages/tabbar/follow/follow-list",
+ "style": {
+ "enablePullDownRefresh": true,
+ "navigationBarTitleText": "关注列表",//顶部名称
+ "navigationBarBackgroundColor": "#333",//顶部背景色
+ "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序)
+ }
+ }
+ ,{
+ "path" : "pages/tabbar/follow/fans-list",
+ "style": {
+ "enablePullDownRefresh": true,
+ "navigationBarTitleText": "粉丝列表",//顶部名称
+ "navigationBarBackgroundColor": "#333",//顶部背景色
+ "navigationBarTextStyle": "white" //文字颜色,目前只支持white和black这两种颜色(小程序)
+ }
+ }
],
"globalStyle": {
"navigationBarTextStyle": "black",
diff --git a/HSLink-app/pages/release-detial/release-qa/release-qa.vue b/HSLink-app/pages/release-detial/release-qa/release-qa.vue
deleted file mode 100644
index da383dc..0000000
--- a/HSLink-app/pages/release-detial/release-qa/release-qa.vue
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
- 页面 - 提问
-
-
-
-
-
-
diff --git a/HSLink-app/pages/release-detial/release-release/release-release.vue b/HSLink-app/pages/release-detial/release-release/release-release.vue
deleted file mode 100644
index 0d62a3b..0000000
--- a/HSLink-app/pages/release-detial/release-release/release-release.vue
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
- 页面 - 发图文
-
-
-
-
-
-
diff --git a/HSLink-app/pages/release-detial/release-video/release-video.vue b/HSLink-app/pages/release-detial/release-video/release-video.vue
deleted file mode 100644
index 753d66f..0000000
--- a/HSLink-app/pages/release-detial/release-video/release-video.vue
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
- 页面 - 发视频
-
-
-
-
-
-
diff --git a/HSLink-app/pages/tabbar/follow/follow.vue b/HSLink-app/pages/tabbar/follow/follow.vue
index db094c1..10978e6 100644
--- a/HSLink-app/pages/tabbar/follow/follow.vue
+++ b/HSLink-app/pages/tabbar/follow/follow.vue
@@ -1,437 +1,168 @@
- 页面 - 2
+
+
+ 暂无数据,点击重新加载
+
+
+
+
+
+ 文章标签:
+ {{item.label}}
+
+
+ 发表人:
+ {{item.real_name}}
+ 取消关注
+
+
+ 发表时间:
+ {{item.release_time}}
+
+
+
-
diff --git a/HSLink-app/pages/tabbar/homepage/data-details.vue b/HSLink-app/pages/tabbar/homepage/data-details.vue
index 4b81ce5..3dd3a4e 100644
--- a/HSLink-app/pages/tabbar/homepage/data-details.vue
+++ b/HSLink-app/pages/tabbar/homepage/data-details.vue
@@ -8,7 +8,7 @@
{{noticeInfo.label}}
-
+
{{noticeInfo.real_name}}
@@ -109,6 +109,20 @@
uni.startPullDownRefresh();
},
methods: {
+ /**
+ * @param {Object} item
+ */
+ goToUserInfo(item) {
+ if (item.user_id === uni.getStorageSync("userInfo").user_id) {
+ uni.switchTab({
+ url: '/pages/tabbar/my/my'
+ });
+ } else {
+ uni.navigateTo({
+ url: `/pages/person-info-page/person-info-page?userId=${item.user_id}`
+ })
+ }
+ },
/**
* 点击留言弹出输入框确定
*/
diff --git a/HSLink-app/pages/tabbar/homepage/homepage.vue b/HSLink-app/pages/tabbar/homepage/homepage.vue
index b780e1f..b8b6331 100644
--- a/HSLink-app/pages/tabbar/homepage/homepage.vue
+++ b/HSLink-app/pages/tabbar/homepage/homepage.vue
@@ -28,7 +28,7 @@
文章标签:
{{item.label}}
-
+
发表人:
{{item.real_name}}
@@ -81,6 +81,20 @@ export default {
this.getAllData();
},
methods: {
+ /**
+ * @param {Object} item
+ */
+ goToUserInfo(item) {
+ if (item.user_id === uni.getStorageSync("userInfo").user_id) {
+ uni.switchTab({
+ url: '/pages/tabbar/my/my'
+ });
+ } else {
+ uni.navigateTo({
+ url: `/pages/person-info-page/person-info-page?userId=${item.user_id}`
+ })
+ }
+ },
/**
* 跳转详情页面
* @param {Object} item
diff --git a/HSLink-app/pages/tabbar/message/chat-page.vue b/HSLink-app/pages/tabbar/message/chat-page.vue
index 4d32016..06ed88c 100644
--- a/HSLink-app/pages/tabbar/message/chat-page.vue
+++ b/HSLink-app/pages/tabbar/message/chat-page.vue
@@ -2,7 +2,7 @@
-
-
-
+
发表人:
{{item.real_name}}
@@ -87,6 +87,21 @@ export default {
this.getAllData();
},
methods: {
+ /**
+ * 跳转人员信息页面
+ * @param {Object} item
+ */
+ goToUserInfo(item) {
+ if (item.user_id === uni.getStorageSync("userInfo").user_id) {
+ uni.switchTab({
+ url: '/pages/tabbar/my/my'
+ });
+ } else {
+ uni.navigateTo({
+ url: `/pages/person-info-page/person-info-page?userId=${item.user_id}`
+ })
+ }
+ },
/**
* 编辑页面
* @param {Object} item
diff --git a/HSLink-app/pages/tabbar/my/my.vue b/HSLink-app/pages/tabbar/my/my.vue
index bd9d25f..9edf9c8 100644
--- a/HSLink-app/pages/tabbar/my/my.vue
+++ b/HSLink-app/pages/tabbar/my/my.vue
@@ -2,17 +2,27 @@
-
- 姓名:裴浩宇
+
+
+ 姓名:{{userInfo.real_name}}
+
+
+ 等级:天才{{Math.floor((userInfo.integral)/1000)+1}}
+
+
+ 积分:{{userInfo.integral}}
+
-
- 等级:博客{{Math.floor(1520/1000)+1}}
-
-
- 积分:1520
+
+
+ 关注:{{userOtherInfo.followNumber}}
+
+
+ 粉丝:{{userOtherInfo.fansNumber}}
+
@@ -33,6 +43,7 @@