A parallax barrier, comprising: a sealed cavity, a first polarizer disposed on a light exiting side of the sealed cavity, and a second polarizer provided on a light entering side of the sealed cavity, a polarization direction of the second polarizer has a preset angle with a polarization direction of the first polarizer, and a light incident into the sealed cavity through the second polarizer is a linearly-polarized light, wherein the sealed cavity comprises: a first substrate and a second substrate parallel to each other and a liquid crystal layer between the first substrate and the second substrate, wherein a first transparent electrode layer is provided on a first surface of the first substrate close to the second substrate, the first transparent electrode layer is a plurality of transparent electrode blocks, and each of the transparent electrode blocks has a square structure, wherein the plurality of transparent electrode blocks are divided into a plurality of electrode groups (1411, 1412) arranged in an array along a first direction, each of the electrode groups (1411, 1412) includes a plurality of transparent electrode blocks arranged in a second direction, wherein the first direction is different than the second direction; wherein a second transparent electrode layer is provided on a second surface of the second substrate close to the first substrate, and a voltage difference between the second transparent electrode layer and the transparent electrode block is configured to change the orientation of liquid crystal in the liquid crystal layer, wherein a first switch is provided between two adjacent transparent electrode blocks in the first direction, and a second switch is provided between two adjacent transparent electrode blocks in the second direction, and wherein the liquid crystal whose orientation is changed deflects the polarization direction of the linearly-polarized light incident from the light entering side of the sealed cavity, so as to make the liquid crystal layer control whether the linearly-polarized light incident from the light entering side of the sealed cavity passes through the first polarizer or is filtered by the first polarizer, wherein if one electrode group (1411, 1412) of any two adjacent electrode groups (1411, 1412) is controlled in use to form a voltage difference for deflecting the liquid crystal with respect to the second transparent electrode layer, the other electrode group (1411, 1412) of any two adjacent electrode groups (1411, 1412) is controlled in use to form no voltage difference for deflecting the liquid crystal with respect to the second transparent electrode layer such that alternatively-arranged light-transmission regions and non-light-transmission regions are formed in use along the first direction a sealed cavity, a first polarizer disposed on a light exiting side of the sealed cavity, and a second polarizer provided on a light entering side of the sealed cavity, a polarization direction of the second polarizer has a preset angle with a polarization direction of the first polarizer, and a light incident into the sealed cavity through the second polarizer is a linearly-polarized light, wherein the sealed cavity comprises: a first substrate and a second substrate parallel to each other and a liquid crystal layer between the first substrate and the second substrate, wherein a first transparent electrode layer is provided on a first surface of the first substrate close to the second substrate, the first transparent electrode layer is a plurality of transparent electrode blocks, and each of the transparent electrode blocks has a square structure, wherein the plurality of transparent electrode blocks are divided into a plurality of electrode groups (1411, 1412) arranged in an array along a first direction, each of the electrode groups (1411, 1412) includes a plurality of transparent electrode blocks arranged in a second direction, wherein the first direction is different than the second direction; wherein a second transparent electrode layer is provided on a second surface of the second substrate close to the first substrate, and a voltage difference between the second transparent electrode layer and the transparent electrode block is configured to change the orientation of liquid crystal in the liquid crystal layer, wherein a first switch is provided between two adjacent transparent electrode blocks in the first direction, and a second switch is provided between two adjacent transparent electrode blocks in the second direction, and wherein the liquid crystal whose orientation is changed deflects the polarization direction of the linearly-polarized light incident from the light entering side of the sealed cavity, so as to make the liquid crystal layer control whether the linearly-polarized light incident from the light entering side of the sealed cavity passes through the first polarizer or is filtered by the first polarizer, wherein if one electrode group (1411, 1412) of any two adjacent electrode groups (1411, 1412) is controlled in use to form a voltage difference for deflecting the liquid crystal with respect to the second transparent electrode layer, the other electrode group (1411, 1412) of any two adjacent electrode groups (1411, 1412) is controlled in use to form no voltage difference for deflecting the liquid crystal with respect to the second transparent electrode layer such that alternatively-arranged light-transmission regions and non-light-transmission regions are formed in use along the first direction