diff --git a/MP_verify_qSyvBPhDsPdxvOhC.txt b/MP_verify_qSyvBPhDsPdxvOhC.txt deleted file mode 100644 index 767ab3e..0000000 --- a/MP_verify_qSyvBPhDsPdxvOhC.txt +++ /dev/null @@ -1 +0,0 @@ -qSyvBPhDsPdxvOhC \ No newline at end of file diff --git a/manifest.json b/manifest.json index a66d28b..119a102 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "lili商城", "appid" : "__UNI__83F0C3D", "description" : "", - "versionName" : "4.2.4.1", - "versionCode" : 4000241, + "versionName" : "4.2.5", + "versionCode" : 4000250, "transformPx" : false, "app-plus" : { "compatible" : { diff --git a/pages/mine/myTracks.vue b/pages/mine/myTracks.vue index f8dcc27..a7da248 100644 --- a/pages/mine/myTracks.vue +++ b/pages/mine/myTracks.vue @@ -1,342 +1,269 @@ + .myTracks-action-check { + align-items: center; + display: -webkit-box; + display: -webkit-flex; + display: flex; + } + diff --git a/pages/order/afterSales/afterSales.vue b/pages/order/afterSales/afterSales.vue index f7e71ca..15b41c4 100644 --- a/pages/order/afterSales/afterSales.vue +++ b/pages/order/afterSales/afterSales.vue @@ -17,7 +17,8 @@ @clear="submitSearchOrderList(current)" @custom="submitSearchOrderList(current)" v-model="orderSn" - > + > + x{{ sku.num }} - - - + + + 该商品已申请售后服务 + + 该商品无法申请售后 - -
- - - 退货处理-{{ order.serviceStatus | serviceStatusList }} - - 补发商品-{{ order.serviceStatus | serviceStatusList }} - - 退款-{{ order.serviceStatus | serviceStatusList }} - - 换货-{{ order.serviceStatus | serviceStatusList }} - - 取消订单-{{ order.serviceStatus | serviceStatusList }} -
- -
- -
- 申请售后 + +
+ + + 退货处理-{{ order.serviceStatus | serviceStatusList }} + + 补发商品-{{ order.serviceStatus | serviceStatusList }} + + 退款-{{ order.serviceStatus | serviceStatusList }} + + 换货-{{ order.serviceStatus | serviceStatusList }} + + 取消订单-{{ order.serviceStatus | serviceStatusList }} +
+ + + + + + +
+
+ 申请售后 +
@@ -229,7 +229,7 @@ export default { pageNumber: 1, pageSize: 10, sort: "createTime", - flowPrice: 1, + flowPrice: 0, order: "desc", }, @@ -404,6 +404,10 @@ export default { */ onExpress(order, sku) { sku.storeName = order.storeName; + let data = { + ...order, + ...sku, + }; storage.setAfterSaleData(data); uni.navigateTo({ @@ -458,31 +462,38 @@ page, overflow-y: auto; height: calc(100vh - 44px - 80rpx - 104rpx); } + .u-tabs-search { padding: 20rpx; background: #fff; } + .countMoney { margin-left: 7rpx; color: $main-color; font-size: 28rpx; } + .seller-view { background-color: #fff; margin: 20rpx 0rpx; padding: 0rpx 20rpx; border-radius: 20rpx; + .seller-info { height: 70rpx; + .seller-name { font-size: 28rpx; display: flex; flex-direction: row; + .name { margin-left: 15rpx; margin-top: -2rpx; } } + .order-sn { font-size: 22rpx; color: #909399; @@ -526,6 +537,7 @@ page, color: $main-color; } } + .btn-view { padding: 16rpx 0; @@ -535,10 +547,12 @@ page, } } } + .description { color: #909399; size: 25rpx; } + .cannot_apply { text-align: center; font-size: 22rpx; @@ -547,6 +561,10 @@ page, height: 70rpx; line-height: 70rpx; } +.not_center { + text-align: left; +} + .icon { margin-right: 10rpx; } @@ -556,6 +574,7 @@ page, display: flex; justify-content: flex-end; } + .default-btn { background-color: #ffffff; margin-left: 15rpx; @@ -566,9 +585,11 @@ page, padding: 0 24rpx; border-radius: 200px; } + .close { color: $light-color; } + .border { border: 2rpx solid $light-color; color: $light-color; diff --git a/pages/order/myOrder.vue b/pages/order/myOrder.vue index fccdc14..88cae7e 100644 --- a/pages/order/myOrder.vue +++ b/pages/order/myOrder.vue @@ -139,7 +139,7 @@ shape="circle" class="cancel-btn" size="mini" - v-if="order.groupAfterSaleStatus.includes('NOT_APPLIED')" + v-if="order.groupAfterSaleStatus && order.groupAfterSaleStatus.includes('NOT_APPLIED')" @click="applyService(order)" > 退款/售后 diff --git a/pages/promotion/lives.vue b/pages/promotion/lives.vue index bda1fa3..bd0a728 100644 --- a/pages/promotion/lives.vue +++ b/pages/promotion/lives.vue @@ -159,7 +159,7 @@ export default { let recommendLives = await getLiveList(this.recommendParams); if (recommendLives.data.success) { // 推荐直播间 - if (recommendLives.data.result.records.length != 0) { + if (recommendLives.data.result.records.length ) { this.status = "loadmore"; this.recommendLives = recommendLives.data.result.records; } else { @@ -172,7 +172,7 @@ export default { * 2.如果没有直播间设置一个默认图片 */ - if (this.recommendLives.length == 0) { + if (!this.recommendLives.length) { if (this.liveList[0].shareImg) { this.$set(this, "swiperImg", [ { @@ -199,7 +199,7 @@ export default { let res = await getLiveList(this.params[this.current]); // 直播间 if (res.data.success) { - if (res.data.result.records.length != 0) { + if (res.data.result.records.length ) { this.status = "loadmore"; this.liveList.push(...res.data.result.records); } else { @@ -211,7 +211,7 @@ export default { ? (this.status = "loadmore") : (this.status = "noMore"); - console.log(this.status); + this.liveList.forEach((item) => { if (item.roomGoodsList) { item.roomGoodsList = JSON.parse(item.roomGoodsList); diff --git a/pages/tabbar/cart/cartList.vue b/pages/tabbar/cart/cartList.vue index 2233360..0623bfa 100644 --- a/pages/tabbar/cart/cartList.vue +++ b/pages/tabbar/cart/cartList.vue @@ -51,7 +51,7 @@ - + @@ -99,7 +99,7 @@ >
距秒杀结束: + font-size="24" :timestamp="getCountDownTime(skuItem)">
@@ -110,7 +110,9 @@ 预估到手价 ¥{{ formatPrice(skuItem.priceDetailDTO.flowPrice)[0]}} .{{ formatPrice(skuItem.priceDetailDTO.flowPrice)[1] }} - +
+ {{skuItem.errorMessage}} +
@@ -192,8 +194,8 @@ export default { }, ], isInvalid(val) { - //是否无效商品 - if (val.invalid == 1) { + //是否无效商品/没库存商品 + if (val.invalid == 1 || (!val.checked && val.errorMessage)) { return true; } else { return false; @@ -236,12 +238,15 @@ export default { }, methods: { /** - * 倒数计时 - */ + * 倒数计时 + */ getCountDownTime(val) { - let date = new Date(val.replace(/-/g, "/")); - let timeSimple = new Date(date).getTime() / 1000; - return timeSimple - new Date().getTime() / 1000; + if (val.promotionMap) { + let key = Object.keys(val.promotionMap).find((child, index) => { + return child.split("-")[0] == 'SECKILL' + }); + return val.promotionMap[key].endTime / 1000 - (new Date().getTime() / 1000) + } }, /** diff --git a/plugins/APPUpdate/index.js b/plugins/APPUpdate/index.js index 7a15aa4..595514a 100644 --- a/plugins/APPUpdate/index.js +++ b/plugins/APPUpdate/index.js @@ -854,7 +854,7 @@ function downloadPopup(data, callback, cancelCallback, rebootCallback) { export default function (isPrompt = false) { getCurrentNo((version) => { getServerNo((res) => { - if (res.versionCode.replace(/\./g, "") <= version.versionCode) { + if (res.versionCode.replace(/\./g, "") <= version.version) { return false; }