--我的页面完成部分

This commit is contained in:
li tong bao
2022-06-09 19:31:40 +08:00
parent de38a42b2e
commit eceb170ece
17 changed files with 556 additions and 69 deletions
+16
View File
@@ -0,0 +1,16 @@
.message-custom-tips{
width: 100%;
height: 66px;
background: #FFE6CE;
border: 2px solid #ffe6ce;
padding: 0 30px;
display: flex;align-items: center;
font-size: 24px;
font-weight: 400;
box-sizing: border-box;
color: #EE7500;
text{
margin-right: 10px;
font-size: 30px;
}
}
+19
View File
@@ -0,0 +1,19 @@
import { Button, Navigator, ScrollView, Text, View } from "@tarojs/components"
import { memo } from "react"
import "./index.scss"
interface Params{
text: String,//提示信息
}
// 消息提示
const Message = memo((props:Params)=>{
return (
<View className="message-custom-tips">
<Text className="iconfont icon-zhuyi"></Text> {props.text}
</View>
)
})
export default Message;