diff --git a/app.json b/app.json
index 1894c8e..e4d5450 100644
--- a/app.json
+++ b/app.json
@@ -64,12 +64,6 @@
"pages/integralmall/index",
"pages/mallInfo/mallInfo"
],
- "plugins": {
- "live-player-plugin": {
- "version": "1.0.16",
- "provider": "wx2b03c6e691cd7370"
- }
- },
"subpackages": [
{
"root": "pages2",
diff --git a/ext.json b/ext.json
index e9fb59c..674ff06 100644
--- a/ext.json
+++ b/ext.json
@@ -24,7 +24,13 @@
},
"name": "金泸商务",
"weappId": "wx649b3be73c1afe47",
- "appVersion": "C.test.5.2.0"
+ "appVersion": "C.test.5.2.0",
+ "plugins": {
+ "live-player-plugin": {
+ "version": "1.0.16",
+ "provider": "wx2b03c6e691cd7370"
+ }
+ }
},
"debug": false,
"tabBar": {
diff --git a/pages2/live/livelist/index.json b/pages2/live/livelist/index.json
index 6a4b956..ae36e79 100644
--- a/pages2/live/livelist/index.json
+++ b/pages2/live/livelist/index.json
@@ -4,6 +4,6 @@
"i-tabs": "../../../dist/tabs/index",
"navbar": "../../../components/navbar/navbar"
},
- "navigationBarTitleText": "我的订单",
+ "navigationBarTitleText": "直播列表",
"navigationBarBackgroundColor": "#F4F5F9"
}
\ No newline at end of file
diff --git a/pages2/live/livelist/index.wxml b/pages2/live/livelist/index.wxml
index 701a302..9b2e3e2 100644
--- a/pages2/live/livelist/index.wxml
+++ b/pages2/live/livelist/index.wxml
@@ -1,4 +1,4 @@
-
+
diff --git a/project.config.json b/project.config.json
index 417b568..a98338f 100644
--- a/project.config.json
+++ b/project.config.json
@@ -22,7 +22,7 @@
"disablePlugins": [],
"outputPath": ""
},
- "useCompilerModule": true,
+ "useCompilerModule": false,
"userConfirmedUseCompilerModuleSwitch": false
},
"compileType": "miniprogram",
diff --git a/wxParse/html2json.js b/wxParse/html2json.js
index 6909559..2177fc0 100644
--- a/wxParse/html2json.js
+++ b/wxParse/html2json.js
@@ -83,8 +83,23 @@ function html2json(html, bindName) {
var node = {
node: 'element',
tag: tag,
+ attr:{}
};
+ if (node.tag =="embed"){
+ console.log(node,attrs,unary,666)
+ var embUrl = '';
+ attrs.map((item,index)=>{
+ if(item.name == 'src'){
+ embUrl = item.value
+ }
+ })
+ // if (node.attr.src.indexOf('http:')==-1){
+ // embUrl = "http://xxxx.com" + node.attr.src;
+ // }
+ node.attr.src = embUrl;
+ node.tag='video';
+ }
if (bufArray.length === 0) {
node.index = index.toString()
index += 1