懒羊羊
2023-08-30 1ac2bc1590406d9babec036e154d8d08f34a6aa1
提交 | 用户 | 时间
1ac2bc 1 @layout("/common/_form.html",{js:["/assets/modular/i18n/translation_edit.js"]}){
2
3 <form class="layui-form" id="translationForm" lay-filter="translationForm">
4     <div class="layui-fluid" style="padding-bottom: 75px;">
5         <div class="layui-card">
6             <div class="layui-card-header">基本信息</div>
7             <div class="layui-card-body">
8                 <div class="layui-form-item layui-row">
9                     <input name="tranId" type="hidden"/>
10                     <div class="layui-inline layui-col-md12">
11                         <label class="layui-form-label">名称<span style="color: red;">*</span></label>
12                         <div class="layui-input-block">
13                             <input id="tranName" name="tranName" placeholder="请输入多语言条例名称" type="text" class="layui-input" lay-verify="required" required/>
14                         </div>
15                     </div>
16                     <div class="layui-inline layui-col-md12">
17                         <label class="layui-form-label">编码<span style="color: red;">*</span></label>
18                         <div class="layui-input-block">
19                             <input id="tranCode" name="tranCode" placeholder="请输入编码" type="text" class="layui-input" lay-verify="required" required/>
20                         </div>
21                     </div>
22                     <div class="layui-inline layui-col-md12">
23                         <label class="layui-form-label">语种<span style="color: red;">*</span></label>
24                         <div class="layui-input-block">
25                             <select name="languages" lay-search="">
26                                 <option value="1">中文</option>
27                                 <option value="2">英语</option>
28                             </select>
29                         </div>
30                     </div>
31                     <div class="layui-inline layui-col-md12">
32                         <label class="layui-form-label">翻译的值<span style="color: red;">*</span></label>
33                         <div class="layui-input-block">
34                             <input id="tranValue" name="tranValue" placeholder="请输入翻译的值" type="text" class="layui-input" lay-verify="required" required/>
35                         </div>
36                     </div>
37                 </div>
38             </div>
39         </div>
40     </div>
41     <div class="form-group-bottom text-center">
42         <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
43         <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
44     </div>
45
46 </form>
47
48 @}