This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="zh-cn"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>HTML5 Canvas圆盘抽奖应用DEMO演示</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> | |
<style> | |
* { | |
padding: 0px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// import Utils from 'utils' | |
import TitleBar from 'components/TitleBar.vue' | |
import LuckToast from 'components/luckToast.vue' | |
export default { | |
name: 'luckDraw', | |
components: { | |
TitleBar, | |
LuckToast, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.quill-editor { | |
height: 745px; | |
.ql-container { | |
height: 680px; | |
} | |
} | |
.limit { | |
height: 30px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
computed: { | |
direction () { | |
const viewDir = this.$store.state.viewDirection | |
let tranName = '' | |
if (viewDir === 'left') { | |
tranName = 'view-out' | |
} else if (viewDir === 'right') { | |
tranName = 'view-in' |