From f29586dbcd6af0077af62efa95105ef2350d794b Mon Sep 17 00:00:00 2001 From: Administrator <15274802129@163.com> Date: Wed, 09 Jul 2025 18:17:54 +0800 Subject: [PATCH] feat(clothes): 新增多图案和图案位置功能 --- src/main/resources/templates/febs/views/modules/clothesType/patternList.html | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/main/resources/templates/febs/views/modules/clothesType/patternList.html b/src/main/resources/templates/febs/views/modules/clothesType/patternList.html index 5134a83..f210610 100644 --- a/src/main/resources/templates/febs/views/modules/clothesType/patternList.html +++ b/src/main/resources/templates/febs/views/modules/clothesType/patternList.html @@ -1,4 +1,4 @@ -<div class="layui-fluid layui-anim febs-anim" id="febs-pattern" lay-title="图案管理"> +<div class="layui-fluid layui-anim febs-anim" id="febs-pattern" lay-title="正面图案管理"> <div class="layui-row febs-container"> <div class="layui-col-md12"> <div class="layui-card"> @@ -52,16 +52,16 @@ <script type="text/html" id="patternOption"> <button class="layui-btn layui-btn-normal layui-btn-sm" type="button" shiro:hasPermission="patternInfo:view" lay-event="patternInfoEvent">编辑</button> </script> -<script type="text/html" id="patternTypeOption"> - {{# - var type = { - 1: {title: '文字', color: 'green'}, - 2: {title: '图案', color: 'blue'}, - 3: {title: '文字和图案', color: 'red'}, - }[d.type]; - }} - <span class="layui-badge febs-bg-{{type.color}}">{{ type.title }}</span> -</script> +<!--<script type="text/html" id="patternTypeOption">--> +<!-- {{#--> +<!-- var type = {--> +<!-- 1: {title: '文字', color: 'green'},--> +<!-- 2: {title: '图案', color: 'blue'},--> +<!-- 3: {title: '文字和图案', color: 'red'},--> +<!-- }[d.type];--> +<!-- }}--> +<!-- <span class="layui-badge febs-bg-{{type.color}}">{{ type.title }}</span>--> +<!--</script>--> <!-- 表格操作栏 end --> @@ -156,7 +156,7 @@ {field: 'code', title: '编码', minWidth: 150,align:'center'}, {field: 'orderNum', title: '序号', minWidth: 100,align:'center'}, {field: 'price', title: '价格', minWidth: 150,align:'center'}, - {title: '图案类型', templet: '#patternTypeOption', minWidth: 150,align:'center'}, + // {title: '图案类型', templet: '#patternTypeOption', minWidth: 150,align:'center'}, {field: 'image',title: '小图标', templet: function (d) { return '<a lay-event="seePatternImage">' + -- Gitblit v1.9.1