diff --git a/package.json b/package.json index 8832319..3738157 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nutui/nutui-bingo", - "version": "1.0.7-beta.0", + "version": "1.0.7-beta.1", "description": "nutui生态之一抽奖组件库", "main": "dist/nutbig.umd.js", "module": "dist/nutbig.es.js", diff --git a/src/packages/__VUE/turntable/index.scss b/src/packages/__VUE/turntable/index.scss index f8c42de..2378307 100644 --- a/src/packages/__VUE/turntable/index.scss +++ b/src/packages/__VUE/turntable/index.scss @@ -47,9 +47,13 @@ width: 100%; height: 100%; } - // .mlcanvas { - // margin-left: -50%; - // } + .mlcanvas { + height: 50% !important; + margin-top: 25%; + canvas { + transform: scale(2); + } + } } .prize { position: absolute; diff --git a/src/packages/__VUE/turntable/index.taro.vue b/src/packages/__VUE/turntable/index.taro.vue index f72ee46..7323cf2 100644 --- a/src/packages/__VUE/turntable/index.taro.vue +++ b/src/packages/__VUE/turntable/index.taro.vue @@ -13,7 +13,7 @@ :class="envApp == 'WEAPP' ? '' : 'mlcanvas'" canvas-id="canvasWx" ref="canvasDom" - :style="envApp == 'WEAPP' ? '' : getRotateAngle(0)" + :style="envApp == 'WEAPP' ? '' : getRotateAngle(0, 'canvas')" >