From 295f15ada4f621c0724e96524557cb18a9e67181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=98=E6=96=87=E5=A7=9D?= <[15641272595]> Date: Fri, 19 Jan 2024 14:46:33 +0800 Subject: [PATCH] fws --- src/utils/url.ts | 3 ++- src/views/home/My/my.vue | 21 ++++++++++++--------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/utils/url.ts b/src/utils/url.ts index 0c3068d..7c540a9 100644 --- a/src/utils/url.ts +++ b/src/utils/url.ts @@ -1,2 +1,3 @@ // 获取环境变量中配置的URL地址 -export const BASE_URL = 'http://123.57.181.60:3000/' +// export const BASE_URL = 'http://123.57.181.60:3000/' +export const BASE_URL = 'http://127.0.0.1:3000/' diff --git a/src/views/home/My/my.vue b/src/views/home/My/my.vue index bed9da2..9fc82ea 100644 --- a/src/views/home/My/my.vue +++ b/src/views/home/My/my.vue @@ -123,7 +123,7 @@ function getAge(birthday) { } .contenyBox { - width: 70vw; + width: 80vw; margin-top: 1vw; .header { color: #808080; @@ -132,13 +132,12 @@ function getAge(birthday) { .box { width: 100%; - .like, + .item { display: inline-block; - width: 15vw; - height: 18vw; + width: 13vw; + height: 16vw; margin-right: 2vw; - img { width: 100%; height: 100%; @@ -146,18 +145,22 @@ function getAge(birthday) { } .lbox { - width: 15vw; - height: 15vw; - background: paleturquoise; + width: 13vw; + height: 13vw; border-radius: 0.5vw; } .lfont { - width: 15vw; + width: 13vw; height: 3vw; line-height: 3vw; color: #d1d1d1; font-size: 1.2vw; + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 1; + -webkit-box-orient: vertical; } } } -- Gitee