提交 f74e7e3d 编写于 作者: guangjun.yang's avatar guangjun.yang

分享使用shareContent字段值

上级 ad693522
...@@ -208,13 +208,14 @@ export default { ...@@ -208,13 +208,14 @@ export default {
// goodsType= 3 and cardType = 3 职称考课程卡 // goodsType= 3 and cardType = 3 职称考课程卡
let sharePrice = goods.preferentialPrice || goods.costPrice; let sharePrice = goods.preferentialPrice || goods.costPrice;
let shareDesc = "¥" + (sharePrice / 100).toFixed(2); let shareDesc = "¥" + (sharePrice / 100).toFixed(2);
if(goods.goodsType == 2) { shareDesc += goods.shareContent || "";
shareDesc += "\n可申请5学分,自学资料性质,由医院录入!"; // if(goods.goodsType == 2) {
} else if(goods.goodsType == 3 && goods.cardType == 3) { // shareDesc += "\n可申请5学分,自学资料性质,由医院录入!";
shareDesc += "\n卫健委正规授权,在职医师专业解读,大量实用病例分析!"; // } else if(goods.goodsType == 3 && goods.cardType == 3) {
} else if(goods.goodsType == 3 && goods.cardType == 4) { // shareDesc += "\n卫健委正规授权,在职医师专业解读,大量实用病例分析!";
shareDesc += "\n仿真模拟,刷题助考更安心!"; // } else if(goods.goodsType == 3 && goods.cardType == 4) {
} // shareDesc += "\n仿真模拟,刷题助考更安心!";
// }
let shareUrl = getWebPageUrl( let shareUrl = getWebPageUrl(
`profexam/#/goods-detail?goodsId=${this.goods.id}` `profexam/#/goods-detail?goodsId=${this.goods.id}`
); );
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册