1234567891011121314151617181920212223242526272829303132 |
- <form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card">
- <div class="layui-card-body padding-top-20">
- <div class="layui-form-item">
- <label class="layui-form-label">
- <b class="color-green">天气预报key</b><br>
- </label>
- <div class="layui-input-block">
- <input type="text" name="row[key]" value="{:sysconf('app_juhe_config.key')}" class="layui-input">
- <p class="help-block">参考:<a target="_blank" href="https://dev.qweather.com/docs/api/weather/weather-hourly-forecast">https://dev.qweather.com/docs/api/weather/weather-hourly-forecast/</a></p>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">
- <b class="color-green">订阅模式</b><br>
- </label>
- <div class="layui-input-block">
- <label class="think-radio">
- <input type="radio" name="row[mode]" value="free" lay-ignore {:sysconf('app_juhe_config.mode')=='free'?'checked':''}>免费
- </label>
- <label class="think-radio">
- <input type="radio" name="row[mode]" value="fee" lay-ignore {:sysconf('app_juhe_config.mode')=='fee'?'checked':''}>收费
- </label>
- </div>
- </div>
- <div class="layui-form-item text-center padding-left-40">
- <button class="layui-btn" type="submit">保存配置</button>
- <button class="layui-btn layui-btn-danger" type='button'data-close>取消修改</button>
- </div>
- </div>
- </form>
|