diff --git a/src/pagesHome/assets/cardAvatar.png b/src/pagesHome/assets/cardAvatar.png new file mode 100644 index 0000000..cc1f8cc Binary files /dev/null and b/src/pagesHome/assets/cardAvatar.png differ diff --git a/src/pagesHome/assets/circle.png b/src/pagesHome/assets/circle.png new file mode 100644 index 0000000..0790179 Binary files /dev/null and b/src/pagesHome/assets/circle.png differ diff --git a/src/pagesHome/assets/grawMain.png b/src/pagesHome/assets/grawMain.png new file mode 100644 index 0000000..63ba087 Binary files /dev/null and b/src/pagesHome/assets/grawMain.png differ diff --git a/src/pagesHome/assets/larvea.png b/src/pagesHome/assets/larvea.png new file mode 100644 index 0000000..2451365 Binary files /dev/null and b/src/pagesHome/assets/larvea.png differ diff --git a/src/pagesHome/assets/share.png b/src/pagesHome/assets/share.png new file mode 100644 index 0000000..233008a Binary files /dev/null and b/src/pagesHome/assets/share.png differ diff --git a/src/pagesHome/assets/triangle.png b/src/pagesHome/assets/triangle.png new file mode 100644 index 0000000..2d7705e Binary files /dev/null and b/src/pagesHome/assets/triangle.png differ diff --git a/src/pagesHome/index.scss b/src/pagesHome/index.scss index 1dee8c4..e028d2a 100644 --- a/src/pagesHome/index.scss +++ b/src/pagesHome/index.scss @@ -2,4 +2,7 @@ background-color: #e8f8db; color: #207c06; border: 4px solid #7fcf5e; +} +.topBg{ +background-image: linear-gradient(to bottom, #c6edb7 0%, #f5f6f5 100%) } \ No newline at end of file diff --git a/src/pagesHome/monitor.tsx b/src/pagesHome/monitor.tsx index cacaa4a..3430f11 100644 --- a/src/pagesHome/monitor.tsx +++ b/src/pagesHome/monitor.tsx @@ -1,7 +1,81 @@ -import { View } from "@tarojs/components"; - +import { View,Image,Text } from "@tarojs/components"; +import './index.scss' +import avatar from './assets/cardAvatar.png' +import triangle from './assets/triangle.png' +import share from './assets/share.png' +import circle from './assets/circle.png' +import growMain from './assets/grawMain.png' +import larvae from './assets/larvea.png' +const shareComponent=()=>{ + return ( + + + 分享 + + ) +} +const adoptionCircle=()=>{ + return ( + + + + ) +} export default function Monitor() { return ( - Monitor + + + + + 塘主0908 + 参与了1个认养,累计认养3亩 + + + + + 2024季 + + + + + + 24 + 2024.06 + + + 当前大闸蟹状态 + 蚤状幼体期 + + {shareComponent()} + + + + + + + + 本季认养 + + 3亩 + + + + 预计产量 + + 3两母蟹+4两公蟹25份,每份8只; + 3.5两母蟹+4.5两公蟹16份,每份8只; + 4两母蟹+5两公蟹12份,每份8只; + 4.5两母蟹+5.5两公蟹9份,每份8只; + + + + 预计收获日期 + + 2024.09.01-2024.10.01 + + + + {adoptionCircle()} + ) } \ No newline at end of file