feat: 新增会员浏览/拨打额度并优化无图展示逻辑

新增会员每日浏览完整信息和拨打电话的额度配置,调整付费查看接口描述为解锁完整信息,优化帖子无图时的兜底展示逻辑,修复图片加载路径问题,删除废弃工具脚本。
这个提交包含在:
2026-10-28 11:06:39 +08:00
父节点 bb6418f51b
当前提交 111054d984
共有 179 个文件被更改,包括 931 次插入 和 6265 次删除

查看文件

@@ -95,7 +95,7 @@
</div>
</div>
<!-- Tab 2:联系方式浏览配置 -->
<!-- Tab 2:完整信息浏览与拨打配置 -->
<div class="tab-pane fade" id="tab-view">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">浏览模式:</label>
@@ -103,30 +103,30 @@
<div class="radio">
<label style="margin-right: 24px;">
<input type="radio" name="row[fc_fee_viewMode]" value="free" {if $row.viewMode=='free'}checked{/if}>
<strong>完全免费公开</strong>(详情页直接明文展示手机号与微信,支持一键拨打)
<strong>完全免费公开</strong>(完整信息对所有人直接展示,浏览不限次)
</label>
<label>
<input type="radio" name="row[fc_fee_viewMode]" value="paid" {if $row.viewMode=='paid'}checked{/if}>
<strong>付费或会员解锁</strong>(默认打码保护隐私,需单次付费或使用 VIP 免费看额度解锁)
<strong>付费或会员解锁</strong>(非会员仅展示摘要,单条付费解锁;会员按套餐每日免费浏览)
</label>
</div>
<div id="view-mode-free-tip" class="fc-mode-tip fc-mode-tip--free" style="{if $row.viewMode!='free'}display:none;{/if}">
<i class="fa fa-check-circle"></i> 当前为「完全免费公开」:所有帖子电话与微信号零门槛直显,无需解锁。
<i class="fa fa-check-circle"></i> 当前为「完全免费公开」:完整信息零门槛直显,会员浏览额度自动休眠不计数。
</div>
</div>
</div>
<div id="view-paid-fields" style="{if $row.viewMode=='free'}display:none;{/if}">
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">非会员单次查看价:</label>
<label class="control-label col-xs-12 col-sm-2">非会员单条解锁价:</label>
<div class="col-xs-12 col-sm-4">
<div class="input-group">
<input type="number" min="0" step="0.01" class="form-control" name="row[fc_fee_payView]" value="{$row.payViewPrice|htmlentities}" data-rule="required;range(0~)"/>
<span class="input-group-addon">元 / 次</span>
<span class="input-group-addon">元 / 条</span>
</div>
</div>
<div class="col-xs-12 col-sm-6">
<span class="help-block">普通用户超额后解锁单条帖子拨打权限的价格(同一条信息一次解锁永久有效)</span>
<span class="help-block">非会员解锁单条完整信息的价格(一次解锁永久有效;填 <code>0</code> 等同免费公开模式)</span>
</div>
</div>
</div>
@@ -142,20 +142,7 @@
</div>
</div>
<div class="col-xs-12 col-sm-6">
<span class="help-block">详情页与商家详情页统一隐藏明文手机号,仅保留拨打按钮;填 <code>0</code> 表示不限次数</span>
</div>
</div>
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">VIP会员每日拨打上限:</label>
<div class="col-xs-12 col-sm-4">
<div class="input-group">
<input type="number" min="0" step="1" class="form-control" name="row[fc_call_vipDailyQuota]" value="{$row.callVipDailyQuota|default=30|htmlentities}" data-rule="required;integer;range(0~)"/>
<span class="input-group-addon">次 / 日</span>
</div>
</div>
<div class="col-xs-12 col-sm-6">
<span class="help-block">VIP 会员每日可拨打电话次数上限(填 <code>0</code> 表示 VIP 会员不限拨打次数)</span>
<span class="help-block">仅对非会员生效;手机号任何模式都不展示,只保留拨打按钮;填 <code>0</code> 表示不限次数。会员拨打次数请在「会员套餐」中按套餐配置</span>
</div>
</div>
</div>