From 33d0a5e814c93a08f7566ff8ecd3925a778b2f8a Mon Sep 17 00:00:00 2001
From: zhaofang <752743406@qq.com>
Date: Fri, 25 Nov 2022 16:04:54 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
components/interact-bar/interact-bar.vue | 2 -
pages/resource/qaDetail.vue | 8 +-
pages/study/courseStudy.vue | 93 +++++++++++++++++++++---
3 files changed, 87 insertions(+), 16 deletions(-)
diff --git a/components/interact-bar/interact-bar.vue b/components/interact-bar/interact-bar.vue
index dfb7881..877272a 100644
--- a/components/interact-bar/interact-bar.vue
+++ b/components/interact-bar/interact-bar.vue
@@ -86,14 +86,12 @@
},
watch:{
data(newVal,oldVal){
- console.log(newVal,'newVal')
if(newVal && newVal.id!=''){
this.checkHas();
}
}
},
mounted() {
- console.log(location.href.split('=')[1],'location.href,')
this.checkHas();
this.urlId = location.href.split('=')[1]
// this.loadUser();
diff --git a/pages/resource/qaDetail.vue b/pages/resource/qaDetail.vue
index 50c23ed..8309c05 100644
--- a/pages/resource/qaDetail.vue
+++ b/pages/resource/qaDetail.vue
@@ -121,14 +121,14 @@
回复
-
+
diff --git a/pages/study/courseStudy.vue b/pages/study/courseStudy.vue
index f3c3d2f..9b947fd 100644
--- a/pages/study/courseStudy.vue
+++ b/pages/study/courseStudy.vue
@@ -107,6 +107,22 @@
简介
评论
+
+
+
+
+
+
+ 赞
+
+
+
+
+
+ 踩
+
+
+
@@ -267,7 +283,7 @@
-
+
@@ -1483,16 +1499,36 @@
.comments-top{
display: none;
}
+
+
}
- /deep/ .interact-bar{
- // padding-left: 0;
- }
- /deep/ .field{
- width: 448upx;
- }
- /deep/ .field-right{
- margin-right: 60upx;
- }
+ /deep/ .interact-fixed {
+ .interact-bar{
+ padding-right: 40upx;
+ }
+ }
+ /deep/ .interact-bar{
+ padding-left: 0 !important;
+
+ }
+ /deep/ .field-right{
+ width: 0 !important;
+ }
+ /deep/ .interact-bar-item{
+ width: 100% !important;
+ .field{
+ width: 100% !important;
+ }
+ }
+ // /deep/ .interact-bar{
+ // // padding-left: 0;
+ // }
+ // /deep/ .field{
+ // width: 448upx;
+ // }
+ // /deep/ .field-right{
+ // margin-right: 60upx;
+ // }
}
body{
background-color: #fff;
@@ -1542,6 +1578,7 @@
display: flex;
border-bottom:1px solid rgba(153,153,153,0.14);
font-size: 28upx;
+ position: relative;
.tabrow-active{
font-size: 32upx;
color: #387DF7;
@@ -1554,6 +1591,42 @@
padding-bottom: 10upx;
}
}
+ .player-box-tabrow{
+ position: absolute;
+ top: -20px;
+ right:-20px;
+ // left: 184px;
+ // width: 200px;
+ // left: 50%;
+ // top: 50%;
+ // transform: translate(-50%, -50%);
+ // height: 147px;
+ // background:#a9abb3;
+ // opacity: 0.8;
+ // border-radius: 33px;
+ // text-align: center;
+ padding: 20px;
+ box-sizing: border-box;
+ image{
+ width: 20px;
+ height: 20px;
+ vertical-align: middle;
+ margin-right: 4px;
+ // margin: 0px 10px;
+ }
+ .player-praise{
+ margin-top: 5px;
+ display: flex;
+ // justify-items: center;
+ justify-content: center;
+ }
+ .player-rate{
+ margin-top: 20px;
+ text-align: center;
+ display: flex;
+ justify-content: center;
+ }
+ }
}
.cinfo{
.cinfo-title{