Task:指引功能/状态接口对接

This commit is contained in:
modendeveloper
2025-01-19 02:52:58 +08:00
parent 85854ea2f6
commit bd2338f16a
13 changed files with 359 additions and 269 deletions
+6 -2
View File
@@ -137,7 +137,7 @@
</view>
</mescroll-body>
</view>
<FunctionGuide :maxStep="maxStep" :guideData="functionGuideData" ref="FunctionGuide"></FunctionGuide>
<FunctionGuide :maxStep="maxStep" @hide="setGuide(pageKeyId)" :guideData="functionGuideData" ref="FunctionGuide"></FunctionGuide>
</view>
</template>
@@ -197,7 +197,7 @@ export default {
maxStep() {
const stepsMap = {
0: 1,
1: 1,
1: 2,
}
return stepsMap[this.type] || 1
}
@@ -230,6 +230,7 @@ export default {
this.getMapData()
}
this.init()
this.queryGuide(this.pageKeyId)
},
methods: {
showFunctionGuide() {
@@ -294,6 +295,9 @@ export default {
})
return
} else {
if(this.type === 1) {
this.$refs.FunctionGuide.show = false
}
return
}
},