diff --git a/src/pages/index/index.jsx b/src/pages/index/index.jsx index 9d6bfc1..04e4d17 100644 --- a/src/pages/index/index.jsx +++ b/src/pages/index/index.jsx @@ -71,14 +71,14 @@ const Index = () => { } }; - const getWxidFromUrl=()=>{ + const getWxidFromUrl = () => { const urlParams = new URLSearchParams(window.location.search); - const wxid = urlParams.get('wxid'); - setwxid(wxid) + const wxid = urlParams.get("wxid"); + setwxid(wxid); // window.alert(wxid) return wxid; -} - + }; + // 网页查看通知 // 入群申请 @@ -89,7 +89,7 @@ const Index = () => { // o7LFAwR32hWGq9XOpd7ZxK1wZxq8 // window.alert(window.localStorage.getItem('openid')) // 获取wxid参数 - getWxidFromUrl() + getWxidFromUrl(); }, []); const goBack = () => { @@ -142,11 +142,61 @@ const Index = () => { - - 独立博客 - 独立博客 + {/* 付费合集 */} + + + {}} + /> + {}} + /> + {}} + /> + + + + + + {/* 左边 */} + + + + {/* 右边 */} + + + xMEMS Live - Asia 2024 | 音频技术研讨会(深圳) + + 深圳市南山区 + + 了解详情 + + + + {/* diff --git a/src/pages/index/index.scss b/src/pages/index/index.scss index cb81417..5127951 100644 --- a/src/pages/index/index.scss +++ b/src/pages/index/index.scss @@ -25,16 +25,61 @@ .index-article { margin-top: 40px; // background-color: yellow; - font-size: 25px; + font-size: 30px; .spanText { font-weight: 700; } } + .index-list { + margin-top: 40px; + } - .index-card{ - margin-top: 30px; - font-size: 24px; + .index-meetup { + margin-top: 40px; + + .meetup-card { + display: flex; + flex-direction: row; + // background-color: yellow; + + .meetup-left { + width: 50%; + height: 100%; + display: flex; + flex-direction: column; + // background-color: red; + } + .meetup-right { + font-size: 20px; + margin-left: 10px; + display: flex; + flex-direction: column; + // align-items: center; + justify-content: space-between; + // background-color: green; + flex: 1; + .title{ + + } + .address{ + // margin-top: 30px; + } + .meetBtn{ + display: flex; + flex-direction: row-reverse; + .join{ + width: 100px; + display: flex; + flex-direction: row; + align-items: center; + justify-content: center; + background-color: #1bb14e; + } + + } + } + } } .payBtn {