├── .env ├── .gitignore ├── .vscode └── extensions.json ├── README.md ├── eslint.config.js ├── index.html ├── netlify.toml ├── package.json ├── pnpm-lock.yaml ├── public ├── favicon.svg └── sounds │ ├── cloudySound.mp3 │ ├── rainySound.mp3 │ ├── stormSound.mp3 │ └── sunnySound.mp3 ├── src ├── App.vue ├── assets │ └── vue.svg ├── components │ ├── AirConditioner.vue │ ├── MessageInput.vue │ ├── NightstandModal.vue │ ├── OperationBar.vue │ ├── Profile.vue │ ├── SleepTime.vue │ ├── SpeechBubble.vue │ ├── Television.vue │ ├── XiaoAi.vue │ ├── card │ │ ├── BaseCardStyles.css │ │ ├── CurtainControlCard.vue │ │ ├── TelevisionControlCard.vue │ │ └── WeatherControlCard.vue │ ├── layer │ │ ├── BackgroundLayer.vue │ │ ├── BedLayer.vue │ │ ├── CurtainLayer.vue │ │ ├── GameLayer.vue │ │ ├── LocalPlayerLayer.vue │ │ ├── PlayerLayer.vue │ │ ├── RemotePlayerLayer.vue │ │ └── WeatherLayer.vue │ ├── svg │ │ ├── BedSvg.vue │ │ ├── CharacterSvg.vue │ │ ├── NightstandItems.vue │ │ └── NightstandSvg.vue │ └── ui │ │ └── Message │ │ ├── index.ts │ │ └── message.vue ├── main.ts ├── pages │ ├── inn │ │ ├── api.ts │ │ ├── components │ │ │ ├── ChatBox.vue │ │ │ └── ControlDrawer.vue │ │ ├── index.vue │ │ └── route.ts │ ├── login │ │ ├── api.ts │ │ ├── index.vue │ │ └── route.ts │ ├── room │ │ ├── api.ts │ │ ├── components │ │ │ ├── Create.vue │ │ │ ├── Current.vue │ │ │ └── List.vue │ │ ├── index.vue │ │ ├── route.ts │ │ └── type.d.ts │ └── single │ │ ├── index.vue │ │ └── route.ts ├── router │ ├── guard.ts │ ├── index.ts │ └── loader.ts ├── service │ ├── createFetch.ts │ └── createSocekt.ts ├── store │ ├── index.ts │ └── user.ts ├── style.css ├── types.d.ts ├── utils │ └── token.ts └── vite-env.d.ts ├── tsconfig.app.json ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/.env -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["Vue.volar"] 3 | } 4 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/README.md -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/eslint.config.js -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/index.html -------------------------------------------------------------------------------- /netlify.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/netlify.toml -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /public/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/public/favicon.svg -------------------------------------------------------------------------------- /public/sounds/cloudySound.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/public/sounds/cloudySound.mp3 -------------------------------------------------------------------------------- /public/sounds/rainySound.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/public/sounds/rainySound.mp3 -------------------------------------------------------------------------------- /public/sounds/stormSound.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/public/sounds/stormSound.mp3 -------------------------------------------------------------------------------- /public/sounds/sunnySound.mp3: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/public/sounds/sunnySound.mp3 -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/App.vue -------------------------------------------------------------------------------- /src/assets/vue.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/assets/vue.svg -------------------------------------------------------------------------------- /src/components/AirConditioner.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/AirConditioner.vue -------------------------------------------------------------------------------- /src/components/MessageInput.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/MessageInput.vue -------------------------------------------------------------------------------- /src/components/NightstandModal.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/NightstandModal.vue -------------------------------------------------------------------------------- /src/components/OperationBar.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/OperationBar.vue -------------------------------------------------------------------------------- /src/components/Profile.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/Profile.vue -------------------------------------------------------------------------------- /src/components/SleepTime.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/SleepTime.vue -------------------------------------------------------------------------------- /src/components/SpeechBubble.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/SpeechBubble.vue -------------------------------------------------------------------------------- /src/components/Television.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/Television.vue -------------------------------------------------------------------------------- /src/components/XiaoAi.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/XiaoAi.vue -------------------------------------------------------------------------------- /src/components/card/BaseCardStyles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/card/BaseCardStyles.css -------------------------------------------------------------------------------- /src/components/card/CurtainControlCard.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/card/CurtainControlCard.vue -------------------------------------------------------------------------------- /src/components/card/TelevisionControlCard.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/card/TelevisionControlCard.vue -------------------------------------------------------------------------------- /src/components/card/WeatherControlCard.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/card/WeatherControlCard.vue -------------------------------------------------------------------------------- /src/components/layer/BackgroundLayer.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/layer/BackgroundLayer.vue -------------------------------------------------------------------------------- /src/components/layer/BedLayer.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/layer/BedLayer.vue -------------------------------------------------------------------------------- /src/components/layer/CurtainLayer.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/layer/CurtainLayer.vue -------------------------------------------------------------------------------- /src/components/layer/GameLayer.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/layer/GameLayer.vue -------------------------------------------------------------------------------- /src/components/layer/LocalPlayerLayer.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/layer/LocalPlayerLayer.vue -------------------------------------------------------------------------------- /src/components/layer/PlayerLayer.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/layer/PlayerLayer.vue -------------------------------------------------------------------------------- /src/components/layer/RemotePlayerLayer.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/layer/RemotePlayerLayer.vue -------------------------------------------------------------------------------- /src/components/layer/WeatherLayer.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/layer/WeatherLayer.vue -------------------------------------------------------------------------------- /src/components/svg/BedSvg.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/svg/BedSvg.vue -------------------------------------------------------------------------------- /src/components/svg/CharacterSvg.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/svg/CharacterSvg.vue -------------------------------------------------------------------------------- /src/components/svg/NightstandItems.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/svg/NightstandItems.vue -------------------------------------------------------------------------------- /src/components/svg/NightstandSvg.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/svg/NightstandSvg.vue -------------------------------------------------------------------------------- /src/components/ui/Message/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/ui/Message/index.ts -------------------------------------------------------------------------------- /src/components/ui/Message/message.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/components/ui/Message/message.vue -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/pages/inn/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/inn/api.ts -------------------------------------------------------------------------------- /src/pages/inn/components/ChatBox.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/inn/components/ChatBox.vue -------------------------------------------------------------------------------- /src/pages/inn/components/ControlDrawer.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/inn/components/ControlDrawer.vue -------------------------------------------------------------------------------- /src/pages/inn/index.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/inn/index.vue -------------------------------------------------------------------------------- /src/pages/inn/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/inn/route.ts -------------------------------------------------------------------------------- /src/pages/login/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/login/api.ts -------------------------------------------------------------------------------- /src/pages/login/index.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/login/index.vue -------------------------------------------------------------------------------- /src/pages/login/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/login/route.ts -------------------------------------------------------------------------------- /src/pages/room/api.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/room/api.ts -------------------------------------------------------------------------------- /src/pages/room/components/Create.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/room/components/Create.vue -------------------------------------------------------------------------------- /src/pages/room/components/Current.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/room/components/Current.vue -------------------------------------------------------------------------------- /src/pages/room/components/List.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/room/components/List.vue -------------------------------------------------------------------------------- /src/pages/room/index.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/room/index.vue -------------------------------------------------------------------------------- /src/pages/room/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/room/route.ts -------------------------------------------------------------------------------- /src/pages/room/type.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/room/type.d.ts -------------------------------------------------------------------------------- /src/pages/single/index.vue: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/single/index.vue -------------------------------------------------------------------------------- /src/pages/single/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/pages/single/route.ts -------------------------------------------------------------------------------- /src/router/guard.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/router/guard.ts -------------------------------------------------------------------------------- /src/router/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/router/index.ts -------------------------------------------------------------------------------- /src/router/loader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/router/loader.ts -------------------------------------------------------------------------------- /src/service/createFetch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/service/createFetch.ts -------------------------------------------------------------------------------- /src/service/createSocekt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/service/createSocekt.ts -------------------------------------------------------------------------------- /src/store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/store/index.ts -------------------------------------------------------------------------------- /src/store/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/store/user.ts -------------------------------------------------------------------------------- /src/style.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/style.css -------------------------------------------------------------------------------- /src/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/types.d.ts -------------------------------------------------------------------------------- /src/utils/token.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/src/utils/token.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /tsconfig.app.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/tsconfig.app.json -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/seemrcola/yun-sleep/HEAD/vite.config.ts --------------------------------------------------------------------------------