用工小程序前端代码
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
801 B

<template>
<view class="u-page se-w-vw-100">
<u-subsection bg-color="#ff7a31" button-color="#f0b744" active-color="#ff7a31" inactive-color="#ffffff" :list="list" :current="current" @change="sectionChange"></u-subsection>
<!-- 招聘订单 -->
<enterpriseBox v-if="current==0" />
<!--求职订单 -->
<masterBox v-if="current==1" />
</view>
</template>
<script>
import masterBox from "./component/master.vue"
import enterpriseBox from "./component/enterprise.vue"
export default{
components:{
enterpriseBox,
masterBox
},
data(){
return{
list: [
{
name: '招聘订单'
},
{
name: '求职订单'
}
],
current: 0,
}
},
methods:{
sectionChange(index){
this.current=index
}
}
}
</script>
<style>
</style>