运行起来
This commit is contained in:
parent
0fdb788983
commit
931594573e
|
|
@ -15,11 +15,11 @@ let openPlantGrass = '-openPlantGrass-'
|
||||||
|
|
||||||
// 网络接口修改此字符 小程序域名要求https
|
// 网络接口修改此字符 小程序域名要求https
|
||||||
// let httpApi = 'http://192.168.31.106:8324' //测试
|
// let httpApi = 'http://192.168.31.106:8324' //测试
|
||||||
let httpApi = 'https://mer1.crmeb.net/' //生产
|
let httpApi = 'https://bt.test.cdlfjy.com/' //生产
|
||||||
|
|
||||||
// 聊天接口修改此字符 小程序聊天要求wss 例如:wss://mer.crmeb.net
|
// 聊天接口修改此字符 小程序聊天要求wss 例如:wss://mer.crmeb.net
|
||||||
// let wsApi = 'ws://192.168.3.20:8324'
|
// let wsApi = 'ws://192.168.3.20:8324'
|
||||||
let wsApi = 'wss://mer1.crmeb.net'
|
let wsApi = 'wss://bt.test.cdlfjy.com'
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// 请求域名 格式: https://您的域名
|
// 请求域名 格式: https://您的域名
|
||||||
|
|
|
||||||
|
|
@ -158,7 +158,7 @@
|
||||||
"quickapp" : {},
|
"quickapp" : {},
|
||||||
/* 小程序特有相关 */
|
/* 小程序特有相关 */
|
||||||
"mp-weixin" : {
|
"mp-weixin" : {
|
||||||
"appid" : "wx5fb1cc8edb3f8baa",
|
"appid" : "wx10df35b8f8f07887",
|
||||||
"setting" : {
|
"setting" : {
|
||||||
"urlCheck" : false,
|
"urlCheck" : false,
|
||||||
"minified" : true,
|
"minified" : true,
|
||||||
|
|
|
||||||
14
pages.json
14
pages.json
|
|
@ -891,13 +891,13 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
,
|
// ,
|
||||||
"plugins": {
|
// "plugins": {
|
||||||
"live-player-plugin": {
|
// "live-player-plugin": {
|
||||||
"version": "1.3.2",
|
// "version": "1.3.2",
|
||||||
"provider": "wx2b03c6e691cd7370"
|
// "provider": "wx10df35b8f8f07887"
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"root": "pages/chat",
|
"root": "pages/chat",
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
<view class='flash-sale'>
|
<view class='flash-sale'>
|
||||||
<view class='list'>
|
<view class='list'>
|
||||||
<view v-for="(item,index) in broadcastList" :key='index' >
|
<view v-for="(item,index) in broadcastList" :key='index' >
|
||||||
<navigator hover-class="none" :url="((item.live_status == 103 && item.replay_status) || item.live_status === 101 || item.live_status === 102) ? 'plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=' + item.room_id : ''">
|
<navigator hover-class="none" :url="((item.live_status == 103 && item.replay_status) || item.live_status === 101 || item.live_status === 102) ? 'plugin-private://wx10df35b8f8f07887/pages/live-player-plugin?room_id=' + item.room_id : ''">
|
||||||
<view class='item acea-row row-between-wrapper'>
|
<view class='item acea-row row-between-wrapper'>
|
||||||
<view class="live-image">
|
<view class="live-image">
|
||||||
<img class="image" :src="item.share_img">
|
<img class="image" :src="item.share_img">
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
<view class="live-wrapper mores">
|
<view class="live-wrapper mores">
|
||||||
<scroll-view scroll-x="true" style="white-space: nowrap; display: flex">
|
<scroll-view scroll-x="true" style="white-space: nowrap; display: flex">
|
||||||
<view class="item" v-for="(item, index) in liveList" :key="index">
|
<view class="item" v-for="(item, index) in liveList" :key="index">
|
||||||
<navigator hover-class="none" :url="'plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=' + item.room_id">
|
<navigator hover-class="none" :url="'plugin-private://wx10df35b8f8f07887/pages/live-player-plugin?room_id=' + item.room_id">
|
||||||
<view
|
<view
|
||||||
class="live-top"
|
class="live-top"
|
||||||
:style="'background:' + (item.live_status == 101 ? playBg : item.live_status != 101 && item.live_status != 102 ? endBg : notBg) + ';'"
|
:style="'background:' + (item.live_status == 101 ? playBg : item.live_status != 101 && item.live_status != 102 ? endBg : notBg) + ';'"
|
||||||
|
|
@ -46,7 +46,7 @@
|
||||||
</block>
|
</block>
|
||||||
<block v-if="listStyle == 1">
|
<block v-if="listStyle == 1">
|
||||||
<view class="live-wrapper-a">
|
<view class="live-wrapper-a">
|
||||||
<navigator class="live-item-a" v-for="(item,index) in liveList" :key="index" :url="'plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=' + item.room_id" hover-class="none">
|
<navigator class="live-item-a" v-for="(item,index) in liveList" :key="index" :url="'plugin-private://wx10df35b8f8f07887/pages/live-player-plugin?room_id=' + item.room_id" hover-class="none">
|
||||||
<view class="img-box">
|
<view class="img-box">
|
||||||
<view class="label bgblue" v-if="item.live_status == 102">
|
<view class="label bgblue" v-if="item.live_status == 102">
|
||||||
<view class="txt">预告</view>
|
<view class="txt">预告</view>
|
||||||
|
|
@ -98,7 +98,7 @@
|
||||||
</block>
|
</block>
|
||||||
<block v-if="listStyle == 2">
|
<block v-if="listStyle == 2">
|
||||||
<view class="live-wrapper-b">
|
<view class="live-wrapper-b">
|
||||||
<navigator class="live-item-b" v-for="(item,index) in liveList" :key="index" :url="'plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=' + item.room_id" hover-class="none" :style="[{'box-shadow':`0px 1px 20px ${boxShadow}`}]">
|
<navigator class="live-item-b" v-for="(item,index) in liveList" :key="index" :url="'plugin-private://wx10df35b8f8f07887/pages/live-player-plugin?room_id=' + item.room_id" hover-class="none" :style="[{'box-shadow':`0px 1px 20px ${boxShadow}`}]">
|
||||||
<view class="img-box">
|
<view class="img-box">
|
||||||
<view class="label bgblue" v-if="item.live_status == 102">
|
<view class="label bgblue" v-if="item.live_status == 102">
|
||||||
<view class="txt">预告</view>
|
<view class="txt">预告</view>
|
||||||
|
|
@ -195,7 +195,7 @@
|
||||||
res.data.list.forEach(val => {
|
res.data.list.forEach(val => {
|
||||||
val.link =
|
val.link =
|
||||||
(val.live_status == 103 && val.replay_status) || val.live_status === 101 || val.live_status === 102
|
(val.live_status == 103 && val.replay_status) || val.live_status === 101 || val.live_status === 102
|
||||||
? 'plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=' + val.room_id
|
? 'plugin-private://wx10df35b8f8f07887/pages/live-player-plugin?room_id=' + val.room_id
|
||||||
: '';
|
: '';
|
||||||
});
|
});
|
||||||
that.$set(that,'liveList',res.data.list)
|
that.$set(that,'liveList',res.data.list)
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
},
|
},
|
||||||
"compileType": "miniprogram",
|
"compileType": "miniprogram",
|
||||||
"libVersion": "2.14.3",
|
"libVersion": "2.14.3",
|
||||||
"appid": "wx5fb1cc8edb3f8baa",
|
"appid": "wx10df35b8f8f07887",
|
||||||
"projectname": "crmeb_merchant_h5",
|
"projectname": "crmeb_merchant_h5",
|
||||||
"simulatorType": "wechat",
|
"simulatorType": "wechat",
|
||||||
"simulatorPluginLibVersion": {},
|
"simulatorPluginLibVersion": {},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue