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

View File

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