mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-05 13:22:29 +08:00
系统优化
This commit is contained in:
@ -24,7 +24,7 @@
|
||||
</div>
|
||||
<div class="am-u-sm-12 am-u-md-6 am-u-lg-4 container-right">
|
||||
<div class="forgetpwd-top">
|
||||
{{if in_array('sms', MyC('home_user_reg_state')) or in_array('email', MyC('home_user_reg_state'))}}
|
||||
{{if in_array('sms', MyC('home_user_reg_state')) or in_array('email', MyC('home_user_reg_state')) or in_array('username', MyC('home_user_reg_state'))}}
|
||||
<span class="">还没有帐号?</span>
|
||||
<a href="{{:MyUrl('index/user/reginfo')}}" class="am-btn am-btn-secondary am-btn-xs am-radius">注册</a>
|
||||
{{/if}}
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<!-- form start -->
|
||||
<form class="am-form form-validation" method="post" action="{{:MyUrl('index/user/login')}}" request-type="ajax-fun" request-value="ViewModalBack">
|
||||
<div class="xo-padding-horizontal-md-sm login-modal-container-top">
|
||||
{{if in_array('sms', MyC('home_user_reg_state')) or in_array('email', MyC('home_user_reg_state'))}}
|
||||
{{if in_array('sms', MyC('home_user_reg_state')) or in_array('email', MyC('home_user_reg_state')) or in_array('username', MyC('home_user_reg_state'))}}
|
||||
<span class="">还没有帐号?</span>
|
||||
<a href="{{:MyUrl('index/user/reginfo')}}" target="_blank" class="am-btn am-btn-secondary am-btn-xs am-radius">立即注册</a>
|
||||
{{/if}}
|
||||
|
||||
@ -500,7 +500,7 @@ class GoodsService
|
||||
if($temp['code'] == 0)
|
||||
{
|
||||
$temp_spec['is_only_level_one'] = 1;
|
||||
$temp_spec['inventory'] = $temp['data']['inventory'];
|
||||
$temp_spec['inventory'] = $temp['data']['spec_base']['inventory'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user