|
|
- <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>
|