This commit is contained in:
张成
2025-11-14 22:54:36 +08:00
parent 6b560da897
commit 0adab95d34
16 changed files with 171 additions and 42 deletions

View File

@@ -1,7 +1,6 @@
import React, { useState } from "react";
import { View, Text, Image } from "@tarojs/components";
import { View, Text } from "@tarojs/components";
import Taro from "@tarojs/taro";
import img from "@/config/images";
import { redirectTo } from "@/utils/navigation";
import "./index.scss";
import PublishMenu from "../PublishMenu";
export type currentPageType = "games" | "message" | "personal";
@@ -24,12 +23,6 @@ const GuideBar = (props) => {
},
];
const handlePublish = () => {
Taro.navigateTo({
url: "/publish_pages/publishBall/index",
});
};
const handlePageChange = (code: string) => {
if (code === currentPage) {
return;
@@ -52,7 +45,7 @@ const GuideBar = (props) => {
if (code === "list") {
url = "/game_pages/list/index"
}
Taro.redirectTo({
redirectTo({
url: url,
}).then(() => {
(Taro as any).pageScrollTo({