diff --git a/src/api/game.ts b/src/api/game.ts
index 778bdd2..e669062 100644
--- a/src/api/game.ts
+++ b/src/api/game.ts
@@ -18,7 +18,7 @@ export const checkWord = (params: any) => {
export const getArticle = (aid: string) => {
return new Promise((resolve, reject) => {
uni.request({
- url: `${GHOST_BASE}/api/emulated/article`,
+ url: `${GHOST_BASE}/emulated/article`,
method: 'POST',
data: {id: aid},
success: (res) => {
diff --git a/src/jcfw/SDKManage.js b/src/jcfw/SDKManage.js
index 1096a43..dd17f16 100755
--- a/src/jcfw/SDKManage.js
+++ b/src/jcfw/SDKManage.js
@@ -3,7 +3,8 @@ let jcshare = jcfw.share;
let SDKManage = function() {
// this.isoffical = global.env === 'product';
- this.isoffical = global.env === 'product';
+ // this.isoffical = global.env === 'product';
+ this.isoffical = true
this.gameId = 8007;
this.hasLogin = false;
this.vision = '1.0.0';
diff --git a/src/manifest.json b/src/manifest.json
index dd37ed6..127e5d4 100644
--- a/src/manifest.json
+++ b/src/manifest.json
@@ -52,7 +52,8 @@
"appid": "wxea7901da6fe663e6",
"setting" : {
"urlCheck" : true
- }
+ },
+ "sitemapLocation": "sitemap.json"
},
"mp-alipay" : {
"usingComponents" : true
diff --git a/src/pages.json b/src/pages.json
index b49f9bf..4bf2125 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -46,6 +46,12 @@
"navigationBarTitleText": "价格列表"
}
},
+ {
+ "path": "pages/me/collect",
+ "style": {
+ "navigationBarTitleText": "收藏列表"
+ }
+ },
{
"path": "pages/article/index",
diff --git a/src/pages/info/index.vue b/src/pages/info/index.vue
index 101b6cd..675be75 100644
--- a/src/pages/info/index.vue
+++ b/src/pages/info/index.vue
@@ -63,7 +63,6 @@ import PriceCell from '@/components/PriceCell/index.vue'
import DlcCell from '@/components/DlcCell/index.vue'
import { getGameInfo, getGamePrice } from '@/api/game_data'
import { IGameInfo } from '@/modules/gameinfo'
-import {uniIcons, uniTag} from '@dcloudio/uni-ui'
import { getCollectList, getZanList, updateCollectInfo, updateZanInfo } from '@/api/game'
import { UserModule } from '@/store/modules/user'
@@ -73,8 +72,6 @@ import { UserModule } from '@/store/modules/user'
ImageSwiper,
PriceCell,
DlcCell,
- uniIcons,
- uniTag
}
})
export default class extends Vue{
diff --git a/src/pages/me/collect.vue b/src/pages/me/collect.vue
new file mode 100644
index 0000000..a2c2bd4
--- /dev/null
+++ b/src/pages/me/collect.vue
@@ -0,0 +1,74 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/pages/me/index.vue b/src/pages/me/index.vue
index 04f1f3a..007dc78 100644
--- a/src/pages/me/index.vue
+++ b/src/pages/me/index.vue
@@ -1,6 +1,9 @@
+
+
+
@@ -33,6 +36,12 @@ export default class extends Vue{
}
onClick() {
+ }
+ toCollect() {
+ uni.navigateTo({
+ url: `/pages/me/collect`,
+ animationType: 'pop-in',
+ animationDuration: 200})
}
onClickSm() {
uni.navigateTo({
diff --git a/src/sitemap.json b/src/sitemap.json
new file mode 100644
index 0000000..91a3718
--- /dev/null
+++ b/src/sitemap.json
@@ -0,0 +1,20 @@
+{
+ "rules": [
+ {
+ "action": "allow",
+ "page": "pages/index/index"
+ },
+ {
+ "action": "allow",
+ "page": "pages/list/index"
+ },
+ {
+ "action": "allow",
+ "page": "pages/info/index"
+ },
+ {
+ "action": "disallow",
+ "page": "*"
+ }
+ ]
+}