'删除多余不发了'

This commit is contained in:
hackrobot
2025-03-23 05:56:56 -05:00
parent 8e8da266c9
commit 37d11ab897
4 changed files with 2 additions and 550 deletions

View File

@@ -121,29 +121,7 @@ const Book = () => {
></View>
<View className="bottomDiv"></View>
{/* 判断有没有wxid,是否女性 */}
{book != 1 ? (
<AtButton
type="primary"
size="normal"
className="joinSalon"
onClick={() => {
if (book == 1) {
return false;
} else {
if (!!isWeChat) {
// 19.8元
payh5("book", 1980);
} else {
// setmeetupQR(true);
}
}
}}
>
{/* {meetup == 1 ? "已加入" : `立即加入`} */}
{`阅读更多`}
</AtButton>
) : null}
</View>
);
};

View File

@@ -1,3 +1,3 @@
export default {
navigationBarTitleText: '异度星球'
navigationBarTitleText: 'Youtube运营笔记'
}

View File

@@ -327,226 +327,6 @@ const Index = () => {
return (
<View className="index">
{/* <Button
onClick={() => {
// 跳转到目的页面,在当前页面打开
Taro.navigateTo({
url: "/pages/group/index",
});
}}
>
111
</Button> */}
{/* 公众号 */}
<View
className="index-title"
onClick={() => {
// window.location.href=""
}}
>
<AtAvatar
size="small"
circle
// image="https://www.hackrobot.cn/wp-content/uploads/2023/05/cropped-cropped-Screenshot-2023-05-22-at-17.26.38.png"
image={touxiang}
></AtAvatar>
<View className="yidooplanet">异度世界</View>
</View>
{/* 标签 */}
<View className="index-tags animate__animated animate__pulse">
<AtTag className="index-AtTag" type="primary" AtNavBar={true} circle>
独立开发者
</AtTag>
<AtTag className="index-AtTag" type="primary" AtNavBar={true} circle>
跨境电商
</AtTag>
<AtTag className="index-AtTag" type="primary" AtNavBar={true} circle>
树莓派
</AtTag>
</View>
<View className="index-article">
{/* className="at-article__p" */}
<View>
普通的独立开发者,平时喜欢折腾树莓派
<br />
副业是做跨境电商
<br />
做一个<span className="spanText">数字游民</span>ing
</View>
</View>
{/* 付费合集 */}
<View className="index-list">
<AtList>
<AtListItem
title="云手机 🔥"
arrow="right"
// hasBorder={false}
thumb={phone}
onClick={() => {
Taro.navigateTo({
url: "/pages/sphone/index",
});
// window.location.href =
// "https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NTgyNDUxNw==&action=getalbum&album_id=3555705062712901639#wechat_redirect";
}}
/>
<AtListItem
title="微信机器人"
arrow="right"
// hasBorder={false}
thumb={robot}
onClick={() => {
window.location.href =
// "https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NTgyNDUxNw==&action=getalbum&album_id=3545545030499270661#wechat_redirect";
"https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NTgyNDUxNw==&action=getalbum&album_id=3629790245010128902#wechat_redirect";
}}
/>
<AtListItem
title="AIGC"
arrow="right"
// hasBorder={false}
thumb={AIGC}
onClick={() => {
window.location.href =
// "https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NTgyNDUxNw==&action=getalbum&album_id=3545545030499270661#wechat_redirect";
"https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NTgyNDUxNw==&action=getalbum&album_id=3635342254190739460#wechat_redirect";
}}
/>
{/* <AtListItem
title="数字游民"
arrow="right"
// hasBorder={false}
thumb={nomad}
onClick={() => {
window.location.href =
"https://mp.weixin.qq.com/mp/appmsgalbum?__biz=MzU4NTgyNDUxNw==&action=getalbum&album_id=3545541605766168582#wechat_redirect";
}}
/> */}
</AtList>
</View>
{/* 已付费的用户才展示活动 */}
<View className="index-meetup animate__animated animate__pulse">
<AtCard
// note="提示文字"
// extra="2024/09/18"
// extra="已加入:200+"
title="加群"
thumb="http://img12.360buyimg.com/jdphoto/s72x72_jfs/t10660/330/203667368/1672/801735d7/59c85643N31e68303.png"
>
<View className="meetup-card">
{/* 左边 */}
<View className="meetup-left">
<Image
style="width: 100%;height: 100px;background: #fff;"
// src={meetup}
src={loft}
/>
</View>
{/* 右边 */}
<View className="meetup-right">
<View className="title"> 技术交流:云手机/机器人/AI </View>
<View className="address">
<AtIcon value="map-pin" size="30" color="#F00"></AtIcon>
<span>异度世界</span>
</View>
<View className="meetBtn">
{/* <View>
<AtIcon value="clock" size="30" color="#F00"></AtIcon>
19:00--21:00
</View> */}
<View className="meetupSrcItem">
{[touxiang, girl, cat].map((item, index) => {
return (
<View className="meetupSrc">
<Image
style="width: 20px;height: 20px;background: #fff;"
src={item}
/>
</View>
);
})}
</View>
<View
className="join"
style={{
backgroundColor: !!userInfo?.activity_status
? "#1890ff"
: // : null,
"#1890ff",
//
}}
onClick={() => {
Taro.navigateTo({
url: "/pages/salon/index",
});
return false;
if (userInfo?.activity_status == "1") {
// 已预约
Taro.atMessage({
message: "已预约成功",
type: "warning",
});
} else if (userInfo?.activity_status == "2") {
// 已预约
Taro.atMessage({
message: "审核中",
type: "warning",
});
} else {
if (!!wxid) {
// 发起预约
const userUpdateData = {
activity_status: "2", // 审核中
};
Taro.request({
method: "PUT",
// url: `${process.env.TARO_API_API}/user/${urlwxid}`, //仅为示例,并非真实的接口地址
url: `${process.env.TARO_API_API}/user/${wxid}`, //仅为示例,并非真实的接口地址
data: userUpdateData,
header: {
"Content-Type": "application/json",
},
success: function (res) {
// 预约成功
// Taro.atMessage({
// message: "预约成功",
// type: "success",
// });
if (res.data.code == "200") {
setmeetupToast(true);
}
},
fail: function (err) {},
complete: function (finy) {
window.location.reload();
},
});
} else {
setmeetupQR(true);
}
}
}}
>
{/* {userInfo?.activity_status == "2"
? "审核中"
: userInfo?.activity_status == "1"
? "已报名"
: // : "立即报名"}
"已满"} */}
{`加入`}
</View>
</View>
</View>
</View>
</AtCard>
</View>
{/* 在线图书 */}
{/* 参考资料https://readmake.com/ */}
<View className="index-book">
@@ -647,166 +427,6 @@ const Index = () => {
</View>
</View>
</View>
{/* 软件下载 */}
<View className="software">
<View className="emojiTitle">
<span style={{ color: "green" }}>|</span> 我写的软件工具
</View>
<View className="emojitext">
<View>
<AtIcon value="file-generic" size="30" color="#F00"></AtIcon>{" "}
数字游民cna (ios app)
</View>
{/* <AtIcon
value="download-cloud"
size="30"
color="#F00"
onClick={() => {
// setisOpened(true);
}}
></AtIcon> */}
<span>待上架</span>
</View>
<View className="emojitext">
<View>
<AtIcon value="file-generic" size="30" color="#F00"></AtIcon>{" "}
emoji图文编辑器 (pc客户端)
</View>
<AtIcon
value="download-cloud"
size="30"
color="#F00"
onClick={() => {
setisOpened(true);
}}
></AtIcon>
</View>
{/* <View className="software-emoji">
<Image
style="width: 80%;height: 240px;background: #fff;"
src={emoji}
/>
</View> */}
</View>
{/* 付费入群 */}
{/* <View>付费入群</View> */}
{/* 联系我 */}
{/* {!wxid && !Object.keys(userInfo)?.length > 0 ? (
<View className="contack">
<View className="wechatNum">微信号: hackrobot</View>
<Image
style="width: 185px;height: 200px;background: #fff;"
src={qrcode}
/>
</View>
) : null} */}
{/* <View className="payBtn">
<AtButton type="primary">立即购买 -- 29.8元</AtButton>
</View> */}
<View className="emojiModel">
{/* 软件下载模态窗 */}
<AtModal isOpened={isOpened}>
<AtModalHeader>emoji编辑器</AtModalHeader>
<AtModalContent>
<View className="modelText">
emoji编辑器是将markdown转换成标准的emoji格式
<br />
适用于各种图文场景
<br />
- 平台:小红书/微博/微信"小绿书"朋友圈
<br />- 评论区
</View>
{/* 软件图片展示 */}
<View className="model-emoji">
<Image
style="width: 100%;height: 240px;background: #fff;"
src={emoji}
/>
</View>
{/* <View>
百度网盘链接https://pan.baidu.com/s/1XXVnMimjUD8qVdmaVhb6rg?pwd=hqyo
<br />
提取码hqyo
</View> */}
</AtModalContent>
<AtModalAction>
<Button
onClick={() => {
setisOpened(false);
}}
>
取消
</Button>
<Button
onClick={() => {
window.location.href =
"https://pan.baidu.com/s/1XXVnMimjUD8qVdmaVhb6rg?pwd=hqyo";
}}
>
下载
</Button>
</AtModalAction>
</AtModal>
</View>
<View className="meetupQR">
{/* 软件下载模态窗 */}
<AtModal isOpened={meetupQR}>
<AtModalHeader>咨询沙龙</AtModalHeader>
<AtModalContent>
{/* <View className="modelText">
1.加微信好友
<br />
2.发送关键词: 数字游民
</View> */}
{/* 软件图片展示 */}
<View className="model-emoji">
<Image
// style="width: 100%;height: 240px;background: #fff;"
src={qrcode}
/>
</View>
</AtModalContent>
<AtModalAction>
<Button
onClick={() => {
setmeetupQR(false);
}}
>
知道了
</Button>
</AtModalAction>
</AtModal>
</View>
{/* 腾讯云推广: https://curl.qcloud.com/8bJ1d9U0 */}
{/* <View></View> */}
<AtMessage />
<AtToast
isOpened={bookToast}
hasMask={true}
text={"预约成功"}
icon={"check"}
onClose={() => {
window.location.reload();
}}
></AtToast>
<AtToast
isOpened={meetupToast}
text={"报名成功"}
icon={"check"}
hasMask={true}
onClose={() => {
window.location.reload();
}}
></AtToast>
</View>
);
};

View File

@@ -4,36 +4,6 @@
// height: 100vh;
padding: 40px;
.index-title {
display: flex;
flex-direction: row;
font-weight: 700;
align-items: center;
.yidooplanet {
margin-left: 20px;
}
}
.index-tags {
margin-top: 20px;
.index-AtTag {
background-color: rgb(99 102 241);
color: white;
}
}
.index-article {
margin-top: 60px;
// background-color: yellow;
font-size: 30px;
.spanText {
font-weight: 700;
}
}
.index-list {
margin-top: 60px;
}
.index-book {
margin-top: 60px;
@@ -107,122 +77,6 @@
}
}
.software {
margin-top: 60px;
font-size: 30px;
padding: 30px;
.emojiTitle {
color: rgb(99 102 241);
}
.emojitext {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
font-size: 28px;
}
.software-emoji {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
}
}
.index-meetup {
margin-top: 60px;
.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;
flex-direction: row;
align-items: center;
justify-content: space-between;
.meetupSrcItem{
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
// background-color: red;
.meetupSrc {
// width: 20px;
// height:20px;
border-radius: 15%;
// background-color: yellow;
margin-left: 10px;
}
}
.join {
width: 100px;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
background-color: #1bb14e;
color: #fff;
border-radius: 15%;
position: relative;
// bottom: 10px;
right: -10px;
}
}
}
}
}
.contack {
margin-top: 60px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
.wechatNum {
font-size: 34px;
color: #1bb14e;
}
}
.emojiModel {
.modelText {
font-size: 22px;
}
.model-emoji {
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
}
}
.payBtn {
position: fixed;
bottom: 0;