diff --git a/src/utils/url.ts b/src/utils/url.ts index 3fbb1252ecccce850fcc0a6a6604e365933c0cd9..4f058dcb43c3a593fa005e1a396a02c015adf54d 100644 --- a/src/utils/url.ts +++ b/src/utils/url.ts @@ -1,3 +1,4 @@ // 获取环境变量中配置的URL地址 -export const BASE_URL = "http://localhost:3000/"; +// export const BASE_URL = 'http://123.57.181.60:3000/' +export const BASE_URL = 'http://127.0.0.1:3000/' // export const BASE_URL = "http://123.57.181.60:3000/"; diff --git a/src/views/home/My/my.vue b/src/views/home/My/my.vue index 69f747190c59a6874b4f9c6937857f5fca4c49bc..5bc3fc6ab375c1814373cf475635cd6f1b31bfd1 100644 --- a/src/views/home/My/my.vue +++ b/src/views/home/My/my.vue @@ -120,7 +120,7 @@ function getAge(birthday: string) { } .contenyBox { - width: 70vw; + width: 80vw; margin-top: 1vw; .header { @@ -130,14 +130,12 @@ function getAge(birthday: string) { .box { width: 100%; - .like, .item { display: inline-block; - width: 15vw; - height: 18vw; + width: 13vw; + height: 16vw; margin-right: 2vw; - img { width: 100%; height: 100%; @@ -145,18 +143,22 @@ function getAge(birthday: string) { } .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; } } }