12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xiaofeng
- * Date: 2018/3/6
- * Time: 下午5:49
- */
- use backend\assets\AppAsset;
- AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/dictionaryb/adviser.js");
- ?>
- <style>
- .layui_box {width:60%;margin:0 auto;margin-top:25px;}
- .layui-code, .layui-upload-list {margin-top:0;}
- hr {width:100%;margin:0 auto;}
- .mt {text-align:center;margin-top:15px;}
- </style>
- <form class="layui-form layui-form-pane" action="" >
- <div class="layui_box">
- <div class="layui-form-item">
- <label class="layui-form-label">姓名:</label>
- <div class="layui-input-inline">
- <input type="text" name="name" value="<?php echo $model['name']?>" lay-verify="required" placeholder="请输入姓名" autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">经验:</label>
- <div class="layui-input-block xm_qytc_input">
- <input type="text" name="experience" value="<?php echo $model['experience']?>" required autocomplete="off" placeholder="请输入工作年限" class="layui-input" style="width:65%">
- </div>
- </div>
- <div class="layui-form-item" style="margin-top:30px">
- <label class="layui-form-label">顾问头像:</label>
- <div class="layui-inline">
- <div class="layui-upload">
- <div class="layui-upload-list">
- <img class="layui-upload-img" id="demo1" style="width:100px;height:80px;margin-left:10px;" src="<?php echo $model['photo']?>">
- </div>
- </div>
- </div>
- <div class="layui-inline">
- <div class="layui-upload">
- <button type="button" field="aaa" class="layui-btn layui-btn-primary xm_xcxqTc_button" id="test1">上传图片</button>
- </div>
- </div>
- </div>
- <hr>
- <div class="layui-form-item mt">
- <input type="hidden" name="id" id="editimgId" value="<?php echo $model['id']?>">
- <button class="layui-btn" lay-submit="" lay-filter="editadviser">提交</button>
- </div>
- </div>
- </form>
|