@@ -64,12 +64,6 @@ | |||||
"pages/integralmall/index", | "pages/integralmall/index", | ||||
"pages/mallInfo/mallInfo" | "pages/mallInfo/mallInfo" | ||||
], | ], | ||||
"plugins": { | |||||
"live-player-plugin": { | |||||
"version": "1.0.16", | |||||
"provider": "wx2b03c6e691cd7370" | |||||
} | |||||
}, | |||||
"subpackages": [ | "subpackages": [ | ||||
{ | { | ||||
"root": "pages2", | "root": "pages2", | ||||
@@ -24,7 +24,13 @@ | |||||
}, | }, | ||||
"name": "金泸商务", | "name": "金泸商务", | ||||
"weappId": "wx649b3be73c1afe47", | "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, | "debug": false, | ||||
"tabBar": { | "tabBar": { | ||||
@@ -4,6 +4,6 @@ | |||||
"i-tabs": "../../../dist/tabs/index", | "i-tabs": "../../../dist/tabs/index", | ||||
"navbar": "../../../components/navbar/navbar" | "navbar": "../../../components/navbar/navbar" | ||||
}, | }, | ||||
"navigationBarTitleText": "我的订单", | |||||
"navigationBarTitleText": "直播列表", | |||||
"navigationBarBackgroundColor": "#F4F5F9" | "navigationBarBackgroundColor": "#F4F5F9" | ||||
} | } |
@@ -1,4 +1,4 @@ | |||||
<navbar home back text="我的订单" background="#fff"></navbar> | |||||
<navbar home back text="直播列表" background="#fff"></navbar> | |||||
<view class="market" style="padding-top:{{navigationBarHeight}}"> | <view class="market" style="padding-top:{{navigationBarHeight}}"> | ||||
<view style='padding-top:20rpx;'> | <view style='padding-top:20rpx;'> | ||||
<view wx:for='{{roomInfos}}' wx:if="{{roomInfos.length!=0}}" class='section' data-data="{{item}}" wx:key='{{item.roomid}}'> | <view wx:for='{{roomInfos}}' wx:if="{{roomInfos.length!=0}}" class='section' data-data="{{item}}" wx:key='{{item.roomid}}'> | ||||
@@ -22,7 +22,7 @@ | |||||
"disablePlugins": [], | "disablePlugins": [], | ||||
"outputPath": "" | "outputPath": "" | ||||
}, | }, | ||||
"useCompilerModule": true, | |||||
"useCompilerModule": false, | |||||
"userConfirmedUseCompilerModuleSwitch": false | "userConfirmedUseCompilerModuleSwitch": false | ||||
}, | }, | ||||
"compileType": "miniprogram", | "compileType": "miniprogram", | ||||
@@ -83,8 +83,23 @@ function html2json(html, bindName) { | |||||
var node = { | var node = { | ||||
node: 'element', | node: 'element', | ||||
tag: tag, | 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) { | if (bufArray.length === 0) { | ||||
node.index = index.toString() | node.index = index.toString() | ||||
index += 1 | index += 1 | ||||