stellar-ui-plus 1.22.1 → 1.22.2

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.
@@ -42,15 +42,15 @@ const cmpDataStyle = computed(() => {
42
42
  if (props.showUserInfo && props.showCode) {
43
43
  if (props.list.length == 1) {
44
44
  style['justify-content'] = 'center';
45
- style.margin = '0 0 0 54rpx';
45
+ style.margin = '0 0 0 24rpx';
46
46
  }
47
47
  if (props.list.length == 2) {
48
48
  style['justify-content'] = 'space-between';
49
- style.margin = '0 0 0 54rpx';
49
+ style.margin = '0 0 0 24rpx';
50
50
  }
51
51
  if (props.list.length == 3) {
52
52
  style['justify-content'] = 'space-between';
53
- style.margin = '0 0 0 24rpx';
53
+ style.margin = '0 0 0 12rpx';
54
54
  }
55
55
  }
56
56
  if (!props.showUserInfo && props.showCode) {
@@ -59,7 +59,7 @@ const cmpDataStyle = computed(() => {
59
59
  }
60
60
  if (props.showUserInfo && !props.showCode) {
61
61
  style['justify-content'] = 'space-between';
62
- style.margin = '0 0 0 54rpx';
62
+ style.margin = '0 0 0 24rpx';
63
63
  }
64
64
  if (!props.showUserInfo && !props.showCode) {
65
65
  style['justify-content'] = 'space-around';
@@ -159,6 +159,8 @@ function loginBtnClick() {
159
159
  .user-box {
160
160
  display: flex;
161
161
  flex-direction: row;
162
+ width: 280rpx;
163
+ align-items: center;
162
164
 
163
165
  .left {
164
166
  width: 92rpx;
@@ -167,6 +169,7 @@ function loginBtnClick() {
167
169
  border-radius: 50%;
168
170
  overflow: hidden;
169
171
  margin-right: 24rpx;
172
+ flex-shrink: 0;
170
173
  }
171
174
  .right {
172
175
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stellar-ui-plus",
3
- "version": "1.22.1",
3
+ "version": "1.22.2",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "MIT",