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

42 lines
801 B

6 months ago
3 months ago
6 months ago
3 months ago
6 months ago
3 months ago
6 months ago
3 months ago
6 months ago
  1. <template>
  2. <view class="u-page se-w-vw-100">
  3. <u-subsection bg-color="#ff7a31" button-color="#f0b744" active-color="#ff7a31" inactive-color="#ffffff" :list="list" :current="current" @change="sectionChange"></u-subsection>
  4. <!-- 招聘订单 -->
  5. <enterpriseBox v-if="current==0" />
  6. <!--求职订单 -->
  7. <masterBox v-if="current==1" />
  8. </view>
  9. </template>
  10. <script>
  11. import masterBox from "./component/master.vue"
  12. import enterpriseBox from "./component/enterprise.vue"
  13. export default{
  14. components:{
  15. enterpriseBox,
  16. masterBox
  17. },
  18. data(){
  19. return{
  20. list: [
  21. {
  22. name: '招聘订单'
  23. },
  24. {
  25. name: '求职订单'
  26. }
  27. ],
  28. current: 0,
  29. }
  30. },
  31. methods:{
  32. sectionChange(index){
  33. this.current=index
  34. }
  35. }
  36. }
  37. </script>
  38. <style>
  39. </style>