@10yun/cv-mobile-ui 0.5.15 → 0.5.16

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": "@10yun/cv-mobile-ui",
3
- "version": "0.5.15",
3
+ "version": "0.5.16",
4
4
  "description": "十云cvjs移动端ui,适用uniapp",
5
5
  "author": "10yun",
6
6
  "license": "Apache-2.0",
@@ -4,8 +4,9 @@
4
4
  <scroll-view
5
5
  class="cv-lists-base-data-scroll-box"
6
6
  scroll-y="true"
7
+ refresher-background="transparent"
8
+ :refresher-default-style="disableStyle && 'none'"
7
9
  :refresher-enabled="localTabLists[index] && localTabLists[index].enabled && disableEnabled === false"
8
- refresher-background="#eeeeee"
9
10
  :refresher-triggered="localTabLists[index] && localTabLists[index].triggered"
10
11
  @scrolltolower="onTolower(index)"
11
12
  @scrolltoupper="onToupper"
@@ -72,6 +73,10 @@ export default {
72
73
  return false;
73
74
  }
74
75
  },
76
+ disableStyle: {
77
+ type: Boolean,
78
+ default: false
79
+ },
75
80
  /* 监听更新数据通知 ,接收时间戳 */
76
81
  onUpdate: {
77
82
  type: Number,
@@ -59,12 +59,13 @@
59
59
  :disableTouch="disableTouch"
60
60
  >
61
61
  <swiper-item v-for="(item, index) in localTabLists" :key="index" :show-scrollbar="true">
62
- <!-- refresher-background="#eeeeee" -->
63
62
  <scroll-view
64
63
  class="cv-tab-lists-data-scroll-box"
65
64
  scroll-y="true"
65
+ refresher-background="transparent"
66
66
  :refresher-enabled="localTabLists[index].enabled && disableEnabled === false"
67
67
  :refresher-triggered="localTabLists[index].triggered"
68
+ :refresher-default-style="disableStyle && 'none'"
68
69
  @scrolltolower="onTolower(index)"
69
70
  @scrolltoupper="onToupper"
70
71
  @scroll="onScroll"
@@ -131,6 +132,10 @@ export default {
131
132
  return false;
132
133
  }
133
134
  },
135
+ disableStyle: {
136
+ type: Boolean,
137
+ default: false
138
+ },
134
139
  /* 监听更新数据通知 ,接收时间戳 */
135
140
  onUpdate: {
136
141
  type: Number,