Share the source code of the imitation Travel APP (fast APP development is so simple)

Source: Internet
Author: User
We provide various official and user-released code examples and code reference. You are welcome to exchange and learn the development of Hybrid App. Recently, an apicloud development platform is very attractive and I have been paying attention to it, after carefully studying the api documentation of apicloud, we found that the APIs on the client are rich enough to meet the needs of most apps. The method is well-known and easy to call asynchronously. As a result, I thought about something to write. I just found an app on my mobile phone and I decided to use it. (Will touniu come to me for help ~~), Prepare to imitate a trainer. I will not talk much about it. I will go to the end first, and there will be a picture of the truth.
I will give a rough talk about my ideas about how to develop tuniu,
1. Open the application and you can see that the homepage is a slide layout. apicloud provides ready-made APIs. (Opensshortlayout ())
2. There are many buttons on the slide fiexd page. Click analysis to find that only three different pages (mian, user, toursList) will be opened ), because the three pages are opened in the same window (slider), I thought of using the window Group Module frameGroup (openFrameGroup), because the headers of the three pages are different, therefore, you need to write three different headers on the slider page. A problem occurs here. The header on the toursList page is a little higher than the remaining two. by viewing the frameGroup api, we can find that the Y axis height of the window group can only be set in a unified manner, you cannot set the Y axis for each frame. You can only write the extra part in a single frame (toursList_tab). Therefore, I opened two frames (toursList_tab, toursList-con) on the toursList page ).
3. Some other pages are opened by openframe and openWin, so we will not introduce them too much.
Finally, let's talk about my usage experience. Using apicloud to develop applications is really a modular application that provides us with a lot of native modules, this allows us to create an application comparable to that of native just by focusing on html, css, and js. Is it another spring for a massive front-end attacker!


Source Code address: http://community.apicloud.com/bbs/forum.php? Mod = viewthread & tid = 444 & extra = page % 3D1


APICloud latest O2O source code + Tutorial: Teach you to develop mobile apps in five steps
Http://www.thinkphp1.cn/code/812.html

Imitation Sohu video source code (teach you fast development of mobile APP) http://www.thinkphp1.cn/code/831.html

Http://www.thinkphp1.cn/code/840.html (scan qr code experience)

AD: truly free, domain name + VM + enterprise mailbox = 0 RMB

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.