diff --git a/app.js b/app.js
index 50367a9..de34829 100644
--- a/app.js
+++ b/app.js
@@ -2,7 +2,7 @@ import updateManager from './common/updateManager';
// export const ServerBasePath = 'http://localhost:8888/api/';
// export const ServerBasePath = 'http://192.168.1.102:8888/api/';
-export const ServerBasePath = 'http://emo-api.aerwen.net/api/';
+export const ServerBasePath = 'https://emo-api.aerwen.net/api/';
App({
onLaunch: function () {},
diff --git a/app.json b/app.json
index 3258543..d660f04 100644
--- a/app.json
+++ b/app.json
@@ -2,17 +2,7 @@
"pages": [
"pages/home/home",
"pages/home/search/index",
- "pages/login/login",
- "pages/login/authorize-avatar-name/index",
- "pages/login/phone-register/index",
- "pages/login/agree-link/index",
- "pages/emoticon/result/index",
- "pages/usercenter/index",
- "pages/usercenter/goods-collect/index",
- "pages/usercenter/goods-history/index",
- "pages/usercenter/person-info/index",
- "pages/usercenter/set/index",
- "pages/usercenter/name-edit/index"
+ "pages/emoticon/result/index"
],
"tabBar": {
"custom": true,
@@ -26,8 +16,8 @@
"text": "首页"
},
{
- "pagePath": "pages/usercenter/index",
- "text": "我的"
+ "pagePath": "pages/home/search/index",
+ "text": "搜索"
}
]
},
diff --git a/custom-tab-bar/data.js b/custom-tab-bar/data.js
index 8d53290..6106195 100644
--- a/custom-tab-bar/data.js
+++ b/custom-tab-bar/data.js
@@ -3,10 +3,5 @@ export default [
icon: 'home',
text: '首页',
url: 'pages/home/home',
- },
- {
- icon: 'person',
- text: '个人中心',
- url: 'pages/usercenter/index',
- },
+ }
];
diff --git a/pages/emoticon/result/index.js b/pages/emoticon/result/index.js
index 16e7325..77855b9 100644
--- a/pages/emoticon/result/index.js
+++ b/pages/emoticon/result/index.js
@@ -32,7 +32,7 @@ Page({
total: 0,
pageNum: 1,
- pageSize: 10,
+ pageSize: 20,
onLoad(options) {
const {
@@ -64,7 +64,7 @@ Page({
const params = {
pageNum: 1,
- pageSize: 10,
+ pageSize: 20,
search: keywords,
emoticonCategoryGuid: categoryGuid
};
diff --git a/pages/emoticon/result/index.wxml b/pages/emoticon/result/index.wxml
index 9323589..5a6e866 100644
--- a/pages/emoticon/result/index.wxml
+++ b/pages/emoticon/result/index.wxml
@@ -26,7 +26,7 @@
-
+
diff --git a/pages/home/home.js b/pages/home/home.js
index 3b55603..b460e98 100644
--- a/pages/home/home.js
+++ b/pages/home/home.js
@@ -131,7 +131,7 @@ Page({
getEmoticonDataList(params).then((res) => {
if (res.code == 200) {
this.page.num++;
-
+
this.setData({
lastUpdatedList: this.data.lastUpdatedList.concat(res.data.result),
loadMoreStatus: 0
@@ -200,4 +200,36 @@ Page({
});
},
+ // 点击分享
+ onShareAppMessage() {
+ const promise = new Promise(resolve => {
+ setTimeout(() => {
+ resolve({
+ title: '表情包图片大全'
+ })
+ }, 2000)
+ })
+ return {
+ title: '表情包图片大全',
+ path: '/pages/home/home',
+ promise
+ }
+ },
+
+ // 点击分享朋友圈
+ onShareTimeline(){
+ const promise = new Promise(resolve => {
+ setTimeout(() => {
+ resolve({
+ title: '表情包图片大全'
+ })
+ }, 2000)
+ })
+ return {
+ title: '表情包图片大全',
+ path: '/pages/home/home',
+ promise
+ }
+ }
+
});
\ No newline at end of file
diff --git a/pages/home/home.wxml b/pages/home/home.wxml
index 158b0c5..727ab2a 100644
--- a/pages/home/home.wxml
+++ b/pages/home/home.wxml
@@ -4,7 +4,7 @@
@@ -47,7 +47,7 @@