jobDemands.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <template>
  2. <view>
  3. <view class="demandForm">
  4. <view class="form-item">
  5. <view class="item-title">需求分类</view>
  6. <view class="item-area">
  7. <input class="item-area-input" placeholder="请选择" placeholder-style="color: #979797;"></input>
  8. </view>
  9. </view>
  10. <view class="form-item">
  11. <view class="item-title">您的需求</view>
  12. <view class="item-area">
  13. <input class="item-area-input" placeholder="请输入您的要求" placeholder-style="color: #979797;"></input>
  14. </view>
  15. </view>
  16. <view class="form-item">
  17. <view class="item-title">期望价格</view>
  18. <view class="item-area-mult">
  19. <view class="item-area-mult-box">
  20. <input class="item-area-input" type="digit" placeholder="请输入"
  21. placeholder-style="color: #979797;"></input>
  22. </view>
  23. <view>元</view>
  24. </view>
  25. </view>
  26. <view class="form-item">
  27. <view class="item-title">服务地址</view>
  28. <view class="item-area">
  29. <input class="item-area-input" placeholder="请选择地址" placeholder-style="color: #979797;"></input>
  30. </view>
  31. </view>
  32. <view class="form-item">
  33. <view class="item-title">期望服务时间</view>
  34. <view class="item-area">
  35. <input class="item-area-input" placeholder="请选择时间" placeholder-style="color: #979797;"></input>
  36. </view>
  37. </view>
  38. <view class="form-item">
  39. <view class="item-title">添加图片</view>
  40. <view class="item-area-image">
  41. <view class="item-area-imageBox">
  42. <u-icon name="plus" color="#B4B5B5" size="40"></u-icon>
  43. </view>
  44. </view>
  45. </view>
  46. </view>
  47. <view class="bottomEmpty"></view>
  48. <view class="bottomArea">
  49. <view class="bottomLeft">
  50. <text class="bottomLeft-title">应付金额:</text>
  51. <text style="font-weight: 600;color: #CA151C;">¥</text>
  52. <text class="bottomLeft-money">300</text>
  53. </view>
  54. <view class="bottomButton" @tap="submit">确认提交</view>
  55. </view>
  56. </view>
  57. </template>
  58. <script>
  59. export default {
  60. data() {
  61. return {
  62. }
  63. },
  64. methods: {
  65. submit() {
  66. },
  67. }
  68. }
  69. </script>
  70. <style lang="scss">
  71. .demandForm {
  72. padding: 40rpx 70rpx 10rpx;
  73. background-color: #FFFFFF;
  74. .form-item {
  75. margin-bottom: 35rpx;
  76. .item-area-mult {
  77. margin-top: 15rpx;
  78. width: 100%;
  79. display: flex;
  80. align-items: center;
  81. // justify-content: space-between;
  82. font-size: 28rpx;
  83. color: #979797;
  84. .item-area-mult-box {
  85. width: 90%;
  86. height: 100rpx;
  87. margin-right: 15rpx;
  88. padding: 0 36rpx;
  89. background: #F7F7F7;
  90. .item-area-input {
  91. height: 100rpx;
  92. }
  93. }
  94. }
  95. .item-area-image {
  96. margin-top: 15rpx;
  97. .item-area-imageBox {
  98. width: 200rpx;
  99. height: 200rpx;
  100. background: #F7F7F7;
  101. display: flex;
  102. align-items: center;
  103. justify-content: center;
  104. }
  105. }
  106. .item-area {
  107. margin-top: 15rpx;
  108. padding: 0 36rpx;
  109. width: 100%;
  110. height: 100rpx;
  111. background: #F7F7F7;
  112. font-size: 28rpx;
  113. color: #979797;
  114. .item-area-input {
  115. height: 100rpx;
  116. }
  117. }
  118. }
  119. }
  120. .bottomEmpty {
  121. margin-top: 80rpx;
  122. height: 130rpx;
  123. }
  124. .bottomArea {
  125. position: fixed;
  126. bottom: 0;
  127. z-index: 100;
  128. width: 100%;
  129. height: 130rpx;
  130. padding: 0 40rpx;
  131. display: flex;
  132. align-items: center;
  133. justify-content: space-between;
  134. background-color: #FFFFFF;
  135. box-shadow: -10rpx -12rpx 12rpx 2rpx rgba(52, 85, 73, 0.16);
  136. .bottomLeft {
  137. .bottomLeft-money {
  138. font-size: 40rpx;
  139. font-weight: 600;
  140. color: #CA151C;
  141. }
  142. }
  143. .bottomButton {
  144. width: 360rpx;
  145. height: 88rpx;
  146. background-color: #CA151C;
  147. border-radius: 54rpx;
  148. color: #FFFFFF;
  149. font-size: 36rpx;
  150. line-height: 88rpx;
  151. text-align: center;
  152. }
  153. }
  154. </style>