diff --git a/other/slotMachine/slotMachine.vue b/other/slotMachine/slotMachine.vue new file mode 100644 index 0000000..a45b726 --- /dev/null +++ b/other/slotMachine/slotMachine.vue @@ -0,0 +1,108 @@ + + + + + diff --git a/other/static/1.png b/other/static/1.png new file mode 100644 index 0000000..b26c308 Binary files /dev/null and b/other/static/1.png differ diff --git a/other/static/2.png b/other/static/2.png new file mode 100644 index 0000000..8edfc99 Binary files /dev/null and b/other/static/2.png differ diff --git a/other/static/3.png b/other/static/3.png new file mode 100644 index 0000000..630fc9d Binary files /dev/null and b/other/static/3.png differ diff --git a/other/static/4.png b/other/static/4.png new file mode 100644 index 0000000..a81b1fa Binary files /dev/null and b/other/static/4.png differ diff --git a/other/static/5.png b/other/static/5.png new file mode 100644 index 0000000..0766105 Binary files /dev/null and b/other/static/5.png differ diff --git a/other/static/6.png b/other/static/6.png new file mode 100644 index 0000000..ba825ad Binary files /dev/null and b/other/static/6.png differ diff --git a/pages.json b/pages.json index d7f4f82..a028a7a 100644 --- a/pages.json +++ b/pages.json @@ -715,6 +715,15 @@ { "navigationBarTitleText" : "发红包" } + }, + { + "path" : "slotMachine/slotMachine", + "style" : + { + "navigationBarTitleText" : "抽奖", + "navigationStyle": "custom" + + } } ] diff --git a/uni_modules/HM-slotMachine/changelog.md b/uni_modules/HM-slotMachine/changelog.md new file mode 100644 index 0000000..5260af7 --- /dev/null +++ b/uni_modules/HM-slotMachine/changelog.md @@ -0,0 +1,9 @@ +## 1.0.3(2022-04-28) +修复图片不显示,小灯切换的问题 +## 1.0.2(2022-01-29) +* 兼容微信小程序 +* 新增初始话参数,可以设置初始化显示的奖品 +## 1.0.1(2022-01-19) +* 稍微兼容一下vue3和PC网页...? +## 1.0.0(2022-01-19) +初次发布 diff --git a/uni_modules/HM-slotMachine/components/HM-slotMachine/HM-slotMachine.vue b/uni_modules/HM-slotMachine/components/HM-slotMachine/HM-slotMachine.vue new file mode 100644 index 0000000..bf7808c --- /dev/null +++ b/uni_modules/HM-slotMachine/components/HM-slotMachine/HM-slotMachine.vue @@ -0,0 +1,386 @@ + + + diff --git a/uni_modules/HM-slotMachine/package.json b/uni_modules/HM-slotMachine/package.json new file mode 100644 index 0000000..5b99cd1 --- /dev/null +++ b/uni_modules/HM-slotMachine/package.json @@ -0,0 +1,82 @@ +{ + "id": "HM-slotMachine", + "displayName": "HM-slotMachine 老虎机抽奖模板", + "version": "1.0.3", + "description": "一个老虎机抽奖模板,实现了抽奖的动画交互", + "keywords": [ + "抽奖", + "老虎机", + "滚动抽奖" +], + "repository": "", + "engines": { + "HBuilderX": "^3.1.0" + }, + "dcloudext": { + "category": [ + "uni-app前端模板", + "vue 页面模板" + ], + "sale": { + "regular": { + "price": "0.00" + }, + "sourcecode": { + "price": "0.00" + } + }, + "contact": { + "qq": "" + }, + "declaration": { + "ads": "无", + "data": "无", + "permissions": "无" + }, + "npmurl": "" + }, + "uni_modules": { + "dependencies": [], + "encrypt": [], + "platforms": { + "cloud": { + "tcb": "y", + "aliyun": "y" + }, + "client": { + "Vue": { + "vue2": "y", + "vue3": "y" + }, + "App": { + "app-vue": "u", + "app-nvue": "n" + }, + "H5-mobile": { + "Safari": "y", + "Android Browser": "y", + "微信浏览器(Android)": "y", + "QQ浏览器(Android)": "y" + }, + "H5-pc": { + "Chrome": "y", + "IE": "u", + "Edge": "y", + "Firefox": "y", + "Safari": "y" + }, + "小程序": { + "微信": "y", + "阿里": "u", + "百度": "u", + "字节跳动": "u", + "QQ": "u" + }, + "快应用": { + "华为": "u", + "联盟": "u" + } + } + } + } +} \ No newline at end of file diff --git a/uni_modules/HM-slotMachine/pages/lottery-draw/lottery-draw.vue b/uni_modules/HM-slotMachine/pages/lottery-draw/lottery-draw.vue new file mode 100644 index 0000000..4c944a1 --- /dev/null +++ b/uni_modules/HM-slotMachine/pages/lottery-draw/lottery-draw.vue @@ -0,0 +1,105 @@ + + + + + diff --git a/uni_modules/HM-slotMachine/readme.md b/uni_modules/HM-slotMachine/readme.md new file mode 100644 index 0000000..3472c83 --- /dev/null +++ b/uni_modules/HM-slotMachine/readme.md @@ -0,0 +1,29 @@ +> * 遇到问题或有建议可以[加入QQ群(147157269)](https://jq.qq.com/?_wv=1027&k=jpdVnqxw)反馈 +> * 如果觉得组件不错,点我给个五星鼓励鼓励咯! + + + +安卓扫码下载apk体验 +iOS想体验就乖乖下载示例运行咯 + + +##模板说明 + +> * 老虎机抽奖页面模板,里面有一个页面(lottery-draw.vue)和一个组件(HM-slotMachine.vue) +> * 前端只有抽奖的交互动画,没有做抽奖逻辑(应该没有人敢把抽奖逻辑放前端吧?),开奖结果需要后台给 +> * 详细的说明,都以注释方式写在了代码里面,请下载示例或者模板查看 + + +##使用方法 +直接下载示例或者导入组件 + + +> * 遇到问题或有建议可以[加入QQ群(147157269)](https://jq.qq.com/?_wv=1027&k=jpdVnqxw)反馈 +> * 如果觉得组件不错,给五星鼓励鼓励咯! + +####偷偷的打广告 +定制模板,开发uniapp、H5+APP、wap2app、PHP,付费咨询指导,有需要加QQ。 + +
+
QQ:565766672 (刮刮卡)
+
\ No newline at end of file diff --git a/uni_modules/HM-slotMachine/static/1.png b/uni_modules/HM-slotMachine/static/1.png new file mode 100644 index 0000000..b26c308 Binary files /dev/null and b/uni_modules/HM-slotMachine/static/1.png differ diff --git a/uni_modules/HM-slotMachine/static/2.png b/uni_modules/HM-slotMachine/static/2.png new file mode 100644 index 0000000..8edfc99 Binary files /dev/null and b/uni_modules/HM-slotMachine/static/2.png differ diff --git a/uni_modules/HM-slotMachine/static/3.png b/uni_modules/HM-slotMachine/static/3.png new file mode 100644 index 0000000..630fc9d Binary files /dev/null and b/uni_modules/HM-slotMachine/static/3.png differ diff --git a/uni_modules/HM-slotMachine/static/4.png b/uni_modules/HM-slotMachine/static/4.png new file mode 100644 index 0000000..a81b1fa Binary files /dev/null and b/uni_modules/HM-slotMachine/static/4.png differ diff --git a/uni_modules/HM-slotMachine/static/5.png b/uni_modules/HM-slotMachine/static/5.png new file mode 100644 index 0000000..0766105 Binary files /dev/null and b/uni_modules/HM-slotMachine/static/5.png differ diff --git a/uni_modules/HM-slotMachine/static/6.png b/uni_modules/HM-slotMachine/static/6.png new file mode 100644 index 0000000..ba825ad Binary files /dev/null and b/uni_modules/HM-slotMachine/static/6.png differ