feat: 新增电话拨打功能及相关配置,完善农产品分类与地区数据
- 新增商家/信息详情页电话拨打接口,支持每日额度限制与拨打日志记录 - 新增平台免责声明内容及协议接口,完善用户服务协议相关配置 - 新增农产品分类图标与上市角标展示,优化分类管理界面样式 - 新增全国行政区划工具类与城市选择组件,重构地区数据结构 - 新增SSH自检与部署脚本,完善项目部署流程
这个提交包含在:
@@ -1,6 +1,116 @@
|
||||
<style>
|
||||
.fc-form-container {
|
||||
padding: 15px 15px 0;
|
||||
background: #f7faf9;
|
||||
}
|
||||
/* 分区卡片:把表单切成三个认知区块 */
|
||||
.fc-section {
|
||||
background: #ffffff;
|
||||
border: 1px solid #eef2f6;
|
||||
border-radius: 14px;
|
||||
padding: 18px 18px 4px;
|
||||
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: 16px;
|
||||
padding-bottom: 10px;
|
||||
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: 10px;
|
||||
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: 10px 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.farm b { color: #059669; }
|
||||
.fc-kind-seg input:checked + .fc-pill.general b { color: #2563eb; }
|
||||
.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 {
|
||||
@@ -18,25 +128,32 @@
|
||||
align-items: center;
|
||||
}
|
||||
.fc-current-icon-info img {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
object-fit: contain;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
object-fit: cover;
|
||||
background: #ffffff;
|
||||
border-radius: 10px;
|
||||
padding: 4px;
|
||||
border: 1px solid #e2e8f0;
|
||||
box-shadow: 0 2px 6px rgba(0,0,0,0.04);
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
|
||||
}
|
||||
.fc-icon-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
}
|
||||
.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-color-presets {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-top: 8px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.fc-color-dot {
|
||||
width: 24px;
|
||||
@@ -47,15 +164,15 @@
|
||||
box-shadow: 0 0 0 1px #d5d5d5;
|
||||
transition: transform 0.15s ease;
|
||||
}
|
||||
.fc-color-dot:hover {
|
||||
transform: scale(1.2);
|
||||
}
|
||||
.fc-color-dot:hover { transform: scale(1.2); }
|
||||
/* 右侧迷你小程序模拟器 */
|
||||
.fc-preview-box {
|
||||
position: sticky;
|
||||
top: 15px;
|
||||
background: linear-gradient(150deg, #f2fef7 0%, #e6fbf1 100%);
|
||||
border: 1px solid #c8f2de;
|
||||
border-radius: 14px;
|
||||
padding: 16px 14px;
|
||||
border-radius: 16px;
|
||||
padding: 18px 14px;
|
||||
text-align: center;
|
||||
box-shadow: 0 4px 14px rgba(4, 48, 30, 0.05);
|
||||
}
|
||||
@@ -63,31 +180,38 @@
|
||||
font-size: 12px;
|
||||
color: #04874a;
|
||||
font-weight: 700;
|
||||
margin-bottom: 12px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
.fc-preview-badge {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
border-radius: 18px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
margin: 0 auto 8px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 4px 12px rgba(4, 48, 30, 0.08);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
.fc-preview-badge img {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
object-fit: contain;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
.fc-preview-name {
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: #1e293b;
|
||||
}
|
||||
.fc-preview-note {
|
||||
font-size: 11px;
|
||||
color: #64748b;
|
||||
margin-top: 10px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
/* 纯插画选择模态窗口(默认严格隐藏,仅在点击按钮后展示) */
|
||||
/* 插画选择模态窗口 */
|
||||
.fc-icon-modal-wrap {
|
||||
display: none;
|
||||
position: fixed;
|
||||
@@ -148,7 +272,6 @@
|
||||
border: none;
|
||||
font-size: 16px;
|
||||
}
|
||||
/* 纯图标网格容器 */
|
||||
.fc-modal-grid-box {
|
||||
max-height: 360px;
|
||||
overflow-y: auto;
|
||||
@@ -165,6 +288,7 @@
|
||||
background: #f8fafc;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -182,9 +306,9 @@
|
||||
box-shadow: 0 0 0 2px #00E070;
|
||||
}
|
||||
.fc-icon-chip img {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
object-fit: contain;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
}
|
||||
@keyframes fcModalZoom {
|
||||
from { opacity: 0; transform: scale(0.95); }
|
||||
@@ -194,151 +318,178 @@
|
||||
|
||||
<form id="edit-form" class="form-horizontal fc-form-container" role="form" data-toggle="validator" method="POST" action="">
|
||||
<div class="row">
|
||||
<!-- 左侧核心表单区 -->
|
||||
<div class="col-xs-12 col-sm-8">
|
||||
<div class="form-group" style="margin-bottom:16px;">
|
||||
<label class="control-label col-xs-12 col-sm-3">{:__('Name')}:</label>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
<input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}" placeholder="例如:招聘求职、房产租售、二手闲置">
|
||||
<!-- 区块一:归属与类型 -->
|
||||
<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" style="margin-bottom:14px;">
|
||||
<label class="control-label col-xs-12 col-sm-3">上级分类:</label>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
{: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" style="margin-bottom:10px;">
|
||||
<label class="control-label col-xs-12 col-sm-3">分类类型:</label>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
<div class="fc-kind-seg">
|
||||
<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>
|
||||
<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>
|
||||
</div>
|
||||
<span class="help-block text-muted" style="margin-top:8px;margin-bottom:0;font-size:11px;">修改一级分类类型时,下属二级分类自动同步。</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 分类图标(纯视觉图标控件,无多余文字标签) -->
|
||||
<div class="form-group" style="margin-bottom:16px;">
|
||||
<label class="control-label col-xs-12 col-sm-3">分类图标:</label>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
<div class="fc-current-icon-box">
|
||||
<div class="fc-current-icon-info">
|
||||
<img id="current-icon-img" src="/static/icons/{$row.icon_key|htmlentities}.png?v=2" onerror="this.src='/static/icons/cat-job.png'" alt="当前图标">
|
||||
<!-- 区块二:基本信息 -->
|
||||
<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" style="margin-bottom:14px;">
|
||||
<label class="control-label col-xs-12 col-sm-3">分类名称:</label>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
<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" style="margin-bottom:14px;">
|
||||
<label class="control-label col-xs-12 col-sm-3">实拍图:</label>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
<div class="fc-current-icon-box">
|
||||
<div class="fc-current-icon-info">
|
||||
<img id="current-icon-img" src="/static/categories/{$row.icon_key|htmlentities}.png?v=2" onerror="this.src='/static/categories/cat-veg.png'" alt="当前图片">
|
||||
</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-icon_key" class="btn btn-default faupload" data-input-id="c-icon_key" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/svg+xml" data-multiple="false">
|
||||
<i class="fa fa-upload text-primary"></i> 上传实拍图
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="fc-icon-actions">
|
||||
<button type="button" class="btn btn-success" id="btn-open-icon-picker" style="background:#00E070;border-color:#00c860;color:#04301e;font-weight:700;">
|
||||
<i class="fa fa-th-large"></i> 挑选系统插画
|
||||
</button>
|
||||
<button type="button" id="faupload-icon_key" class="btn btn-default faupload" data-input-id="c-icon_key" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/svg+xml" data-multiple="false">
|
||||
<i class="fa fa-upload text-primary"></i> 上传图片
|
||||
</button>
|
||||
<span class="help-block text-muted" style="margin-top:4px;margin-bottom:0;font-size:11px;">优先上传真实农产品照片,农民用户靠「看图识物」选择品类。</span>
|
||||
<input type="hidden" name="row[icon_key]" id="c-icon_key" value="{$row.icon_key|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" style="margin-bottom:14px;">
|
||||
<label class="control-label col-xs-12 col-sm-3">主题色:</label>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
<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:#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:#2ECC71;" title="翠青绿" data-color="#2ECC71"></div>
|
||||
<div class="fc-color-dot" style="background:#3498DB;" title="晴空蓝" data-color="#3498DB"></div>
|
||||
<div class="fc-color-dot" style="background:#9B59B6;" title="典雅紫" data-color="#9B59B6"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 底层安全隐蔽传参 -->
|
||||
<input type="hidden" name="row[icon_key]" id="c-icon_key" value="{$row.icon_key|htmlentities}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- 主题色设置 + 推荐调色板 -->
|
||||
<div class="form-group" style="margin-bottom:16px;">
|
||||
<label class="control-label col-xs-12 col-sm-3">{:__('Color')}:</label>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
<div class="input-group">
|
||||
<input id="c-color" data-rule="required" class="form-control" name="row[color]" type="text" value="{$row.color|htmlentities}" placeholder="例如:#00E070">
|
||||
<span class="input-group-addon" id="color-preview-addon" style="width:38px;padding:0;background:{$row.color|htmlentities};border-color:#ccc;"></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:#FF7A59;" title="活力橙" data-color="#FF7A59"></div>
|
||||
<div class="fc-color-dot" style="background:#F5A623;" title="阳光金" data-color="#F5A623"></div>
|
||||
<div class="fc-color-dot" style="background:#2ECC71;" title="翠青绿" data-color="#2ECC71"></div>
|
||||
<div class="fc-color-dot" style="background:#3498DB;" title="晴空蓝" data-color="#3498DB"></div>
|
||||
<div class="fc-color-dot" style="background:#9B59B6;" title="典雅紫" data-color="#9B59B6"></div>
|
||||
<div class="fc-color-dot" style="background:#E67E22;" title="收获橙" data-color="#E67E22"></div>
|
||||
<div class="form-group" style="margin-bottom:14px;">
|
||||
<label class="control-label col-xs-12 col-sm-3">排序权重:</label>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
<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>
|
||||
|
||||
<!-- 排序权重 -->
|
||||
<div class="form-group" style="margin-bottom:16px;">
|
||||
<label class="control-label col-xs-12 col-sm-3">{:__('Sort')}:</label>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
<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;"><i class="fa fa-info-circle"></i> 数值越小越靠前,直接决定小程序金刚区的排列次序。</span>
|
||||
<div class="form-group" style="margin-bottom:10px;">
|
||||
<label class="control-label col-xs-12 col-sm-3">启用状态:</label>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
<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>
|
||||
|
||||
<!-- 启用状态 -->
|
||||
<div class="form-group" style="margin-bottom:12px;">
|
||||
<label class="control-label col-xs-12 col-sm-3">{:__('Enabled')}:</label>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
<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" style="margin-bottom:0;">
|
||||
<label class="control-label col-xs-12 col-sm-3">{:__('Post_count')}:</label>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
<p class="form-control-static" style="padding-top:7px;color:#64748b;font-weight:600;">
|
||||
<span class="label label-success" style="background:#eaf8f1;color:#04874a;">{$row.post_count|htmlentities} 篇已审核帖子</span>
|
||||
</p>
|
||||
<input id="c-post_count" type="hidden" name="row[post_count]" value="{$row.post_count|htmlentities}">
|
||||
<div class="form-group" style="margin-bottom:10px;">
|
||||
<label class="control-label col-xs-12 col-sm-3">帖子数量:</label>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
<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 class="col-xs-12 col-sm-4 hidden-xs">
|
||||
<div class="fc-preview-box">
|
||||
<div class="fc-preview-title">
|
||||
<i class="fa fa-mobile fa-lg"></i> 小程序金刚区·实时呈现
|
||||
<i class="fa fa-mobile fa-lg"></i> 小程序端 · 实时预览
|
||||
</div>
|
||||
<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="/static/icons/{$row.icon_key|htmlentities}.png?v=2" onerror="this.src='/static/icons/cat-job.png'" alt="分类图标">
|
||||
<img id="preview-icon" src="/static/categories/{$row.icon_key|htmlentities}.png?v=2" onerror="this.src='/static/categories/cat-veg.png'" alt="分类图片">
|
||||
</div>
|
||||
<div class="fc-preview-name" id="preview-name">{$row.name|htmlentities}</div>
|
||||
<div class="fc-preview-note">修改名称 / 实拍图 / 主题色时<br>此预览会同步更新</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group layer-footer" style="margin-top:16px;padding-top:14px;border-top:1px solid #f1f5f9;">
|
||||
<div class="form-group layer-footer" style="margin-top:10px;padding-top:14px;border-top:1px solid #eef2f6;">
|
||||
<label class="control-label col-xs-12 col-sm-3"></label>
|
||||
<div class="col-xs-12 col-sm-9">
|
||||
<button type="submit" class="btn btn-success btn-embossed disabled" style="background:#00E070;border-color:#00c860;color:#04301e;font-weight:700;"><i class="fa fa-check"></i> 确认保存修改</button>
|
||||
<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" style="margin-left:10px;">重置</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> 选择分类插画
|
||||
<i class="fa fa-th-large text-success"></i> 选择分类实拍图
|
||||
</div>
|
||||
<button type="button" class="fc-modal-close" id="btn-close-icon-modal">×</button>
|
||||
</div>
|
||||
|
||||
<!-- 纯插画网格 -->
|
||||
<div class="fc-modal-grid-box">
|
||||
<div class="fc-modal-grid">
|
||||
<div class="fc-icon-chip" data-key="cat-job"><img src="/static/icons/cat-job.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-house"><img src="/static/icons/cat-house.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-goods"><img src="/static/icons/cat-goods.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-car"><img src="/static/icons/cat-car.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-service"><img src="/static/icons/cat-service.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-education"><img src="/static/icons/cat-education.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-clean"><img src="/static/icons/cat-clean.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-friend"><img src="/static/icons/cat-friend.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-pet"><img src="/static/icons/cat-pet.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-food"><img src="/static/icons/cat-food.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-digital"><img src="/static/icons/cat-digital.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-sport"><img src="/static/icons/cat-sport.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-baby"><img src="/static/icons/cat-baby.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-health"><img src="/static/icons/cat-health.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-entertainment"><img src="/static/icons/cat-entertainment.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-community"><img src="/static/icons/cat-community.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-move"><img src="/static/icons/cat-move.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-repair"><img src="/static/icons/cat-repair.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-furniture"><img src="/static/icons/cat-furniture.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-business"><img src="/static/icons/cat-business.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-law"><img src="/static/icons/cat-law.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-consult"><img src="/static/icons/cat-consult.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-vip"><img src="/static/icons/cat-vip.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-photo"><img src="/static/icons/cat-photo.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-veg" title="新鲜蔬菜"><img src="/static/categories/cat-veg.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="cat-fruit" title="时令水果"><img src="/static/categories/cat-fruit.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="veg-cauliflower" title="花菜"><img src="/static/categories/veg-cauliflower.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="veg-cabbage" title="白菜"><img src="/static/categories/veg-cabbage.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="veg-purple-cabbage" title="紫甘蓝"><img src="/static/categories/veg-purple-cabbage.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="veg-green-cabbage" title="青甘蓝"><img src="/static/categories/veg-green-cabbage.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="veg-greens" title="青菜"><img src="/static/categories/veg-greens.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="veg-radish" title="萝卜"><img src="/static/categories/veg-radish.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="veg-chili" title="辣椒"><img src="/static/categories/veg-chili.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="veg-tomato" title="西红柿"><img src="/static/categories/veg-tomato.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="fruit-apple" title="苹果"><img src="/static/categories/fruit-apple.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="fruit-orange" title="柑橘"><img src="/static/categories/fruit-orange.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="fruit-kiwi" title="猕猴桃"><img src="/static/categories/fruit-kiwi.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="fruit-strawberry" title="草莓"><img src="/static/categories/fruit-strawberry.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="fruit-watermelon" title="西瓜"><img src="/static/categories/fruit-watermelon.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="fruit-grape" title="葡萄"><img src="/static/categories/fruit-grape.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="fruit-peach" title="蜜桃"><img src="/static/categories/fruit-peach.png?v=2" alt="icon"></div>
|
||||
<div class="fc-icon-chip" data-key="fruit-passion" title="百香果"><img src="/static/categories/fruit-passion.png?v=2" alt="icon"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
在新工单中引用
屏蔽一个用户