search

Home  >  Q&A  >  body text

javascript - How to change the time format of countdown in vux?

The current time format is like this:

But I want the time format to change to:

How to convert time in format? It seems that it is not possible to write directly like this:

formate="%D*24+%H"
阿神阿神2861 days ago767

reply all(1)I'll reply

  • 阿神

    阿神2017-05-19 10:29:42

    <clocker :time="XXX" slot="value">
         <span style="color:orange">%H : %M : %S</span>
    </clocker>

    Absolutely like this

    reply
    0
  • Cancelreply