用工小程序前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

43 lines
638 B

<template>
<view>
<!-- 企业端 -->
<enterpriseBox v-if="status==1" />
<!-- 师傅端 -->
<masterBox v-if="status==2" />
</view>
</template>
<script>
import enterpriseBox from "./component/enterprise.vue"
import masterBox from "./component/master.vue"
export default {
components:{
enterpriseBox,
masterBox
},
data() {
return {
status:0,
}
},
onLoad(options) {
console.info(`options`,options)
this.status = options.status
},
watch: {
},
methods: {
},
onReady() {
}
}
</script>
<style lang="scss" scoped>
page {
background-color: #f5f5f5 !important;
}
</style>