From b264304ef873a133241fa5b897b97fc982862fa8 Mon Sep 17 00:00:00 2001 From: jiazhipeng Date: Wed, 11 Dec 2024 17:58:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/base.css | 2 +- static/js/request.js | 2 +- subPackages/search/searchList.vue | 2 +- subPackages/user/profile.vue | 13 ++++++++----- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/static/css/base.css b/static/css/base.css index dd1dc8b..9bdcd64 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -48,7 +48,7 @@ view { /*单行隐藏*/ .text-overflow { overflow-x: hidden; - overflow-y: inherit; + overflow-y: hidden; text-overflow: ellipsis; white-space: nowrap; } diff --git a/static/js/request.js b/static/js/request.js index 051d46e..6585c0f 100644 --- a/static/js/request.js +++ b/static/js/request.js @@ -10,7 +10,7 @@ Vue.prototype.NEWAPIURL = NEWAPIURL Vue.prototype.Post = (params, apiurl) => { if (uni.getStorageSync('userInfo') && JSON.parse(uni.getStorageSync('userInfo')).token) params.token = JSON.parse(uni.getStorageSync('userInfo')).token else if (store.state.user.userInfo.token) params.token = store.state.user.userInfo.token - params.token = '84bf42c7-e4b9-48b7-976e-2dddcc596d39' + // params.token = '84bf42c7-e4b9-48b7-976e-2dddcc596d39' return new Promise((resolve, reject) => { uni.showLoading({ title: '加载中' diff --git a/subPackages/search/searchList.vue b/subPackages/search/searchList.vue index 1913b62..cbe9d34 100644 --- a/subPackages/search/searchList.vue +++ b/subPackages/search/searchList.vue @@ -23,7 +23,7 @@ {{item.guide_data.group_data.name}} - {{item.guide_data.duration}} | + 从业{{item.guide_data.duration}}年 | {{item.guide_data.lingo_data.name}} diff --git a/subPackages/user/profile.vue b/subPackages/user/profile.vue index 2bd2a9f..8360012 100644 --- a/subPackages/user/profile.vue +++ b/subPackages/user/profile.vue @@ -1,6 +1,6 @@