Commit d4d0df85f22e78a3f09bbd91e50420b3522b56e3
1 parent
f2660cf9
视频优化显示
Showing
2 changed files
with
9 additions
and
6 deletions
packageA/pages/goodsInfo/goodsInfo.js
@@ -776,9 +776,10 @@ Page({ | @@ -776,9 +776,10 @@ Page({ | ||
776 | 776 | ||
777 | // console.log('0xxxxx999999', t.data.data); | 777 | // console.log('0xxxxx999999', t.data.data); |
778 | //-----商品详情--- | 778 | //-----商品详情--- |
779 | - if(!t.data.data.serviceContent) t.data.data.serviceContent=" "; | ||
780 | - a.wxParse("content", "html", ut.format_content(t.data.data.serviceContent), ee, 6); | ||
781 | - e.wxParseAddFullImageUrl(ee, "content"); | 779 | + //if(!t.data.data.serviceContent) t.data.data.serviceContent=" "; |
780 | + //a.wxParse("content", "html", ut.format_content(t.data.data.serviceContent), ee, 6); | ||
781 | + //e.wxParseAddFullImageUrl(ee, "content"); | ||
782 | + getApp().deal_iframe(a,e,'content',t.data.data.serviceContent,ee); | ||
782 | 783 | ||
783 | //获取重表 | 784 | //获取重表 |
784 | getApp().promiseGet("/api/weshop/serviceItem/list",{ | 785 | getApp().promiseGet("/api/weshop/serviceItem/list",{ |
packageA/pages/serviceCard_pd/goodsInfo/goodsInfo.js
@@ -628,9 +628,11 @@ Page({ | @@ -628,9 +628,11 @@ Page({ | ||
628 | 628 | ||
629 | that.getTaohe(); | 629 | that.getTaohe(); |
630 | //-----商品详情--- | 630 | //-----商品详情--- |
631 | - if (!t.data.data.serviceContent) t.data.data.serviceContent = " "; | ||
632 | - a.wxParse("content", "html", ut.format_content(t.data.data.serviceContent), ee, 6); | ||
633 | - e.wxParseAddFullImageUrl(ee, "content"); | 631 | + //if (!t.data.data.serviceContent) t.data.data.serviceContent = " "; |
632 | + //a.wxParse("content", "html", ut.format_content(t.data.data.serviceContent), ee, 6); | ||
633 | + //e.wxParseAddFullImageUrl(ee, "content"); | ||
634 | + getApp().deal_iframe(a,e,'content',t.data.data.serviceContent,ee); | ||
635 | + | ||
634 | 636 | ||
635 | //获取重表 | 637 | //获取重表 |
636 | getApp().promiseGet("/api/weshop/serviceItem/list", { | 638 | getApp().promiseGet("/api/weshop/serviceItem/list", { |