@kaiyinchem/ky-uniui 1.1.4 → 1.1.6

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.
@@ -54,14 +54,14 @@
54
54
  .pop-check {
55
55
  display: flex;
56
56
  align-items: center;
57
- height: 40rpx;
57
+ min-height: 40rpx;
58
58
  &.disabled {
59
59
  text {
60
60
  color: var(--color-gray);
61
61
  }
62
62
  }
63
63
  &.small {
64
- height: 34rpx;
64
+ min-height: 34rpx;
65
65
  .iconfont {
66
66
  font-size: 34rpx;
67
67
  }
@@ -70,7 +70,7 @@
70
70
  }
71
71
  }
72
72
  &.large {
73
- height: 60rpx;
73
+ min-height: 60rpx;
74
74
  .iconfont {
75
75
  font-size: 60rpx;
76
76
  }
@@ -0,0 +1,47 @@
1
+ <template>
2
+ <!--未登录遮罩-->
3
+ <view class="nologin-mask">
4
+ <view class="nologin-btn">
5
+ <slot></slot>
6
+ <text class="block ft-24 mb-12 gray-color">{{ msg }}</text>
7
+ <ky-btn size="mini" width="200rpx" round @click="$nav.push('Login')">去登录</ky-btn>
8
+ </view>
9
+ </view>
10
+ <!--end 未登录遮罩-->
11
+ </template>
12
+
13
+ <script>
14
+ export default {
15
+ props: {
16
+ msg: {
17
+ type: String,
18
+ default: ''
19
+ }
20
+ }
21
+ }
22
+ </script>
23
+
24
+ <style scoped lang="scss">
25
+ .nologin-mask {
26
+ position: fixed;
27
+ z-index: 2;
28
+ left: 0;
29
+ right: 0;
30
+ top: 0;
31
+ bottom: 0;
32
+ width: 100%;
33
+ height: 100%;
34
+ background: linear-gradient(to top, var(--color-white) 45%, rgba(var(--rgb-white), 0.25));
35
+ display: flex;
36
+ align-items: center;
37
+ justify-content: center;
38
+ .nologin-btn {
39
+ margin-top: 100rpx;
40
+ width: 480rpx;
41
+ display: flex;
42
+ align-items: center;
43
+ justify-content: center;
44
+ flex-direction: column;
45
+ }
46
+ }
47
+ </style>
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "locale"
10
10
  ],
11
11
  "description": "an uniapp ui",
12
- "version": "1.1.4",
12
+ "version": "1.1.6",
13
13
  "repository": {
14
14
  "type": "git",
15
15
  "url": "git+https://github.com/yezipi/ky-uniui.git"