clickBtn.vue 815 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <div id="clickBtn">
  3. <el-row>
  4. <el-col :span="24">
  5. <el-col :span="24" class="native">
  6. <van-cell is-link @click="$router.push({ path: '/user/leave' })">请假</van-cell>
  7. </el-col>
  8. <el-col :span="24" class="native">
  9. <van-cell is-link @click="$router.push({ path: '/user/checkWork' })">考勤</van-cell>
  10. </el-col>
  11. </el-col>
  12. </el-row>
  13. </div>
  14. </template>
  15. <script>
  16. export default {
  17. name: 'clickBtn',
  18. props: {},
  19. components: {},
  20. data: () => ({}),
  21. created() {},
  22. computed: {},
  23. methods: {},
  24. };
  25. </script>
  26. <style lang="less" scoped>
  27. .native {
  28. height: 50px;
  29. background-color: #fff;
  30. margin: 0 0 5px 0;
  31. }
  32. /deep/.van-cell {
  33. line-height: 30px;
  34. }
  35. /deep/.van-cell__right-icon {
  36. height: 30px;
  37. line-height: 30px;
  38. }
  39. </style>