implement slide to pay
This commit is contained in:
parent
039712fa54
commit
777c2efc32
22 changed files with 659 additions and 50 deletions
38
www/views/includes/slideToAccept.html
Normal file
38
www/views/includes/slideToAccept.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<div class="slide__listener"
|
||||
ng-touchstart="onTouchstart($event);"
|
||||
ng-touchmove="onTouchmove($event);"
|
||||
ng-touchend="onTouchend($event);"
|
||||
ng-mousedown="onTouchstart($event);"
|
||||
ng-mousemove="onTouchmove($event);"
|
||||
ng-mouseup="onTouchend($event);"
|
||||
>
|
||||
<div
|
||||
class="slide__slider"
|
||||
ng-style="sliderStyle"
|
||||
>
|
||||
<div class="slide__slider__tip"></div>
|
||||
</div>
|
||||
<div
|
||||
class="slide__bitcoin"
|
||||
ng-style="bitcoinStyle"
|
||||
>
|
||||
<img src="img/icon-bitcoin-white.svg">
|
||||
</div>
|
||||
<div
|
||||
class="slide__button-text"
|
||||
ng-style="textStyle"
|
||||
>
|
||||
<ng-transclude></ng-transclude>
|
||||
</div>
|
||||
<div
|
||||
class="slide__status-text"
|
||||
ng-class="{enter: isSlidFully}"
|
||||
ng-hide="sendStatus === 'success'"
|
||||
>
|
||||
<img src="img/spinner.png">
|
||||
{{displaySendStatus}}
|
||||
</div>
|
||||
<div class="slide__arrow">
|
||||
<img src="img/icon-arrow-right.svg">
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue