jufubao-base 1.0.277-beta1 → 1.0.278

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.277-beta1",
3
+ "version": "1.0.278",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -71,9 +71,15 @@
71
71
  <view v-else class="no-image" :style="{borderColor: imageColor, borderRadius:imageRadius}">
72
72
  <xd-font-icon :color="imageColor" icon="iconwode_mian" size="90"></xd-font-icon>
73
73
  </view>
74
- <view v-if="logined && textType ==='N'" :style="[nickNameStyle]">{{userInfo|getName}}</view>
74
+ <view v-if="logined && textType ==='N'" :style="[nickNameStyle]" class="u_name">
75
+ {{userInfo|getName}}
76
+ <view v-for="(tag,i) in userInfo.user_tag" :key="i" class="user_tag">{{tag}}</view>
77
+ </view>
75
78
  <view class="vertical-user" v-if="logined && textType ==='Y'">
76
- <view :style="[nickNameStyle]">{{userInfo|getName}}</view>
79
+ <view :style="[nickNameStyle]" class="u_name">
80
+ {{userInfo|getName}}
81
+ <view v-for="(tag,i) in userInfo.user_tag" :key="i" class="user_tag">{{tag}}</view>
82
+ </view>
77
83
  <view v-if="rightContent && rightContent.type !== 'hidden'" class="logout" style="margin-top: 16rpx;"
78
84
  :style="[logoutBtnStyle]">
79
85
  <view v-if="rightContent && rightContent.type === 'logout'" class="right_cont_i"
@@ -542,6 +548,18 @@
542
548
  display: flex;
543
549
  align-items: center;
544
550
  flex: 1;
551
+ .u_name{
552
+ display: flex;
553
+ align-items: center;
554
+ }
555
+ .user_tag{
556
+ background-color: #fad7c6;
557
+ color: #a22b3d;
558
+ padding: 4rpx 10rpx;
559
+ border-radius: 12rpx;
560
+ font-size: 24rpx;
561
+ margin-left: 12rpx;
562
+ }
545
563
 
546
564
  &.vertical {
547
565
  width: 100%;