|
|
@@ -144,35 +144,35 @@
|
|
|
}
|
|
|
|
|
|
function ewmBtn() {
|
|
|
- //imageDialogRef.value.handleShow();
|
|
|
+ imageDialogRef.value.handleShow();
|
|
|
|
|
|
- if (!plus.runtime.isApplicationExist({
|
|
|
- pname: 'com.tencent.mm'
|
|
|
- })) {
|
|
|
- uni.showToast({
|
|
|
- title: '请先安装微信',
|
|
|
- icon: 'none'
|
|
|
- });
|
|
|
- return;
|
|
|
- }
|
|
|
+ // if (!plus.runtime.isApplicationExist({
|
|
|
+ // pname: 'com.tencent.mm'
|
|
|
+ // })) {
|
|
|
+ // uni.showToast({
|
|
|
+ // title: '请先安装微信',
|
|
|
+ // icon: 'none'
|
|
|
+ // });
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
|
|
|
- // 分享到小程序 我想加个参数
|
|
|
- uni.share({
|
|
|
- provider: 'weixin',
|
|
|
- scene: "WXSceneSession",
|
|
|
- type: 5,
|
|
|
- imageUrl: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/share-logo@3.png',
|
|
|
- title: '欢迎体验uniapp12312',
|
|
|
- miniProgram: {
|
|
|
- id: 'gh_fa5889151e7d',
|
|
|
- path: 'pages/Login/clientIndex?from=appcx',
|
|
|
- type: 2,
|
|
|
- webUrl: 'http://uniapp.dcloud.io'
|
|
|
- },
|
|
|
- success: ret => {
|
|
|
- console.log(JSON.stringify(ret));
|
|
|
- }
|
|
|
- });
|
|
|
+ // // 分享到小程序 我想加个参数
|
|
|
+ // uni.share({
|
|
|
+ // provider: 'weixin',
|
|
|
+ // scene: "WXSceneSession",
|
|
|
+ // type: 5,
|
|
|
+ // imageUrl: 'https://qiniu-web-assets.dcloud.net.cn/unidoc/zh/share-logo@3.png',
|
|
|
+ // title: '欢迎体验uniapp12312',
|
|
|
+ // miniProgram: {
|
|
|
+ // id: 'gh_fa5889151e7d',
|
|
|
+ // path: 'pages/Login/clientIndex?from=appcx',
|
|
|
+ // type: 2,
|
|
|
+ // webUrl: 'http://uniapp.dcloud.io'
|
|
|
+ // },
|
|
|
+ // success: ret => {
|
|
|
+ // console.log(JSON.stringify(ret));
|
|
|
+ // }
|
|
|
+ // });
|
|
|
// // #ifdef APP-HARMONY
|
|
|
// uniShare(['https://img-cdn-aliyun.dcloud.net.cn/stream/icon/__UNI__HelloUniApp.png'])
|
|
|
// // #endif
|