edit修改相关内容
This commit is contained in:
parent
39977d48c0
commit
256d6cdafa
@ -31,7 +31,7 @@ use app\models\PickLinkForm;
|
||||
class WechatController extends Controller
|
||||
{
|
||||
public $ids = [
|
||||
12,13,14,15,16,17,18,19,20,21,22,23,24,25
|
||||
12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27
|
||||
];
|
||||
public function behaviors()
|
||||
{
|
||||
|
||||
@ -85,6 +85,7 @@ class SlideEditForm extends AdminModel
|
||||
$this->model->type = $this->type;
|
||||
$this->model->other_img_url = $this->other_img_url;
|
||||
$this->model->text = $this->text;
|
||||
$this->model->app_id = $this->app_id;
|
||||
if($this->url_type == Banner::URL_TYPE_MP_PAGE){
|
||||
$this->model->page_url = $this->page_url;
|
||||
} else if($this->url_type == Banner::URL_TYPE_MP){
|
||||
|
||||
@ -212,6 +212,7 @@ $type = Banner::type();
|
||||
<label class="layui-form-label">内容</label>
|
||||
<div class="layui-input-inline">
|
||||
<textarea id="editor" style="width: 600px" name="content" rows="30" ><?=$model->text?></textarea>
|
||||
<span>图片宽高:宽235px,高99px</span>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user