From 0c9b00f333f9baaffa9140fd1808a26e0af8416b Mon Sep 17 00:00:00 2001 From: zhangwei <1504152376@qq.com> Date: 星期四, 05 九月 2024 17:19:07 +0800 Subject: [PATCH] 一些错误更改 --- src/pages/enterprise/index.vue | 36 +++++++++++++++++++----------------- 1 files changed, 19 insertions(+), 17 deletions(-) diff --git a/src/pages/enterprise/index.vue b/src/pages/enterprise/index.vue index 8c24870..da4d818 100644 --- a/src/pages/enterprise/index.vue +++ b/src/pages/enterprise/index.vue @@ -1,34 +1,29 @@ <template> <view class=""> - <view class="content chuany-flex chuany-align-end chuany-justify-center"> - <up-avatar src="/static/avatar.jpg" shape="circle" size='80'></up-avatar> - </view> - <fui-list> - <fui-list-cell arrow> + <!-- <view class="content chuany-flex chuany-align-end chuany-justify-center"> + <up-avatar :src="avatarUrlImg" shape="circle" size='80'></up-avatar> + </view> --> + <fui-list :topBorder='false'> + <fui-list-cell arrow :bottomBorder='false' :padding="['20rpx', '32rpx', '20rpx', '32rpx']"> <view class="fui-list__item"> - <text>浼佷笟鍚嶇О</text> + <text class="chuany-font30">浼佷笟鍚嶇О</text> <text class="fui-text__explain">{{enterpriseInfo.suppliername}}</text> </view> </fui-list-cell> - <fui-list-cell arrow> + <fui-list-cell arrow :bottomBorder='false' :padding="['20rpx', '32rpx', '20rpx', '32rpx']"> <view class="fui-list__item"> - <text>浼佷笟娉ㄥ唽鍦板潃</text> + <text class="chuany-font30">浼佷笟鍦板潃</text> <text class="fui-text__explain address">{{enterpriseInfo.address}}</text> </view> </fui-list-cell> - <fui-list-cell arrow> + <fui-list-cell arrow :bottomBorder='false' :padding="['20rpx', '32rpx', '20rpx', '32rpx']"> <view class="fui-list__item"> - <text>鑱旂郴鐢佃瘽</text> + <text class="chuany-font30">鑱旂郴鐢佃瘽</text> <text class="fui-text__explain">{{enterpriseInfo.phone}}</text> </view> </fui-list-cell> - <up-collapse> - <up-collapse-item title="鍏徃绠�浠�" name="Numerous tools"> - <text class="u-collapse-content">{{enterpriseInfo.resume}}</text> - </up-collapse-item> - </up-collapse> - <fui-list-cell arrow @click="goApply"> - <text>瀹屽杽浼佷笟璧勬枡</text> + <fui-list-cell arrow @click="goApply" :bottomBorder='false' :padding="['20rpx', '32rpx', '20rpx', '32rpx']"> + <text class="chuany-font30">瀹屽杽浼佷笟璧勬枡</text> </fui-list-cell> </fui-list> </view> @@ -61,6 +56,13 @@ enterpriseInfo.resume = data.resume } }) + + let avatarUrlImg = ref('') + onLoad(() => { + // getUser() + let obj = $db.get('userInfo') ? JSON.parse($db.get('userInfo')) : {} + avatarUrlImg = obj.avatar + }) const enterpriseInfo = reactive({ id: 0, //鐢ㄦ埛鍏徃Id businessLicense: '', //钀ヤ笟鎵х収璺緞 -- Gitblit v1.9.1