diff --git a/.hbuilderx/launch.json b/.hbuilderx/launch.json index 0d12f45..660fce7 100644 --- a/.hbuilderx/launch.json +++ b/.hbuilderx/launch.json @@ -24,7 +24,7 @@ "type" : "uni-app:app-ios" }, { - "playground" : "custom", + "playground" : "standard", "type" : "uni-app:app-android" } ] diff --git a/config/baseUrl.js b/config/baseUrl.js index f259e79..672102e 100644 --- a/config/baseUrl.js +++ b/config/baseUrl.js @@ -7,7 +7,7 @@ if (process.env.NODE_ENV === 'development') { // baseUrl = "https://twin-ui.com/demo/"; // baseUrl = "https://testapi.nuttyreading.com/"; // 线上测试环境 baseUrl = "https://api.nuttyreading.com/"; // 线上正式 - // baseUrl = "http://192.168.110.100:9200/pb/"; // 开发用电脑 + // baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川 // baseUrl = "http://59.110.212.44:9200/pb/"; // baseUrl = "http://192.168.110.100:9100/pb/"; // 开发用电脑 // baseUrl = "http://192.168.110.110:9200/pb/";//磊哥 @@ -20,7 +20,7 @@ if (process.env.NODE_ENV === 'development') { // baseUrl = "http://59.110.212.44:9100/pb/"; // baseUrl = "https://testapi.nuttyreading.com/"; baseUrl = "https://api.nuttyreading.com/"; //1 - // baseUrl = "http://192.168.110.100:9200/pb/"; // 开发用电脑 + // baseUrl = "http://192.168.110.100:9200/pb/"; // 张川川 // baseUrl = "ws://twin-ui.com:6001/"; // socketUrl = "ws://twin-ui.com:6001/"; } diff --git a/manifest.json b/manifest.json index 950e24a..f6e9ef5 100644 --- a/manifest.json +++ b/manifest.json @@ -10,8 +10,8 @@ "sizes": "分辨率,192x192", "src": "图片路径" }], - "versionName": "1.2.68", - "versionCode": 1268, + "versionName": "1.2.70", + "versionCode": 1270, "app-plus": { "compatible": { "ignoreVersion": true diff --git a/pages/bookShop/commodityDetail.vue b/pages/bookShop/commodityDetail.vue index 0a859fb..1ba50f1 100644 --- a/pages/bookShop/commodityDetail.vue +++ b/pages/bookShop/commodityDetail.vue @@ -43,27 +43,100 @@ - {{ productInfo.activityPrice }} + >VIP优惠图书 + + + {{ productInfo.vipPrice }} + {{ productInfo.activityPrice }} 原价{{ productInfo.price }} - - {{ productInfo.price }} + + + VIP优惠图书 + + + {{ productInfo.productName }} (无货) + 已售{{ productInfo.sumSales }} - + @@ -102,6 +175,7 @@ @@ -112,13 +186,91 @@ - {{ item.productName }} - + {{ item.productName }} +
+ + + + ¥{{ item.vipPrice.toFixed(2) }} + + ¥{{ Number(item.price).toFixed(2) }} + + + + ¥{{ item.activityPrice.toFixed(2) }} + + ¥{{ Number(item.price).toFixed(2) }} + + + ¥{{ Number(item.price).toFixed(2) }} + VIP优惠 +
@@ -396,7 +548,7 @@ - + - {{ item.productName }} - + {{ item.productName }} +
+ + + ¥{{ item.vipPrice.toFixed(2) }} + + ¥{{ Number(item.price).toFixed(2) }} + + + + ¥{{ item.activityPrice.toFixed(2) }} + + ¥{{ Number(item.price).toFixed(2) }} + + + ¥{{ Number(item.price).toFixed(2) }} + + VIP优惠 +
@@ -476,7 +710,7 @@ import loginVue from "../user/login.vue"; export default { data() { return { - canGetCouponList:[], + canGetCouponList: [], qunyiList: [ { name: "打卡", @@ -583,8 +817,8 @@ export default { musicPlay, }, methods: { - // 获取购买后可获得优惠券列表 - async getCanGetCouponList() { + // 获取购买后可获得优惠券列表 + async getCanGetCouponList() { await this.$http .request({ url: "common/coupon/couponToProductList", @@ -600,7 +834,7 @@ export default { }, }) .then(async (res) => { - if (res.code != 0) return ; + if (res.code != 0) return; console.log("res优惠券", res); this.canGetCouponList = res.couponToShopproductPage.records; }) @@ -1262,6 +1496,7 @@ export default { } .spbh { + margin-top: 10px; border: 2rpx solid #fff; .spbhimg { @@ -1382,7 +1617,7 @@ export default { .spbh { padding-bottom: 10rpx; - font-size: 26rpx; + font-size: 28rpx; padding: 0 10rpx; } @@ -1402,7 +1637,8 @@ export default { } .username { - margin-left: 10rpx; + padding-left: 20rpx; + text-align: justify; } .price { @@ -1432,7 +1668,7 @@ export default { } .username { - font-size: 24rpx; + font-size: 26rpx; color: #999; margin-top: 6rpx; } @@ -1474,7 +1710,7 @@ export default { // padding: 20px 10px; // line-height: 30rpx; // background-color: #fff; - font-size: 26rpx; + font-size: 28rpx; color: #555; // border-radius: 20rpx 20rpx 0 0 } @@ -1500,7 +1736,7 @@ export default { background-color: #fff; padding: 30rpx 30rpx 10rpx 30rpx; height: auto; - font-size: 26rpx; + font-size: 28rpx; .commodityPrice { // background-image: linear-gradient(0deg, #f7fffc 0%, #def0ea 100%); @@ -1633,7 +1869,7 @@ export default { } .quanyi_item { - font-size: 26rpx; + font-size: 28rpx; width: auto; border-radius: 10rpx; diff --git a/pages/bookShop/orderLCont.vue b/pages/bookShop/orderLCont.vue index 1f8f1b8..661a71c 100644 --- a/pages/bookShop/orderLCont.vue +++ b/pages/bookShop/orderLCont.vue @@ -33,8 +33,11 @@ 已超时