southnote-mini-sdk 1.0.10 → 1.0.12

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.
@@ -72,7 +72,7 @@ Component({
72
72
  let list = [];
73
73
  for (let i = 1; i <= 44; i++) {
74
74
  const num = i.toString().padStart(3, '0');
75
- list.push(`/assets/images/emoji/smile${num}.png`);
75
+ list.push(`../../assets/images/emoji/smile${num}.png`);
76
76
  }
77
77
  this.setData({
78
78
  emojiList: list
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "usingComponents": {
3
- "van-icon":"@vant/weapp/icon/index"
3
+ "van-icon": "/miniprogram_npm/@vant/weapp/icon/index"
4
4
  }
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "southnote-mini-sdk",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "小南书SDK",
5
5
  "main": "index.js",
6
6
  "miniprogram": ".",
@@ -5,6 +5,7 @@
5
5
  "wiki-renderer": "../../components/wiki-renderer/wiki-renderer",
6
6
  "van-tab": "@vant/weapp/tab/index",
7
7
  "van-tabs": "@vant/weapp/tabs/index",
8
+ "van-icon": "@vant/weapp/icon/index",
8
9
  "bottomSheet": "../../components/bottomSheet/bottomSheet"
9
10
  },
10
11
  "enablePullDownRefresh": true
@@ -76,7 +76,7 @@ Page({
76
76
  let list = [];
77
77
  for (let i = 1; i <= 44; i++) {
78
78
  let num = i.toString().padStart(3, '0');
79
- list.push(`/assets/images/emoji/smile${num}.png`);
79
+ list.push(`../../assets/images/emoji/smile${num}.png`);
80
80
  }
81
81
  this.setData({
82
82
  emojiList: list
@@ -1,4 +1,6 @@
1
1
  {
2
-
2
+ "usingComponents": {
3
+ "van-icon": "@vant/weapp/icon/index"
4
+ },
3
5
  "navigationBarTitleText": "发讨论"
4
6
  }