我了解自定义狂欢的基本方法(污损、覆盖视图文件等)。我无法弄清楚 Spree Fancy 主题如何用月/年选择字段替换信用卡到期输入文本字段。
似乎没有任何影响该字段的污损覆盖、视图覆盖或 javascript。
这是付款污损覆盖:https ://github.com/spree/spree_fancy/tree/2-0-stable/app/overrides/spree/checkout/_payment
这是主要的js文件:https ://github.com/spree/spree_fancy/blob/2-0-stable/app/assets/javascripts/store/spree_fancy.js
没有与付款流程相关的完整视图覆盖:https ://github.com/spree/spree_fancy/tree/2-0-stable/app/views/spree
有谁知道它是怎么做的?