import React from 'react'; import { View, Image, Text } from 'react-native'; import { Swiper } from '@xrnjs/ui'; import Card from '_global/Card'; import styles from './style'; const logo = { uri: 'https://reactnative.dev/img/tiny_logo.png', width: 200, height: 200, }; const VerticalSwiper = () => { return ( 垂直轮播 - 左侧指示器 垂直方向轮播,指示器在左侧 {Array.from({ length: 3 }).map((_, index) => ( 第{index + 1}页 ))} 垂直轮播 - 右侧指示器 垂直方向轮播,指示器在右侧 {Array.from({ length: 3 }).map((_, index) => ( 第{index + 1}页 ))} 垂直轮播 - 无指示器 垂直方向轮播,隐藏指示器 {Array.from({ length: 4 }).map((_, index) => ( 第{index + 1}页 ))} ); }; export default VerticalSwiper;