search

Home  >  Q&A  >  body text

javascript - How to make the picture full screen when clicking on the picture with phoneswipe?

I want to make a mobile phone click on the picture to preview the picture, and can slide left and right, but the picture cannot be full screen.
Please give me some advice, please tell me how to configure the parameters to make the width=100% in the picture below, thank you. . Or are there any other plug-ins you can recommend

ringa_leeringa_lee2689 days ago854

reply all(4)I'll reply

  • 仅有的幸福

    仅有的幸福2017-07-05 10:43:07

    Solve, Solve, Solve

    reply
    0
  • 给我你的怀抱

    给我你的怀抱2017-07-05 10:43:07

    1. You can take a look at the effect of a carousel that pops up when you click it. I don't know if this is what you want.

    reply
    0
  • 高洛峰

    高洛峰2017-07-05 10:43:07

    The swiper plug-in has the function you want

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-07-05 10:43:07

    Configuration parameters do not support percentage setting of width and height. You can first obtain the screen width through js and then set it

    reply
    0
  • Cancelreply