diff --git a/src/components/mineMini.vue b/src/components/mineMini.vue
index a48dfc8..0d5cdb8 100644
--- a/src/components/mineMini.vue
+++ b/src/components/mineMini.vue
@@ -3,10 +3,7 @@
-
+
{{
!isLoginStatus ? "未登录用户" : maskPhoneNumber()
@@ -35,53 +32,30 @@
-
+ }" @click="handleClick(-1)">
+ -->
+
-
-
-
+ }" @click="handleClick(1)">
-
+ }" @click="handleClick(2)">
浏览记录
@@ -106,12 +80,8 @@
-
+
diff --git a/src/components/mini/Navbar.vue b/src/components/mini/Navbar.vue
index 3dc019c..382bb36 100644
--- a/src/components/mini/Navbar.vue
+++ b/src/components/mini/Navbar.vue
@@ -2,7 +2,7 @@
-
+
{{ title }}
diff --git a/src/pages/bookmark/index.vue b/src/pages/bookmark/index.vue
index 7197557..5393eca 100644
--- a/src/pages/bookmark/index.vue
+++ b/src/pages/bookmark/index.vue
@@ -1,20 +1,25 @@
+
+
@@ -29,6 +34,8 @@ import { ref, watch, onMounted } from "vue";
import { onLoad, onPullDownRefresh, onReachBottom } from "@dcloudio/uni-app";
import SubArticleList from "./components/articleList.vue";
import { fetchFavList, fetchLikeList, fetchTrackList } from "@/api/users";
+import { getNavHeight } from "@/utils/util"
+import Navbar from '@/components/mini/Navbar.vue'
const tableValue = ref(0);
const listData = ref([]);
@@ -146,8 +153,9 @@ onLoad((option) => {
display: flex;
align-items: center;
position: relative;
- .flashBack {
- }
+
+ .flashBack {}
+
.title {
// background-color: red;
font-size: var(--h1-font-size);
@@ -155,7 +163,7 @@ onLoad((option) => {
// font-weight: bold;
width: 100%;
display: flex;
- justify-content: center;
+ justify-content: start;
// left: 50%;
// transform: translateX(-50%);
// position: absolute;
@@ -164,7 +172,6 @@ onLoad((option) => {
}
}
- .subContent {
- }
+ .subContent {}
}
diff --git a/src/pages/minihome/index.vue b/src/pages/minihome/index.vue
index 5612e3b..c47dcc9 100644
--- a/src/pages/minihome/index.vue
+++ b/src/pages/minihome/index.vue
@@ -88,6 +88,7 @@ const tabIndex = ref(0);
function tabChange(index) {
tabIndex.value = index;
+ uni.setStorageSync('homeTabIndex', index)
switch (index) {
case 0:
@@ -111,7 +112,11 @@ onPageScroll((val) => {
})
onShow(() => {
- tabChange(0)
+ if (uni.getStorageSync('homeTabIndex') == 1) {
+ tabChange(1)
+ } else {
+ tabChange(0)
+ }
})
onMounted(async () => {
diff --git a/src/pages/subscribed/index.vue b/src/pages/subscribed/index.vue
index 2ecd623..1058c17 100644
--- a/src/pages/subscribed/index.vue
+++ b/src/pages/subscribed/index.vue
@@ -1,5 +1,11 @@
+