|
@@ -6,6 +6,7 @@ import {
|
|
|
TestVerify
|
|
|
} from "../../utils/verify";
|
|
|
const _Verify = new TestVerify();
|
|
|
+var WxParse = require('../../wxParse/wxParse.js')
|
|
|
Page({
|
|
|
|
|
|
/**
|
|
@@ -67,9 +68,13 @@ Page({
|
|
|
isDisabled: true
|
|
|
})
|
|
|
} else {
|
|
|
- console.log("商户进入");
|
|
|
+ console.log("商户进入", options)
|
|
|
+ //解析富文本
|
|
|
+ var article = decodeURIComponent(options.fintroduction);
|
|
|
+ var that = this;
|
|
|
+ WxParse.wxParse('article', 'html', article, that, 5);
|
|
|
+ //处理数据
|
|
|
const data = JSON.parse(options.data);
|
|
|
- console.log(data)
|
|
|
this.returnData(data)
|
|
|
}
|
|
|
},
|
|
@@ -119,13 +124,12 @@ Page({
|
|
|
detail: data.saleprodclass
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
+ /* fintroduction: data.fintroduction, */
|
|
|
this.setData({
|
|
|
fbrand: data.fbrand,
|
|
|
saleprodclass: data.saleprodclass,
|
|
|
fcontact: data.fcontact,
|
|
|
fphonenumber: data.fphonenumber,
|
|
|
- fintroduction: data.fintroduction,
|
|
|
fagentname: data.fagentname,
|
|
|
faddress: data.faddress,
|
|
|
fdutyparagraph: data.fdutyparagraph,
|