Home > Daily Programming > HTML Knowledge > How to use the App promotion download component in Mip

How to use the App promotion download component in Mip

藏色散人
Release: 2018-11-05 16:43:59
Original
5721 people have browsed it

This article mainly introduces to you the App promotion download component in MIP (mip-appdl App download).

MIP is a mobile web accelerator, and App is simply a mobile software, a third-party application for smartphones. So App downloads can be divided into Android and iOS. I believe everyone is familiar with the concept of app.

It is recommended to refer to the detailed mip manual: "

MIP Documentation Manual"

Below we give you examples of components with

picture styles Detailed introduction to the use of App promotion components in MIP (mip-appdl App download).

The code of the App promotion download component with graphic style is as follows:

<mip-appdl 
    tpl="imageText" 
    src="http://ms0.meituan.net/touch/css/i/logo.png" 
    texttip= "[&#39;积分能当钱花了&#39;,&#39;下载百度浏览器&#39;,&#39;下载百度浏览器&#39;]" 
    downbtntext="立即使用" 
    Other-downsrc="http://sqdd.myapp.com/myapp/qqteam/AndroidQQ/mobileqq_android.apk"
    Android-downsrc="http://sqdd.myapp.com/myapp/qqteam/AndroidQQ/mobileqq_android.apk" 
    Ios-downsrc="itms-apps://itunes.apple.com/app/id452186370" postiontye="fixed">
</mip-appdl>
Copy after login

Then we copy this code directly into the body tag of mip1.html.

Note, you also need to introduce the following js script into the body.

<script src="https://c.mipcdn.com/static/v1/mip-appdl/mip-appdl.js"> </script>
Copy after login

Finally, we can access it through the browser. The test effect is as shown below:

How to use the App promotion download component in Mip

Here we can click to use it immediately and download it. The Android installation package is as shown below Show.

How to use the App promotion download component in Mip

Of course we can test it in the ios environment.

How to use the App promotion download component in Mip

#Click to download the effect as shown in the picture below, which is the download address of the Apple App Store.


How to use the App promotion download component in Mip

Important attributes in the App promotion download componentIntroduction:

Android-downsrc: Representation Android download pathUsage restrictions: direct download needs to pass the apk direct download path, otherwise the download page path can be passed. If the corresponding system does not have a download link, the default link will be displayed

Ios-downsrc: Indicates the iOS download pathUsage restrictions: You must fill in the appStore download path (such as: itms-apps://itunes.apple.com/app/id452186370) or the download page path. If the corresponding system does not have a download link, the default link will be displayed

Other-downsrc: Download path for other devices Usage restrictions: If the corresponding system does not have a download link, the default link will be displayed

This article is about App promotion in MIP The basic usage introduction of the download component is also very simple and easy to understand. I hope it will be helpful to friends who need it!


The above is the detailed content of How to use the App promotion download component in Mip. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template