列表骨架屏
This commit is contained in:
0
src/components/GamePlayType/index.module.scss
Normal file
0
src/components/GamePlayType/index.module.scss
Normal file
28
src/components/GamePlayType/index.tsx
Normal file
28
src/components/GamePlayType/index.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import PopupGameplay from "../../pages/publishBall/components/PopupGameplay";
|
||||
import { View, Text, Image } from "@tarojs/components";
|
||||
import TitleComponent from "@/components/Title";
|
||||
import img from "@/config/images";
|
||||
|
||||
const GamePlayType = () => {
|
||||
return (
|
||||
<View>
|
||||
<TitleComponent title="玩法" icon={<Image src={img.ICON_SITE} />} />
|
||||
<PopupGameplay
|
||||
onClose={() => {
|
||||
console.log("onClose");
|
||||
}}
|
||||
onConfirm={() => {
|
||||
console.log("onConfirm");
|
||||
}}
|
||||
visible={false}
|
||||
options={[
|
||||
{ label: "不限", value: "不限" },
|
||||
{ label: "单打", value: "单打" },
|
||||
{ label: "双打", value: "双打" },
|
||||
{ label: "拉球", value: "拉球" },
|
||||
]}
|
||||
/>
|
||||
</View>
|
||||
);
|
||||
};
|
||||
export default GamePlayType;
|
||||
Reference in New Issue
Block a user