This commit is contained in:
lnn19986213 2023-09-01 19:16:24 +08:00
parent 03005b7e0b
commit 5794abf2c5
3 changed files with 16 additions and 6 deletions

View File

@ -660,7 +660,8 @@
"path": "xxgl/index",
"style": {
"navigationBarTitleText": "下乡管理",
"enablePullDownRefresh": false
"enablePullDownRefresh": true,
"onReachBottomDistance": 20
}
},
// 线
@ -668,7 +669,11 @@
"path": "xskz/index",
"style": {
"navigationBarTitleText": "线上看展",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"usingComponents": {
"player-component": "plugin://player/video"
}
}
}
// 线-

View File

@ -2,9 +2,13 @@
<view class="wyxx">
<view class="forms">
<view class="teamBox" v-for="item in list" :key="item.id">
<view class="teamBox-top">
<view class="teamBox-top" v-if="item.type == 'locality'">
<video id="myVideo" :src="item.file" @error="videoErrorCallback"
style="width: 750rpx;height: 500rpx;" controls></video>
<!-- <player-component vid="p0743x9grjv"></player-component> -->
</view>
<view class="teamBox-top" v-else-if="item.type == 'tencent'">
<player-component :vid="item.linkPath"></player-component>
</view>
<view class="teamBox-bottom">
<view class="interactive">
@ -202,7 +206,8 @@
}
.forms {
margin: 40rpx auto 0rpx;
margin: 0 auto 0rpx;
padding-top: 40rpx;
.teamBox {
.teamBox-top {

View File

@ -5,10 +5,10 @@
export default {
config: {
// baseUrl: "http://192.168.1.31:8080/h5/api", //俞燕红-小程序不能配跨域
baseUrl: "http://192.168.1.20:8080/h5/api", //俞燕红-小程序不能配跨域
// baseUrl: "/pre", //俞燕红-跨域
// baseUrl: "https://yxx.ydool.net/h5/api", //线上
baseUrl: "/h5/api", //h5
// baseUrl: "/h5/api", //h5
header: {
'Content-Type': 'application/json;charset=UTF-8',
// 'Content-Type':'application/x-www-form-urlencoded'