index.vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <template>
  2. <headerBar
  3. title="遥控模拟器"
  4. />
  5. <div class="main-container">
  6. <el-row align="middle">
  7. <el-col :span="8"></el-col>
  8. <el-col :span="8"><div class="button up">上</div></el-col>
  9. <el-col :span="8"></el-col>
  10. </el-row>
  11. <el-row align="middle">
  12. <el-col :span="8"><div class="button up">左脚</div></el-col>
  13. <el-col :span="8"><div class="button up">拍照</div></el-col>
  14. <el-col :span="8"><div class="button up">右脚</div></el-col>
  15. </el-row>
  16. <el-row align="middle">
  17. <el-col :span="8"></el-col>
  18. <el-col :span="8"><div class="button up">下</div></el-col>
  19. <el-col :span="8"></el-col>
  20. </el-row>
  21. <el-row align="middle" class="mar-top-50">
  22. <el-col :span="1"></el-col>
  23. <el-col :span="8"><div class="button up">继续</div></el-col>
  24. <el-col :span="6"></el-col>
  25. <el-col :span="8"><div class="button up">停止</div></el-col>
  26. <el-col :span="1"></el-col>
  27. </el-row>
  28. </div>
  29. </template>
  30. <script setup lang="ts">
  31. import headerBar from '@/components/header-bar/index.vue'
  32. </script>
  33. <style scoped lang="scss">
  34. .main-container {
  35. background: #EAECED;
  36. height: calc(100vh - 30px);
  37. padding-top: 30px;
  38. }
  39. .button {
  40. width: 68px;
  41. height: 68px;
  42. background: #fff;
  43. border-radius: 68px;
  44. line-height: 68px;
  45. color: #474747;
  46. margin: 0 auto;
  47. box-shadow: 0 2px 8px 0 rgba(0,0,0,0.2);
  48. }
  49. .el-row {
  50. min-height: 100px;
  51. }
  52. .button:hover {
  53. background: #2957FF;
  54. color: #fff;
  55. cursor: pointer;
  56. }
  57. </style>