Compare commits
13 Commits
49e2df722d
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
| d84fab8977 | |||
| e11c83235d | |||
| f596891d5a | |||
| 67ddfd36db | |||
| 22592a1826 | |||
| c58db3595c | |||
| 4386ff3652 | |||
| 519e3242f4 | |||
| 91429a1a38 | |||
| 3fdc176008 | |||
| e87e00fd75 | |||
| 8ff693e01f | |||
| 484d883510 |
5
.idea/.gitignore
generated
vendored
Normal file
5
.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# 默认忽略的文件
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# 基于编辑器的 HTTP 客户端请求
|
||||
/httpRequests/
|
||||
6
.idea/git_toolbox_blame.xml
generated
Normal file
6
.idea/git_toolbox_blame.xml
generated
Normal 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>
|
||||
7
.idea/inspectionProfiles/Project_Default.xml
generated
Normal file
7
.idea/inspectionProfiles/Project_Default.xml
generated
Normal 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
6
.idea/jsLibraryMappings.xml
generated
Normal 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
8
.idea/modules.xml
generated
Normal 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
12
.idea/sway-ball.iml
generated
Normal 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
6
.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
43
package.json
43
package.json
@@ -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
4792
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -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`);
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user