* @description Do it yourself. * @date 2018-6-21 23:20:52 * @version 1.0.0 */ use app\widgets\PickImage; use app\assets\UeditorAsset; UeditorAsset::register($this); $this->title = $goods_hub->isNewRecord ? '新建商品' : '编辑商品'; $this->params['breadcrumbs'][] = $this->title; ?>
title ?>
只做展示用途
只做展示用途
goods_stock ?>
升序,值越小排序越靠前
'images', 'id' => 'cover_pic', 'name' => 'cover_pic', 'label' => '商品封面', 'value' => $goods_hub->cover_pic, 'tip' => '图片大小100px×100px', 'mode' => 'one', ]) ?>
status == 0 ? 'checked' : $goods->isNewRecord == 1 ? 'checked' : '' ?>> status == 1 ? 'checked' : '' ?>>
plugin_sign == 0 ? 'checked' : $goods->isNewRecord == 1 ? 'checked' : '' ?> lay-filter="plugin_sign"> plugin_sign == 1 ? 'checked' : '' ?> lay-filter="plugin_sign"> plugin_sign == 2 ? 'checked' : '' ?> lay-filter="plugin_sign"> plugin_sign == 3 ? 'checked' : '' ?> lay-filter="plugin_sign">
registerJs($this->blocks['js_script_wrap'], \yii\web\View::POS_END); ?>