zoukankan      html  css  js  c++  java
  • app内嵌h5分享到小程序分享功能

        if (this.GLOBAL.env !== 'production') {
              try {
                window.JSBridge.shareMiniProgramToWx('https://www.lexing360.com', 'gh_3169b34f2f0a', `/pages/demandDetail/demandDetail?searchId=${this.id}&buyer=${this.vid}`, `邀请您为准单报价【${this.shareCar(this.searchInfo.series, this.searchInfo.model)}, ${this.searchInfo.guidePrice / Math.pow(10, 6)}万, ${this.searchInfo.outsideColor}/${this.searchInfo.insideColor}】`, '', '', `https://static-image.lexing360.com/dianbao_share.jpg`, '', 2)
              } catch (err) {
                console.error(err)
              }
            } else {
              try {
                window.JSBridge.shareMiniProgramToWx('https://www.lexing360.com', 'gh_3169b34f2f0a', `/pages/demandDetail/demandDetail?searchId=${this.id}&buyer=${this.vid}`, `邀请您为准单报价【${this.shareCar(this.searchInfo.series, this.searchInfo.model)}, ${this.searchInfo.guidePrice / Math.pow(10, 6)}万, ${this.searchInfo.outsideColor}/${this.searchInfo.insideColor}】`, '', '', `https://static-image.lexing360.com/dianbao_share.jpg`, '')
              } catch (err) {
                console.error(err)
              }
            }
    

    主要是看原生app里面怎么写

  • 相关阅读:
    栈:删除最外层的括号 (Leetcode 1021 / 155 / 1172 / 剑指31 / 面试 03.03)
    JDBC: Druid连接池
    JDBC: C3P0
    JDBC: C3P0
    JDBC: C3P0连接池
    JDBC: DBCP连接池
    JDBC: 数据库连接池
    JDBC: JDBC 控制事务
    JDBC: 预处理对象
    wpf 键盘快捷键响应
  • 原文地址:https://www.cnblogs.com/antyhouse/p/11236354.html
Copyright © 2011-2022 走看看