| | |
| | | .info)).imgs.length > 0) { |
| | | this.info = JSON.parse(decodeURIComponent(opt.info)) |
| | | } else { |
| | | let data = JSON.parse(decodeURIComponent(opt.info)) |
| | | var data = JSON.parse(decodeURIComponent(opt.info)) |
| | | console.log(data); |
| | | data.imgs = [data.mainPic] |
| | | this.info = data |
| | | } |
| | |
| | | } |
| | | if (me.type == '3') { |
| | | url = '/TkTiktokProduct/GetTiktokProductShare' |
| | | let prourl=me.info.detailUrl?me.info.detailUrl:me.info.itemLink; |
| | | param = { |
| | | productUrl: me.info.detailUrl, |
| | | productUrl:prourl, |
| | | } |
| | | } else if (me.type == '2') { |
| | | url = '/TkJdProduct/GetTiktokProductShare' |
| | |
| | | } |
| | | } else if (me.type == '4') { |
| | | url = '/TkPddProduct/GetPddProductShare' |
| | | let goodssign=me.info.goodsSign?me.info.goodsSign:me.info.goods_sign |
| | | param = { |
| | | id: me.info.goodsSign, |
| | | id: goodssign, |
| | | } |
| | | } |
| | | this.requestx({ |
| | |
| | | } |
| | | }) |
| | | } else { |
| | | let txt = res.data.result.longTpwd ?? res.data.result.dyPassword |
| | | me.copyText = txt |
| | | me.copy(txt) |
| | | if(res.data) |
| | | { |
| | | let txt = res.data.result.longTpwd ?? res.data.result.dyPassword |
| | | me.copyText = txt |
| | | me.copy(txt) |
| | | } |
| | | else{ |
| | | let txt = res.result.longTpwd ?? res.result.dyPassword |
| | | me.copyText = txt |
| | | me.copy(txt) |
| | | } |
| | | } |
| | | |
| | | } |