index.vue 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. <template>
  2. <view class="app-container">
  3. <view class="earphone">
  4. <view class="border" flex center style="height: 154px">
  5. <img src="../../static/operation/earphone.png" style="width: 240rpx; height: 240rpx;" />
  6. </view>
  7. <view class="border" flex center style="height: 112px;">
  8. <view class="bg-gary" flex center>
  9. 单机
  10. </view>
  11. <view flex style="width: calc(100% - 206rpx); font-size: 24rpx; text-align:center">
  12. <view style="width: 50%">
  13. <img mini src="../../static/operation/left.png" />
  14. <view flex center>
  15. <img mini src="../../static/operation/last.png" />
  16. <text>上一首</text>
  17. </view>
  18. </view>
  19. <view style="width: 50%">
  20. <img mini src="../../static/operation/right.png" />
  21. <view flex center>
  22. <img mini src="../../static/operation/next.png" />
  23. <text>下一首</text>
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. <view class="border" flex center style="height: 97px;">
  29. <view class="bg-gary" flex center>
  30. 双击
  31. </view>
  32. <view style="width: calc(100% - 206rpx)">
  33. <view flex around style="font-size: 24rpx;">
  34. <view>
  35. <img mini src="../../static/operation/play.png" />
  36. <view>播放</view>
  37. </view>
  38. <view>
  39. <img mini src="../../static/operation/stop.png" />
  40. <view>暂停</view>
  41. </view>
  42. <view>
  43. <img mini src="../../static/operation/pickup.png" />
  44. <view>接听</view>
  45. </view>
  46. <view>
  47. <img mini src="../../static/operation/hangup.png" />
  48. <view>挂断</view>
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="border" flex center style="height: 97px;">
  54. <view class="bg-gary" flex center>
  55. 长按2s
  56. </view>
  57. <view style="width: calc(100% - 206rpx)">
  58. <view style="font-size: 24rpx; text-align:center">
  59. <img mini src="../../static/operation/refuse.png" />
  60. <view>拒接来电</view>
  61. </view>
  62. </view>
  63. </view>
  64. <view flex center style="height: 97px;">
  65. <view class="bg-gary" flex center>
  66. 长按3s
  67. </view>
  68. <view style="width: calc(100% - 206rpx)">
  69. <view style="font-size: 24rpx; text-align:center">
  70. <img mini src="../../static/operation/scene.png" />
  71. <view>切换场景模式</view>
  72. </view>
  73. </view>
  74. </view>
  75. </view>
  76. <view class="box">
  77. <view class="border" flex center style="height: 162px">
  78. <img src="../../static/operation/box.png" style="width: 212rpx; height: 260rpx;" />
  79. </view>
  80. <view flex center style="height: 100px;">
  81. <view class="bg-gary" flex center>
  82. 长按5s
  83. </view>
  84. <view style="width: calc(100% - 206rpx)">
  85. <view style="font-size: 24rpx; text-align:center">
  86. <img mini src="../../static/operation/bluetooth.png" />
  87. <view>重置蓝牙</view>
  88. <view style="color:#FFFFFF66">(耳机处于仓内)</view>
  89. </view>
  90. </view>
  91. </view>
  92. </view>
  93. </view>
  94. </template>
  95. <script>
  96. export default {
  97. data() {
  98. return {
  99. }
  100. }
  101. }
  102. </script>
  103. <style lang="scss" scoped>
  104. .earphone {
  105. height: 558px;
  106. border: 2rpx solid #2f2f2f;
  107. }
  108. .box {
  109. margin-top: 32rpx;
  110. height: 264px;
  111. border: 2rpx solid #2f2f2f;
  112. }
  113. .border {
  114. border-bottom: 2rpx solid #2f2f2f;
  115. }
  116. .bg-gary {
  117. background-color: #ffffff05;
  118. font-size: 28rpx;
  119. width: 206rpx;
  120. height: 100%;
  121. text-align: center;
  122. border-right: 2rpx solid #2f2f2f;
  123. }
  124. </style>