powerCutDetail.vue 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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. </form>
  48. </view>
  49. </template>
  50. <script>
  51. import calendar from '../calendar/calendar.vue';
  52. export default {
  53. components: {
  54. calendar },
  55. data() {
  56. return {
  57. isShow: false,
  58. formMess: {
  59. "userName": "sss",
  60. "siteName": "",
  61. "place": "",
  62. "longitude": "",
  63. "dimension": "",
  64. "contactor": "",
  65. "mobile": "",
  66. },
  67. }
  68. },
  69. onLoad: function(option) {
  70. },
  71. methods: {
  72. submit() {
  73. uni.navigateTo({
  74. url: '/pages/accountManage/success/success',
  75. });
  76. },
  77. }
  78. }
  79. </script>
  80. <style lang="scss">
  81. .cu-form-group {
  82. border-top: 0;
  83. }
  84. input,
  85. select,
  86. option {
  87. line-height: 70rpx;
  88. padding: 0 20rpx;
  89. height: 70rpx;
  90. border: 1px solid #EDEDED;
  91. // width:500rpx!important;
  92. background-color: #fff;
  93. box-sizing: border-box;
  94. appearance: none;
  95. -moz-appearance: none;
  96. -webkit-appearance: none;
  97. color: #999;
  98. }
  99. select:focus,
  100. select:active,
  101. select:hover {
  102. outline: none;
  103. }
  104. select {
  105. background: url(../../../../static/arrow.png) no-repeat scroll 98% center;
  106. background-size: 6%;
  107. }
  108. .form-item {
  109. padding: 0 40rpx;
  110. display: flex;
  111. align-items: top;
  112. margin-bottom: 20rpx;
  113. .title {
  114. width: 170rpx;
  115. position: relative;
  116. .necessary {
  117. color: red;
  118. display: inline-block;
  119. position: absolute;
  120. top: -2rpx;
  121. left: -20rpx;
  122. font-size: 40rpx;
  123. }
  124. }
  125. input,
  126. select {
  127. width: 500rpx;
  128. font-size: 28rpx;
  129. }
  130. }
  131. </style>