diff --git a/App.vue b/App.vue index 58c21cd..e160c2b 100644 --- a/App.vue +++ b/App.vue @@ -1,8 +1,63 @@ diff --git a/apis/interfaces/store.js b/apis/interfaces/store.js index 9ba9cfb..7b7f875 100644 --- a/apis/interfaces/store.js +++ b/apis/interfaces/store.js @@ -33,7 +33,6 @@ const meals = (id, categoryId) => { // 商品列表 const lists = data => { - console.log(data) return request({ url: 'mall/goods', data diff --git a/pages.json b/pages.json index fbdc820..19ec562 100644 --- a/pages.json +++ b/pages.json @@ -131,7 +131,20 @@ "style": { "navigationBarTitleText": "商品", "navigationBarBackgroundColor": "#FFFFFF", - "enablePullDownRefresh": true + "enablePullDownRefresh": true, + "app-plus": { + "titleNView": { + "backgroundColor": "#FFFFFF", + "titleSize": "16", + "buttons": [{ + "float": "right", + "text": "\ue603", + "fontSrc": "/static/iconfont.ttf", + "color": "#000", + "fontSize": "20px" + }] + } + } } }, { "path": "pages/store/meals", @@ -214,155 +227,162 @@ "enablePullDownRefresh": true } }, { - "path": "pages/notice/index", + "path": "pages/notice/index", "name": "noticeIndex", "style": { - "navigationBarTitleText": "消息", + "navigationBarTitleText": "消息", "navigationBarBackgroundColor": "#FFFFFF", "enablePullDownRefresh": true } }, { - "path": "pages/notice/list", + "path": "pages/notice/list", "name": "noticeList", "style": { - "navigationBarTitleText": "消息", + "navigationBarTitleText": "消息", "navigationBarBackgroundColor": "#FFFFFF", "enablePullDownRefresh": true } }, { - "path": "pages/notice/details", + "path": "pages/notice/details", "name": "noticeDetails", "style": { - "navigationBarTitleText": "消息", + "navigationBarTitleText": "消息", "navigationBarBackgroundColor": "#FFFFFF", "enablePullDownRefresh": true } - },{ - "path": "pages/im/index", - "name": "IM", - "style": { - "navigationBarTitleText": "聊聊", - "navigationBarBackgroundColor": "#FFFFFF", - "app-plus": { - "titleNView": { - "buttons": [{ - "float": "right", - "text": "\ue605", - "fontSrc": "/static/iconfont.ttf", - "color": "#000", - "fontSize": "20px" - }, { - "float": "left", - "text": "\ue606", - "fontSrc": "/static/iconfont.ttf", - "color": "#000", - "fontSize": "20px" - }] - } - } - } - },{ + }, { + "path": "pages/im/index", + "name": "IM", + "style": { + "navigationBarTitleText": "聊聊", + "navigationBarBackgroundColor": "#FFFFFF", + "app-plus": { + "titleNView": { + "buttons": [{ + "float": "right", + "text": "\ue605", + "fontSrc": "/static/iconfont.ttf", + "color": "#000", + "fontSize": "20px" + }, { + "float": "left", + "text": "\ue606", + "fontSrc": "/static/iconfont.ttf", + "color": "#000", + "fontSize": "20px" + }] + } + } + } + }, { "path": "pages/im/chum", "name": "ImChum", "style": { "navigationBarTitleText": "好友", "enablePullDownRefresh": false } - },{ + }, { "path": "pages/wallet/add", "name": "WalletAdd", "style": { - "navigationBarTitleText": "创建钱包", - "navigationBarBackgroundColor":"#FFFFFF", + "navigationBarTitleText": "创建钱包", + "navigationBarBackgroundColor": "#FFFFFF", "enablePullDownRefresh": false } - },{ + }, { "path": "pages/wallet/create", "name": "WalletCreate", "style": { - "navigationBarTitleText": "设置密码", - "navigationBarBackgroundColor":"#FFFFFF", + "navigationBarTitleText": "设置密码", + "navigationBarBackgroundColor": "#FFFFFF", "enablePullDownRefresh": false } - },{ + }, { "path": "pages/wallet/mnemonic", "name": "WalletMnemonic", "style": { - "navigationBarTitleText": "导出助记词", - "navigationBarBackgroundColor":"#FFFFFF", + "navigationBarTitleText": "导出助记词", + "navigationBarBackgroundColor": "#FFFFFF", "enablePullDownRefresh": false } - },{ + }, { "path": "pages/wallet/validation", "name": "WalletValidation", "style": { - "navigationBarTitleText": "验证助记词", - "navigationBarBackgroundColor":"#FFFFFF", + "navigationBarTitleText": "验证助记词", + "navigationBarBackgroundColor": "#FFFFFF", "enablePullDownRefresh": false } - },{ + }, { "path": "pages/wallet/property", "name": "WalletProperty", "style": { - "navigationBarTitleText": "ZH钱包", - "navigationBarTextStyle":"white", - "app-plus": { - "titleNView": { - "backgroundImage": "linear-gradient(to right, #34ce98, #22aa98)", - "type": "transparent", - "buttons": [{ - "float": "right", - "text": "\ue607", - "fontSrc": "/static/iconfont.ttf", - "color": "#FFF", - "fontSize": "20px", - "background": "rgba(0,0,0,0)" - }], - "backButton":{ - "background": "rgba(0,0,0,0)" - } - } + "navigationBarTitleText": "ZH钱包", + "navigationBarTextStyle": "white", + "app-plus": { + "titleNView": { + "backgroundImage": "linear-gradient(to right, #34ce98, #22aa98)", + "type": "transparent", + "buttons": [{ + "float": "right", + "text": "\ue607", + "fontSrc": "/static/iconfont.ttf", + "color": "#FFF", + "fontSize": "20px", + "background": "rgba(0,0,0,0)" + }], + "backButton": { + "background": "rgba(0,0,0,0)" + } + } } } - },{ + }, { "path": "pages/service/index", "name": "serviceIndex", "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom", + "navigationBarTitleText": "", + "navigationStyle": "custom", "enablePullDownRefresh": false } - },{ + }, { "path": "pages/service/index", "name": "serviceIndex", "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom", + "navigationBarTitleText": "", + "navigationStyle": "custom", "enablePullDownRefresh": false } - },{ + }, { "path": "pages/service/details", "name": "serviceDetails", "style": { "navigationBarTitleText": "" - } - },{ + } + }, { "path": "pages/wallet/privatekey", "name": "WalletPrivatekey", "style": { - "navigationBarTitleText": "钱包私钥", - "navigationBarBackgroundColor":"#FFFFFF", + "navigationBarTitleText": "钱包私钥", + "navigationBarBackgroundColor": "#FFFFFF", "enablePullDownRefresh": false } - },{ + }, { "path": "pages/wallet/resetPassword", "name": "ResetPassword", "style": { - "navigationBarTitleText": "修改钱包密码", - "navigationBarBackgroundColor":"#FFFFFF", + "navigationBarTitleText": "修改钱包密码", + "navigationBarBackgroundColor": "#FFFFFF", "enablePullDownRefresh": false } - }], + }, { + "path": "pages/store/search", + "name": "StoreSearch", + "style": { + "navigationBarTitleText": "搜索", + "navigationBarBackgroundColor": "#FFFFFF" + } + }], "tabBar": { "borderStyle": "white", "selectedColor": "#34CE98", diff --git a/pages/im/index.vue b/pages/im/index.vue index e79cd95..3e19f35 100644 --- a/pages/im/index.vue +++ b/pages/im/index.vue @@ -1,6 +1,6 @@