wl-design-mobile 0.8.15 → 0.8.17

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.
@@ -410,3 +410,19 @@ export default {
410
410
  padding: 0;
411
411
  }
412
412
  </style>
413
+
414
+ <!-- 非 scoped: 机模/真机环境下(容器在 body 打 m-device-scroll 标记, 见宿主 App.vue),
415
+ 滚动条由容器统一模拟为悬浮条, 本组件不再保留桌面端的 3px(WebKit)/thin(Firefox)
416
+ 滚动条——经典滚动条会占布局宽度, 挤掉右侧卡片缝隙。
417
+ 双类特异性(0,2,1 / 0,2,0)压过上面 scoped 规则(0,1,1 / 0,1,0),
418
+ 与样式注入顺序无关; 仅在设备标记下生效, 桌面使用方行为不变 -->
419
+ <style lang="less">
420
+ .m-device-scroll .custom-list::-webkit-scrollbar {
421
+ width: 0;
422
+ height: 0;
423
+ display: none;
424
+ }
425
+ .m-device-scroll .custom-list {
426
+ scrollbar-width: none; /* Firefox */
427
+ }
428
+ </style>
package/package.json CHANGED
@@ -1,18 +1,25 @@
1
1
  {
2
2
  "name": "wl-design-mobile",
3
- "version": "0.8.15",
3
+ "version": "0.8.17",
4
4
  "description": "",
5
5
  "main": "index.js",
6
+ "scripts": {
7
+ "release": "npm version patch --no-git-tag-version && npm publish --access public"
8
+ },
6
9
  "author": "finch",
7
10
  "license": "ISC",
11
+ "files": [
12
+ "**/*",
13
+ "!**/.*",
14
+ "!**/CHANGELOG.md",
15
+ "!assets/home/**",
16
+ "!assets/img/card/card-big.png",
17
+ "!assets/img/login-background-top.jpg",
18
+ "!assets/img/login-background-bottom.jpg"
19
+ ],
8
20
  "publishConfig": {
9
21
  "access": "public",
10
- "registry": "https://registry.npmjs.org/",
11
- "files": [
12
- "!**/.*",
13
- "!**/CHANGELOG.md",
14
- "**/*"
15
- ]
22
+ "registry": "https://registry.npmjs.org/"
16
23
  },
17
24
  "dependencies": {
18
25
  "core-js": "^3.8.3",
@@ -26,6 +33,5 @@
26
33
  },
27
34
  "devDependencies": {
28
35
  "vue": "^2.6.14"
29
- },
30
- "scripts": {}
31
- }
36
+ }
37
+ }
@@ -38,14 +38,13 @@ import 'ag-grid-community/styles/ag-grid.css'
38
38
  import 'ag-grid-community/styles/ag-theme-balham.css'
39
39
  /**
40
40
  * 打包时候把这一行放开,下面的一行注释掉
41
- * import {AgGridVue} from 'ag-grid-vue/lib/main.cjs.js'
41
+ *
42
42
  */
43
-
43
+ import {AgGridVue} from 'ag-grid-vue/lib/main.cjs.js'
44
44
  /**
45
45
  * 本地运行的时候,把这一行放开,上面的一行注释掉
46
- *
46
+ * import {AgGridVue} from 'ag-grid-vue'
47
47
  */
48
- import {AgGridVue} from 'ag-grid-vue'
49
48
  import {Toast} from "vant"
50
49
  import {axios} from "../util/axios"
51
50
 
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file