update
This commit is contained in:
@@ -248,11 +248,10 @@ const Index = () => {
|
|||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
let inwechat = isWeChatFun();
|
let inwechat = isWeChatFun();
|
||||||
if (inwechat) {
|
if (inwechat) {
|
||||||
// 获取openId
|
// 获取openId
|
||||||
getOpenid();
|
getOpenid();
|
||||||
} else {
|
} else {
|
||||||
// window.alert('不在微信')
|
// window.alert('不在微信')
|
||||||
|
|
||||||
}
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
@@ -554,6 +553,17 @@ const Index = () => {
|
|||||||
</AtCard>
|
</AtCard>
|
||||||
</View>
|
</View>
|
||||||
|
|
||||||
|
{/* 联系我 */}
|
||||||
|
{!wxid ? (
|
||||||
|
<View className="contack">
|
||||||
|
<View className="wechatNum">微信号: hackrobot</View>
|
||||||
|
<Image
|
||||||
|
style="width: 185px;height: 200px;background: #fff;"
|
||||||
|
src={qrcode}
|
||||||
|
/>
|
||||||
|
</View>
|
||||||
|
) : null}
|
||||||
|
|
||||||
{/* <View className="payBtn">
|
{/* <View className="payBtn">
|
||||||
<AtButton type="primary">立即购买 -- 29.8元</AtButton>
|
<AtButton type="primary">立即购买 -- 29.8元</AtButton>
|
||||||
</View> */}
|
</View> */}
|
||||||
|
|||||||
@@ -44,7 +44,8 @@
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
// justify-content: center;
|
// justify-content: center;
|
||||||
background-color: #f0f0f0;
|
// background-color: #f0f0f0;
|
||||||
|
background-color: #f0f5ff;
|
||||||
.bookImg {
|
.bookImg {
|
||||||
width: 40%;
|
width: 40%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
@@ -182,6 +183,18 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.contack{
|
||||||
|
margin-top: 60px;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
.wechatNum{
|
||||||
|
font-size: 34px;
|
||||||
|
color: #1bb14e;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.emojiModel {
|
.emojiModel {
|
||||||
.modelText {
|
.modelText {
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
|
|||||||
Reference in New Issue
Block a user