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

Nov 05, 2018 pm 04:43 PM

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!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)