| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <view class="publishContainer">
- <view class="top-info">
- <view style="margin-left:20rpx;margin-right:20rpx;">
- <text class="weather-text-title">天气:</text>
- </view>
- <view style="margin-left:20rpx;margin-right:20rpx;">
- <text class="weather-text">{{weather}}</text>
- </view>
- <view style="margin-left:20rpx;margin-right:20rpx;">
- <text class="location-text">经度:{{lng}} 纬度:{{lat}}</text>
- </view>
- <view style="margin-left:20rpx;margin-right:20rpx;">
- <text class="weather-text-title">地址(可修改):</text>
- </view>
- <view style="margin-left:20rpx;margin-right:20rpx;">
- <input class='address-text' placeholder='请录入地址' type='text' bindinput="bindAddressKeyInput" value='{{address}}'></input>
- </view>
- <view style="margin-left: 20rpx;margin-top: 5rpx;display: flex;flex-direction: row;justify-content: flex-start;height: 50px;width: 100%;">
- <view>
- <switch type="checkbox" checked="{{updateRtuLocationChecked}}" bindchange="updateRtuLocationCheckboxChange" />
- </view>
- <text style="font-size:0.8rem;color:red;margin-left: 10px;margin-top: 4px;height: 26px;">同步更新测站经纬度</text>
- </view>
- </view>
- <view class="rtuCode-box">
- <view>
- <text class='rtuCode-text'>RTU编码:</text>
- </view>
- <view style="word-break: break-all;">
- <input class='rtuCode-text' placeholder-style="font-size:0.7rem;color:darkgray" placeholder='请输入RTU编码' type='text' bindinput="rtuCodeInput" value='{{rtuCode}}'></input>
- </view>
- <view class="button-check">
- <button class="check-btn" hover-class="btn-hover-class" bindtap="toRtuSelectPageCheckHandle">
- <text class="text" style="font-size:0.6rem;display:flex;justify-content:center;align-items:center;height:22px;color:white">选择</text>
- </button>
- </view>
- </view>
- <view style="background-color: white;display: flex;justify-content: flex-start;flex-direction: row;">
- <view>
- <text class='rtuCode-text'>RTU名称:</text>
- </view>
- <view style="word-break: break-all;">
- <input class='rtuCode-text' placeholder-style="font-size:0.7rem;color:darkgray" placeholder='请输入RTU名称' type='text' bindinput="rtuNameInput" value='{{rtuName}}'></input>
- </view>
- </view>
- <view class="prog-info">
- <view style="margin-left:20rpx;margin-right:20rpx;">
- <text class="weather-text-title">项目记录:</text>
- </view>
- <view class='descInputBox'>
- <textarea class="textarea" value="{{projectDesc}}" placeholder="{{placeholder}}" placeholder-class="placeholder" bindinput="bindKeyInput"></textarea>
- </view>
- <view class='photoBox'>
- <view class='scroll-list'>
- <block wx:for="{{photos}}" wx:for-item="photo" wx:key="key">
- <image class='item-img' src='{{photo.path}}' bindtap="{{photo.type==0?'takePhoto':'editPhoto'}}" mode='aspectFill'></image>
- </block>
- </view>
- </view>
- </view>
- <view class='buttonBox'>
- <button class="submit-button" hover-class="btn-hover-class" bindtap="submitData" style="color:#426666;">
- <text class="text" style="font-size:1.0rem; color:white">提交</text>
- </button>
- </view>
- </view>
|