zhaoxw 4 éve
szülő
commit
5a621c4da3
2 módosított fájl, 10 hozzáadás és 8 törlés
  1. 6 4
      jhlive/jhlive.nvue
  2. 4 4
      pagesGood/liveDetail.nvue

+ 6 - 4
jhlive/jhlive.nvue

@@ -7,7 +7,7 @@
 			<image class="top_left_box_img" :src="avatar"></image>
 			<view class="top_left_box_text">
 				<text class="top_left_box_text1">{{title}}</text>
-				<text class="top_left_box_text2">{{subtitle}}</text>
+				<text class="top_left_box_text2">{{subtitle}}人观看</text>
 			</view>
 		</view>
 
@@ -90,7 +90,7 @@
 				type: Boolean
 			}, // 是否开启美颜
 			btns:{
-				default: false,
+				// default: [{picture:"../static/images/loginLogo.png",,title:''}],
 				type: Array
 			}, // 按钮数组
 		},
@@ -203,17 +203,18 @@
 	}
 
 	.top_left_box {
+		width: 300rpx;
 		left: 0;
 		top: 0;
 		margin-left: 10px;
 		margin-top: 10px;
 		position: absolute;
 		z-index: 100;
-		background-color: rgba(0, 0, 0, 0.4);
+		background-color: rgba(115, 111, 117, 0.4);
 		border-radius: 1000px;
 		display: flex;
 		flex-direction: row;
-		padding: 10px;
+		padding: 5px;
 	}
 
 	.top_left_box_img {
@@ -231,6 +232,7 @@
 	.top_left_box_text1 {
 		font-size: 28rpx;
 		color: white;
+		margin-bottom: 5px;
 	}
 
 	.top_left_box_text2 {

+ 4 - 4
pagesGood/liveDetail.nvue

@@ -121,10 +121,10 @@
 		},
 		onReady() {
 			this.isAuthor = false;
-			// this.linkMic = true;
-			// this.userId = "123";
-			// this.name = 'test';
-			// this.roomId = '1';
+			this.linkMic = true;
+			this.userId = "123";
+			this.name = 'test';
+			this.roomId = '1';
 			this.$nextTick(() => this.enterRoom());
 			return;