powerCutAdd.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <template>
  2. <view class="appWrapper">
  3. <form action="">
  4. <view style="height:30rpx"></view>
  5. <calendar></calendar>
  6. <!-- <view class="form-item">
  7. <view class="title">
  8. <text class="necessary">*</text>
  9. 开始时间:
  10. </view>
  11. <input name="input" v-model="formMess.deviceNo"></input>
  12. </view>
  13. <view class="form-item">
  14. <view class="title">结束时间:</view>
  15. <input name="input" v-model="formMess.deviceName"></input>
  16. </view> -->
  17. <view class="form-item">
  18. <view class="title">所属站点:</view>
  19. <select name="" id="">
  20. <option value="">站点一</option>
  21. <option value="">站点二</option>
  22. <option value="">站点三</option>
  23. </select>
  24. </view>
  25. <view class="form-item">
  26. <view class="title">计划类型:</view>
  27. <select name="" id="">
  28. <option value="">类型一</option>
  29. <option value="">类型二</option>
  30. <option value="">类型三</option>
  31. </select>
  32. </view>
  33. <view class="form-item">
  34. <view class="title">
  35. <text class="necessary">*</text>
  36. 报备人:
  37. </view>
  38. <input name="input" v-model="formMess.deviceNo" placeholder="张三"></input>
  39. </view>
  40. <view class="form-item">
  41. <view class="title">
  42. <text class="necessary">*</text>
  43. 手机号:
  44. </view>
  45. <input name="input" v-model="formMess.deviceNo" placeholder="18888888888"></input>
  46. </view>
  47. <view class="btn-area submitBottomBtn padding-lr-sm">
  48. <button class="bg-blue round margin-top" @click="submit()">提 交 </button>
  49. </view>
  50. </form>
  51. </view>
  52. </template>
  53. <script>
  54. import calendar from '../calendar/calendar.vue';
  55. export default {
  56. components: {
  57. calendar },
  58. data() {
  59. return {
  60. isShow: false,
  61. formMess: {
  62. "userName": "sss",
  63. "siteName": "",
  64. "place": "",
  65. "longitude": "",
  66. "dimension": "",
  67. "contactor": "",
  68. "mobile": "",
  69. },
  70. }
  71. },
  72. onLoad: function(option) {
  73. },
  74. methods: {
  75. submit() {
  76. uni.navigateTo({
  77. url: '/pages/accountManage/success/success',
  78. });
  79. },
  80. }
  81. }
  82. </script>
  83. <style lang="scss">
  84. .cu-form-group {
  85. border-top: 0;
  86. }
  87. input,
  88. select,
  89. option {
  90. line-height: 70rpx;
  91. padding: 0 20rpx;
  92. height: 70rpx;
  93. border: 1px solid #EDEDED;
  94. // width:500rpx!important;
  95. background-color: #fff;
  96. box-sizing: border-box;
  97. appearance: none;
  98. -moz-appearance: none;
  99. -webkit-appearance: none;
  100. color: #999;
  101. }
  102. select:focus,
  103. select:active,
  104. select:hover {
  105. outline: none;
  106. }
  107. select {
  108. background: url(../../../../static/arrow.png) no-repeat scroll 98% center;
  109. background-size: 6%;
  110. }
  111. .form-item {
  112. padding: 0 40rpx;
  113. display: flex;
  114. align-items: top;
  115. margin-bottom: 20rpx;
  116. .title {
  117. width: 170rpx;
  118. position: relative;
  119. .necessary {
  120. color: red;
  121. display: inline-block;
  122. position: absolute;
  123. top: -2rpx;
  124. left: -20rpx;
  125. font-size: 40rpx;
  126. }
  127. }
  128. input,
  129. select {
  130. width: 500rpx;
  131. font-size: 28rpx;
  132. }
  133. }
  134. </style>