소스 검색

[直播列表标题修改]

livetest
刘晖 4 년 전
부모
커밋
453cfa9eb0
6개의 변경된 파일25개의 추가작업 그리고 10개의 파일을 삭제
  1. +0
    -6
      app.json
  2. +7
    -1
      ext.json
  3. +1
    -1
      pages2/live/livelist/index.json
  4. +1
    -1
      pages2/live/livelist/index.wxml
  5. +1
    -1
      project.config.json
  6. +15
    -0
      wxParse/html2json.js

+ 0
- 6
app.json 파일 보기

@@ -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",


+ 7
- 1
ext.json 파일 보기

@@ -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": {


+ 1
- 1
pages2/live/livelist/index.json 파일 보기

@@ -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
- 1
pages2/live/livelist/index.wxml 파일 보기

@@ -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}}'>


+ 1
- 1
project.config.json 파일 보기

@@ -22,7 +22,7 @@
"disablePlugins": [], "disablePlugins": [],
"outputPath": "" "outputPath": ""
}, },
"useCompilerModule": true,
"useCompilerModule": false,
"userConfirmedUseCompilerModuleSwitch": false "userConfirmedUseCompilerModuleSwitch": false
}, },
"compileType": "miniprogram", "compileType": "miniprogram",


+ 15
- 0
wxParse/html2json.js 파일 보기

@@ -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


불러오는 중...
취소
저장