From 1e766f08d6f43349b4b588b321aeec765f3a1e52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=8B=E4=BA=8E=E5=88=9D=E8=A7=81?= <752204717@qq.com> Date: Thu, 20 Jun 2024 14:16:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=88=91=E7=9A=84=E8=AE=A2=E5=8D=95+=E6=88=91?= =?UTF-8?q?=E7=9A=84+vip+=E5=95=86=E5=93=81=E8=AF=A6=E6=83=85=EF=BC=88?= =?UTF-8?q?=E5=9F=BA=E7=A1=80=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- at.alicdn.com/t/font_533566_yfq2d9wdij.eot | 0 components/z-navigation/z-navigation.vue | 12 +- config/utils.js | 2 +- pages.json | 34 +- pages/bookShop/commodityDetail copy.vue | 630 +++++ pages/bookShop/commodityDetail.vue | 8 +- pages/bookShop/deliverDetail.vue | 2 +- pages/bookShop/orderLCont.vue | 2 +- pages/bookShop/settlement.vue | 23 +- pages/bookShop/settlementBook.vue | 19 +- .../commonComponents/address/edit.vue | 4 +- .../commonComponents/address/index.vue | 2 +- pages/goods/index/index.vue | 2129 +++++++++++++++ pages/goods/order/index.vue | 2304 +++++++++++++++++ pages/mine/mine/index.vue | 14 +- pages/mine/vip/order.vue | 18 +- pages/mine/wallet/jf/index.vue | 9 +- pages/mine/wallet/recharge/index.vue | 4 +- pages/taihu/index.vue | 5 +- static/icon/course_ic.png | Bin 0 -> 1685 bytes static/icon/home_icon_3.png | Bin 24844 -> 0 bytes static/icon/ic_agreed.png | Bin 4632 -> 1669 bytes static/icon/ic_gender_unselected.png | Bin 4385 -> 2704 bytes static/icon/jifen.png | Bin 0 -> 6382 bytes static/icon/tel.png | Bin 9166 -> 9833 bytes .../uni-popup-share/uni-popup-share.vue | 34 +- 26 files changed, 5168 insertions(+), 87 deletions(-) create mode 100644 at.alicdn.com/t/font_533566_yfq2d9wdij.eot create mode 100644 pages/bookShop/commodityDetail copy.vue create mode 100644 pages/goods/index/index.vue create mode 100644 pages/goods/order/index.vue create mode 100644 static/icon/course_ic.png delete mode 100644 static/icon/home_icon_3.png create mode 100644 static/icon/jifen.png diff --git a/at.alicdn.com/t/font_533566_yfq2d9wdij.eot b/at.alicdn.com/t/font_533566_yfq2d9wdij.eot new file mode 100644 index 0000000..e69de29 diff --git a/components/z-navigation/z-navigation.vue b/components/z-navigation/z-navigation.vue index 8d5db07..03012e6 100644 --- a/components/z-navigation/z-navigation.vue +++ b/components/z-navigation/z-navigation.vue @@ -80,12 +80,12 @@ export default { selectedIconPath: "static/tab/icon1_y.png", text: "首页", }, - { - pagePath: "pages/peanut/shopping", - iconPath: "static/tab/tab_nor_02.png", - selectedIconPath: "static/tab/tab_cur_02.png", - text: "购物车", - }, + // { + // pagePath: "pages/peanut/shopping", + // iconPath: "static/tab/tab_nor_02.png", + // selectedIconPath: "static/tab/tab_cur_02.png", + // text: "购物车", + // }, { pagePath: "pages/taihu/index", iconPath: "static/tab/tab_nor_03.png", diff --git a/config/utils.js b/config/utils.js index a715cec..43c0498 100644 --- a/config/utils.js +++ b/config/utils.js @@ -274,7 +274,7 @@ export const setWXPay = function(payInfo, callback) { method: "POST", // POST、GET、PUT、DELETE,具体说明查看官方文档 data: { ...payInfo, - appName: 'medicine' + appName: 'wumen' }, header: { //默认 无 说明:请求头1 'Content-Type': 'application/json' diff --git a/pages.json b/pages.json index 7074500..d615283 100644 --- a/pages.json +++ b/pages.json @@ -439,6 +439,28 @@ "navigationBarTitleText" : "我的课程", "enablePullDownRefresh": true } + },{ + "path": "pages/goods/index/index", + "style": { + "navigationBarTitleText": "商品信息", + "enablePullDownRefresh": false, + "app-plus": { + "bounce": "none", + "titleNView": false, + "popGesture": "none" + } + } + },{ + "path": "pages/goods/order/index", + "style": { + "navigationBarTitleText": "确认订单", + "enablePullDownRefresh": false, + "app-plus": { + "bounce": "none", + "titleNView": false, + "popGesture": "none" + } + } } ], "globalStyle": { @@ -462,12 +484,12 @@ "selectedIconPath": "static/tab/icon1_y.png", "text": "首页" }, - { - "pagePath": "pages/peanut/shopping", - "iconPath": "static/tab/tab_nor_02.png", - "selectedIconPath": "static/tab/tab_cur_02.png", - "text": "购物车" - }, + // { + // "pagePath": "pages/peanut/shopping", + // "iconPath": "static/tab/tab_nor_02.png", + // "selectedIconPath": "static/tab/tab_cur_02.png", + // "text": "购物车" + // }, { "pagePath": "pages/taihu/index", "iconPath": "static/tab/tab_nor_03.png", diff --git a/pages/bookShop/commodityDetail copy.vue b/pages/bookShop/commodityDetail copy.vue new file mode 100644 index 0000000..ee206b2 --- /dev/null +++ b/pages/bookShop/commodityDetail copy.vue @@ -0,0 +1,630 @@ + + + + diff --git a/pages/bookShop/commodityDetail.vue b/pages/bookShop/commodityDetail.vue index b1da978..07131ba 100644 --- a/pages/bookShop/commodityDetail.vue +++ b/pages/bookShop/commodityDetail.vue @@ -394,7 +394,7 @@ export default { this.linkCur = index }, // 获取商品关联商品 - getLinkPros(id) { + getLinkPros(id) { this.$http .post('book/shopproduct/getGlProductList', { 'productId': id @@ -1114,7 +1114,7 @@ export default { font-size: 24rpx; color: #999; margin-top: 16rpx; - font-weight: 400; + font-weight: 600; } .bookInfo { @@ -1165,7 +1165,7 @@ export default { .oldPrice { background-color: #ff000013; - ; + padding: 4rpx 14rpx; border-radius: 20rpx; margin-left: 20rpx; @@ -1246,7 +1246,7 @@ export default { .item { overflow: hidden; margin-bottom: 30rpx; - border-bottom: 4rpx solid #f0f0f0; + border-bottom: 4rpx solid #f5f5f5; } .item:nth-last-child(1) { diff --git a/pages/bookShop/deliverDetail.vue b/pages/bookShop/deliverDetail.vue index 7ea8a47..664b372 100644 --- a/pages/bookShop/deliverDetail.vue +++ b/pages/bookShop/deliverDetail.vue @@ -88,7 +88,7 @@ console.log('this.orderType',this.orderType) this.$http // .get(`book/buyOrder/getOrderInfo?orderId=${this.orderID}`) - .get(`/book/buyOrder/orderDetail?orderSn=${this.orderSn}`) + .get(`book/buyOrder/orderDetail?orderSn=${this.orderSn}`) .then(res => { console.log('订单详情',res) var seconds = res.result.timestamp + 30 * 60 + 2 // 过期时间 diff --git a/pages/bookShop/orderLCont.vue b/pages/bookShop/orderLCont.vue index fe65762..d11f3c6 100644 --- a/pages/bookShop/orderLCont.vue +++ b/pages/bookShop/orderLCont.vue @@ -16,7 +16,7 @@ > diff --git a/pages/bookShop/settlement.vue b/pages/bookShop/settlement.vue index c4b0866..92f0063 100644 --- a/pages/bookShop/settlement.vue +++ b/pages/bookShop/settlement.vue @@ -635,8 +635,7 @@ orderStatus: 0, //订单状态 productList: xiaBiao, //订单列表商品 orderType: "order", //订单类型 - addressId: this.adressMoRen.id, // 地址ID - jfDeduction:0,//积分抵扣 + addressId: this.adressMoRen.id // 地址ID } $http.request({ // url: "book/buyOrder/buySave", @@ -674,9 +673,9 @@ title: "支付成功" }); setTimeout(() => { - uni.navigateTo({ - url: '/pages/bookShop/orderList' - }); + uni.switchTab({ + url: './orderList' + }); // uni.navigateTo({ // url: './orderList' // }); @@ -708,9 +707,9 @@ title: "支付成功" }); setTimeout(() => { - uni.navigateTo({ - url: '/pages/bookShop/orderList' - }); + uni.switchTab({ + url: './orderList' + }); }, 1000) } else { console.log(res) @@ -733,12 +732,12 @@ // 天医币支付 uni.showToast({ title: "购买成功", - icon: "success" + icon: "success" }); setTimeout(() => { - uni.navigateTo({ - url: '/pages/bookShop/orderList' - }); + uni.switchTab({ + url: './orderList' + }); }, 1000) } } diff --git a/pages/bookShop/settlementBook.vue b/pages/bookShop/settlementBook.vue index 795dc6a..291e32b 100644 --- a/pages/bookShop/settlementBook.vue +++ b/pages/bookShop/settlementBook.vue @@ -661,9 +661,9 @@ title: "支付成功" }); setTimeout(() => { - uni.navigateTo({ - url: '/pages/bookShop/orderList' - }); + uni.switchTab({ + url: './orderList' + }); // uni.navigateTo({ // url: './orderList' // }); @@ -695,9 +695,9 @@ title: "支付成功" }); setTimeout(() => { - uni.navigateTo({ - url: '/pages/bookShop/orderList' - }); + uni.switchTab({ + url: './orderList' + }); }, 1000) } else { console.log(res) @@ -718,15 +718,14 @@ }) }else if(this.payType == 4){ // 天医币支付 - // console.log('到这里--------',res) uni.showToast({ title: "购买成功", icon: "success" }); setTimeout(() => { - uni.navigateTo({ - url: '/pages/bookShop/orderList' - }); + uni.switchTab({ + url: './orderList' + }); }, 1000) } } diff --git a/pages/component/commonComponents/address/edit.vue b/pages/component/commonComponents/address/edit.vue index 421684d..25ece08 100644 --- a/pages/component/commonComponents/address/edit.vue +++ b/pages/component/commonComponents/address/edit.vue @@ -155,7 +155,7 @@ customButtonGroup1: [{ with: 200, text: "保存", - backgroundColor: "linear-gradient(90deg, #258feb 0%, #B9E0F5 100%)", + backgroundColor: "linear-gradient(90deg, #3C77BE 0%,#258feb 100%)", color: "#fff", }, ], addressPopup: false, @@ -305,7 +305,7 @@ customButton: [{ width: "340rpx", text: "立即支付", - backgroundColor: "linear-gradient(90deg, #258feb 0%, #B9E0F5 100%)", + backgroundColor: "linear-gradient(90deg,#3C77BE 0%,#258feb 100%)", color: "#fff", }, ], }; diff --git a/pages/component/commonComponents/address/index.vue b/pages/component/commonComponents/address/index.vue index e7421c3..4da5069 100644 --- a/pages/component/commonComponents/address/index.vue +++ b/pages/component/commonComponents/address/index.vue @@ -162,7 +162,7 @@ export default { { with: 200, text: "+ 添加收货地址", - backgroundColor: "linear-gradient(90deg, #258feb 0%, #B9E0F5 100%)", + backgroundColor: "linear-gradient(90deg, #3C77BE 0%,#258feb 100%)", color: "#fff", }, ], diff --git a/pages/goods/index/index.vue b/pages/goods/index/index.vue new file mode 100644 index 0000000..f9e3bda --- /dev/null +++ b/pages/goods/index/index.vue @@ -0,0 +1,2129 @@ + + + + + diff --git a/pages/goods/order/index.vue b/pages/goods/order/index.vue new file mode 100644 index 0000000..76e1900 --- /dev/null +++ b/pages/goods/order/index.vue @@ -0,0 +1,2304 @@ + + + + + diff --git a/pages/mine/mine/index.vue b/pages/mine/mine/index.vue index 06fd4f8..5e6d8a5 100644 --- a/pages/mine/mine/index.vue +++ b/pages/mine/mine/index.vue @@ -3,7 +3,7 @@ style=" padding: 0 0; font-size: 28rpx; - background-color: #39b4a84d !important; + ; " class="commonPage commonPageBox" > @@ -494,9 +494,9 @@ export default { scene: "WXSceneSession", type: 0, href: this.$apkUrl, - title: "众妙之门", - summary: "我正在使用众妙之门提升自己,赶紧跟我一起来体验吧!", - imageUrl: "static/icon/fengziIcon.png", + title: "吴门医述", + summary: "我正在使用吴门医述提升自己,赶紧跟我一起来体验吧!", + imageUrl: "static/icon/home_icon_logo.png", success: function (res) { console.log("success:" + JSON.stringify(res)); }, @@ -511,9 +511,9 @@ export default { scene: "WXSceneTimeline", type: 0, href: this.$apkUrl, - title: "众妙之门", - summary: "我正在使用众妙之门提升自己,赶紧跟我一起来体验吧!", - imageUrl: "static/icon/fengziIcon.png", + title: "吴门医述", + summary: "我正在使用吴门医述提升自己,赶紧跟我一起来体验吧!", + imageUrl: "static/icon/home_icon_logo.png", success: function (res) { console.log("success:" + JSON.stringify(res)); }, diff --git a/pages/mine/vip/order.vue b/pages/mine/vip/order.vue index 6097e80..5c5f585 100644 --- a/pages/mine/vip/order.vue +++ b/pages/mine/vip/order.vue @@ -240,12 +240,12 @@ export default { type: 2, value: "0", }, - // { - // text: "微信", - // imgUrl: require("@/static/icon/pay_2.png"), - // type: 1, - // value: "1", - // }, + { + text: "微信", + imgUrl: require("@/static/icon/pay_2.png"), + type: 1, + value: "1", + }, { text: "天医币", imgUrl: require("@/static/icon/pay_3.png"), @@ -321,7 +321,7 @@ export default { { width: "160rpx", text: "立即支付", - backgroundColor: "linear-gradient(90deg, #258feb 0%, #E2F5FA 100%)", + backgroundColor: "linear-gradient(90deg, #3C77BE 0%,#258feb 100%)", color: "#fff", }, ], @@ -329,7 +329,7 @@ export default { { with: 200, text: "确定", - backgroundColor: "linear-gradient(90deg, #258feb 0%, #E2F5FA 100%)", + backgroundColor: "linear-gradient(90deg, #3C77BE 0%,#258feb 100%)", color: "#fff", }, ], @@ -567,7 +567,7 @@ export default { vipBuyConfigId: this.dataInfo.id, come: 2, //订单来源,0疯子读书1国学众妙之门2医学吴门医述 - // appName: "medicine", + // appName: "wumen", }; console.log("data at line 477:", data); diff --git a/pages/mine/wallet/jf/index.vue b/pages/mine/wallet/jf/index.vue index 905177c..31ea31f 100644 --- a/pages/mine/wallet/jf/index.vue +++ b/pages/mine/wallet/jf/index.vue @@ -1,5 +1,5 @@