zouling 4 ヶ月 前
コミット
ca4e89b083
3 ファイル変更13 行追加9 行削除
  1. 5 2
      pages/video/index.vue
  2. 1 0
      store/modules/user.js
  3. 7 7
      work/pages/clock/setwoek.nvue

+ 5 - 2
pages/video/index.vue

@@ -351,6 +351,9 @@
 		        mask: true,
 		        title: 'loading...'
 		    });
+			if(this.flvPlayer){
+				this.flvPlayer.flv_destroy();
+			}
 		    // 生成需要的video 组件
 		    // var player = document.getElementById('videoElement');
 		    var player = document.createElement('video');
@@ -384,7 +387,7 @@
 		        // }, 2000);
 		        this.player = player;
 		        this.flvPlayer.on(flvjs.Events.ERROR, (errorType, errorDetail, errorInfo) => {
-		            console.log('播放错误');
+		            console.log('播放错误',errorType,errorDetail,errorInfo);
 		            this.flv_destroy();
 		            
 		        });
@@ -582,7 +585,7 @@ page{background: #ffffff;}
 	.tablist{padding: 0 200rpx 8rpx 32rpx;
 		.tabs{font-weight: 500;font-size: 28rpx;color: #C2E2FC;position: relative;min-width: 156rpx;text-align: center;height: 56rpx;line-height: 56rpx;
 			&.act{font-weight: bold;color: #FFFFFF;
-				&::after{width: 34rpx;height: 8rpx;background: #FFFFFF;border-radius: 4rpx;position: absolute;left: 50%;margin-left: -16rpx;content: '';bottom:-8rpx;}
+				&::before{width: 34rpx;height: 8rpx;background: #FFFFFF;border-radius: 4rpx;position: absolute;left: 50%;margin-left: -16rpx;content: '';bottom:-8rpx;}
 			}
 		}
 	}

+ 1 - 0
store/modules/user.js

@@ -158,6 +158,7 @@ const user = {
           commit('SET_TOKEN', '')
           commit('SET_ROLES', [])
           commit('SET_PERMISSIONS', [])
+		  // uni.removeStorageSync('browse')
           removeToken()
           storage.clean()
           resolve()

+ 7 - 7
work/pages/clock/setwoek.nvue

@@ -495,10 +495,13 @@ var myAmapFun = new amapFile.AMapWX({
 	border-bottom: 2upx solid #f5f5f5;
 	padding: 4upx 12rpx;
 	background: #ffffff;
-}
-.addrSearch_item .wrap_name {
-	display: flex;
-	flex-direction: row !important;
+	.wrap_name {
+		display: flex;
+		flex-direction: row !important;
+	}
+	.wrap_addr {
+		margin-top: 2upx;
+	}
 }
 .wrap_text {
 	font-size: 30upx;
@@ -510,9 +513,6 @@ var myAmapFun = new amapFile.AMapWX({
 	color: #2797FF;
 	line-height: 40upx;
 }
-.addrSearch_item .wrap_addr {
-	margin-top: 2upx;
-}
 .wrap_addrs {
 	font-size: 26upx;
 	color: #999;