由于某种原因,当页面加载,表单从插件是在那里的前几秒钟,然后消失,我添加了额外的样式,但它仍然不工作,如何和在哪里配置它?
<div class="wcus-checkout-fields" style="display: none;"><h3>Вкажіть адресу доставки</h3> <div class=""><!----> <input type="hidden" name="wcus_np_billing_custom_address_active" value="0"> <div><p class="form-row form-row-wide validate-required"><span class="woocommerce-input-wrapper"><input type="hidden" name="wcus_np_billing_city" value="8d5a9813-391c-11dd-90d9-001a92567626"> <input type="hidden" name="wcus_np_billing_city_name" value="Кременчук"> <div class="zen-ui-select zen-ui-select-1"><div style="width: 0px; height: 0px; overflow: hidden;"><input type="hidden" value="8d5a9813-391c-11dd-90d9-001a92567626"></div> <div class="zen-ui-select__value"><span class="zen-ui-select__value-text">Кременчук</span> <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 129 129"><path d="m121.3,34.6c-1.6-1.6-4.2-1.6-5.8,0l-51, 51.1-51.1-51.1c-1.6-1.6-4.2-1.6-5.8,0-1.6, 1.6-1.6,4.2 0,5.8l53.9,53.9c0.8,0.8 1.8, 1.2 2.9,1.2 1,0 2.1-0.4 2.9-1.2l53.9-53.9c1.7-1.6 1.7-4.2 0.1-5.8z"></path></svg></div> <div class="zen-ui-select__dropdown"><div class="zen-ui-select__search"><input type="text" placeholder="Введіть значення для пошуку" class="zen-ui-select__search-input"></div> <div class="zen-ui-select__options"><div class="zen-ui-select__option">
Київ
</div><div class="zen-ui-select__option zen-ui-select__option--current">
</div></div></div></div></span></p> <p class="form-row form-row-wide validate-required woocommerce-invalid woocommerce-invalid-required-field" style="display: none;"><span class="woocommerce-input-wrapper"><input type="text" name="wcus_np_billing_custom_address" id="wcus_np_billing_custom_address" placeholder="Введіть адресу" class="input-text"></span></p></div></div></div>
字符串
的数据
通过输出的样式没有帮助,题字填写地址不允许你购买产品
1条答案
按热度按时间js81xvg61#
我遇到了同样的问题。我已经应用了非常强大的解决方案,但它的工作(至少对我来说)。
您可以手动设置“显示:block”on .wcus-checkout-fields after 2 seconds after page load
这段代码对我很有效,请随意修改:
字符串