This commit is contained in:
2025-06-13 20:46:10 +08:00
parent a3e6a6d8b8
commit 898b816655
52 changed files with 2250 additions and 3785 deletions
+34
View File
@@ -83,6 +83,18 @@
arrow: true,
type: 'my_follow'
},
{
name: '新增文章',
icon: '/static/center/icon-follow.png',
arrow: true,
type: 'edit_cms'
},
{
name: '文章管理',
icon: '/static/center/icon-follow.png',
arrow: true,
type: 'cms_list'
},
{
name: '提现',
icon: '/static/center/withdraw.png',
@@ -218,6 +230,28 @@
url: "/pages2/replyCommentList/replyCommentList"
})
}
} else if (e.type === "cms_list") {
let token = uni.getStorageSync("uni_id_token");
console.log(token);
if (!token) {
this.toLogin();
} else {
uni.navigateTo({
url: "/pages2/edit_list/edit_list"
})
}
} else if (e.type === "edit_cms") {
let token = uni.getStorageSync("uni_id_token");
console.log(token);
if (!token) {
this.toLogin();
} else {
uni.navigateTo({
url: "/pages2/editCms/editCms"
})
}
} else if (e.type === "my_collect") {
let token = uni.getStorageSync("uni_id_token");
console.log(token);