Commit 92fb4c40c213e116a2eb85643a36e82fbae71505

Authored by u123231312
1 parent f87f8b2b

no message

... ... @@ -547,20 +547,6 @@ class Template extends Common{
return $result;
}
//模拟菜系
$arrayCai = array(
1 => '川菜',
2 => '苏菜',
3 => '鄂菜',
4 => '湘菜',
5 => '鲁菜',
6 => '闽菜',
7 => '浙菜',
8 => '徽菜',
9 => '京菜',
10 => '豫菜',
11 => '东北菜',
);
$this->assign ('arrayCai',$arrayCai);
$this->assign ( 'title','菜品库' );
return $this->fetch();
}
... ... @@ -603,21 +589,6 @@ class Template extends Common{
}
return $result;
}
//模拟菜系
$arrayCai = array(
1 => '川菜',
2 => '苏菜',
3 => '鄂菜',
4 => '湘菜',
5 => '鲁菜',
6 => '闽菜',
7 => '浙菜',
8 => '徽菜',
9 => '京菜',
10 => '豫菜',
11 => '东北菜',
);
$this->assign ('arrayCai',$arrayCai);
$this->assign ('list',$arr);
return $this->fetch();
}
... ...
... ... @@ -75,7 +75,19 @@ return [
'Super administrator cannot be deleted'=>'超级管理员不可删除!',
'Are you sure you want to delete it'=>'你确定要删除吗?'
'Are you sure you want to delete it'=>'你确定要删除吗?',
'cuisine'=>array(
1 => '川菜',
2 => '苏菜',
3 => '鄂菜',
4 => '湘菜',
5 => '鲁菜',
6 => '闽菜',
7 => '浙菜',
8 => '徽菜',
9 => '京菜',
10 => '豫菜',
11 => '东北菜',
)
];
\ No newline at end of file
... ...
... ... @@ -23,7 +23,7 @@
<td>
<select name="class{$vo}" id="class{$vo}" lay-filter="myselect{$vo}">
<option value="0">同上</option>
{volist name="arrayCai" id="item"}
{volist name=":lang('cuisine')" id="item"}
<option value="{$key}">{$item}</option>
{/volist}
</select>
... ...
... ... @@ -24,7 +24,7 @@
<label class="layui-form-label">菜系</label>
<div class="layui-input-1">
<select name="class" id="class" lay-filter="myselect">
{volist name="arrayCai" id="item"}
{volist name=":lang('cuisine')" id="item"}
<option value="{$key}">{$item}</option>
{/volist}
</select>
... ...