This commit is contained in:
闫世杰 2023-09-04 14:00:35 +08:00
parent 5794abf2c5
commit 1594b4321c
2 changed files with 235 additions and 229 deletions

View File

@ -18,9 +18,11 @@
}
}
],
"subPackages": [{
"subPackages": [
{
"root": "pagesA/",
"pages": [{
"pages": [
{
"path": "msg/msg",
"style": {
"enablePullDownRefresh": true,
@ -195,7 +197,8 @@
},
{
"root": "pagesB/",
"pages": [{
"pages": [
{
"path": "ArtRace/ArtRace",
"style": {
"navigationBarTitleText": "文艺比赛",
@ -673,18 +676,16 @@
"usingComponents": {
"player-component": "plugin://player/video"
}
}
}
// 线-
// {
// "path": "xskz/details",
// "style": {
// "navigationBarTitleText": "线上看展-详情",
// "enablePullDownRefresh": false
// // "usingComponents": {
// // "player-component": "plugin://player/video"
// // }
// "enablePullDownRefresh": false,
// "usingComponents": {
// "player-component": "plugin://player/video"
// }
// }
// }
]

View File

@ -3,12 +3,12 @@
<view class="forms">
<view class="teamBox" v-for="item in list" :key="item.id">
<view class="teamBox-top" v-if="item.type == 'locality'">
<video id="myVideo" :src="item.file" @error="videoErrorCallback"
style="width: 750rpx;height: 500rpx;" controls></video>
<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>
<player-component :autoplay="false" :enablePlayGesture="true" :vid="item.linkPath"></player-component>
</view>
<view class="teamBox-bottom">
<view class="interactive">
@ -19,7 +19,8 @@
<image src="../../static/workDetail/heart2.png" class="bot_img" v-if="item.isGreat"
@click="clickHeart()">
</image>
<image src="../../static/workDetail/heart1.png" class="bot_img" v-else @click="clickHeart(item.isGreat,item.id)">
<image src="../../static/workDetail/heart1.png" class="bot_img" v-else
@click="clickHeart(item.isGreat, item.id)">
</image>
<view class="title" @click="clickHeart(item.isGreat, item.id)">
{{ item.likes }}
@ -28,7 +29,8 @@
<view class="interactive">
<image src="../../static/workDetail/star2.png" class="bot_img" v-if="item.isColl"
@click="clickStar()"></image>
<image src="../../static/workDetail/star1.png" class="bot_img" v-else @click="clickStar(item.isColl,item.id)">
<image src="../../static/workDetail/star1.png" class="bot_img" v-else
@click="clickStar(item.isColl, item.id)">
</image>
<view class="title" @click="clickStar(item.isColl, item.id)">
{{ item.collections }}
@ -56,7 +58,10 @@
// this.getData();
this.get();
},
mounted() {},
mounted() {
const store = requirePlugin('player')
console.log(store);
},
methods: {
toTab(val) {
this.tabC = val;