A planting device, comprising: a planting tray and a planting board, the planting tray comprises a bottom plate and a sidewall; the planting tray comprises a nutrient solution inflow and outflow area and a planting area; the planting board is placed on the planting area; the nutrient solution inflow and outflow area comprises a nutrient solution inflow area and a nutrient solution outflow area; the nutrient solution inflow area and the nutrient solution outflow area are located on a same side of the planting tray; the sidewall of the same side of the planting tray serves as a sidewall of the nutrient solution inflow and outflow area; a nutrient solution inlet is provided on a top of the planting tray at the nutrient solution inflow and outflow area, and a nutrient solution outlet is provided on the bottom plate of the planting tray at the nutrient solution outflow area; a middle partition plate is provided inside the planting tray; and a gap is provided between the middle partition plate and the sidewall of the planting tray on an opposite side of the sidewall of the nutrient solution inflow and outflow area, characterized in that the nutrient solution inflow area and the nutrient solution outflow area are separated by a partition member connected to the sidewall of the nutrient solution inflow and outflow area; the middle partition plate is connected to the partition member, and the middle partition plate extends along a direction perpendicular to the sidewall of the nutrient solution inflow and outflow area within the planting area; a plurality of strip-shaped liquid blocking ribs parallel to the sidewall of the nutrient solution inflow and outflow area such that each liquid blocking rib is perpendicular to the flow direction of the nutrient solution, the liquid blocking ribs are provided on the bottom plate of the planting tray and the planting area to divide the planting area into a plurality of liquid storage areas, each liquid blocking rib is designed as an arc-shaped protrusion having a first end connected to the middle partition plate, a second end connected to the sidewall, upstanding stepped sides extending a length of the liquid blocking rib between the first and second ends, and a top connecting the opposing stepped sides, each of the liquid blocking ribs has a height less than heights of the partition plate and the sidewall. the nutrient solution inflow and outflow area comprises a nutrient solution inflow area and a nutrient solution outflow area; the nutrient solution inflow area and the nutrient solution outflow area are located on a same side of the planting tray; the sidewall of the same side of the planting tray serves as a sidewall of the nutrient solution inflow and outflow area; a nutrient solution inlet is provided on a top of the planting tray at the nutrient solution inflow and outflow area, and a nutrient solution outlet is provided on the bottom plate of the planting tray at the nutrient solution outflow area; a middle partition plate is provided inside the planting tray; and a gap is provided between the middle partition plate and the sidewall of the planting tray on an opposite side of the sidewall of the nutrient solution inflow and outflow area, characterized in that the nutrient solution inflow area and the nutrient solution outflow area are separated by a partition member connected to the sidewall of the nutrient solution inflow and outflow area; the middle partition plate is connected to the partition member, and the middle partition plate extends along a direction perpendicular to the sidewall of the nutrient solution inflow and outflow area within the planting area; a plurality of strip-shaped liquid blocking ribs parallel to the sidewall of the nutrient solution inflow and outflow area such that each liquid blocking rib is perpendicular to the flow direction of the nutrient solution, the liquid blocking ribs are provided on the bottom plate of the planting tray and the planting area to divide the planting area into a plurality of liquid storage areas, each liquid blocking rib is designed as an arc-shaped protrusion having a first end connected to the middle partition plate, a second end connected to the sidewall, upstanding stepped sides extending a length of the liquid blocking rib between the first and second ends, and a top connecting the opposing stepped sides, each of the liquid blocking ribs has a height less than heights of the partition plate and the sidewall.