Commit c999ec35 authored by 张九刚's avatar 张九刚

删除 mock 数据文件,包括 brand.js、brandtest.js 和 home.js,优化产品页面的分享图片逻辑,确保分享图片路径正确处理

parent 2b3396de
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
export const homeObj = { {
"voiceStory":{ "voiceStory":{
"link":{ "link":{
"type": 3, "type": 3,
...@@ -31,7 +31,7 @@ export const homeObj = { ...@@ -31,7 +31,7 @@ export const homeObj = {
"url": "homepage/banner3.jpg", "url": "homepage/banner3.jpg",
"link": { "link": {
"type": 2, "type": 2,
"url": "subPackages/xmhMainProcess/member/index?entrySource=xmh_wechatmp_points_recgoodsbot", "url": "subPackages/shopMainList/topicNew/index?id=1000898",
"extra": {"appId": "wx4205ec55b793245e", "envVersion": "release"} "extra": {"appId": "wx4205ec55b793245e", "envVersion": "release"}
} }
} }
......
...@@ -43,7 +43,12 @@ export default { ...@@ -43,7 +43,12 @@ export default {
this.contentImg = contentImg; this.contentImg = contentImg;
this.contentImgLen = contentImgLen; this.contentImgLen = contentImgLen;
this.shareTitle = shareTitle; this.shareTitle = shareTitle;
this.shareImg = this.$baseUrl + shareImg; if(shareImg.indexOf('http') === -1){
this.shareImg = this.$baseUrl + shareImg;
}else{
this.shareImg = shareImg;
}
// this.shareImg = "https://yun.duiba.com//fh/"+shareImg; // this.shareImg = "https://yun.duiba.com//fh/"+shareImg;
......
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