Compare commits

13 Commits

Author SHA1 Message Date
d84fab8977 update
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-20 16:08:34 +08:00
e11c83235d update
All checks were successful
continuous-integration/drone/push Build is passing
2024-12-19 21:12:37 +08:00
f596891d5a update
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-11 23:23:16 +08:00
67ddfd36db update
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-11 23:18:26 +08:00
22592a1826 update
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-11 23:05:51 +08:00
c58db3595c update
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-11 22:24:43 +08:00
4386ff3652 update
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-11 22:19:33 +08:00
519e3242f4 增加弹幕源
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-11 21:40:14 +08:00
91429a1a38 update
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-08 17:58:12 +08:00
3fdc176008 增加弹幕
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-08 17:20:22 +08:00
e87e00fd75 i
All checks were successful
continuous-integration/drone/push Build is passing
2024-10-05 04:21:31 +08:00
8ff693e01f update
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-12 01:42:12 +08:00
484d883510 i
All checks were successful
continuous-integration/drone/push Build is passing
2024-09-03 22:21:53 +08:00
12 changed files with 3711 additions and 3007 deletions

5
.idea/.gitignore generated vendored Normal file
View File

@@ -0,0 +1,5 @@
# 默认忽略的文件
/shelf/
/workspace.xml
# 基于编辑器的 HTTP 客户端请求
/httpRequests/

6
.idea/git_toolbox_blame.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="GitToolBoxBlameSettings">
<option name="version" value="2" />
</component>
</project>

View File

@@ -0,0 +1,7 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
<inspection_tool class="Stylelint" enabled="true" level="ERROR" enabled_by_default="true" />
</profile>
</component>

6
.idea/jsLibraryMappings.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptLibraryMappings">
<includedPredefinedLibrary name="Node.js Core" />
</component>
</project>

8
.idea/modules.xml generated Normal file
View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/sway-ball.iml" filepath="$PROJECT_DIR$/.idea/sway-ball.iml" />
</modules>
</component>
</project>

12
.idea/sway-ball.iml generated Normal file
View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
<excludeFolder url="file://$MODULE_DIR$/temp" />
<excludeFolder url="file://$MODULE_DIR$/tmp" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

6
.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View File

@@ -25,7 +25,7 @@
"dev:swan": "npm run build:swan -- --watch",
"dev:alipay": "npm run build:alipay -- --watch",
"dev:tt": "npm run build:tt -- --watch",
"dev:h5": "npm run build:h5 -- --watch",
"dev:h5": "npm run build:h5 -- --watch --mode production",
"dev:rn": "npm run build:rn -- --watch",
"dev:qq": "npm run build:qq -- --watch",
"dev:jd": "npm run build:jd -- --watch",
@@ -45,45 +45,46 @@
"@babel/runtime": "^7.21.5",
"@icon-park/vue-next": "^1.4.2",
"@nutui/nutui-taro": "^4.3.11",
"@tarojs/components": "4.0.4",
"@tarojs/helper": "4.0.4",
"@tarojs/plugin-framework-vue3": "4.0.4",
"@tarojs/plugin-html": "4.0.4",
"@tarojs/plugin-platform-alipay": "4.0.4",
"@tarojs/plugin-platform-h5": "4.0.4",
"@tarojs/plugin-platform-harmony-hybrid": "4.0.4",
"@tarojs/plugin-platform-jd": "4.0.4",
"@tarojs/plugin-platform-qq": "4.0.4",
"@tarojs/plugin-platform-swan": "4.0.4",
"@tarojs/plugin-platform-tt": "4.0.4",
"@tarojs/plugin-platform-weapp": "4.0.4",
"@tarojs/runtime": "4.0.4",
"@tarojs/shared": "4.0.4",
"@tarojs/taro": "4.0.4",
"@tarojs/components": "3.6.34",
"@tarojs/helper": "3.6.34",
"@tarojs/plugin-framework-vue3": "3.6.34",
"@tarojs/plugin-html": "3.6.34",
"@tarojs/plugin-platform-alipay": "3.6.34",
"@tarojs/plugin-platform-h5": "3.6.34",
"@tarojs/plugin-platform-harmony-hybrid": "3.6.34",
"@tarojs/plugin-platform-jd": "3.6.34",
"@tarojs/plugin-platform-qq": "3.6.34",
"@tarojs/plugin-platform-swan": "3.6.34",
"@tarojs/plugin-platform-tt": "3.6.34",
"@tarojs/plugin-platform-weapp": "3.6.34",
"@tarojs/runtime": "3.6.34",
"@tarojs/shared": "3.6.34",
"@tarojs/taro": "3.6.34",
"alova": "^2.21.3",
"lottie-web": "^5.12.2",
"tcplayer.js": "^5.1.0",
"vue": "^3.0.0",
"vue3-danmaku": "^1.6.1",
"xgplayer": "^3.0.18",
"xgplayer-flv": "^3.0.18"
},
"devDependencies": {
"@babel/core": "^7.8.0",
"@nutui/auto-import-resolver": "^1.0.0",
"@tarojs/cli": "4.0.4",
"@tarojs/taro-loader": "4.0.4",
"@tarojs/cli": "3.6.34",
"@tarojs/taro-loader": "3.6.34",
"@tarojs/test-utils-vue3": "^0.1.1",
"@tarojs/webpack5-runner": "4.0.4",
"@tarojs/webpack5-runner": "3.6.34",
"@types/jest": "^29.3.1",
"@types/node": "^18.15.11",
"@types/webpack-env": "^1.13.6",
"@vue/babel-plugin-jsx": "^1.0.6",
"@vue/compiler-sfc": "^3.0.0",
"autoprefixer": "^10.4.19",
"babel-preset-taro": "4.0.4",
"babel-preset-taro": "3.6.34",
"css-loader": "3.4.2",
"eslint": "^8.12.0",
"eslint-config-taro": "4.0.4",
"eslint-config-taro": "3.6.34",
"eslint-plugin-vue": "^8.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.5.0",

4792
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@@ -14,3 +14,10 @@ export const GetPeriod = async () => await alovaInst.Get(`/dice/periods`);
export const GetIsWin = async (uid) =>
await alovaInst.Get(`/dice/user/win?uid=${uid}`);
// 获取中奖信息
export const GetWinInfo = async () =>
await alovaInst.Get(`/dice/all/user/win`);
// 获取参与人数
export const GetJoinNum = async () => await alovaInst.Get(`/dice/user/play/count`);

View File

@@ -79,3 +79,16 @@
}
}
}
.danmaku-box {
width: 100vw;
height: 420px;
.danmaku {
position: absolute;
width: 100vw;
height: 420px;
top: 0;
z-index: 1;
}
}

File diff suppressed because it is too large Load Diff