123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- <?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/other/setsite.js')
- ?>
- <style>
- .xm_right_box {
- margin: 0 auto;
- width: 82%;
- }
- </style>
- <!-- 内容主体区域 -->
- <blockquote class="layui-elem-quote quoteBox demoTable">
- <div>网站设置</div>
- </blockquote>
- <form class="layui-form" action="" id="house_form">
- <div class="layui-row">
- <div class="xm_right_box">
- <div class="layui-tab" lay-filter="test1">
- <ul class="layui-tab-title">
- <li class="site-demo-active layui-this" lay-id="assign_1">基本设置</li>
- <li class="site-demo-active" lay-id="assign_2">联系我们</li>
- <li class="site-demo-active" lay-id="assign_3">第三方代码</li>
- <!-- <li class="site-demo-active" lay-id="assign_4">第三方代码</li>-->
- </ul>
- <div class="layui-tab-content" style="margin-top:15px;">
- <div id="assign_1" class="layui-tab-item layui-show">
- <div class="layui-form-item">
- <label class="layui-form-label">网站标题:</label>
- <div class="layui-input-inline" style="width:300px;">
- <input type="text" name="title" lay-verify="required"
- value="<?php echo $model['title'] ?>" placeholder="请输入网站标题" autocomplete="off"
- class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">备案号:</label>
- <div class="layui-input-inline" style="width:300px;">
- <input type="text" name="record" value="<?php echo $model['record'] ?>"
- placeholder="请输入备案号" autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">网站关键词:</label>
- <div class="layui-input-inline" style="width:75%;">
- <textarea name="keywords" rows="5" placeholder="请输入网站关键词"
- class="layui-textarea"><?php echo $model['keywords'] ?></textarea>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">网站描述:</label>
- <div class="layui-input-inline" style="width:75%;">
- <textarea name="description" rows="5" placeholder="请输入网站关键词"
- class="layui-textarea"><?php echo $model['description'] ?></textarea>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">免责声明:</label>
- <div class="layui-input-inline" style="width:75%;">
- <textarea name="disclaimer" rows="5" placeholder="请输入免责声明"
- class="layui-textarea"><?php echo $model['disclaimer'] ?></textarea>
- </div>
- </div>
- <div class="layui-form-item xm_pr">
- <div class="layui-inline">
- <label class="layui-form-label">网站logo:</label>
- <div class="layui-inline">
- <div class="layui-upload">
- <div class="layui-upload-list lay_p_relative">
- <img class="layui-upload-img layui_magnify" name="img"
- src="<?php echo $model['logo'] ?>" id="logo_img"
- style="width:100px;height:80px;margin-left:10px;">
- <p id="demoText"></p>
- </div>
- </div>
- </div>
- </div>
- <button type="button" class="layui-btn layui-btn-primary xm_xcxqTc_button" id="logo">选择图片
- </button>
- </div>
- </div>
- <div id="assign_2" class="layui-tab-item">
- <div class="layui-form-item">
- <label class="layui-form-label">服务电话:</label>
- <div class="layui-input-inline" style="width:300px;">
- <input type="text" name="tel" value="<?php echo $model['tel'] ?>" placeholder="请输入标题"
- autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">E-mail:</label>
- <div class="layui-input-inline" style="width:300px;">
- <input type="text" name="email" value="<?php echo $model['email'] ?>"
- placeholder="请输入标题" autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">工作时间:</label>
- <div class="layui-input-inline" style="width:300px;">
- <input type="text" name="operating_hours"
- value="<?php echo $model['operating_hours'] ?>" placeholder="请输入标题"
- autocomplete="off" class="layui-input">
- </div>
- </div>
- <div class="layui-form-item xm_pr">
- <div class="layui-inline">
- <label class="layui-form-label">微信二维码:</label>
- <div class="layui-inline">
- <div class="layui-upload">
- <div class="layui-upload-list lay_p_relative">
- <img class="layui-upload-img layui_magnify" name="img"
- src="<?php echo $model['wechat'] ?>" id="weixin_img"
- style="width:100px;height:80px;margin-left:10px;">
- <p id="demoText"></p>
- </div>
- </div>
- </div>
- </div>
- <button type="button" class="layui-btn layui-btn-primary xm_xcxqTc_button" id="weixin">
- 选择图片
- </button>
- </div>
- </div>
- <div id="assign_3" class="layui-tab-item">
- <div class="layui-form-item">
- <label class="layui-form-label">53快服:</label>
- <div class="layui-input-inline" style="width:75%;">
- <textarea name="bridge_link" cows="5" placeholder="请输入网站关键词"
- class="layui-textarea"><?php echo $model['bridge_link'] ?></textarea>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">友盟代码_PC端:</label>
- <div class="layui-input-inline" style="width:75%;">
- <textarea name="statistics" cows="5" placeholder="请输入友盟代码_PC端"
- class="layui-textarea"><?php echo $model['statistics'] ?></textarea>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">友盟代码_移动端:</label>
- <div class="layui-input-inline" style="width:75%;">
- <textarea name="m_statistics" cows="5" placeholder="请输入友盟代码_移动端"
- class="layui-textarea"><?php echo $model['m_statistics'] ?></textarea>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">商桥代码:</label>
- <div class="layui-input-inline" style="width:75%;">
- <textarea name="bridge_code" cows="5" placeholder="请输入网站关键词"
- class="layui-textarea"><?php echo $model['bridge_code'] ?></textarea>
- </div>
- </div>
- <div class="layui-form-item">
- <label class="layui-form-label">360站长代码:</label>
- <div class="layui-input-inline" style="width:75%;">
- <textarea name="master_360" cows="5" placeholder="请输入网站关键词"
- class="layui-textarea"><?php echo $model['master_360'] ?></textarea>
- </div>
- </div>
- </div>
- </div>
- </div>
- <hr>
- <div class="layui-form-item xm_zjzx_Submit" style="text-align:center">
- <button class="layui-btn layui-btn-normal" lay-submit="" lay-filter="tijiao">提交</button>
- </div>
- </div> <!-- 你的内容 9/12 -->
- </div>
- </form>
|