建材商城系统20241014
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.

164 lines
3.4 KiB

6 months ago
  1. <template>
  2. <view class="hand-top">
  3. <navbar
  4. title="快捷下单"
  5. leftClick
  6. @leftClick="$utils.navigateBack"
  7. />
  8. <view class="voice-top">
  9. <view class="left-icon"></view>
  10. <text>录制语音下单</text>
  11. </view>
  12. <view class="voice-upload">
  13. <view class="long-speak">
  14. <uv-icon name="mic" size="45rpx" color="#DC2828"></uv-icon>
  15. <text>长按可说话</text>
  16. </view>
  17. <view class="recording-file">
  18. <view class="file">
  19. <image src="../static/order/1.png" mode="" class="record"></image>
  20. <image src="../static/order/2.png" mode="" class="file-start"></image>
  21. <image src="../static/order/3.png" mode="" class="file-delete"></image>
  22. <view class="file-top">
  23. <p>录音文件01.mp3</p>
  24. <p style="color: #A6ADBA;">12MB</p>
  25. </view>
  26. <view class="file-bottom">
  27. <view class="schedule"></view>
  28. <text>100%</text>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="text-upload">
  33. <text>(录音上传你所需要识别的产品语音)</text>
  34. </view>
  35. </view>
  36. <view class="fast-order">
  37. <view class="voice-button" @click="$utils.redirectTo('/pages_order/order/firmOrder')">
  38. <text>快捷下单</text>
  39. </view>
  40. </view>
  41. </view>
  42. </template>
  43. <script>
  44. export default {
  45. data() {
  46. return {
  47. };
  48. }
  49. }
  50. </script>
  51. <style scoped lang="scss">
  52. .hand-top{
  53. background-color: #ffffff;
  54. .voice-top{
  55. color: #333333;
  56. height: 100rpx;
  57. display: flex;
  58. align-items: center;
  59. background-color: #ffffff;
  60. .left-icon{
  61. background-color: #D03F25;
  62. display: inline-block;
  63. width: 10rpx;
  64. height: 30rpx;
  65. border-radius: 100rpx;
  66. margin-left: 50rpx;
  67. margin-right: 20rpx;
  68. padding-bottom: 5rpx;
  69. }
  70. }
  71. .voice-upload{
  72. .long-speak{
  73. color: #DC2828;
  74. border: 1rpx solid #DC2828;
  75. width: 85%;
  76. height: 80rpx;
  77. margin: auto;
  78. margin-top: 60rpx;
  79. display: flex;
  80. align-items: center;
  81. justify-content: center;
  82. border-radius: 100rpx;
  83. }
  84. .recording-file{
  85. height: 250rpx;
  86. display: flex;
  87. align-items: center;
  88. justify-content: center;
  89. position: relative;
  90. margin-top: 30rpx;
  91. .file{
  92. background-color: #F4F4F4;
  93. width: 95%;
  94. height: 200rpx;
  95. border-radius: 20rpx;
  96. .record{
  97. position: absolute;
  98. height: 80rpx;
  99. width: 80rpx;
  100. top: 65rpx;
  101. left: 60rpx;
  102. }
  103. .file-start{
  104. position: absolute;
  105. height: 30rpx;
  106. width: 30rpx;
  107. top: 60rpx;
  108. right: 100rpx;
  109. }
  110. .file-delete{
  111. position: absolute;
  112. height: 30rpx;
  113. width: 30rpx;
  114. top: 60rpx;
  115. right: 50rpx;
  116. }
  117. .file-top{
  118. position: absolute;
  119. width: 280rpx;
  120. top: 60rpx;
  121. left: 160rpx;
  122. }
  123. .file-bottom{
  124. position: absolute;
  125. width: 88%;
  126. height: 30rpx;
  127. display: flex;
  128. align-items: center;
  129. top: 160rpx;
  130. left: 60rpx;
  131. .schedule{
  132. width: 80%;
  133. height: 10rpx;
  134. border-radius: 30rpx;
  135. background-color: #D03F25;
  136. margin-right: 15rpx;
  137. }
  138. }
  139. }
  140. }
  141. .text-upload{
  142. height: 100rpx;
  143. text-align: center;
  144. line-height: 100rpx;
  145. color: #666666;
  146. margin-bottom: 100rpx;
  147. }
  148. }
  149. .voice-button{
  150. color: #ffffff;
  151. background-color: #DC2828;
  152. width: 85%;
  153. height: 100rpx;
  154. margin: auto;
  155. display: flex;
  156. align-items: center;
  157. justify-content: center;
  158. border-radius: 100rpx;
  159. }
  160. }
  161. </style>