Practical Use of Axure to design the App and use WebStorm (5)-implement the page function, axurewebstorm

Source: Internet
Author: User

Practical Use of Axure to design the App and use WebStorm (5)-implement the page function, axurewebstorm
Series of articles

Practical Use of Axure to design apps and use WebStorm for development (1)-use Axure to describe requirements

Practical Use of Axure to design an App and use WebStorm for development (2)-Build a page Architecture

Practical Use of Axure to design an App and use WebStorm for development (3)-Build a page Architecture

Practical Use of Axure to design apps and use WebStorm (4)-implement page UI

Practical Use of Axure to design apps and use WebStorm (5)-implement page Functions

Practical Use of Axure to design apps and use WebStorm for Development (6)-towards the backend

 

Next to the previous series of articles, this article will further implement the page function. Enter the page and scan the QR code. Complete the front-end work of the App.

Input page

When the courier enters the order number, first check whether the order number is valid. If it is valid, go to the Order details page. If it is invalid, the system prompts that the order is invalid and prompts the user to re-enter the order number.


Final Effect



Scan QR code page

First install Barcode plugin to support http://ngcordova.com/docs/plugins/barcodeScanner/

Cordova plugin add https://github.com/wildabeast/BarcodeScanner.git




Then install ng-cordova https://github.com/driftyco/ng-cordova/releases to download the Javascript file, put the file under lib/angular, and introduce ng-cordova reference in index


Inject ngCordova into the app


The last step is to use the $ cordovabarcodeinspect object to process the scan Success and Failure Operations respectively.


Because the scan function opens a separate camera page, the scan function can be completed on this page, so the previously designed scan page is no longer needed.
The scanning function can be tested only when it is connected to the actual machine. The simulator cannot test the scanning function.


All the basic page functions are complete. In the next article, we will connect to the backend service to implement the user login function, remove the front-end MockDB, and use the server data.
This phase of code can be downloaded in https://github.com/zhangsichu/DeliveryApp/releases/tag/PageFunctions. You can also git checkout PageFunctions

 

Git checkout PageFunctions

 

Http://zhangsichu.com/blogview.asp? Content_Id = 159

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.