update
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-12-19 21:19:00 +08:00
parent 20f5e6b7cc
commit 8f47153ca3
9 changed files with 98 additions and 14 deletions

8
.idea/.gitignore generated vendored Normal file
View File

@@ -0,0 +1,8 @@
# 默认忽略的文件
/shelf/
/workspace.xml
# 基于编辑器的 HTTP 客户端请求
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

6
.idea/git_toolbox_blame.xml generated Normal file
View 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>

View File

@@ -0,0 +1,33 @@
<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="HtmlUnknownAttribute" enabled="true" level="WARNING" enabled_by_default="true">
<option name="myValues">
<value>
<list size="1">
<item index="0" class="java.lang.String" itemvalue="class" />
</list>
</value>
</option>
<option name="myCustomValuesEnabled" value="true" />
</inspection_tool>
<inspection_tool class="HtmlUnknownTag" enabled="true" level="WARNING" enabled_by_default="true">
<option name="myValues">
<value>
<list size="7">
<item index="0" class="java.lang.String" itemvalue="nobr" />
<item index="1" class="java.lang.String" itemvalue="noembed" />
<item index="2" class="java.lang.String" itemvalue="comment" />
<item index="3" class="java.lang.String" itemvalue="noscript" />
<item index="4" class="java.lang.String" itemvalue="embed" />
<item index="5" class="java.lang.String" itemvalue="script" />
<item index="6" class="java.lang.String" itemvalue="scroll-view" />
</list>
</value>
</option>
<option name="myCustomValuesEnabled" value="true" />
</inspection_tool>
<inspection_tool class="Stylelint" enabled="true" level="ERROR" enabled_by_default="true" />
</profile>
</component>

12
.idea/jdt-yaotouzi.iml generated Normal file
View 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/jsLibraryMappings.xml generated Normal file
View 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
View 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/jdt-yaotouzi.iml" filepath="$PROJECT_DIR$/.idea/jdt-yaotouzi.iml" />
</modules>
</component>
</project>

6
.idea/vcs.xml generated Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View File

@@ -299,6 +299,8 @@
height: 100px;
text-align: center;
line-height: 100px;
font-size: 30px;
font-weight: bold;
}
.btn3 {

View File

@@ -34,8 +34,8 @@
</view>
<view class="right">
<view class="btn" @click="utils.vibrateShort(() => toPage(1))"
>开奖记录</view
>
>开奖记录
</view>
<view class="btn mt-15" @click="utils.vibrateShort(() => toPage(2))">
投注记录
</view>
@@ -186,14 +186,14 @@
<!-- 底部操作栏 -->
<view class="subColor bottomBar">
<view class="btn1" @click="utils.vibrateShort(() => clearBet(true))"
>重置</view
>
>重置
</view>
<view class="btn2" @click="utils.vibrateShort(() => changeOdd())"
>X{{ oddVal }}</view
>
>X{{ oddVal }}
</view>
<view class="btn3" @click="utils.vibrateShort(() => verifyBet())"
>投注</view
>
>投注
</view>
</view>
</view>
</template>
@@ -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;
}
};