1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <?php
- use backend\assets\AppAsset;
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/testnumber/number.js");
- ?>
- <style>
- .layui_box {
- width: 80%;
- margin: 0 auto;
- margin-top: 25px;
- }
- .layui-code, .layui-upload-list {
- margin-top: 0;
- }
- .mt {
- text-align: center;
- margin-top: 15px;
- }
- </style>
- <form class="layui-form layui-form-pane">
- <div class="layui_box">
- <div class="layui-form-item">
- <label class="layui-form-label" style="width: 130px"><span style="color:red">*</span>测试号码:</label>
- <div class="layui-input-inline" style="width:71.8%">
- <input type="text" name="number" value="<?= $row['number'] ?>" required lay-verify="required"
- placeholder="请输入网站测试号码"
- class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label" style="width: 130px">号码说明:</label>
- <div class="layui-input-inline" style="width:71.8%">
- <input type="text" name="explain" value="<?= $row['explain'] ?>" placeholder="请输入该号码的说明"
- class="layui-input">
- </div>
- </div>
- <div class="layui-form-item mt">
- <input type="hidden" name="id" value="<?= $row['id'] ?>">
- <button class="layui-btn" lay-submit="" lay-filter="edit_number">保 存</button>
- </div>
- </div>
- </form>
|