diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..35410ca --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# 默认忽略的文件 +/shelf/ +/workspace.xml +# 基于编辑器的 HTTP 客户端请求 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/git_toolbox_blame.xml b/.idea/git_toolbox_blame.xml new file mode 100644 index 0000000..7dc1249 --- /dev/null +++ b/.idea/git_toolbox_blame.xml @@ -0,0 +1,6 @@ + + + + + \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..185b878 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,33 @@ + + + + \ No newline at end of file diff --git a/.idea/jdt-yaotouzi.iml b/.idea/jdt-yaotouzi.iml new file mode 100644 index 0000000..24643cc --- /dev/null +++ b/.idea/jdt-yaotouzi.iml @@ -0,0 +1,12 @@ + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml new file mode 100644 index 0000000..d23208f --- /dev/null +++ b/.idea/jsLibraryMappings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..1231b71 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/src/pages/index/index.scss b/src/pages/index/index.scss index 7f575fa..c7682b3 100644 --- a/src/pages/index/index.scss +++ b/src/pages/index/index.scss @@ -299,6 +299,8 @@ height: 100px; text-align: center; line-height: 100px; + font-size: 30px; + font-weight: bold; } .btn3 { diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 9edbb8b..132bc37 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -34,8 +34,8 @@ 开奖记录 + >开奖记录 + 投注记录 @@ -186,14 +186,14 @@ 重置 + >重置 + X{{ oddVal }} + >X{{ oddVal }} + 投注 + >投注 + @@ -451,17 +451,20 @@ const openDraw = () => { }, 5000); }; -const oddVal = ref(1000); +const oddVal = ref(10000); const changeOdd = () => { switch (oddVal.value) { - case 1000: + case 10: + oddVal.value = 100; + break; + case 100: oddVal.value = 10000; break; - // case 10: - // oddVal.value = 100 - // break case 10000: - oddVal.value = 1000; + oddVal.value = 100000; + break; + case 100000: + oddVal.value = 10; break; } };