Browse Source

调整

tags/6.3.0
叙述、别离 1 year ago
parent
commit
090a25dee9
3 changed files with 12 additions and 23 deletions
  1. +0
    -1
      src/admin/templets/ad_add.htm
  2. +6
    -6
      src/admin/templets/cards_type.htm
  3. +6
    -16
      src/admin/templets/stepselect_main.htm

+ 0
- 1
src/admin/templets/ad_add.htm View File

@@ -84,7 +84,6 @@
<li id="t_img">图片</li>
<li id="t_flash">Flash</li>
</ul>
<div style="clear:both"></div>
</div>
<div id="advert"></div>
</td>


+ 6
- 6
src/admin/templets/cards_type.htm View File

@@ -31,17 +31,17 @@
?>
<input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->tid?>">
<tr align="center">
<td><input type="text" name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" id="pname_<?php echo $k?>" style="width:90%"></td>
<td><input type="text" name="num_<?php echo $k?>" value="<?php echo $row->num?>" id="num_<?php echo $k?>" style="width:80%"></td>
<td><input type="text" name="money_<?php echo $k?>" value="<?php echo $row->money?>" id="money_<?php echo $k?>" style="width:80%">(元)</td>
<td><input type="text" name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" class="w-100" id="pname_<?php echo $k?>"></td>
<td><input type="text" name="num_<?php echo $k?>" value="<?php echo $row->num?>" class="w-100" id="num_<?php echo $k?>"></td>
<td><input type="text" name="money_<?php echo $k?>" value="<?php echo $row->money?>" class="w-75" id="money_<?php echo $k?>">(元)</td>
<td><input type="checkbox" name="check_<?php echo $k?>" id="check_<?php echo $k?>" value="1" checked> 保留</td>
</tr>
<?php }?>
<input type="hidden" name="idend" value="<?php echo $k?>">
<tr align="center">
<td><input type="text" name="pname_new" id="pname_new" style="width:90%"></td>
<td><input type="text" name="num_new" id="num_new" style="width:80%" value="100"></td>
<td><input type="text" name="money_new" id="money_new" style="width:80%" value="30">(元)</td>
<td><input type="text" name="pname_new" class="w-100" id="pname_new"></td>
<td><input type="text" name="num_new" class="w-100" id="num_new" value="100"></td>
<td><input type="text" name="money_new" class="w-75" id="money_new" value="30">(元)</td>
<td align="center"><input type="checkbox" name="check_new" id="check_new" value="1" checked> 新增</td>
</tr>
<tr>


+ 6
- 16
src/admin/templets/stepselect_main.htm View File

@@ -150,7 +150,7 @@
foreach($etypes as $arr)
{
$stylecolor = '';
if ($arr['issystem']==1) $stylecolor = "style='color:#999'";
if ($arr['issystem']==1) $stylecolor = "class='text-black-50'";
if ($egroup==$arr['egroup']) {
$selgroup = $arr['itemname'];
echo "<option value='{$arr['id']}' $stylecolor selected='1'>{$arr['egroup']}|{$arr['itemname']}</option>";
@@ -181,21 +181,12 @@
else $options .= "<option value='{$row1['evalue']}' selected='selected'>{$row1['ename']}</option>";
}
}
//如果添加3级
//如果添加3级类
if ($topvalue % 500 != 0) $arr['issign'] = 2;
?>
<table class="table shadow-sm mb-3">
<tr>
<td colspan="8">
<span class="float-left"><?php echo $selgroup;?> - 子分类管理</span>
<span class="float-right">
<?php
if ($egroup=='nativeplace') {
echo "<a href='stepselect_main.php?action=exarea' class='btn btn-success btn-sm'>导入默认省市地区</a>";
}
?>
</span>
</td>
<td colspan="8"><?php echo $selgroup;?></td>
</tr>
<tr>
<td>
@@ -203,14 +194,13 @@
<input type="hidden" name="action" value="addenum_save">
<input type="hidden" name="issign" value="<?php echo $arr['issign'];?>">
<input type="hidden" name="egroup" value="<?php echo $arr['egroup'];?>">
<span>所属分类:</span>
<select name="topvalue" onChange="ChangePage2(this);" class="admin-input-sm">
<option value="0"><?php echo $selgroup;?></option>
<?php echo $options;?>
</select>
<span>分类名称:</span>
<input type="text" name="ename" class="admin-input-lg"></span>
<input type="text" name="ename" class="admin-input-lg" placeholder="请填分类名称">
<button type="submit" name="sb2" class="btn btn-success btn-sm">添加分类</button>
<?php if ($egroup=='nativeplace') {echo "<a href='stepselect_main.php?action=exarea' class='btn btn-success btn-sm'>导入默认地区</a>";}?>
</form>
</td>
</tr>
@@ -225,7 +215,7 @@
<input type="hidden" name="action" value="delenumAllSel">
<table class="table">
<tr>
<td colspan="8"><a href="stepselect_main.php">联动类型管理</a> - <a href="stepselect_main.php?egroup=<?php echo $egroup;?>"><?php echo $selgroup;?></a> - 子分类列表</td>
<td colspan="8"><a href="stepselect_main.php">联动类型管理</a> - <a href="stepselect_main.php?egroup=<?php echo $egroup;?>"><?php echo $selgroup;?></a></td>
</tr>
<tr align="center">
<td width="6%">选择</td>


Loading…
Cancel
Save