procurementAdd.vue 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <template>
  2. <view class="release">
  3. <form>
  4. <view class="uni-form-item uni-column">
  5. <view class="title"><span>*</span>商品图片</view>
  6. <view class="uploadComp">
  7. <proUpload />
  8. </view>
  9. </view>
  10. <view class="uni-form-item uni-column">
  11. <view class="title"><span>*</span>商品名称</view>
  12. <view>
  13. <input class="uni-input" focus placeholder="自动获得焦点" />
  14. </view>
  15. </view>
  16. <view class="uni-form-item uni-column">
  17. <view class="title"><span>*</span>期望单价</view>
  18. <view>
  19. <input class="uni-input" focus placeholder="自动获得焦点" />
  20. </view>
  21. </view>
  22. <view class="uni-form-item uni-column">
  23. <view class="title"><span>*</span>采购数量</view>
  24. <view>
  25. <input class="uni-input" focus placeholder="自动获得焦点" />
  26. </view>
  27. </view>
  28. </form>
  29. <view class="release_btn">
  30. <proBtn width="600rpx" height="90rpx" background='#E2E2E2' color='#999999' fontSize='32rpx'>发布</proBtn>
  31. </view>
  32. </view>
  33. </template>
  34. <script>
  35. import proBtn from './components/procurement-btn.vue'
  36. import proUpload from './components/upload.vue'
  37. export default {
  38. components: {
  39. proUpload,
  40. proBtn
  41. },
  42. }
  43. </script>
  44. <style lang="scss" scoped>
  45. .release {
  46. padding: 24rpx;
  47. }
  48. span{
  49. color: #F85050;
  50. font-size: 28rpx;
  51. }
  52. .title {
  53. font-size: 28rpx;
  54. color: #666666;
  55. margin-bottom: 24rpx;
  56. }
  57. .uploadComp {
  58. margin-bottom: 40rpx;
  59. }
  60. .uni-input {
  61. border-radius: 6rpx 6rpx 6rpx 6rpx;
  62. border: 1rpx solid #B2B2B2;
  63. height: 90rpx;
  64. font-size: 28rpx;
  65. padding: 24rpx;
  66. margin-bottom: 40rpx;
  67. box-sizing: border-box;
  68. line-height: 40rpx;
  69. }
  70. .release_btn {
  71. position: fixed;
  72. left: 0;
  73. bottom: 0;
  74. margin-bottom: 76rpx;
  75. display: flex;
  76. justify-content: center;
  77. align-items: center;
  78. width: 100%;
  79. }
  80. </style>