mirror of https://gitee.com/zorlan/skycaiji
skycaiji
2 years ago
37 changed files with 753 additions and 345 deletions
@ -1,4 +1,6 @@
|
||||
将本压缩包上传至您的服务器,如果根目录有站点建议放在子目录里,解压后打开浏览器输入您的服务器域名或ip地址(存放在子目录则加上子目录的名称)进入安装界面。 |
||||
|
||||
使用手册:https://www.skycaiji.com/manual |
||||
安装协议:https://www.skycaiji.com/licenses |
||||
|
||||
入门手册:[https://www.skycaiji.com/manual](https://www.skycaiji.com/manual) |
||||
|
||||
使用协议:[https://www.skycaiji.com/licenses](https://www.skycaiji.com/licenses) |
File diff suppressed because one or more lines are too long
@ -0,0 +1,66 @@
|
||||
<input type="hidden" name="toapi[app_api]" value="{$appApi}" /> |
||||
<div class="box box-primary"> |
||||
<div class="box-body"> |
||||
<table class="table"> |
||||
<thead> |
||||
<tr> |
||||
<th>参数名称</th> |
||||
<th>参数数据</th> |
||||
</tr> |
||||
</thead> |
||||
<tbody> |
||||
{foreach $appApiParams as $pk=>$pv} |
||||
{php}$pvOption=is_array($pv['option'])?$pv['option']:array();{/php} |
||||
<tr> |
||||
<td>{if !empty($pv['required'])}<em>*</em> {/if}{$pv['name']}</td> |
||||
<td> |
||||
{if $pv['tag']=='select'} |
||||
<select name="toapi[app_params][{$pk}]" class="form-control"> |
||||
{if !empty($pvOption)} |
||||
{foreach $pvOption as $pvOk=>$pvOv} |
||||
<option value="{$pvOk}">{$pvOv}</option> |
||||
{/foreach} |
||||
{/if} |
||||
</select> |
||||
{elseif $pv['tag']=='radio'} |
||||
{if !empty($pvOption)} |
||||
{foreach $pvOption as $pvOk=>$pvOv} |
||||
<label class="radio-inline"><input type="radio" name="toapi[app_params][{$pk}]" value="{$pvOk}">{$pvOv}</label> |
||||
{/foreach} |
||||
{else/} |
||||
<label class="radio-inline"><input type="radio" name="toapi[app_params][{$pk}]" value="1">是</label> |
||||
<label class="radio-inline"><input type="radio" name="toapi[app_params][{$pk}]" value="0">否</label> |
||||
{/if} |
||||
{elseif $pv['tag']=='checkbox'} |
||||
{if !empty($pvOption)} |
||||
{foreach $pvOption as $pvOk=>$pvOv} |
||||
<label class="checkbox-inline"><input type="checkbox" name="toapi[app_params][{$pk}][]" value="{$pvOk}">{$pvOv}</label> |
||||
{/foreach} |
||||
{/if} |
||||
{elseif $pv['tag']=='number'} |
||||
<input type="number" name="toapi[app_params][{$pk}]" class="form-control" autocomplete="off" /> |
||||
{else/} |
||||
<div class="input-group toapi-txt-field"> |
||||
<input type="text" name="toapi[app_params][{$pk}]" class="form-control" autocomplete="off" /> |
||||
<div class="input-group-btn"> |
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">字段 <span class="caret"></span></button> |
||||
<ul class="dropdown-menu dropdown-menu-right"> |
||||
{if !empty($collFields)} |
||||
{foreach $collFields as $v} |
||||
<li><a href="javascript:;" data-val="[采集字段:{$v}]">采集字段:{$v}</a></li> |
||||
{/foreach} |
||||
{/if} |
||||
</ul> |
||||
</div> |
||||
</div> |
||||
{/if} |
||||
</td> |
||||
</tr> |
||||
{/foreach} |
||||
</tbody> |
||||
</table> |
||||
</div> |
||||
</div> |
||||
<script type="text/javascript"> |
||||
releaseClass.toapi_app_load({$appParams|json_encode}); |
||||
</script> |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in new issue