uni-app Pit Record

1. uni-app Pit recorded

1.1 Introduction

  1. uni-app pit next step on the practice record here

1.2. Pit

1.2.1. Triggering event @longTapand@longpress

Both have said long press the trigger event, then the two so what difference does it make?

After practice, found in micro-channel and h5 end only longpress from the results, in Alipay applet end only longTap from effect, beginning to do with the longpress, results of pit Alipay, both also with distinction compiled separately to write two sets of code

I can not think long official press event of different environments into one do? There are still technical problems

1.2.2. Triggering event@tap

  1. Even @taptouch event also pits, micro-channel and h5 no problems, Alipay to a small program, it may tap on the failure
  2. I was rewritten by @tap.native=""successfully triggered the event, which means that there are other inexplicable events prevent native events

Guess you like

Origin www.cnblogs.com/sky-chen/p/11084695.html