Kaynağa Gözat

品牌排序

2510966293@qq.com 5 yıl önce
ebeveyn
işleme
ea286024b7

+ 2 - 1
src/main/webapp/WEB-INF/jsp/admin/brandList.jsp

@@ -62,6 +62,7 @@
                 <th width="60">门店数量</th>
                 <th width="60">门店数量</th>
                 <th width="70">规模</th>
                 <th width="70">规模</th>
                 <th width="70">成立日期</th>
                 <th width="70">成立日期</th>
+                <th width="70">排序</th>
                 <th width="70">操作</th>
                 <th width="70">操作</th>
             </tr>
             </tr>
             </thead>
             </thead>
@@ -85,7 +86,7 @@
                     <td class="text-l">${brand.scale}</td>
                     <td class="text-l">${brand.scale}</td>
                     <td><fmt:formatDate value="${brand.setupTime}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
                     <td><fmt:formatDate value="${brand.setupTime}" pattern="yyyy-MM-dd"></fmt:formatDate></td>
 
 
-
+                    <td class="text-l">${brand.sort}</td>
                     <td class="f-14 td-manage">
                     <td class="f-14 td-manage">
                         <a style="text-decoration:none" class="ml-5" href="brandUpdate.html?id=${brand.id}" title="查看"><i
                         <a style="text-decoration:none" class="ml-5" href="brandUpdate.html?id=${brand.id}" title="查看"><i
                                 class="Hui-iconfont">&#xe6df;</i></a>
                                 class="Hui-iconfont">&#xe6df;</i></a>

+ 8 - 0
src/main/webapp/WEB-INF/jsp/admin/brandUpdate.jsp

@@ -260,6 +260,14 @@
                  <script id="introduction1" name="aim" style="width:100%;height:200px;" type="text/plain">${brand.aim}</script>
                  <script id="introduction1" name="aim" style="width:100%;height:200px;" type="text/plain">${brand.aim}</script>
             </div>
             </div>
         </div>
         </div>
+
+        <div class="row cl">
+            <label class="form-label col-xs-4 col-sm-1"><span class="c-red"></span>排序:</label>
+            <div class="formControls col-xs-8 col-sm-9">
+                <input type="text" class="input-text" name="sort" value="${brand.sort}">
+                <label style="color: red">排序规则:数字越大越靠前</label>
+            </div>
+        </div>
                 <%--<div class="row cl">
                 <%--<div class="row cl">
                     <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-1">
                     <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-1">
                     <button type="submit" class="btn btn-success radius" >提交</button>
                     <button type="submit" class="btn btn-success radius" >提交</button>