- 新增师傅资质审核模块及权限 - 未审核通过的师傅默认禁用接单状态 - 新增售后退款申诉功能与相关界面 - 新增用户钱包管理及充值功能 - 更新服务定价矩阵相关数据库结构 - 修复微信支付证书验证问题
234 行
9.1 KiB
HTML
234 行
9.1 KiB
HTML
<style>
|
||
/* SaaS 现代卡片中后台风格 */
|
||
.panel-service-intro {
|
||
border-radius: 8px;
|
||
box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
|
||
border: 1px solid #e2e8f0;
|
||
background: #ffffff;
|
||
margin-bottom: 20px;
|
||
}
|
||
.panel-service-intro > .panel-heading {
|
||
background: #ffffff;
|
||
border-bottom: 1px solid #f1f5f9;
|
||
padding: 14px 18px;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: space-between;
|
||
}
|
||
.panel-service-title {
|
||
font-size: 15px;
|
||
font-weight: 700;
|
||
color: #0f172a;
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
.panel-service-title i {
|
||
color: #ea580c;
|
||
font-size: 16px;
|
||
}
|
||
.panel-service-sub {
|
||
font-size: 12px;
|
||
color: #64748b;
|
||
margin-left: 8px;
|
||
font-weight: normal;
|
||
}
|
||
|
||
/* 专业对称规整筛选区(双行 4 列栅格,空间充裕,绝无挤压) */
|
||
.srv-filter-container {
|
||
margin: 14px 18px;
|
||
padding: 16px 18px 12px;
|
||
background: #f8fafc;
|
||
border: 1px solid #e2e8f0;
|
||
border-radius: 8px;
|
||
}
|
||
.srv-filter-grid {
|
||
display: grid;
|
||
grid-template-columns: repeat(4, 1fr);
|
||
gap: 12px 20px;
|
||
align-items: center;
|
||
}
|
||
@media (max-width: 1200px) {
|
||
.srv-filter-grid {
|
||
grid-template-columns: repeat(2, 1fr);
|
||
}
|
||
}
|
||
@media (max-width: 768px) {
|
||
.srv-filter-grid {
|
||
grid-template-columns: 1fr;
|
||
}
|
||
}
|
||
.srv-filter-item {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 8px;
|
||
}
|
||
.srv-filter-label {
|
||
font-size: 12px;
|
||
font-weight: 600;
|
||
color: #475569;
|
||
white-space: nowrap;
|
||
width: 68px;
|
||
text-align: right;
|
||
flex-shrink: 0;
|
||
}
|
||
.srv-filter-field {
|
||
height: 32px;
|
||
font-size: 12px;
|
||
border-radius: 5px;
|
||
border: 1px solid #cbd5e1;
|
||
background-color: #ffffff;
|
||
padding: 4px 10px;
|
||
flex: 1;
|
||
width: 100%;
|
||
box-sizing: border-box;
|
||
transition: border-color 0.15s, box-shadow 0.15s;
|
||
}
|
||
.srv-filter-field:focus {
|
||
border-color: #ea580c;
|
||
outline: none;
|
||
box-shadow: 0 0 0 2px rgba(234, 88, 12, 0.15);
|
||
}
|
||
.srv-filter-btns {
|
||
display: flex;
|
||
align-items: center;
|
||
gap: 10px;
|
||
justify-content: flex-end;
|
||
width: 100%;
|
||
}
|
||
|
||
/* 工具栏控件精细化 */
|
||
.toolbar-actions {
|
||
padding: 0 18px 10px;
|
||
}
|
||
|
||
/* 固定右侧操作列样式:Sticky 悬浮 + 投影隔离 */
|
||
.fixed-table-container {
|
||
position: relative;
|
||
}
|
||
.fixed-table-container th.col-operate-fixed,
|
||
.fixed-table-container td.col-operate-fixed {
|
||
position: -webkit-sticky !important;
|
||
position: sticky !important;
|
||
right: 0 !important;
|
||
background-color: #ffffff !important;
|
||
z-index: 5 !important;
|
||
box-shadow: -4px 0 10px rgba(15, 23, 42, 0.05);
|
||
}
|
||
.fixed-table-container thead th.col-operate-fixed {
|
||
background-color: #f8fafc !important;
|
||
z-index: 6 !important;
|
||
border-left: 1px solid #e2e8f0;
|
||
}
|
||
.table-hover > tbody > tr:hover > td.col-operate-fixed {
|
||
background-color: #f8fafc !important;
|
||
}
|
||
</style>
|
||
|
||
<div class="panel panel-default panel-service-intro">
|
||
<div class="panel-heading">
|
||
<div class="panel-service-title">
|
||
<i class="fa fa-cubes"></i> 商品管理与服务定价
|
||
<span class="panel-service-sub">维护施工标的物、各服务工项基准定价及细分规格专属价格体系</span>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- 专业高密度双行规整筛选卡片 -->
|
||
<div class="srv-filter-container" id="srv-filter-form">
|
||
<div class="srv-filter-grid">
|
||
<!-- Row 1 - Col 1: 商品名称/关键词 -->
|
||
<div class="srv-filter-item">
|
||
<span class="srv-filter-label">商品名称</span>
|
||
<input type="text" id="f-name" class="srv-filter-field" data-name="name" placeholder="搜索商品名称、型号或ID...">
|
||
</div>
|
||
|
||
<!-- Row 1 - Col 2: 所属类目 -->
|
||
<div class="srv-filter-item">
|
||
<span class="srv-filter-label">所属类目</span>
|
||
<select id="f-cat_id" class="srv-filter-field" data-name="cat_id">
|
||
<option value="">全部类目 ({:count($catList)})</option>
|
||
{foreach name="catList" item="vo"}
|
||
<option value="{$vo.id}">{$vo.name}</option>
|
||
{/foreach}
|
||
</select>
|
||
</div>
|
||
|
||
<!-- Row 1 - Col 3: 计价模式(一口价 / 师傅报价) -->
|
||
<div class="srv-filter-item">
|
||
<span class="srv-filter-label">计价模式</span>
|
||
<select id="f-price_type" class="srv-filter-field" data-name="price_type">
|
||
<option value="">全部计价模式</option>
|
||
<option value="fixed">一口价模式 (明码标价)</option>
|
||
<option value="quote">师傅报价模式 (现场勘验)</option>
|
||
</select>
|
||
</div>
|
||
|
||
<!-- Row 1 - Col 4: 商品上架状态 -->
|
||
<div class="srv-filter-item">
|
||
<span class="srv-filter-label">商品状态</span>
|
||
<select id="f-status" class="srv-filter-field" data-name="status">
|
||
<option value="">全部状态</option>
|
||
<option value="normal">正常上架中</option>
|
||
<option value="hidden">已下架/停用</option>
|
||
</select>
|
||
</div>
|
||
|
||
<!-- Row 2 - Col 1: 工项支持(安装/维修/拆旧等) -->
|
||
<div class="srv-filter-item">
|
||
<span class="srv-filter-label">工项支持</span>
|
||
<select id="f-work_code" class="srv-filter-field" data-name="work_code">
|
||
<option value="">全部工项支持</option>
|
||
{foreach name="typesPool" item="tp"}
|
||
<option value="{$tp.code}">支持 {$tp.name} ({$tp.code})</option>
|
||
{/foreach}
|
||
</select>
|
||
</div>
|
||
|
||
<!-- Row 2 - Col 2: 细分规格配置 -->
|
||
<div class="srv-filter-item">
|
||
<span class="srv-filter-label">规格配置</span>
|
||
<select id="f-has_spec" class="srv-filter-field" data-name="has_spec">
|
||
<option value="">全部规格配置</option>
|
||
<option value="1">包含细分型号规格</option>
|
||
<option value="0">仅通用基准(无规格)</option>
|
||
</select>
|
||
</div>
|
||
|
||
<!-- Row 2 - Col 3: 增值服务配置 -->
|
||
<div class="srv-filter-item">
|
||
<span class="srv-filter-label">增值服务</span>
|
||
<select id="f-has_addon" class="srv-filter-field" data-name="has_addon">
|
||
<option value="">全部增项配置</option>
|
||
<option value="1">已配置增值服务</option>
|
||
<option value="0">未配置增值服务</option>
|
||
</select>
|
||
</div>
|
||
|
||
<!-- Row 2 - Col 4: 操作按钮组(右对齐,宽度充裕绝不换行) -->
|
||
<div class="srv-filter-item" style="justify-content: flex-end;">
|
||
<div class="srv-filter-btns">
|
||
<button type="button" class="btn btn-sm btn-primary" id="btn-srv-search" style="min-width:76px;font-weight:600;"><i class="fa fa-search"></i> 筛选</button>
|
||
<button type="button" class="btn btn-sm btn-default" id="btn-srv-reset" style="min-width:76px;"><i class="fa fa-refresh"></i> 重置</button>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="panel-body" style="padding-top:0;">
|
||
<div class="widget-body no-padding">
|
||
<div id="toolbar" class="toolbar">
|
||
<a href="javascript:;" class="btn btn-primary btn-refresh" title="{:__('Refresh')}"><i class="fa fa-refresh"></i> 刷新</a>
|
||
<a href="javascript:;" class="btn btn-success btn-add {:$auth->check('service/add')?'':'hide'}" title="{:__('Add')}"><i class="fa fa-plus"></i> 添加商品</a>
|
||
<a href="javascript:;" class="btn btn-danger btn-del btn-disabled disabled {:$auth->check('service/del')?'':'hide'}" title="{:__('Delete')}"><i class="fa fa-trash"></i> {:__('Delete')}</a>
|
||
<a href="{:url('service/gallery/index')}" class="btn btn-info btn-addtabs {:$auth->check('service/gallery/index')?'':'hide'}" title="系统图库"><i class="fa fa-picture-o"></i> 系统图库</a>
|
||
</div>
|
||
<table id="table" class="table table-striped table-bordered table-hover table-nowrap"
|
||
data-operate-detail="{:$auth->check('service/detail')}"
|
||
data-operate-edit="{:$auth->check('service/edit')}"
|
||
data-operate-del="{:$auth->check('service/del')}"
|
||
width="100%">
|
||
</table>
|
||
</div>
|
||
</div>
|
||
</div>
|