123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <template>
- <view class="appWrapper padding-sm">
- <form action="">
- <view class="form-item margin-top">
- <view class="title">设备编号:</view>
- <input name="input"></input>
- </view>
- <view class="form-item">
- <view class="title">设备名称:</view>
- <input name="input"></input>
- </view>
- <view class="form-item">
- <view class="title">安装位置:</view>
- <input name="input"></input>
- </view>
- <view class="form-item">
- <view class="title">所属楼层:</view>
- <select name="" id="">
- <option value="">楼层一</option>
- <option value="">楼层一</option>
- <option value="">楼层一</option>
- </select>
- </view>
- <view class="form-item">
- <view class="title">站点:</view>
- <select name="" id="">
- <option value="">站点一</option>
- <option value="">站点一</option>
- <option value="">站点一</option>
- </select>
- </view>
- <view class="form-item">
- <view class="title">设备类型:</view>
- <select name="" id="">
- <option value="">智慧用电</option>
- <option value="">视频监控</option>
- </select>
- </view>
-
- <view class="btn-area submitBottomBtn">
- <button class="bg-blue round margin-top">提 交 </button>
- </view>
- </form>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- index: -1,
- picker: ['楼层一', '楼层二', '楼层三'],
- }
- },
- methods: {
- PickerChange(e) {
- this.index = e.detail.value
- },
- }
- }
- </script>
- <style lang="scss">
- .cu-form-group {
- border-top: 0;
- }
- input,
- select,
- option {
- line-height: 70rpx;
- padding: 0 20rpx;
- height: 70rpx;
- border: 1px solid #EDEDED;
- // width:500rpx!important;
- background-color: #fff;
- box-sizing: border-box;
- appearance: none;
- -moz-appearance: none;
- -webkit-appearance: none;
- color: #999;
- }
- select:focus,
- select:active,
- select:hover {
- outline: none;
- }
- select {
- background: url(../../static/arrow.png) no-repeat scroll 98% center;
- background-size: 6%;
- }
- .form-item {
- padding: 0 40rpx;
- display: flex;
- align-items: center;
- margin-bottom: 20rpx;
- .title {
- width: 170rpx;
- }
- input,
- select {
- width: 500rpx;
- font-size:28rpx;
- }
- }
- </style>
|