Commit 1d6db22c by 李伟康

commit 提交

1 parent caf8e60b
......@@ -51,9 +51,7 @@
</template>
<script type='text/ecmascript-6'>
import myClick from "@/mixin/click";
export default {
mixins: [myClick],
name: 'SettingBox',
data () {
return {
......@@ -85,7 +83,7 @@ export default {
confirmColor: '#347BFF',
async success (res) {
if (res.confirm) {
_this.stopAudio();
_this.$emit('stopAudio');
try {
uni.showLoading()
const { code, message } = await uni.$api.userApi.logout(),
......
......@@ -60,7 +60,6 @@
</template>
<script>
import ToolBox from "@/components/ToolBox.vue";
import myClick from "@/mixin/click";
import FinishStep from "@/components/FinishStep.vue";
import Membranes from "./membranes.vue";
import Reception from "./components/Reception.vue";
......@@ -78,7 +77,6 @@ export default {
Case,
history
},
mixins: [myClick],
props: {
id: [String, Number],
media: Array,
......
......@@ -8,7 +8,6 @@
<template>
<view
class="detail-box"
@click="handleTouchStart()"
@dblclick="dbClick"
>
<view class="nav-bar">
......@@ -72,7 +71,6 @@
</template>
<script>
import ToolBox from "@/components/ToolBox.vue";
import myClick from "@/mixin/click";
import Media_1 from "./components/Media_1.vue";
import MediaComponent from "./components/MediaComponent.vue";
import Media_6 from "./components/Media_6.vue";
......@@ -88,7 +86,6 @@ export default {
payPop,
FinishStep
},
mixins: [myClick],
props: {
id: [String, Number],
media: Array,
......
......@@ -163,7 +163,7 @@
<update-box />
<kf-box ref="kfRef" />
<novice-guide @nextStep="nextStep" @back="back" />
<setting-box ref="settingRef" />
<setting-box ref="settingRef" @stopAudio="stopAudio" />
</view>
</template>
<script>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!