@@ -240,6 +240,7 @@
width: 100%;
height: 100%;
border-radius: 50%;
+ object-fit: cover;
}
@@ -290,10 +291,21 @@
.row-left {
display: flex;
align-items: center;
+ .row-index{
+ width: 18px;
+ }
+ .row-name{
+ overflow: hidden;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ max-width: 130px;
.row-avatar {
width: 7.6923vw;
height: 7.6923vw;
margin: 0 1.0256vw;
+ border-radius: 50%;
.row-right {
@@ -379,7 +379,7 @@
img {
// width: 10.2564vw;
height: 17.9487vw;
- object-fit: cover;
+ object-fit: contain;
margin-top: 2.5641vw;
@@ -1,4 +1,4 @@
-.content{
+.content {
.order {
width: 92.3077vw;
margin: 2.5641vw auto;
@@ -41,7 +41,7 @@
color: white;
.num {
- color: #fefcc9
+ color: #fefcc9;
.user-block {
font-size: 2.5641vw;
@@ -61,6 +61,7 @@
.avatar {
@@ -72,24 +73,24 @@
color: #fd4800;
- .user-detail2{
+ .user-detail2 {
background: #f9bc66;
height: 10.2564vw;
border-radius: 1.0256vw 0 0 1.0256vw;
- .user-detail1{
+ .user-detail1 {
background: #ffc36f;
height: 12.8205vw;
- border-radius: 1.0256vw 1.0256vw 0 0 ;
+ border-radius: 1.0256vw 1.0256vw 0 0;
box-shadow: rgba(17, 12, 46, 0.15) 0vw -3.8462vw 25.641vw 0vw;
- .user-detail3{
+ .user-detail3 {
background: #fdd7a2;
- border-radius: 0 1.0256vw 1.0256vw 0 ;
+ border-radius: 0 1.0256vw 1.0256vw 0;
@@ -112,10 +113,21 @@
+ .row-index {
+ .row-name {
@@ -134,18 +146,18 @@
- .title{
+ .title {
justify-content: space-between;
color: #7d7d7d;
font-size: 14px;
- .btns{
+ .btns {
- .btn{
+ .btn {
margin-left: 4px;
- .btn:hover{
+ .btn:hover {
color: #ec760c;
@@ -153,4 +165,4 @@
.user-name {
text-align: center;
-}
+}
@@ -226,7 +226,7 @@ export class AiChatService {
if (limit) {
where = `OFFSET ${skip ?? 0} LIMIT ${limit}`;
- let sql = `SELECT name,image,"gift",COUNT("gift")
+ let sql = `SELECT name,image,"gift",SUM("index") AS "count"
FROM "LoveRender"
WHERE "toUser" = '${uid}'
AND "isDeleted" IS NOT TRUE