You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

101 lines
5.5 KiB

<template>
<h1>
<span class="action-span"><a href="privilege.php?act=add">添加管理員</a></span>
<span class="action-span1"><a href="index.php?act=main">商城網站管理中心</a> </span><span id="search_id" class="action-span1"> - 管理員列表 </span>
<div style="clear:both"></div>
</h1>
<div class="form-div">
<form method="post" action="affiliate.php">
<input type="radio" name="on" value="1" v-model="affiliate.on">
<input type="radio" name="on" value="0" v-model="affiliate.on">
<br/>
<br/>
<input type="hidden" name="act" value="on" />
<input type="submit" value="送出" class="button" id="btnon"/>
</form>
</div>
<div id="separate" v-if="affiliate.on === '1'">
<div class="form-div">
<form method="post" action="affiliate.php">
<!-- <table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td colspan="2" style="border-bottom:1px dashed #dadada;"><input type="radio" name="separate_by" value="0" checked="true" onClick="actDiv('listDiv','');">
{$lang.separate_by.0}<input type="radio" name="separate_by" value="1" checked="true" onClick="actDiv('listDiv','none');">
{$lang.separate_by.1}</td>
</tr>
<tr>
<td width="20%" align="right" class="label"><a href="javascript:showNotice('notice1');" title="{$lang.form_notice}"><img src="images/notice.gif" width="21" height="21" border="0" alt="{$lang.form_notice}" /></a>{$lang.expire} </td>
<td><input type="text" name="expire" maxlength="150" size="10" value="{$config.config.expire}" />
<select name="expire_unit">
{html_options options=$lang.unit selected=$config.config.expire_unit}
</select>
<br />
<span class="notice-span" style="display:block" style="display:none" {/if} id="notice1">{$lang.help_expire|nl2br}</span>
</td>
</tr>
<tr>
<td align="right" class="label"><a href="javascript:showNotice('notice2');" title="{$lang.form_notice}"><img src="images/notice.gif" width="21" height="21" border="0" alt="{$lang.form_notice}" /></a>{$lang.level_point_all} </td>
<td><input type="text" name="level_point_all" maxlength="150" size="10" value="{$config.config.level_point_all}" />
<br />
<span class="notice-span" style="display:block" id="notice2">{$lang.help_lpa|nl2br}</span></td>
</tr>
<tr>
<td align="right" class="label"><a href="javascript:showNotice('notice3');" title="{$lang.form_notice}"><img src="images/notice.gif" width="21" height="21" border="0" alt="{$lang.form_notice}" /></a>{$lang.level_money_all} </td>
<td><input type="text" name="level_money_all" maxlength="150" size="10" value="{$config.config.level_money_all}" />
<br />
<span class="notice-span" style="display:block" id="notice3">{$lang.help_lma|nl2br}</span></td>
</tr>
<tr>
<td align="right" class="label"><a href="javascript:showNotice('notice4');" title="{$lang.form_notice}"><img src="images/notice.gif" width="21" height="21" border="0" alt="{$lang.form_notice}" /></a>{$lang.level_register_all}</td>
<td><input type="text" name="level_register_all" maxlength="150" size="10" value="{$config.config.level_register_all}" />
<br />
<span class="notice-span" style="display:block" id="notice4">{$lang.help_lra|nl2br}</span></td>
</tr>
<tr>
<td align="right" class="label"><a href="javascript:showNotice('notice5');" title="{$lang.form_notice}"><img src="images/notice.gif" width="21" height="21" border="0" alt="{$lang.form_notice}" /></a>{$lang.level_register_up}</td>
<td><input type="text" name="level_register_up" maxlength="150" size="10" value="{$config.config.level_register_up}" />
<br />
<span class="notice-span" style="display:none" id="notice5">{$lang.help_lru|nl2br}</span></td>
<tr><td></td>
<td><input type="hidden" name="act" value="updata" /><input type="submit" value="{$lang.button_submit}" class="button" /></td>
</tr>
</tr>
</table> -->
</form>
</div>
<div class="list-div" id="listDiv">
<!-- <table class="table table-bordered">
<tr>
<th name="levels" ReadOnly="true" width="10%">{$lang.levels}</th>
<th name="level_point" Type="TextBox">{$lang.level_point}</th>
<th name="level_money" Type="TextBox">{$lang.level_money}</th>
<th Type="Button">{$lang.handler}</th>
</tr>
<tr align="center">
<td>{$smarty.foreach.nav.iteration}</td>
<td><span onclick="listTable.edit(this, 'edit_point', '{$smarty.foreach.nav.iteration}'); return false;">{$val.level_point}</span></td>
<td><span onclick="listTable.edit(this, 'edit_money', '{$smarty.foreach.nav.iteration}'); return false;">{$val.level_money}</span></td>
<td ><a href="javascript:confirm_redirect(lang_removeconfirm, 'affiliate.php?act=del&id={$smarty.foreach.nav.iteration}')"><img style="border:0px;" src="images/no.gif" /></a></td>
</tr>
</table> -->
</div>
</div>
</template>
<script setup>
import { ref } from 'vue'
const affiliate = ref({
config:{},
item:[],
on: '0'
})
</script>
<style>
</style>