diff --git a/src/api/index.ts b/src/api/index.ts
index ccf3ca3..0068af6 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -67,3 +67,8 @@ export const doWxAuth = (data: any) => {
return Request.post("/common/auth", data);
};
+// 微信分享
+export const doShare = (data: any) => {
+ return Request.post("/user/share", data);
+};
+
diff --git a/src/components/articleList/index.vue b/src/components/articleList/index.vue
index 7746966..e13a1d7 100644
--- a/src/components/articleList/index.vue
+++ b/src/components/articleList/index.vue
@@ -10,13 +10,10 @@
}}
-
- {{ item.tag }}
-
+
- {{ item.time }}
-
- {{ item.readNums || 0 }}阅读
- {{ item.likeNums || 0 }}点赞
-
+
+ {{ item.tag }}
+ {{ item.time }}
+
+
+
+
+ {{ item.readNums }}
+
+
+ {{ item.likeNums }}
+
+
+ {{ item.shareNums }}
+
-
+
@@ -139,7 +149,13 @@ const handleClick = (item: any) => {
white-space: normal;
// font-weight: bold;
word-break: break-all;
- font-family: "SourceHanSansCN-Medium";
+ font-family: PingFangSC, PingFang SC;
+ font-weight: bold;
+ font-size: 32rpx;
+ color: #192236;
+ line-height: 45rpx;
+ text-align: left;
+ font-style: normal;
// text-align: left;
&.noAbstract {
@@ -190,6 +206,14 @@ const handleClick = (item: any) => {
overflow: hidden;
text-overflow: ellipsis;
white-space: normal;
+
+ font-family: PingFangSC, PingFang SC;
+ font-weight: 400;
+ font-size: 24rpx;
+ color: #2D3849;
+ line-height: 33rpx;
+ text-align: left;
+ font-style: normal;
}
}
}
@@ -247,4 +271,27 @@ const handleClick = (item: any) => {
.listItemTitleContentText {
font-family: "SourceHanSansCN-Medium";
}
+
+
+.r_option {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ gap: 10rpx;
+
+ .option_icon {
+ width: 24rpx;
+ height: 24rpx;
+ }
+
+ .option_text {
+ font-family: PingFangSC, PingFang SC;
+ font-weight: 400;
+ font-size: 24rpx;
+ color: #192236;
+ line-height: 33rpx;
+ text-align: justify;
+ font-style: normal;
+ }
+}
diff --git a/src/components/comment/indexMini.vue b/src/components/comment/indexMini.vue
index 1b6d619..6111a27 100644
--- a/src/components/comment/indexMini.vue
+++ b/src/components/comment/indexMini.vue
@@ -16,11 +16,11 @@
收藏
-
+
+
@@ -123,4 +123,9 @@ const handleSubmit = () => {
}
}
}
+
+
+button::after {
+ border: 0;
+}
diff --git a/src/pages/detail/indexNewsInfo.vue b/src/pages/detail/indexNewsInfo.vue
index 0dc9d7a..9e14e6b 100644
--- a/src/pages/detail/indexNewsInfo.vue
+++ b/src/pages/detail/indexNewsInfo.vue
@@ -49,14 +49,14 @@
diff --git a/src/utils/index.ts b/src/utils/index.ts
index 81cfa0d..916a78a 100644
--- a/src/utils/index.ts
+++ b/src/utils/index.ts
@@ -51,7 +51,7 @@ Request.setConfig((config: any) => {
if (uni.getStorageSync("token")) {
// config.header["Authorization"] = "Bearer " + uni.getStorageSync("token");
config.header!["auth-token"] = uni.getStorageSync("token");
- config.header!["phone"] = uni.getStorageSync("phone");
+ config.header!["phone"] = uni.getStorageSync("userPhone");
}
return config;