This commit is contained in:
2025-06-13 20:46:10 +08:00
parent e285692d9c
commit 52e34ffd7c
322 changed files with 3383 additions and 6322 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);