🎉 求和案例init
This commit is contained in:
parent
39e7447e70
commit
84e7108798
|
@ -0,0 +1,27 @@
|
||||||
|
<template>
|
||||||
|
<div>
|
||||||
|
<h1>当前求和为:???</h1>
|
||||||
|
<select>
|
||||||
|
<option value="1">1</option>
|
||||||
|
<option value="2">2</option>
|
||||||
|
<option value="3">3</option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<button>+</button>
|
||||||
|
<button>-</button>
|
||||||
|
<button>-当前求和为奇数再加</button>
|
||||||
|
<button>-等一等再加</button>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "Count",
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
button {
|
||||||
|
margin: 0 4px;
|
||||||
|
}
|
||||||
|
</style>
|
|
@ -0,0 +1,3 @@
|
||||||
|
<template></template>
|
||||||
|
|
||||||
|
<script></script>
|
Loading…
Reference in New Issue