Commit 9d824ac1 authored by 毛线's avatar 毛线

save

parent ca155433
......@@ -2,7 +2,7 @@
<div class="audio-size">
<div class="title">{{ title }}</div>
<div class="slider">
<el-slider v-model="data"/>
<el-slider v-model="data" :show-tooltip="false"/>
</div>
</div>
</template>
......
......@@ -56,12 +56,8 @@ export default {
this.$refs.dialog.close()
}
},
volumeMachine(value) {
console.log('watch volumeMachine', value)
},
},
created() {
console.log('test volumeMachine', this.volumeMachine)
},
methods: {
...mapMutations('audio', [
......@@ -79,17 +75,14 @@ export default {
return {
// 设置机器声音
changeAudioMachine: (value) => {
console.log('设置机器声音', value)
this.SetVolumeMachine(value)
},
// 设置背景音
changeAudioBg: (value) => {
console.log('设置背景音', value)
this.SetVolumeBg(value)
},
// 设置按键音
changeAudioButton: (value) => {
console.log('设置按键音', value)
this.SetVolumeButton(value)
},
}
......
......@@ -5,7 +5,7 @@
<img v-if="tabIndex === index" class="tab-img" src="https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/Rounded%20Rectangle%2019.png" alt="">
<img v-else class="tab-img" src="https://kuawai.s3.ap-east-1.amazonaws.com/resource/assets/Textures/second/last_game%20%E6%8B%B7%E8%B4%9D%202.png" alt="">
<div class="text">{{ text }}</div>
<div v-if="index === 0" class="version">{{ `1.0.004` }}</div>
<div v-if="index === 0" class="version">{{ `1.0.005` }}</div>
</div>
</div>
</div>
......
......@@ -4,7 +4,7 @@
<input v-model="form.password" type="text" >
<button v-audio @click="click().login()">登录</button>
<button v-audio>音乐</button>
<div style="color: white;">version: 1.0.002</div>
<!-- <div style="color: white;">version: 1.0.002</div> -->
</div>
</template>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment