Commit e53352a8 by 程智春

Merge branch 'nativehome_tst' of http://code.mayi888.com/chengmo/mayi-mp-shop into nativehome_tst

parents 96a6efc2 f373826a
......@@ -95,11 +95,12 @@ export default {
},
onShareAppMessage(res) {
let shareVal={};
let {shopCode} = app.globalData.shopInfo;
if (res.from === "button") {
console.log(res.target,'-----------78');
return new Promise((resolve,reject)=>{
shop.getShopInfo({ shopMixId: "antgood" }).then(res=>{
shop.getShopInfo({ shopMixId: shopCode }).then(res=>{
if(res.data.code ==200){
let {shopName} = res.data.data;
let logoUrl = app.DFSImg(res.data.data.logoUrl,500,400,0);
......
......@@ -36,7 +36,7 @@ const componentOptions = {
miniProgram: 0,
flag: false,
productId: "",
copyLink: "32132132"
copyLink: ""
},
// 数据监听器
observers: {},
......@@ -72,7 +72,7 @@ const componentOptions = {
copyText(e) {
let { text } = e.currentTarget.dataset;
let pagePath = getCurrentPages()[0].route;
// let copyVal = pagePath + text;
let copyVal = pagePath + text;
wx.setClipboardData({
data: copyVal,
success: function(res) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment