diff --git a/src/pages/index/index.jsx b/src/pages/index/index.jsx
index 66c9e72..586c6f9 100644
--- a/src/pages/index/index.jsx
+++ b/src/pages/index/index.jsx
@@ -188,7 +188,7 @@ const Index = () => {
className="submitBtn"
onClick={() => {
Taro.navigateTo({
- url: "/pages/meetup/Detail/index",
+ url: "/pages/meetup/Detail/index?id=20231206&openid='",
});
}}
>
diff --git a/src/pages/meetup/Detail/index.jsx b/src/pages/meetup/Detail/index.jsx
index f1a827e..13f20dd 100644
--- a/src/pages/meetup/Detail/index.jsx
+++ b/src/pages/meetup/Detail/index.jsx
@@ -9,12 +9,18 @@ import { AtCard } from "taro-ui";
import { AtImagePicker } from "taro-ui";
import Taro from "@tarojs/taro";
import { AtAvatar } from "taro-ui";
+import { AtButton } from "taro-ui";
+// import Taro from "@tarojs/taro";
import { AtList, AtListItem } from "taro-ui";
// export default class Index extends Component {
const Detail = () => {
const [current, setcurrent] = useState(2);
+ const [id, setid] = useState(2);
+ const [openid, setopenid] = useState(2);
+
+
const handleClick = (value) => {
console.log("value", value);
setcurrent(value);
@@ -33,12 +39,37 @@ const Detail = () => {
});
}
};
+
+ useEffect(() => {
+ let $instance =Taro. getCurrentInstance()
+ // console.log("11");
+ console.log($instance.router.params)
+ }, []);
return (
-
+
{/* Hello world! */}
{/* */}
-
+
+
+
+ {}} />
+
+
+
+ {/* */}
+
+
+ {/*
{
arrow="right"
iconInfo={{ size: 25, color: "#FF4949", value: "bookmark" }}
/>
-
+ */}
+
+
+
+ 立即报名
+
+
{/*
{
*/}
- {
/>
- [副业交流] 沙龙茶话会
+
+ [已报名] 4/10
+
2023/12/06 星期三
-
+ {
+ Taro.navigateTo({
+ url: "/pages/meetup/Detail/index",
+ });
+ }}
+ >
立即报名