baseSettingTemplate.wxml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <!-- <import src="../hot/stars.wxml" />
  2. <import src="../image/item-image.wxml" /> -->
  3. <template name="baseSettingTemplate">
  4. <view style="height:100%;width:100%; ">
  5. <view class="view-block">
  6. <view>RTU编码:</view>
  7. <view class="myinput">
  8. <input type='text' auto-focus value='{{baseSetting.newRtuCode}}' bindinput="bindNewRtuCodeInput"></input>
  9. </view>
  10. <view>中心站IP1:</view>
  11. <view class="myinput ip-group" style="margin-top:10rpx">
  12. <input class="ip" type='text' bindinput='bindIp1Input' value='{{baseSetting.ip1}}'></input>
  13. <input class="port" type='text' bindinput='bindIp1portInput' value='{{baseSetting.ip1port}}'></input>
  14. </view>
  15. <view>中心站IP2:</view>
  16. <view class="myinput ip-group" style="margin-top:10rpx">
  17. <input class="ip" type='text' bindinput='bindIp2Input' value='{{baseSetting.ip2}}'></input>
  18. <input class="port" type='text' bindinput='bindIp2portInput' value='{{baseSetting.ip2port}}'></input>
  19. </view>
  20. <view>中心站IP3:</view>
  21. <view class="myinput ip-group" style="margin-top:10rpx">
  22. <input class="ip" type='text' bindinput='bindIp3Input' value='{{baseSetting.ip3}}'></input>
  23. <input class="port" type='text' bindinput='bindIp3portInput' value='{{baseSetting.ip3port}}'></input>
  24. </view>
  25. <view>中心站IP4:</view>
  26. <view class="myinput ip-group" style="margin-top:10rpx">
  27. <input class="ip" type='text' bindinput='bindIp4Input' value='{{baseSetting.ip4}}'></input>
  28. <input class="port" type='text' bindinput='bindIp4portInput' value='{{baseSetting.ip4port}}'></input>
  29. </view>
  30. </view>
  31. <view class="submit-btn">
  32. <button type="primary" bindtap="submitBasesetting">提交</button>
  33. </view>
  34. </view>
  35. </template>