addition.wxml 564 B

12345678910111213
  1. <image class="icon" src="/imgs/device/scan.png" bindtap="scanCode"></image>
  2. <form bindsubmit="submit">
  3. <view class="item">
  4. <image src="/imgs/device/phone.png"></image>
  5. <input type="text" name="deviceNum" placeholder="点击上图扫描或输入设备码" value="{{deviceNum}}"></input>
  6. </view>
  7. <view class="item">
  8. <image src="/imgs/device/phone.png"></image>
  9. <input type="text" name="deviceName" value="{{deviceName}}" placeholder="请输入设备名称"></input>
  10. </view>
  11. <button class="button-normal" form-type="submit">添加设备</button>
  12. </form>