diff --git a/pagesInn/inn/farmerStore.vue b/pagesInn/inn/farmerStore.vue
index 9884f6f..8c1cb38 100644
--- a/pagesInn/inn/farmerStore.vue
+++ b/pagesInn/inn/farmerStore.vue
@@ -225,16 +225,33 @@
-
+
+
+ >
+
+
{
const playerCtx = uni.createVideoContext(player, this)
playerCtx.pause()
@@ -455,6 +474,7 @@ export default {
const coverCtx = uni.createVideoContext('coverVideo', this)
coverCtx.pause()
const playerId = 'video-item' + index
+ this.activeVideo = 'video-item' + index
if(this.videoPlayers.includes(playerId)) {
this.videoPlayers.forEach(player => {
if(player === playerId) return
@@ -616,6 +636,17 @@ export default {
padding: 0 20rpx 20rpx 20rpx;
.video {
padding: 20rpx 0 0 0;
+ position: relative;
+ .play-icon {
+ position: absolute;
+ top: 0;
+ left: 0;
+ bottom: 0;
+ right: 0;
+ margin: auto;
+ width: 80rpx;
+ height: 80rpx;
+ }
.video-item {
width: 100%;
height: 400rpx;