人人商城

emulator.html 1.3KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <style>
  2. .table td,th{text-align: center}
  3. </style>
  4. {if $_W['debug_data']}
  5. {if $_W['debug_data']['is_default']}
  6. <div class="alert alert-info">
  7. 该关键字触发了默认回复。
  8. {if !empty($_W['debug_data']['params'])}
  9. 系统的默认回复关键字对应以下几条回复, <a class="text-danger" href="{php echo url('platform/special/display');}" target="_blank">查看默认回复</a>
  10. {else}
  11. 但系统默认回复没有设置关键字或设置的关键字没有有效的回复规则,<a class="text-danger" href="{php echo url('platform/special/display');}" target="_blank">查看默认回复</a>
  12. {/if}
  13. </div>
  14. {/if}
  15. {if !empty($_W['debug_data']['params'])}
  16. <table class="table table-hover table-bordered">
  17. <thead>
  18. <tr>
  19. <th>模块</th>
  20. <th>标识</th>
  21. <th>关键字</th>
  22. <th>规则id</th>
  23. </tr>
  24. </thead>
  25. <tbody>
  26. {loop $_W['debug_data']['params'] $row}
  27. <tr {if $_W['debug_data']['hitparam']['rule'] == $row['rule']}class="danger"{/if}>
  28. <td>{$_W['modules'][$row['module']]['title']}</td>
  29. <td>{$_W['modules'][$row['module']]['name']}</td>
  30. <td>{$row['keyword']['content']}</td>
  31. <td>{$row['keyword']['rid']}</td>
  32. </tr>
  33. {/loop}
  34. </tbody>
  35. </table>
  36. <div class="help-block"><span class="text-danger">红色选中代表最终回复给粉丝的回复消息</span></div>
  37. {/if}
  38. {/if}