fecmall/apphtml5/theme/terry/theme01/customer/account/register.php
fecmall/apphtml5/languages/zh-CN/apphtml5.php
1.有一些地方,没有加入翻译: https://github.com/fecshop/yii2_fecshop/blob/master/app/apphtml5/theme/base/html5/customer/account/register.php#L29
<input class="required-entry" type="text" placeholder="First name" id="firstname" name="editForm[firstname]" value="<?= $firstname ?>" title="First Name">
改成
<input class="required-entry" type="text" placeholder="<?= Yii::$service->page->translate->__('First name'); ?>" id="firstname" name="editForm[firstname]" value="<?= $firstname ?>" title="First Name">
然后添加翻译即可(fecmall会存在一些疏漏)
2.vue部分,如果要用验证码,需要使用redis,因为api的方式不支持session,配置redis后才能使用vue这种前后端分离的验证码
3.如果你做中文,用手机号作为账户,微信登陆等,可以看看这个扩展:http://addons.fecmall.com/61267738
问题已经解决了。
非常感谢!
-- 补充:如果出现下面提示,说明 PHP 的 GD 组件没安装。