eoss-mobiles 0.2.39 → 0.2.41
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/eoss-mobile.common.js +11 -11
- package/lib/grid.js +5 -5
- package/lib/index.js +1 -1
- package/lib/theme-chalk/grid.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/package.json +1 -1
- package/packages/grid/src/main.vue +3 -3
- package/packages/theme-chalk/lib/grid.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/src/grid.scss +1 -0
- package/src/index.js +1 -1
package/package.json
CHANGED
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
</van-grid-item>
|
|
62
62
|
<slot v-show="newData && newData.length == 0" />
|
|
63
63
|
</van-grid>
|
|
64
|
-
<em-popup style="width:80%;height:
|
|
64
|
+
<em-popup style="width:80%;height:50%" v-if="show" v-model="show">
|
|
65
65
|
<div class="em-grid-popup">
|
|
66
66
|
<p class="em-grid-popup-label">添加菜单</p>
|
|
67
67
|
<em-grid
|
|
@@ -258,7 +258,7 @@ export default {
|
|
|
258
258
|
const tapLength = currentTime - this.lastTapTime;
|
|
259
259
|
this.lastTapTime = currentTime;
|
|
260
260
|
if (this.isHideMenu) {
|
|
261
|
-
if (tapLength <
|
|
261
|
+
if (tapLength < 300) {
|
|
262
262
|
this.handleDoubleClick(val);
|
|
263
263
|
clearTimeout(this.timer);
|
|
264
264
|
return;
|
|
@@ -270,7 +270,7 @@ export default {
|
|
|
270
270
|
this.timer = setTimeout(() => {
|
|
271
271
|
this.$emit('click', val, event);
|
|
272
272
|
this.targetStop && event.stopPropagation();
|
|
273
|
-
},
|
|
273
|
+
}, 300);
|
|
274
274
|
} else {
|
|
275
275
|
this.$emit('click', val, event);
|
|
276
276
|
this.targetStop && event.stopPropagation();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.em-grid-popup,.em-grid-popup-button{display:-webkit-box;display:-ms-flexbox}.em-grid-del{position:absolute;top:5px;right:5px}.em-grid-popup{padding:10px;height:100%;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.em-grid-popup-label{text-align:center;font-size:16px;color:#000;font-weight:700;margin-bottom:10px}.em-grid-popup-content{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto}.em-grid-popup-button{display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:10px}.em-grid-select-box{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.em-grid .van-popup{border-radius:5px}
|
|
1
|
+
.em-grid-popup,.em-grid-popup-button{display:-webkit-box;display:-ms-flexbox}.em-grid-del{position:absolute;top:5px;right:5px}.em-grid-popup{padding:10px;height:100%;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.em-grid-popup-label{text-align:center;font-size:16px;color:#000;font-weight:700;margin-bottom:10px}.em-grid-popup-content{-webkit-box-flex:1;-ms-flex:1;flex:1;overflow-y:auto;overflow-x:hidden}.em-grid-popup-button{display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin-top:10px}.em-grid-select-box{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.em-grid .van-popup{border-radius:5px}
|