Movie Ticket Mini Program PluginMovie Ticket CPS PluginMovie Ticket WeChat Mini Program Plugin

Jutwitter Alliance-Movie Ticket Plugin

1. Plug-in introduction

The plug-in supports users to purchase movie tickets from 10,000+ theaters across the country online, and users can enjoy a 20% discount on ticket purchases. The access party can enjoy about 15% (up to 40%) of ticket sales cash back, and the cash back is settled by the Jutui Ke Alliance .

2. Add plug-ins

First click Add Plugin at the top of the page

3. Import code

Before accessing the plug-in, you need to declare the plug-in to be used in your company's applet app.json, for example:

Code example:
{
  "plugins": {
    "jtkMovie": {
      "version": "1.0.4",
      "provider": "wx89752980e795bfde"
    }
  }
}

Introduce code parameter description:
jtkMovie: reference name, which can be customized. In the subsequent use of the plug-in, the reference name will be used to represent the plug-in.

version: Please fill in the latest version number of the plug-in, and check the latest version number under [Basic Information]-[Update Record] of the plug-in.

provider: plugin appid, please do not modify.

4. Use plug-ins (emphasis)

When you need to jump to the plugin page, use the plugin-private:// prefix in the url, such as plugin-private://plugin appid/PLUGIN_PAGE, such as:

Code example:
//跳转方式1:

<navigator hover-class="none" url="plugin-private://wx89752980e795bfde/pages/index/index?pub_id=26&channel=plugin">
     <button >跳转去插件页</button>
 </navigator>


//跳转方式2:

 wx.navigateTo({
    url: "plugin-private://wx89752980e795bfde/pages/index/index?pub_id=26&channel=plugin"
  });
Pass parameter description:

When importing a plug-in, dynamic parameters need to be passed in, so that the CPS revenue can be attributed to the access party (you).

parameter name Parameter Type required illustrate
pub_id int yes Jutuike Alliance id, please go to the Jutuike Alliance PC backend - [Development] page to view. https://pub.jutuike.com/development/develop
channel string no Used to distinguish orders from different sources (equivalent to the unique ID of the Mini Program user), the length does not exceed 30 characters, only letters or numbers are supported, letter + letter combination,
kefuApps string no The after-sales customer service applet appid in the plug-in, if not filled in, the host applet appid will be used by default.
kefuPath string no After-sales customer service in the plug-in jumps to the landing page.

Due to official restrictions, the plug-in does not support customer service components and web-view components, and the after-sales customer service entrance in the plug-in defaults to jumping to our small program to receive user after-sales problems, and supports the access party to customize the customer service jumping entrance.

Introducing the hit movie component

If the access-side applet needs to introduce popular movie components (example in the figure below) on the page, it can be implemented by referencing the plug-in custom component.

[External link picture transfer failed, the source site may have an anti-leeching mechanism, it is recommended to save the picture and upload it directly (img-ntOyZmfY-1668565036064)(./hot-movie.png)]

Import popular movie component code sample:

1、在需要引入组件的页面.json文件内添加引入组件声明

{
  "usingComponents": {
    "hot-movie": "plugin-private://wx89752980e795bfde/components/hot-movie/hot-movie?pub_id=26&channel=plugin"
  }
}

2、在需要引入组件的页面.wxml文件内要渲染显示组件的地方引入组件标签


<hot-movie title="热门电影" btnColor="#36a5ff" />

// ===组件参数说明====
// title: 组件名称,可自定义
// btnColor: 组件内按钮的颜色,可自定义
Order interface

https://www.jutuike.com/doc/37

common problem:

1. After the plug-in is introduced, the page style is disordered.

The project app.wxss style conflicts with the plug-in style. If you create a new project, it is recommended to delete the app.wxss style.

After-sales and suggestions:

If you have any access problems and suggestions, please contact the official customer service of Jutuike Alliance.

本文档由[聚推客联盟]提供,官方网址:https://www.jutuike.com

聚推客联盟是一家专业流量变现服务平台,为企业/个人流量主提供多生态流量变现服务,平台不断聚合生活多场景消费福利推广资源,资源涵盖吃、喝、玩、乐、购、出行六大消费场景、通过多场景营销提升用户体验、实现高效变现。
平台为用户提供多场景营销工具、小程序、公众号、CMS,所有CPS+CPA可推广资源均提供API接口、本着开放共赢原则、全面赋能营销生态、与合作伙伴共享蓝海。

Guess you like

Origin blog.csdn.net/jutuike/article/details/127879805