Commit 1d6db22c by 李伟康

commit 提交

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