|
|
|
|
|
|
|
|
|
<!--申请店铺信息--><div class="m mb10">
|
|
|
|
|
<div class="mt">
|
|
|
|
|
<h4 class="title">{$title.fields_titles}</h4>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="mc">
|
|
|
|
|
<dl class="horizontal fl">
|
|
|
|
|
{foreach from=$title.cententFields item=fields}
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="red">*</span>
|
|
|
|
|
{$fields.fieldsFormName}
|
|
|
|
|
</dt>
|
|
|
|
|
<dd>
|
|
|
|
|
{if $fields.chooseForm eq 'input'}
|
|
|
|
|
<input class="input" type="text" value="{$fields.titles_centents}" size="{$fields.inputForm}" name="{$fields.textFields}">
|
|
|
|
|
{elseif $fields.chooseForm eq 'other'}
|
|
|
|
|
{if $fields.otherForm eq 'textArea'}
|
|
|
|
|
<select name="{$fields.textFields}[]" class="catselectB" id="selCountries_{$fields.textFields}_{$sn}" onchange="region.changed(this, 1, 'selProvinces_{$fields.textFields}_{$sn}')">
|
|
|
|
|
<option value="0">{$lang.please_select}{$lang.country}</option>
|
|
|
|
|
<!-- {foreach from=$country_list item=country} -->
|
|
|
|
|
<option value="{$country.region_id}" {if $fields.textAreaForm.country eq $country.region_id}selected{/if}>{$country.region_name}</option>
|
|
|
|
|
<!-- {/foreach} -->
|
|
|
|
|
</select>
|
|
|
|
|
<select name="{$fields.textFields}[]" class="catselectB" id="selProvinces_{$fields.textFields}_{$sn}" onchange="region.changed(this, 2, 'selCities_{$fields.textFields}_{$sn}')">
|
|
|
|
|
<option value="0">{$lang.please_select}{$lang.province}</option>
|
|
|
|
|
{if $fields.province_list}
|
|
|
|
|
<!-- {foreach from=$fields.province_list item=province} -->
|
|
|
|
|
<option value="{$province.region_id}" {if $fields.textAreaForm.province eq $province.region_id}selected{/if}>{$province.region_name}</option>
|
|
|
|
|
<!-- {/foreach} -->
|
|
|
|
|
{else}
|
|
|
|
|
<!-- {foreach from=$province_list item=province} -->
|
|
|
|
|
<option value="{$province.region_id}">{$province.region_name}</option>
|
|
|
|
|
<!-- {/foreach} -->
|
|
|
|
|
{/if}
|
|
|
|
|
</select>
|
|
|
|
|
<select name="{$fields.textFields}[]" class="catselectB" id="selCities_{$fields.textFields}_{$sn}" onchange="region.changed(this, 3, 'selDistricts_{$fields.textFields}_{$sn}')">
|
|
|
|
|
<option value="0">{$lang.please_select}{$lang.city}</option>
|
|
|
|
|
{if $fields.city_list}
|
|
|
|
|
<!-- {foreach from=$fields.city_list item=city} -->
|
|
|
|
|
<option value="{$city.region_id}" {if $fields.textAreaForm.city eq $city.region_id}selected{/if}>{$city.region_name}</option>
|
|
|
|
|
<!-- {/foreach} -->
|
|
|
|
|
{else}
|
|
|
|
|
<!-- {foreach from=$city_list item=city} -->
|
|
|
|
|
<option value="{$city.region_id}">{$city.region_name}</option>
|
|
|
|
|
<!-- {/foreach} -->
|
|
|
|
|
{/if}
|
|
|
|
|
</select>
|
|
|
|
|
<select name="{$fields.textFields}[]" class="catselectB" id="selDistricts_{$fields.textFields}_{$sn}" {if $fields.textAreaForm.district eq ''}style="display:none"{/if}>
|
|
|
|
|
<option value="0">{$lang.please_select}{$lang.area}</option>
|
|
|
|
|
{if $fields.district_list}
|
|
|
|
|
<!-- {foreach from=$fields.district_list item=district} -->
|
|
|
|
|
<option value="{$district.region_id}" {if $fields.textAreaForm.district eq $district.region_id}selected{/if}>{$district.region_name}</option>
|
|
|
|
|
<!-- {/foreach} -->
|
|
|
|
|
{else}
|
|
|
|
|
<!-- {foreach from=$district_list item=district} -->
|
|
|
|
|
<option value="{$district.region_id}">{$district.region_name}</option>
|
|
|
|
|
<!-- {/foreach} -->
|
|
|
|
|
{/if}
|
|
|
|
|
</select>
|
|
|
|
|
{elseif $fields.otherForm eq 'dateFile'}
|
|
|
|
|
<input name="{$fields.textFields}" type="file" /><input name="text_{$fields.textFields}" type="hidden" value="{$fields.titles_centents}" />{if $fields.titles_centents neq ''} <a href="{$fields.titles_centents}" target="_blank">查看</a>{/if}
|
|
|
|
|
{elseif $fields.otherForm eq 'dateTime'}
|
|
|
|
|
{foreach from=$fields.dateTimeForm item=date key=dk}
|
|
|
|
|
{if $dk eq 0}
|
|
|
|
|
<input id="{$fields.textFields}_{$dk}" class="input jdate narrow" type="text" size="{$date.dateSize}" readonly value="{$date.dateCentent}" name="{$fields.textFields}[]" onclick="return showCalendar('{$fields.textFields}_{$dk}', '%Y-%m-%d %H:%M', '24', false, '{$fields.textFields}_{$dk}');">
|
|
|
|
|
{else}
|
|
|
|
|
— <input id="{$fields.textFields}_{$dk}" class="input jdate narrow" type="text" size="{$date.dateSize}" readonly value="{$date.dateCentent}" name="{$fields.textFields}[]" onclick="return showCalendar('{$fields.textFields}_{$dk}', '%Y-%m-%d %H:%M', '24', false, '{$fields.textFields}_{$dk}');">
|
|
|
|
|
{/if}
|
|
|
|
|
{/foreach}
|
|
|
|
|
{/if}
|
|
|
|
|
{elseif $fields.chooseForm eq 'textarea'}
|
|
|
|
|
<textarea name="{$fields.textFields}" cols="{$fields.cols}" rows="{$fields.rows}">{$fields.titles_centents}</textarea>
|
|
|
|
|
{elseif $fields.chooseForm eq 'select'}
|
|
|
|
|
<select name="{$fields.textFields}">
|
|
|
|
|
<option value="" selected="selected">请选择..</option>
|
|
|
|
|
{foreach from=$fields.selectList item=selectList}
|
|
|
|
|
<option value="{$selectList}" {if $fields.titles_centents eq $selectList}selected="selected"{/if}>{$selectList}</option>
|
|
|
|
|
{/foreach}
|
|
|
|
|
</select>
|
|
|
|
|
{elseif $fields.chooseForm eq 'radio'}
|
|
|
|
|
{foreach from=$fields.radioCheckboxForm item=radio key=rc_k}
|
|
|
|
|
<label><input name="{$fields.textFields}" type="radio" value="{$radio.radioCheckbox}" {if $fields.titles_centents eq $radio.radioCheckbox}checked="checked"{else}{if $rc_k eq 0}checked="checked"{/if}{/if} /> {$radio.radioCheckbox}</label>
|
|
|
|
|
{/foreach}
|
|
|
|
|
{elseif $fields.chooseForm eq 'checkbox'}
|
|
|
|
|
{foreach from=$fields.radioCheckboxForm item=checkbox key=rc_k}
|
|
|
|
|
<label><input name="{$fields.textFields}" type="checkbox" value="{$radio.radioCheckbox}" {if $fields.titles_centents eq $checkbox.radioCheckbox}checked="checked"{else}{if $rc_k eq 0}checked="checked"{/if}{/if} /> {$checkbox.radioCheckbox}</label>
|
|
|
|
|
{/foreach}
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
{$fields.formSpecial}
|
|
|
|
|
</dd>
|
|
|
|
|
{/foreach}
|
|
|
|
|
<!--以上是自定义基本信息,以下是固定信息-->
|
|
|
|
|
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="red">*</span>
|
|
|
|
|
期望店铺类型
|
|
|
|
|
</dt>
|
|
|
|
|
<dd> {if $title.parentType.shoprz_type eq 1}旗舰店{elseif $title.parentType.shoprz_type eq 2}专卖店{elseif $title.parentType.shoprz_type eq 3}专营店{/if} </dd>
|
|
|
|
|
<dt>旗舰店命名规范</dt>
|
|
|
|
|
<dd>
|
|
|
|
|
<div class="callout plain">
|
|
|
|
|
<div>店铺名称:品牌名|类目描述|旗舰店/官方旗舰店 <font style="font-size:12px; color:#F00">(也可自定义,如:ecshop模板堂官方旗舰店)</font></div>
|
|
|
|
|
</div>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="red">*</span>
|
|
|
|
|
{$title.fields_titles}
|
|
|
|
|
</dt>
|
|
|
|
|
<dd>
|
|
|
|
|
<div class="grey" style="line-height:30px;">{$title.titles_annotation}</div>
|
|
|
|
|
<div class="callout plain">
|
|
|
|
|
<dl class="horizontal">
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="red">*</span>
|
|
|
|
|
公司名称
|
|
|
|
|
</dt>
|
|
|
|
|
<dd>
|
|
|
|
|
{$seller_shopinfo.shop_name}
|
|
|
|
|
</dd>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="red">*</span>
|
|
|
|
|
选择品牌名
|
|
|
|
|
</dt>
|
|
|
|
|
<dd>
|
|
|
|
|
<select name="ec_shoprz_brandName" onChange="get_shoprz_brandName(this.value);">
|
|
|
|
|
<option value="">请选择品牌名称</option>
|
|
|
|
|
{foreach from=$title.brand_list item=brand}
|
|
|
|
|
<option value="{$brand.brandName}" {if $title.parentType.shoprz_brandName eq $brand.brandName}selected{/if}>{$brand.brandName}</option>
|
|
|
|
|
{/foreach}
|
|
|
|
|
</select>
|
|
|
|
|
</dd>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="red">*</span>
|
|
|
|
|
类目描述关键词
|
|
|
|
|
</dt>
|
|
|
|
|
<dd>
|
|
|
|
|
<input type="text" name="ec_shop_class_keyWords" size="30" value="{$title.parentType.shop_class_keyWords}" class="input">
|
|
|
|
|
</dd>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="red">*</span>
|
|
|
|
|
选择店铺后缀
|
|
|
|
|
</dt>
|
|
|
|
|
<dd>
|
|
|
|
|
|
|
|
|
|
<select name="ec_shopNameSuffix" onChange="get_shopNameSuffix(this.value);">
|
|
|
|
|
<option selected="selected" value="">请选择..</option>
|
|
|
|
|
<option {if $title.parentType.shoprz_type eq 1}selected{/if} value="旗舰店">旗舰店</option>
|
|
|
|
|
<option {if $title.parentType.shoprz_type eq 2}selected{/if} value="专卖店">专卖店</option>
|
|
|
|
|
<option {if $title.parentType.shoprz_type eq 3}selected{/if} value="专营店">专营店</option>
|
|
|
|
|
<option {if $title.parentType.shoprz_type eq 4}selected{/if} value="馆">馆</option>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</dd>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="red">*</span>
|
|
|
|
|
期望店铺名称
|
|
|
|
|
</dt>
|
|
|
|
|
<dd>
|
|
|
|
|
<input type="text" name="ec_rz_shopName" id="rz_shopName" size="30" value="{$title.parentType.rz_shopName}" class="input">
|
|
|
|
|
</dd>
|
|
|
|
|
<dt>
|
|
|
|
|
<span class="red">*</span>
|
|
|
|
|
期望店铺登陆用户名
|
|
|
|
|
</dt>
|
|
|
|
|
<dd>
|
|
|
|
|
<input type="text" name="ec_hopeLoginName" size="30" value="{$title.parentType.hopeLoginName}" class="input">
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
</div>
|
|
|
|
|
</dd>
|
|
|
|
|
</dl>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
function get_shoprz_brandName(val){
|
|
|
|
|
var str = new Array();
|
|
|
|
|
var shopName = '';
|
|
|
|
|
var i;
|
|
|
|
|
|
|
|
|
|
var keyWords = document.getElementById('ec_shop_class_keyWords').value;
|
|
|
|
|
|
|
|
|
|
shopName = document.getElementById('rz_shopName').value;
|
|
|
|
|
str = shopName.split("|");
|
|
|
|
|
|
|
|
|
|
if(str[0] != val){
|
|
|
|
|
str[0] = val;
|
|
|
|
|
}
|
|
|
|
|
if(str.length == 1){
|
|
|
|
|
str[0] = str[0] + "|";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(str[1] == ''){
|
|
|
|
|
str[1] = keyWords;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
str = str.join('|');
|
|
|
|
|
|
|
|
|
|
document.getElementById('rz_shopName').value = str;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
function get_shopNameSuffix(val){
|
|
|
|
|
var str = new Array();
|
|
|
|
|
var shopName = '';
|
|
|
|
|
var i;
|
|
|
|
|
|
|
|
|
|
var keyWords = document.getElementById('ec_shop_class_keyWords').value;
|
|
|
|
|
|
|
|
|
|
shopName = document.getElementById('rz_shopName').value;
|
|
|
|
|
str = shopName.split("|");
|
|
|
|
|
|
|
|
|
|
if(str[1] == ''){
|
|
|
|
|
str[1] = keyWords;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if(str[2] != val){
|
|
|
|
|
str[2] = val;
|
|
|
|
|
if(typeof(str[1]) == 'undefined'){
|
|
|
|
|
str[1] = keyWords;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
str = str.join('|');
|
|
|
|
|
document.getElementById('rz_shopName').value = str;
|
|
|
|
|
}
|
|
|
|
|
</script>
|