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

分享使用shareContent字段值

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