eoss-mobiles 0.2.47 → 0.2.48

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/lib/picker.js CHANGED
@@ -2041,7 +2041,7 @@ module.exports = require("sm-crypto");
2041
2041
  // ESM COMPAT FLAG
2042
2042
  __webpack_require__.r(__webpack_exports__);
2043
2043
 
2044
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/picker/src/main.vue?vue&type=template&id=6b7f8129&
2044
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/picker/src/main.vue?vue&type=template&id=2868c157&
2045
2045
  var render = function () {
2046
2046
  var _vm = this
2047
2047
  var _h = _vm.$createElement
@@ -2313,7 +2313,7 @@ var staticRenderFns = []
2313
2313
  render._withStripped = true
2314
2314
 
2315
2315
 
2316
- // CONCATENATED MODULE: ./packages/picker/src/main.vue?vue&type=template&id=6b7f8129&
2316
+ // CONCATENATED MODULE: ./packages/picker/src/main.vue?vue&type=template&id=2868c157&
2317
2317
 
2318
2318
  // EXTERNAL MODULE: ./src/config/api.js
2319
2319
  var api = __webpack_require__(2);
@@ -2662,10 +2662,10 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
2662
2662
 
2663
2663
  methods: {
2664
2664
  handleClick: function handleClick(val) {
2665
- if (this.disabled || this.readonly) return;
2666
2665
  if (this.linkTag) {
2667
2666
  this.$emit('tagClick', val);
2668
2667
  } else {
2668
+ if (this.disabled || this.readonly) return;
2669
2669
  this.showPicker = true;
2670
2670
  }
2671
2671
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-mobiles",
3
- "version": "0.2.47",
3
+ "version": "0.2.48",
4
4
  "description": "eoss内部移动端业务组件",
5
5
  "main": "lib/eoss-mobile.common.js",
6
6
  "files": [
@@ -91,19 +91,18 @@
91
91
  </div>
92
92
  </transition-group>
93
93
  </draggable>
94
- <!-- <van-grid-item
94
+ <van-grid-item
95
95
  v-bind="item"
96
96
  v-for="(item, index) of newData"
97
97
  :key="index"
98
98
  :class="{ 'em-grid-ellipsis': textEllipsis }"
99
99
  :style="`width:${100 / columnNum}%;`"
100
- @mousedown.stop="onMouseDown(item)"
101
- @mouseup.stop="onMouseUp($event, item)"
100
+ @click.stop="goView($event, item)"
102
101
  v-show="newData && newData.length > 0 && !draggable"
103
- > -->
102
+ >
104
103
  <!-- @mousedown.stop="onMouseDown(item)"
105
104
  @mouseup.stop="onMouseUp($event, item)" -->
106
- <div
105
+ <!-- <div
107
106
  :style="`display: inline-block;width:${100 / columnNum}%`"
108
107
  class="van-grid-item"
109
108
  :class="{'border-none':!border}"
@@ -114,7 +113,7 @@
114
113
  >
115
114
  <div
116
115
  class="van-grid-item__content van-grid-item__content--center van-hairline"
117
- >
116
+ > -->
118
117
  <i
119
118
  class="van-icon van-grid-item__icon"
120
119
  :class="
@@ -183,9 +182,9 @@
183
182
  <div v-if="item.showMenu" class="em-grid-select-box">
184
183
  <van-icon size="30px" color="#fff" name="success" />
185
184
  </div>
186
- </div>
187
- </div>
188
- <!-- </van-grid-item> -->
185
+ <!-- </div>
186
+ </div> -->
187
+ </van-grid-item>
189
188
  <slot v-show="newData && newData.length == 0" />
190
189
  </van-grid>
191
190
  <em-popup style="width:80%;height:50%" v-if="show" v-model="show">
@@ -328,10 +328,10 @@ export default {
328
328
  },
329
329
  methods: {
330
330
  handleClick(val) {
331
- if (this.disabled || this.readonly) return;
332
331
  if (this.linkTag) {
333
332
  this.$emit('tagClick', val);
334
333
  } else {
334
+ if (this.disabled || this.readonly) return;
335
335
  this.showPicker = true;
336
336
  }
337
337
  },
package/src/index.js CHANGED
@@ -105,7 +105,7 @@ if (typeof window !== 'undefined' && window.Vue) {
105
105
  }
106
106
 
107
107
  export default {
108
- version: '0.2.47',
108
+ version: '0.2.48',
109
109
  install,
110
110
  Button,
111
111
  ButtonGroup,