site
parent
8203a3a8eb
commit
49add2be85
|
|
@ -73,6 +73,9 @@ class Site extends Common
|
||||||
// 是否
|
// 是否
|
||||||
$this->assign('common_is_text_list', lang('common_is_text_list'));
|
$this->assign('common_is_text_list', lang('common_is_text_list'));
|
||||||
|
|
||||||
|
// 站点类型
|
||||||
|
$this->assign('common_site_type_list', lang('common_site_type_list'));
|
||||||
|
|
||||||
// 配置信息
|
// 配置信息
|
||||||
$this->assign('data', ConfigService::ConfigList());
|
$this->assign('data', ConfigService::ConfigList());
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@
|
||||||
<div class="am-form-group">
|
<div class="am-form-group">
|
||||||
<label>{{$data.common_is_exhibition_mode.name}}<span class="am-form-group-label-tips">{{$data.common_is_exhibition_mode.describe}}</span></label>
|
<label>{{$data.common_is_exhibition_mode.name}}<span class="am-form-group-label-tips">{{$data.common_is_exhibition_mode.describe}}</span></label>
|
||||||
<select name="{{$data.common_is_exhibition_mode.only_tag}}" class="am-radius chosen-select" data-validation-message="{{$data.common_is_exhibition_mode.error_tips}}" required>
|
<select name="{{$data.common_is_exhibition_mode.only_tag}}" class="am-radius chosen-select" data-validation-message="{{$data.common_is_exhibition_mode.error_tips}}" required>
|
||||||
{{foreach $common_is_text_list as $v}}
|
{{foreach $common_site_type_list as $v}}
|
||||||
<option value="{{$v.id}}" {{if isset($data['common_is_exhibition_mode']['value']) and $data['common_is_exhibition_mode']['value'] eq $v['id']}}selected{{/if}}>{{$v.name}}</option>
|
<option value="{{$v.id}}" {{if isset($data['common_is_exhibition_mode']['value']) and $data['common_is_exhibition_mode']['value'] eq $v['id']}}selected{{/if}}>{{$v.name}}</option>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
|
|
@ -339,6 +339,14 @@ return array(
|
||||||
'order' => '订单',
|
'order' => '订单',
|
||||||
),
|
),
|
||||||
|
|
||||||
|
// 站点类型
|
||||||
|
'common_site_type_list' => array(
|
||||||
|
0 => array('value' => 0, 'name' => '常规电商'),
|
||||||
|
1 => array('value' => 1, 'name' => '自提点'),
|
||||||
|
2 => array('value' => 2, 'name' => '展示型'),
|
||||||
|
3 => array('value' => 3, 'name' => '虚拟销售'),
|
||||||
|
),
|
||||||
|
|
||||||
|
|
||||||
// 色彩值
|
// 色彩值
|
||||||
'common_color_list' => array(
|
'common_color_list' => array(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue