diff --git a/App.vue b/App.vue index 34ad575..c644317 100644 --- a/App.vue +++ b/App.vue @@ -1,5 +1,7 @@ diff --git a/http/interface.js b/http/interface.js index 207a064..cfd0020 100644 --- a/http/interface.js +++ b/http/interface.js @@ -4,7 +4,7 @@ */ export default { config: { - baseUrl: "http://shop-test.szjixun.cn", + baseUrl: "https://shop.szjixun.cn", // baseUrl: "http://114.218.158.24:9022", header: { "Content-Type": "application/json;charset=UTF-8", diff --git a/pages/index/index.vue b/pages/index/index.vue index d4282b8..d5b36f7 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -145,6 +145,13 @@ page { .name { font-size: 16px; color: #000000; + // 超出一行显示省略号 + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 1; + -webkit-box-orient: vertical; + } .intro { font-size: 14px;