Top Menu

控制ios网页输入框屏幕键盘提交按钮的样式

一般ios默认的输入框屏幕键盘右下角的提交按钮样式是换行/return

可以通过一些代码从网页端修改这个按钮的样式

方式一,使用 inputmode 属性

<input type="text" id="myInput" name="myInput" inputmode="numeric"> 可用的 inputmode 值包括: none: 没有提示。 text: 标准文本键盘。 decimal: 用于输入十进制数。 numeric: 用于输入数字。 tel: 电话键盘。 search: 优化用于搜索的键盘。 email: 用于输入电子邮件地址的键盘。 url: 用于输入 URL 的键盘。

Continue Reading 0

家庭网络升级

背景

  • 由于H3C ER3208G3-P-E的管理带宽只有500M,虽然入户带宽有1G,但是内网存在带宽瓶颈,由于AP和POE都已部署成定局无法改动,希望以最小的成本和改动将内网升级到1G带宽
  • 原有架构如下
  • Continue Reading 0

    接入home assistant

    设备列表和使用的插件

    • 米家-传感器:https://github.com/al-one/hass-xiaomi-miot
    • LG-冰箱-洗衣机、烘干机:https://github.com/ollo69/ha-smartthinq-sensors
    • 大金-空调:https://github.com/mypal/ha-dsair
    • 易来-开关-灯-窗帘:https://github.com/hasscc/yeelight-pro
    • 小佩-喂食-猫厕所:https://github.com/RobertD502/home-assistant-petkit
    • 西门子-洗碗机:https://github.com/ekutner/home-connect-hass
    • 涂鸦:https://github.com/rospogrigio/localtuya/

    记录

    Continue Reading 0

    Powered by WordPress. Designed by WooThemes