diff --git a/pages/my/myFavorites.vue b/pages/my/myFavorites.vue
index 4831ad3..562ad75 100644
--- a/pages/my/myFavorites.vue
+++ b/pages/my/myFavorites.vue
@@ -29,26 +29,19 @@
-
+
{{ item.authorName }}
-
+
收藏时间:{{ item.time }}
-
+ 取消收藏
-
@@ -61,9 +54,8 @@
收藏时间:{{ item.time }}
-
-
+ 取消收藏
@@ -73,18 +65,15 @@
- [已解决]
-
- [待解决]
+ 【已解决】
+
+ 【待解决】
-
-
-
+
-
最佳回答: {{ item.question.bestAnswer }}
-
-
收藏时间:{{ item.time }}
-
-
+
+ 取消收藏
-
@@ -402,12 +388,17 @@ export default {
top: 104upx;
}
.rowbtn{
- padding: 5px 8px 0px 8px;
- height: 20px;
- border-radius: 10upx;
+ image{
+ width: 36upx;
+ height: 36upx;
+ vertical-align: bottom;
+ }
}
.rowbtn-primary{
- background-color: #ebf3fe;
+ font-size: 24upx;
+ color: #999999;
+ font-weight: 400;
+ // background-color: #ebf3fe;
}
.item-box{
padding: 15px;
@@ -480,7 +471,7 @@ export default {
}
.top-tab {
height: 50px;
- // background: linear-gradient(to bottom, #6BA0FC, #6297FD);
+ background-color: #fff;
display: flex;
justify-content: space-between;
line-height: 60px;
@@ -562,11 +553,9 @@ export default {
}
.course_box {
- margin-top: 20upx;
- // margin-bottom: 10px;
+ margin-bottom: 20upx;
background-color: #ffffff;
- padding: 19upx 28upx;
-
+ padding: 28upx 28upx;
.course {
// display: flex;
// justify-content: flex-start;
@@ -645,17 +634,18 @@ export default {
}
.article_one {
- // padding-top: 10px;
- margin-top: 20rpx;
+ margin-bottom: 20rpx;
background-color: #ffffff;
padding: 19upx 28upx;
+ padding-top: 28upx;
.articla_tit {
line-height: 45rpx;
padding-bottom: 10rpx;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
- font-size: 30rpx;
+ font-size: 32upx;
+ color: #333333;
font-weight: bold;
}
@@ -669,8 +659,8 @@ export default {
}
.articla_text {
word-break:break-all;
- font-size: 28rpx;
- color: #454545;
+ font-size: 28upx;
+ color: #666;
display: -webkit-box;
text-overflow: ellipsis;
overflow: hidden;
@@ -688,23 +678,18 @@ export default {
}
.qa {
- padding: 19upx 30upx;
- padding-top: 0;
- margin-top: 20rpx;
- //padding: 10px;
+ padding: 28upx 30upx;
+ margin-bottom: 20rpx;
box-shadow: #f7f7f7 0px 6px 5px;
border-radius: 4px;
background: #ffffff;
- // margin-top: 10px;
.qa-header {
height: 26px;
line-height: 50rpx;
display: flex;
justify-content: space-between;
-
.qa-user {
display: flex;
-
img {
height: 25px;
width: 25px;
@@ -714,15 +699,22 @@ export default {
}
.qa-body {
- line-height: 40px;
+ font-weight: 500;
+ word-break:break-all;
+ width: 100%;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ -webkit-box-orient: vertical;
+ display: -webkit-box;
+ -webkit-line-clamp: 2;
overflow: hidden;
text-overflow: ellipsis;
- white-space: nowrap;
- font-size: 30rpx;
- font-weight: bold;
+ font-size: 32upx;
+ margin-bottom: 26upx;
}
.qa-bottom {
+ margin-top: 22upx;
word-break:break-all;
font-size: 14px;
color: #7f7f7f;
diff --git a/static/images/icon/favo.png b/static/images/icon/favo.png
new file mode 100644
index 0000000..6c40d2e
Binary files /dev/null and b/static/images/icon/favo.png differ