Liquid、JavaScript、主题、销售渠道。
要加JavaScript,如:
<input type="radio" name="options" id="desktop" autocomplete="off" checked="checked" value="1" onclick="show();"> No text
<input type="radio" name="options" id="mobile" autocomplete="off" value="2" onclick="show();"> Add text
function show(){
document.getElementById('text-field-1').style.display ='block';
document.getElementById('text-field-2').style.display = 'block';
}
function hide(){
document.getElementById('text-field-1').style.display = 'none';
document.getElementById('text-field-2').style.display ='none';
}
Thanks for your reply, I chose the theme motion because it is the most similar to our design, but it has a situation similar to route lazy loading when making route jumps (that is, there is a moment of white screen should be waiting for loading time).
If you want to see the effect you can try to switch between pages with a click here.
https://themes.shopify.com/themes/motion/styles/classic/preview?surface_detail=motion&surface_inter_... position=1&surface_type=search
It’s normal that a white screen will appear for a short time when switching pages, and it’s the same in my store, so don’t worry.
I want to know how you did this screening? Looking forward to your reply.
Thank you very much for your reply, I think this should be amendable, after all the white wait may not be user friendly. Of course this is just my personal opinion, and the official reply also tells me that I can help us with this issue through Motion, a third party theme provider, if they can.
Screening? The choice of theme may not be something I need to consider, I'm doing secondary development based on this, so I may not be able to answer your question well, and I may have some development issues to discuss with you later.
Translated with www.DeepL.com/Translator (free version).
I recently have a requirement for secondary development of the screening area. I would like to ask you about the specific considerations. Please reply to me if it is convenient.
Thank you very much