文件
fenleixinxi/application/admin/view/fc/category/edit.html
MiAn 133d425ec0 feat: 新增阿里云OSS适配器及分类图标优化
- 新增阿里云OSS SDK核心类库文件
- 新增OSS插件配置文件及钩子监听
- 新增分类图标SVG资源并优化为轻量化格式
- 替换定位接口为天地图逆地理编码接口
- 新增OSS图片缩略处理工具方法
2026-11-20 11:11:03 +08:00

736 行
31 KiB
HTML

此文件含有模棱两可的 Unicode 字符

此文件含有可能会与其他字符混淆的 Unicode 字符。 如果您是想特意这样的,可以安全地忽略该警告。 使用 Escape 按钮显示他们。

<style>
.fc-form-container {
padding: 20px 24px 0;
background: #f7faf9;
}
/* 覆盖 Bootstrap form-horizontal / row / col 默认 gutter,避免干扰卡片内边距 */
.fc-form-container.form-horizontal .row { margin: 0 -8px; }
.fc-form-container.form-horizontal .row > [class^="col-"] { padding: 0 8px; }
/* 弹窗表单统一采用「标签在上」布局,避免窄弹窗下标签换行挤压 */
.fc-form-container .form-group { margin-bottom: 18px; padding: 0; }
.fc-form-label {
display: block;
font-size: 13px;
font-weight: 600;
color: #334155;
margin: 0 0 8px;
white-space: nowrap;
}
.fc-form-label .fc-req { color: #ef4444; margin-left: 3px; font-weight: 400; }
/* 分区卡片 */
.fc-section {
background: #ffffff;
border: 1px solid #eef2f6;
border-radius: 14px;
padding: 20px 22px 8px;
margin-bottom: 14px;
box-shadow: 0 1px 4px rgba(15, 23, 42, 0.03);
}
.fc-section-title {
display: flex;
align-items: center;
gap: 9px;
font-size: 14px;
font-weight: 700;
color: #1e293b;
margin-bottom: 18px;
padding: 0 0 12px;
border-bottom: 1px dashed #eef2f6;
}
.fc-sec-icon {
width: 26px;
height: 26px;
border-radius: 8px;
background: #e6fbf1;
color: #00a854;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 13px;
flex: 0 0 auto;
}
.fc-sec-tip {
margin-left: auto;
font-size: 11px;
font-weight: 400;
color: #94a3b8;
}
/* 分类类型:分段选择器 */
.fc-kind-seg {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
.fc-kind-seg label {
position: relative;
margin: 0;
cursor: pointer;
flex: 1;
min-width: 180px;
}
.fc-kind-seg input {
position: absolute;
opacity: 0;
pointer-events: none;
}
.fc-kind-seg .fc-pill {
display: block;
padding: 11px 14px;
border-radius: 12px;
border: 1.5px solid #e2e8f0;
background: #f8fafc;
transition: all 0.15s ease;
}
.fc-kind-seg .fc-pill b {
display: block;
font-size: 13.5px;
color: #334155;
margin-bottom: 2px;
}
.fc-kind-seg .fc-pill small {
display: block;
font-size: 11px;
color: #94a3b8;
line-height: 1.5;
}
.fc-kind-seg input:checked + .fc-pill {
border-color: #00d26a;
background: #f2fef7;
box-shadow: 0 0 0 2px rgba(0, 210, 106, 0.18);
}
.fc-kind-seg input:checked + .fc-pill.general b { color: #00a854; }
.fc-kind-seg input:checked + .fc-pill.farm b { color: #d97706; }
.fc-kind-seg input:focus-visible + .fc-pill { outline: 2px solid #00d26a; outline-offset: 2px; }
/* 主题色:原生取色器 */
.fc-color-row {
display: flex;
align-items: center;
gap: 10px;
}
.fc-color-row .form-control { flex: 1; }
.fc-color-native {
width: 42px;
height: 36px;
padding: 2px 3px;
border: 1px solid #e2e8f0;
border-radius: 9px;
background: #ffffff;
cursor: pointer;
flex: 0 0 auto;
}
.fc-color-preview {
width: 42px;
height: 36px;
border-radius: 9px;
border: 1px solid #e2e8f0;
flex: 0 0 auto;
box-shadow: inset 0 0 0 2px #ffffff;
}
/* 当前选中的图标微卡片展示区 */
.fc-current-icon-box {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 10px;
background: #f8fafc;
border: 1px solid #e2e8f0;
border-radius: 12px;
padding: 8px 14px;
min-height: 58px;
}
.fc-current-icon-info {
display: flex;
align-items: center;
gap: 10px;
flex: 1;
min-width: 0; /* 关键:允许flex子项收缩,防止内容撑破布局 */
overflow: hidden;
}
.fc-current-icon-info img {
width: 44px;
height: 44px;
flex: 0 0 44px; /* 固定尺寸,不参与收缩 */
object-fit: cover;
background: #ffffff;
border-radius: 10px;
border: 1px solid #e2e8f0;
padding: 2px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.fc-current-icon-text {
display: flex;
flex-direction: column;
flex: 1;
min-width: 0; /* 允许文字区域收缩 */
overflow: hidden;
}
.fc-current-icon-name {
font-size: 13px;
font-weight: 700;
color: #1e293b;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.fc-current-icon-tip {
font-size: 11px;
color: #94a3b8;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.fc-icon-actions {
display: flex;
gap: 8px;
flex: 0 0 auto; /* 按钮区域不收缩 */
flex-wrap: nowrap;
}
.fc-icon-actions .btn { border-radius: 9px; font-weight: 600; }
.fc-btn-main {
background: linear-gradient(135deg, #00e070, #00c860) !important;
border: none !important;
color: #04301e !important;
font-weight: 700 !important;
box-shadow: 0 3px 8px rgba(0, 210, 106, 0.28);
}
.fc-btn-main:hover {
background: linear-gradient(135deg, #00d26a, #00b856) !important;
color: #ffffff !important;
}
/* 推荐调色板 */
.fc-color-presets {
display: flex;
align-items: center;
gap: 8px;
margin-top: 10px;
}
.fc-color-dot {
width: 24px;
height: 24px;
border-radius: 50%;
cursor: pointer;
border: 2px solid #fff;
box-shadow: 0 0 0 1px #d5d5d5;
transition: transform 0.15s ease;
}
.fc-color-dot:hover { transform: scale(1.2); }
/* 顶部实时预览横条 */
.fc-preview-strip {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 16px;
background: linear-gradient(150deg, #f2fef7 0%, #e6fbf1 100%);
border: 1px solid #c8f2de;
border-radius: 16px;
padding: 18px 22px;
margin-bottom: 16px;
box-shadow: 0 4px 14px rgba(4, 48, 30, 0.05);
}
.fc-preview-badge {
width: 64px;
height: 64px;
flex: 0 0 64px;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
padding: 6px;
background: rgba(0, 224, 112, 0.15);
border: 1px solid rgba(0, 224, 112, 0.35);
transition: all 0.2s ease;
}
.fc-preview-badge img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 11px;
}
.fc-preview-main {
display: flex;
flex-direction: column;
gap: 6px;
min-width: 0;
}
.fc-preview-name {
font-size: 16px;
font-weight: 700;
color: #1e293b;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.fc-preview-kind-pill {
display: inline-block;
padding: 2px 8px;
border-radius: 6px;
font-size: 11px;
font-weight: 600;
align-self: flex-start;
}
.fc-preview-note {
margin-left: auto;
font-size: 12px;
color: #64748b;
line-height: 1.7;
text-align: right;
border-left: 1px dashed #bcead1;
padding-left: 16px;
}
.fc-preview-note .fa { color: #00a854; margin-right: 4px; }
.fc-preview-kind-pill.general {
background: #e6fbf1;
color: #00a854;
border: 1px solid #a7f3d0;
}
.fc-preview-kind-pill.farm {
background: #fef3c7;
color: #b45309;
border: 1px solid #fde68a;
}
/* 图标挑选模态窗口 */
.fc-icon-modal-wrap {
display: none;
position: fixed;
left: 0;
top: 0;
right: 0;
bottom: 0;
z-index: 1999;
}
.fc-icon-modal-wrap.open {
display: flex !important;
align-items: center;
justify-content: center;
}
.fc-modal-overlay {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
background: rgba(15, 23, 42, 0.6);
backdrop-filter: blur(2px);
}
.fc-modal-card {
position: relative;
background: #ffffff;
border-radius: 16px;
width: 760px;
max-width: 95%;
max-height: 88vh;
display: flex;
flex-direction: column;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
padding: 18px 22px 16px;
z-index: 2000;
animation: fcModalZoom 0.2s ease-out;
}
.fc-modal-header {
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 12px;
border-bottom: 1px solid #f1f5f9;
margin-bottom: 12px;
}
.fc-modal-title {
font-size: 16px;
font-weight: 700;
color: #0f172a;
display: flex;
align-items: center;
gap: 8px;
}
.fc-modal-title small {
font-size: 12px;
color: #94a3b8;
font-weight: 400;
margin-left: 6px;
}
.fc-modal-close {
width: 28px;
height: 28px;
border-radius: 50%;
background: #f1f5f9;
color: #64748b;
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
border: none;
font-size: 16px;
transition: all 0.15s ease;
}
.fc-modal-close:hover {
background: #e2e8f0;
color: #0f172a;
}
/* 模态窗工具栏:搜索与分类标签 */
.fc-modal-toolbar {
margin-bottom: 12px;
}
.fc-modal-search-box {
position: relative;
margin-bottom: 10px;
}
.fc-modal-search-box i {
position: absolute;
left: 12px;
top: 50%;
transform: translateY(-50%);
color: #94a3b8;
font-size: 13px;
}
.fc-modal-search-input {
width: 100%;
padding: 7px 12px 7px 34px;
font-size: 12.5px;
border: 1px solid #e2e8f0;
border-radius: 9px;
outline: none;
background: #f8fafc;
transition: all 0.15s ease;
}
.fc-modal-search-input:focus {
border-color: #00d26a;
background: #ffffff;
box-shadow: 0 0 0 2px rgba(0, 210, 106, 0.15);
}
.fc-modal-tabs {
display: flex;
align-items: center;
gap: 6px;
flex-wrap: wrap;
}
.fc-icon-tab-btn {
padding: 4px 12px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
border: 1px solid #e2e8f0;
background: #f8fafc;
color: #64748b;
cursor: pointer;
transition: all 0.15s ease;
}
.fc-icon-tab-btn:hover {
color: #00a854;
border-color: #a7f3d0;
}
.fc-icon-tab-btn.active {
background: #00d26a;
color: #ffffff;
border-color: #00d26a;
box-shadow: 0 2px 6px rgba(0, 210, 106, 0.25);
}
/* 图标芯片网格 */
.fc-modal-grid-box {
flex: 1;
overflow-y: auto;
padding: 4px 2px 10px;
min-height: 240px;
max-height: 380px;
}
.fc-modal-grid {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.fc-icon-chip {
flex: 0 0 calc(20% - 8px);
min-width: 110px;
height: 96px;
background: #f8fafc;
border: 1.5px solid #e2e8f0;
border-radius: 14px;
overflow: hidden;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 7px;
cursor: pointer;
padding: 8px 6px;
position: relative;
transition: all 0.15s ease;
}
.fc-icon-chip:hover {
border-color: #00E070;
background: #f0fdf4;
transform: translateY(-2px);
box-shadow: 0 4px 10px rgba(0, 210, 106, 0.15);
}
.fc-icon-chip.active {
border-color: #00D26A;
background: #e6fbf1;
box-shadow: 0 0 0 2px #00D26A;
}
.fc-icon-chip.active::after {
content: "\f00c";
font-family: FontAwesome;
position: absolute;
right: 4px;
top: 4px;
font-size: 10px;
color: #ffffff;
background: #00D26A;
width: 16px;
height: 16px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.fc-icon-chip img {
width: 52px;
height: 52px;
object-fit: cover;
border-radius: 10px;
}
.fc-icon-chip.is-category-top img {
object-fit: contain;
}
.fc-icon-chip .fc-chip-name {
font-size: 11px;
font-weight: 600;
color: #334155;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}
.fc-modal-footer {
display: flex;
align-items: center;
justify-content: space-between;
padding-top: 10px;
border-top: 1px solid #f1f5f9;
margin-top: 6px;
}
.fc-modal-footer-tip {
font-size: 11.5px;
color: #94a3b8;
}
@keyframes fcModalZoom {
from { opacity: 0; transform: scale(0.96); }
to { opacity: 1; transform: scale(1); }
}
</style>
<form id="edit-form" class="form-horizontal fc-form-container" role="form" data-toggle="validator" method="POST" action="">
<!-- 顶部:小程序端实时预览横条 -->
<div class="fc-preview-strip">
<div class="fc-preview-badge" id="preview-badge" style="background: rgba(0, 224, 112, 0.15); border: 1px solid rgba(0, 224, 112, 0.35);">
<img id="preview-icon" src="{$row.display_image|default='/static/categories/cat-job.svg'}" onerror="this.onerror=null;this.src='/static/categories/cat-job.svg'" alt="分类图标">
</div>
<div class="fc-preview-main">
<div class="fc-preview-name" id="preview-name">{$row.name|htmlentities}</div>
<span class="fc-preview-kind-pill {$row.kind == 'farm' ? 'farm' : 'general'}" id="preview-kind">{$row.kind == 'farm' ? '农产品类目' : '通用便民类目'}</span>
</div>
<div class="fc-preview-note"><i class="fa fa-eye"></i>修改名称 / 图标 / 主题色时<br>此预览实时同步更新</div>
</div>
<div class="row">
<div class="col-xs-12">
<!-- 区块一:归属与类型 -->
<div class="fc-section">
<div class="fc-section-title">
<span class="fc-sec-icon"><i class="fa fa-sitemap"></i></span> 归属与类型
<span class="fc-sec-tip">决定前台分类层级与发布表单</span>
</div>
<div class="form-group">
<label class="fc-form-label">上级分类<span class="fc-req">*</span></label>
<div>
{:build_select('row[pid]', $parentList, $row.pid, ['class'=>'form-control selectpicker', 'id'=>'c-pid', 'data-rule'=>'required'])}
<span class="help-block text-muted" style="margin-top:4px;margin-bottom:0;font-size:11px;">选「顶级分类」创建一级大类频道;选指定分类(如「招聘专区」「肉蛋家禽」)则创建下属二级品类。</span>
</div>
</div>
<div class="form-group">
<label class="fc-form-label">分类类型</label>
<div>
<div class="fc-kind-seg">
<label>
<input type="radio" name="row[kind]" value="general" {$row.kind != 'farm' ? 'checked' : ''}>
<span class="fc-pill general"><b><i class="fa fa-briefcase"></i> 通用生活信息</b><small>招聘求职、便民服务、房产二手等常用分类</small></span>
</label>
<label>
<input type="radio" name="row[kind]" value="farm" {$row.kind == 'farm' ? 'checked' : ''}>
<span class="fc-pill farm"><b><i class="fa fa-leaf"></i> 农特果蔬产品</b><small>发布时可填写种植面积、采摘时间、产量等</small></span>
</label>
</div>
<span class="help-block text-muted" style="margin-top:8px;margin-bottom:0;font-size:11px;">修改一级分类类型时,下属二级分类将自动同步。</span>
</div>
</div>
</div>
<!-- 区块二:基本信息 -->
<div class="fc-section">
<div class="fc-section-title">
<span class="fc-sec-icon"><i class="fa fa-pencil-square-o"></i></span> 基本信息
</div>
<div class="form-group">
<label class="fc-form-label" for="c-name">分类名称<span class="fc-req">*</span></label>
<div>
<input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}" placeholder="例如:招聘求职、骑手配送、鲜土鸡蛋 或 苹果、白菜">
</div>
</div>
<div class="form-group">
<label class="fc-form-label">分类图标 / 图片</label>
<div>
<div class="fc-current-icon-box">
<div class="fc-current-icon-info">
<img id="current-icon-img" src="{$row.display_image|default='/static/categories/cat-job.svg'}" onerror="this.onerror=null;this.src='/static/categories/cat-job.svg'" alt="当前图片">
<div class="fc-current-icon-text">
<span class="fc-current-icon-name" id="current-icon-label">{$row.name|htmlentities}</span>
<span class="fc-current-icon-tip" id="current-icon-tip">{if $row.icon_key}当前预设标识:{$row.icon_key|htmlentities}{elseif $row.image}当前:已配置实拍图{else}暂未设置图片{/if}</span>
</div>
</div>
<div class="fc-icon-actions">
<button type="button" class="btn btn-success fc-btn-main" id="btn-open-icon-picker">
<i class="fa fa-th-large"></i> 挑选预设图片
</button>
<button type="button" id="faupload-image" class="btn btn-default faupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/svg+xml" data-maxsize="500KB" data-multiple="false">
<i class="fa fa-upload text-primary"></i> 上传自定义实拍图
</button>
</div>
</div>
<span class="help-block text-muted" style="margin-top:4px;margin-bottom:0;font-size:11px;">推荐从平台预设图片库中直接选用;也支持上传高清实拍方形图(建议 200×200 以上,单张不超过 <b class="text-danger">500KB</b>)。</span>
<input type="hidden" name="row[icon_key]" id="c-icon_key" value="{$row.icon_key|htmlentities}">
<input type="hidden" name="row[image]" id="c-image" value="{$row.image|htmlentities}">
</div>
</div>
</div>
<!-- 区块三:视觉与排序 -->
<div class="fc-section">
<div class="fc-section-title">
<span class="fc-sec-icon"><i class="fa fa-paint-brush"></i></span> 视觉与排序
</div>
<div class="form-group">
<label class="fc-form-label" for="c-color">主题色<span class="fc-req">*</span></label>
<div>
<div class="fc-color-row">
<input id="c-color" data-rule="required" class="form-control" name="row[color]" type="text" value="{$row.color|htmlentities}" placeholder="例如:#00E070">
<input type="color" id="c-color-native" class="fc-color-native" value="{$row.color|htmlentities}" title="点选颜色">
<span class="fc-color-preview" id="color-preview-addon" style="background:{$row.color|htmlentities};"></span>
</div>
<div class="fc-color-presets">
<span style="font-size:11px;color:#64748b;">推荐:</span>
<div class="fc-color-dot" style="background:#00E070;" title="春绿(品牌主色)" data-color="#00E070"></div>
<div class="fc-color-dot" style="background:#3498DB;" title="晴空蓝" data-color="#3498DB"></div>
<div class="fc-color-dot" style="background:#F5A623;" title="阳光金" data-color="#F5A623"></div>
<div class="fc-color-dot" style="background:#FF7A59;" title="活力橙" data-color="#FF7A59"></div>
<div class="fc-color-dot" style="background:#10B981;" title="翡翠绿" data-color="#10B981"></div>
<div class="fc-color-dot" style="background:#8B5CF6;" title="典雅紫" data-color="#8B5CF6"></div>
</div>
</div>
</div>
<div class="form-group">
<label class="fc-form-label" for="c-sort">排序权重<span class="fc-req">*</span></label>
<div>
<input id="c-sort" data-rule="required" class="form-control" name="row[sort]" type="number" value="{$row.sort|htmlentities}">
<span class="help-block text-muted" style="margin-top:4px;margin-bottom:0;font-size:11px;">数值越小越靠前,决定小程序端的排列次序。</span>
</div>
</div>
<div class="form-group">
<label class="fc-form-label">启用状态</label>
<div>
<input id="c-enabled" name="row[enabled]" type="hidden" value="{$row.enabled}">
<a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-enabled" data-yes="1" data-no="0">
<i class="fa fa-toggle-on text-success {eq name="$row.enabled" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
</a>
</div>
</div>
<div class="form-group">
<label class="fc-form-label">首页金刚区推荐</label>
<div>
<input id="c-is_home" name="row[is_home]" type="hidden" value="{$row.is_home}">
<a href="javascript:;" data-toggle="switcher" class="btn-switcher" data-input-id="c-is_home" data-yes="1" data-no="0">
<i class="fa fa-toggle-on text-success {eq name="$row.is_home" value="0"}fa-flip-horizontal text-gray{/eq} fa-2x"></i>
</a>
<span class="help-block" style="margin-bottom:0;color:#64748B;font-size:12px;">开启后将在小程序端首页金刚区优先展示该品类</span>
</div>
</div>
<div class="form-group">
<label class="fc-form-label">帖子数量</label>
<div>
<p class="form-control-static" style="padding-top:7px;">
<span class="label" style="background:#eaf8f1;color:#04874a;font-size:12px;padding:5px 10px;border-radius:8px;">{$row.post_count|htmlentities} 篇已审核帖子</span>
</p>
<input id="c-post_count" type="hidden" name="row[post_count]" value="{$row.post_count|htmlentities}">
</div>
</div>
</div>
</div>
</div>
<div class="form-group layer-footer" style="margin-top:10px;padding-top:14px;border-top:1px solid #eef2f6;">
<div style="display:flex;justify-content:flex-end;gap:10px;">
<button type="submit" class="btn btn-success btn-embossed disabled fc-btn-main"><i class="fa fa-check"></i> 确认保存修改</button>
<button type="reset" class="btn btn-default btn-embossed">重置</button>
</div>
</div>
</form>
<!-- 预设插画图标选择模态窗口 -->
<div class="fc-icon-modal-wrap" id="fc-icon-modal" style="display:none !important;">
<div class="fc-modal-overlay"></div>
<div class="fc-modal-card">
<div class="fc-modal-header">
<div class="fc-modal-title">
<i class="fa fa-th-large text-success"></i> 挑选分类图标 / 实拍图
<small>点击卡片即可选用</small>
</div>
<button type="button" class="fc-modal-close" id="btn-close-icon-modal">&times;</button>
</div>
<!-- 搜索框 -->
<div class="fc-modal-toolbar">
<div class="fc-modal-search-box" style="width:100%;">
<i class="fa fa-search"></i>
<input type="text" id="fc-icon-search" class="fc-modal-search-input" placeholder="输入名称快速筛选,例如:招聘、房产、水果、家禽...">
</div>
</div>
<!-- 图标网格卡片(20 个扁平预设) -->
<div class="fc-modal-grid-box">
<div class="fc-modal-grid">
<div class="fc-icon-chip active" data-group="all" data-key="cat-job" data-name="招聘求职" data-color="#00D26A" title="招聘求职"><img src="/static/categories/cat-job.svg?v=3" alt="icon"><span class="fc-chip-name">招聘求职</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-service" data-name="便民服务" data-color="#10B981" title="便民服务"><img src="/static/categories/cat-service.svg?v=3" alt="icon"><span class="fc-chip-name">便民服务</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-house" data-name="房产租售" data-color="#3498DB" title="房产租售"><img src="/static/categories/cat-house.svg?v=3" alt="icon"><span class="fc-chip-name">房产租售</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-goods" data-name="二手闲置" data-color="#7C3AED" title="二手闲置"><img src="/static/categories/cat-goods.svg?v=3" alt="icon"><span class="fc-chip-name">二手闲置</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-car" data-name="车辆交易" data-color="#DC2626" title="车辆交易"><img src="/static/categories/cat-car.svg?v=3" alt="icon"><span class="fc-chip-name">车辆交易</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-food" data-name="餐饮美食" data-color="#E11D48" title="餐饮美食"><img src="/static/categories/cat-food.svg?v=3" alt="icon"><span class="fc-chip-name">餐饮美食</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-education" data-name="教育培训" data-color="#4338CA" title="教育培训"><img src="/static/categories/cat-education.svg?v=3" alt="icon"><span class="fc-chip-name">教育培训</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-health" data-name="医疗健康" data-color="#BE123C" title="医疗健康"><img src="/static/categories/cat-health.svg?v=3" alt="icon"><span class="fc-chip-name">医疗健康</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-poultry" data-name="肉蛋家禽" data-color="#FF7A59" title="肉蛋家禽"><img src="/static/categories/cat-poultry.svg?v=3" alt="icon"><span class="fc-chip-name">肉蛋家禽</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-fruit" data-name="水果专区" data-color="#F5A623" title="水果专区"><img src="/static/categories/cat-fruit.svg?v=3" alt="icon"><span class="fc-chip-name">水果专区</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-veg" data-name="蔬菜专区" data-color="#16A34A" title="蔬菜专区"><img src="/static/categories/cat-veg.svg?v=3" alt="icon"><span class="fc-chip-name">蔬菜专区</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-seafood" data-name="水产海鲜" data-color="#0369A1" title="水产海鲜"><img src="/static/categories/cat-seafood.svg?v=3" alt="icon"><span class="fc-chip-name">水产海鲜</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-grain" data-name="粮油米面" data-color="#A16207" title="粮油米面"><img src="/static/categories/cat-grain.svg?v=3" alt="icon"><span class="fc-chip-name">粮油米面</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-dairy" data-name="乳制品" data-color="#991B1B" title="乳制品"><img src="/static/categories/cat-dairy.svg?v=3" alt="icon"><span class="fc-chip-name">乳制品</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-snack" data-name="零食特产" data-color="#DB2777" title="零食特产"><img src="/static/categories/cat-snack.svg?v=3" alt="icon"><span class="fc-chip-name">零食特产</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-season" data-name="时令鲜果" data-color="#DC2626" title="时令鲜果"><img src="/static/categories/cat-season.svg?v=3" alt="icon"><span class="fc-chip-name">时令鲜果</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-clean" data-name="家政保洁" data-color="#0EA5E9" title="家政保洁"><img src="/static/categories/cat-clean.svg?v=3" alt="icon"><span class="fc-chip-name">家政保洁</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-move" data-name="搬家服务" data-color="#0369A1" title="搬家服务"><img src="/static/categories/cat-move.svg?v=3" alt="icon"><span class="fc-chip-name">搬家服务</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-digital" data-name="数码电器" data-color="#047857" title="数码电器"><img src="/static/categories/cat-digital.svg?v=3" alt="icon"><span class="fc-chip-name">数码电器</span></div>
<div class="fc-icon-chip" data-group="all" data-key="cat-pet" data-name="宠物服务" data-color="#B45309" title="宠物服务"><img src="/static/categories/cat-pet.svg?v=3" alt="icon"><span class="fc-chip-name">宠物服务</span></div>
</div>
</div>
<div class="fc-modal-footer">
<span class="fc-modal-footer-tip"><i class="fa fa-info-circle text-success"></i> 点击任意图片卡片将自动设定,并可智能推荐分类名称与主题色</span>
<button type="button" class="btn btn-default btn-sm" id="btn-cancel-modal" onclick="$('#btn-close-icon-modal').click();">关闭</button>
</div>
</div>
</div>