• This project
    • Loading...
  • Sign in

fe / yohobuywap-node · Files

Go to a project

GitLab

  • Go to group
  • Project
  • Activity
  • Files
  • Commits
  • Pipelines 0
  • Builds 0
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Members
  • Labels
  • Wiki
  • Forks
  • Network
  • Create a new issue
  • yohobuywap-node
  • public
  • js
  • product
  • limit.page.js
  • 限定商品详情页支持限定频道小程序二维码
    26fcdff3
    by 陈峰
    2018-08-02 13:56:11 +0800  
    Browse Directory »
limit.page.js 405 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
let shareAction = require('common/share');

$(function() {
    shareAction({
        title: $('#shareTitle').val(),
        link: $('#shareLink').val(),
        desc: $('#shareDesc').val(),
        imgUrl: $('#shareImg').val(),
    });
    setTimeout(() => {
        const $miniAppOpen = $('#mini-app-open');

        if ($miniAppOpen[0]) {
            $miniAppOpen[0].click();
        }
    }, 500);
});