- <image class="icon" src="/imgs/device/scan.png" bindtap="scanCode"></image>
- <form bindsubmit="submit">
- <view class="item">
- <image src="/imgs/device/phone.png"></image>
- <input type="text" name="deviceNum" placeholder="点击上图扫描或输入设备码" value="{{deviceNum}}"></input>
- </view>
- <view class="item">
- <image src="/imgs/device/phone.png"></image>
- <input type="text" name="deviceName" value="{{deviceName}}" placeholder="请输入设备名称"></input>
- </view>
- <button class="button-normal" form-type="submit">添加设备</button>
- </form>
|