From 5bdbe1afc482ecffe75756d87501d11dd777760f Mon Sep 17 00:00:00 2001 From: "@fawn-nine" <1271023382@qq.com> Date: Tue, 4 Jul 2023 13:27:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BA=E5=88=86=E6=94=AF=E5=89=8D?= =?UTF-8?q?=E6=9C=80=E5=90=8E=E4=B8=80=E6=AC=A1=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../navigation-video/navigation-video.vue | 5 +++ components/z-navigation/z-navigation.vue | 11 ++++- config/baseUrl.js | 4 +- main.js | 4 +- manifest.json | 7 +++- pages.json | 13 ++++-- pages/peanut/home.vue | 26 ++++++------ pages/peanut/mine.vue | 39 +++++++++++++++-- pages/user/login.vue | 42 ++++++++++--------- pages/yRead/angbook.vue | 30 +++++++------ 10 files changed, 122 insertions(+), 59 deletions(-) diff --git a/components/navigation-video/navigation-video.vue b/components/navigation-video/navigation-video.vue index 6c24f19..1ff0d7d 100644 --- a/components/navigation-video/navigation-video.vue +++ b/components/navigation-video/navigation-video.vue @@ -42,6 +42,11 @@ export default { pagePath: 'pages/peanut/bookshelf', tab: true }, + // { + // text: '我的订单', + // pagePath: 'pages/bookShop/orderList', + // tab: true + // }, { text: '我的', pagePath: 'pages/peanut/mine', diff --git a/components/z-navigation/z-navigation.vue b/components/z-navigation/z-navigation.vue index 65d562c..07737f9 100644 --- a/components/z-navigation/z-navigation.vue +++ b/components/z-navigation/z-navigation.vue @@ -38,11 +38,18 @@ selectedIconPath: 'static/tab/icon2_y.png', text: '购物车' }, + // { + // pagePath: 'pages/peanut/bookshelf', + // iconPath: 'static/tab/icon3_n.png', + // selectedIconPath: 'static/tab/icon3_y.png', + // text: '我的书架' + // }, { - pagePath: 'pages/peanut/bookshelf', + pagePath: 'pages/bookShop/orderList', iconPath: 'static/tab/icon3_n.png', selectedIconPath: 'static/tab/icon3_y.png', - text: '我的书架' + text: '我的订单' + }, { pagePath: 'pages/peanut/mine', diff --git a/config/baseUrl.js b/config/baseUrl.js index 333a73d..5310888 100644 --- a/config/baseUrl.js +++ b/config/baseUrl.js @@ -5,8 +5,8 @@ if (process.env.NODE_ENV === 'development') { // baseUrl = "http://localhost:7001/"; // socketUrl = "ws://localhost:6001/"; // baseUrl = "https://twin-ui.com/demo/"; - baseUrl = "http://59.110.212.44:9100/pb/"; - // baseUrl = "http://192.168.110.100:9100/pb/"; + // baseUrl = "http://59.110.212.44:9100/pb/"; + baseUrl = "http://192.168.110.100:9100/pb/"; // socketUrl = "ws://8.129.186.35:6001/"; } else if (process.env.NODE_ENV === 'production') { // 生产环境 diff --git a/main.js b/main.js index 8373461..8e58b47 100644 --- a/main.js +++ b/main.js @@ -3,8 +3,8 @@ import App from './App' import qs from 'qs' // 地址 -// Vue.prototype.$baseUrl = "http://192.168.110.100:9100/pb/" - Vue.prototype.$baseUrl = "http://59.110.212.44:9100/pb/" +Vue.prototype.$baseUrl = "http://192.168.110.100:9100/pb/" + // Vue.prototype.$baseUrl = "http://59.110.212.44:9100/pb/" diff --git a/manifest.json b/manifest.json index b1e57d5..edb6740 100644 --- a/manifest.json +++ b/manifest.json @@ -79,7 +79,12 @@ "sdkConfigs" : { "ad" : {}, "maps" : {}, - "share" : {}, + "share" : { + "weixin" : { + "appid" : "wx47134a8f15083734", + "UniversalLinks" : "" + } + }, "payment" : { "alipay" : { "__platform__" : [ "ios", "android" ] diff --git a/pages.json b/pages.json index 39b19ec..d31f1fb 100644 --- a/pages.json +++ b/pages.json @@ -167,7 +167,8 @@ { "path": "pages/user/login", "style": { - "navigationBarTitleText": "登录" + "navigationBarTitleText": "登录", + "enablePullDownRefresh":false // 禁止下拉刷新 } }, { @@ -285,11 +286,17 @@ "selectedIconPath": "static/tab/icon2_y.png", "text": "购物车" }, + // { + // "pagePath": "pages/peanut/bookshelf", + // "iconPath": "static/tab/icon3_n.png", + // "selectedIconPath": "static/tab/icon3_y.png", + // "text": "我的书架" + // }, { - "pagePath": "pages/peanut/bookshelf", + "pagePath": "pages/bookShop/orderList", "iconPath": "static/tab/icon3_n.png", "selectedIconPath": "static/tab/icon3_y.png", - "text": "我的书架" + "text": "我的订单" }, { "pagePath": "pages/peanut/mine", diff --git a/pages/peanut/home.vue b/pages/peanut/home.vue index 99338c0..6c506ca 100644 --- a/pages/peanut/home.vue +++ b/pages/peanut/home.vue @@ -3,13 +3,13 @@ - + 搜索... - - + + 电子书 @@ -32,7 +32,7 @@ - + 我的书架 @@ -82,13 +82,13 @@ - + 新书上架 查看更多 > - + {{item.bookName}} @@ -107,12 +107,12 @@
- + 限时特价 查看更多 > - + @@ -128,12 +128,12 @@ - + 精选书单 查看更多 > - + {{item.bookName}} @@ -157,7 +157,8 @@ 精选商品 - 查看更多 > + + 查看更多 > @@ -197,6 +198,7 @@ export default { data() { return { + showEbook:false, // 显示电子书相关 transaction: { // 成功回调 }, @@ -457,7 +459,7 @@ // 获取精选商品 this.$http - .post('book/shopproduct/appGetList?limit=4&page=1&istop=1') + .post('book/shopproduct/appGetList?limit=30&page=1&istop=1') .then(res => { this.goodsList = res.page.list }) diff --git a/pages/peanut/mine.vue b/pages/peanut/mine.vue index 78471f4..e6cdf52 100644 --- a/pages/peanut/mine.vue +++ b/pages/peanut/mine.vue @@ -58,12 +58,12 @@ 我的订单 - + + 修改个人资料 @@ -73,6 +73,9 @@ + + 分享App + 关于我们 @@ -95,12 +98,14 @@