southnote-mini-sdk 1.0.18 → 1.0.19

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": "southnote-mini-sdk",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "小南书SDK",
5
5
  "main": "index.js",
6
6
  "miniprogram": ".",
@@ -1,7 +1,7 @@
1
1
  <view class="page">
2
2
  <!-- 搜索框 -->
3
3
  <view class="search-bar">
4
- <image class="search-icon" src="/assets/images/icons/search.png" style="width: 15px;height: 15px;position: absolute;margin-left: 10px;"></image>
4
+ <image class="search-icon" src="../../assets/images/icons/search.png" style="width: 15px;height: 15px;position: absolute;margin-left: 10px;"></image>
5
5
  <input class="search-input" placeholder="请输入话题" placeholder-style="color:#ccc" value="{{searchValue}}" bindinput="onSearchInput" />
6
6
  </view>
7
7
 
@@ -29,7 +29,7 @@ Page({
29
29
  },
30
30
 
31
31
  onLoad(options) {
32
- const gameId = options.game_id || ''
32
+ const gameId = options.gameId || options.game_id || ''
33
33
  const name = options.name ? decodeURIComponent(options.name) : ''
34
34
  const wiki_created_at = options.wiki_created_at || ''
35
35