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里面怎么写

TAG标签: 微信小程序h5分享

http://www.xiaochengxub.com/read-104706.html