Compare commits

..

No commits in common. "3ebbfa47bbc74bb79ea0b171b5cc886e91e503fd" and "b008e2766ec5edd068a580cc5af4f86228847693" have entirely different histories.

7 changed files with 21 additions and 36 deletions

View File

@ -386,7 +386,7 @@
height: 100rpx;
position: fixed;
right: 33rpx;
bottom: 100rpx;
bottom: 320rpx;
z-index: 10;
}

View File

@ -67,7 +67,7 @@
</view>
<view class="btn-group" v-if="item.order_status === 5">
<!-- <text class="afterSaleNum">{{ item.commodity_order_item_list.length }}笔售后</text> -->
<button class="cancel-btn" @click="afterSale(item)" v-if="item.after_sales_status === 2">退换/售后</button>
<button class="cancel-btn" @click="afterSale(item)">退换/售后</button>
<button class="pay-btn" @click="orderEvaluate(item)" :disabled="item.evauate_status === 1">评价</button>
</view>
<view class="btn-group" v-if="item.order_status === 6">

View File

@ -68,7 +68,7 @@
</view>
<view class="btn-group" v-if="item.order_status === 5">
<!-- <text class="afterSaleNum">{{ item.commodity_order_item_list.length }}笔售后</text> -->
<button class="cancel-btn" @click="afterSale(item)" v-if="item.after_sales_status === 2">退换/售后</button>
<button class="cancel-btn" @click="afterSale(item)">退换/售后</button>
<button class="pay-btn" @click="orderEvaluate(item)" :disabled="item.evauate_status === 1">评价</button>
</view>
<view class="btn-group" v-if="item.order_status === 6">
@ -213,17 +213,17 @@ export default {
console.log(item.id);
//
// request(afterSaleApi.isAllow, "POST", {
// order_id: item.id,
// }).then((res) => {
// if (res.data.is_allow_after_sales) {
// this.afterSaleGoods = res.data.allow_items;
// // this.selectedAsGood = item.commodity_order_item_list[0].id;
// this.$refs.afterSalePopupRef.openAfterSalePopup();
// } else {
// this.noSalePopup = true
// }
// });
request(afterSaleApi.isAllow, "POST", {
order_id: item.id,
}).then((res) => {
if (res.data.is_allow_after_sales) {
this.afterSaleGoods = res.data.allow_items;
// this.selectedAsGood = item.commodity_order_item_list[0].id;
this.$refs.afterSalePopupRef.openAfterSalePopup();
} else {
this.noSalePopup = true
}
});
},
// 退

View File

@ -29,7 +29,7 @@
{{ item.goods_name }}
</view>
<view class="asGoodDesc">{{ item.goods_spec }}</view>
<view class="asGoodPrice">¥{{ item.sales_price }}/</view>
<view class="asGoodPrice">¥{{ item.cost_price }}/</view>
</view>
<view class="asGoodNum">x{{ item.count }}</view>
</view>
@ -186,8 +186,8 @@
<text> {{ orderItem.receiving_address }} </text>
<view class="copy-icon" @click="copyRefundNo"></view>
</view>
<!-- <image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/af_update_address.png"
class="icon_2"></image> -->
<image src="https://wechat-img-file.oss-cn-beijing.aliyuncs.com/af_update_address.png"
class="icon_2"></image>
</view>
<view class="hr"></view>
<view class="refund-item2">
@ -310,7 +310,6 @@ export default {
//
openAfterSalePopup() {
this.$nextTick(() => {
console.log("🚀 ~ this.afterSaleGoods:", this.afterSaleGoods)
if (this.afterSaleGoods && this.afterSaleGoods.length > 0) {
this.selectedAsGood = this.afterSaleGoods[0].goods_id;
this.afterSalesType = 2

View File

@ -12,8 +12,7 @@
<view class="tips">商家正在加急打包中了请耐心等候</view>
</view>
<view class="status-bar" v-if="status === '4'">
<view class="status" v-if="orderInfo.order_cate === 1">待配送</view>
<view class="status" v-if="orderInfo.order_cate === 2">待自提</view>
<view class="status">待配送</view>
<view class="countdown">预计到货时间: {{ orderInfo.estimated_delivery_time }}</view>
<view class="tips">
配送司机15901518415
@ -46,7 +45,7 @@
</view>
</view>
<view class="goods-item" v-for="(item, index) in orderInfo.commodity_order_item_list" :key="index">
<view class="goods-content" @click="toDetail(orderInfo)">
<view class="goods-content">
<image :src="item.commodity_pic" class="goods-img"></image>
<view class="goods-info">
<view>
@ -178,10 +177,6 @@ export default {
this.status = JSON.stringify(item.order_status);
},
methods: {
toDetail(item) {
console.log("🚀 ~ item:", item)
// NavgateTo(`/packages/myOrders/commodityDetails/index?item=${JSON.stringify(item)}`);
},
startCountdown() {
//
if (!this.orderInfo.timeout_time_stamp) {

View File

@ -15,7 +15,7 @@
<!-- 评价图片区域 -->
<view class="image-list" v-if="item.evaluate_info.review_image && item.evaluate_info.review_image.length > 0">
<view class="image-item" v-for="(img, index) in parseReviewImages(item.evaluate_info.review_image)" :key="index">
<image :src="img" @tap="previewImage(parseReviewImages(item.evaluate_info.review_image), index)"></image>
<image :src="img"></image>
</view>
</view>
<text class="order-date">{{ item.evaluate_info.create_time }}</text>
@ -53,14 +53,6 @@ export default {
};
},
methods: {
//
previewImage(imageList, currentIndex) {
uni.previewImage({
urls: imageList,
current: currentIndex,
showmenu: true
});
},
//
parseReviewImages(reviewImage) {
try {

View File

@ -336,8 +336,7 @@ page {
}
.CateList_Item {
/* min-width: 110rpx; */
width: auto;
min-width: 110rpx;
height: 40rpx;
background: #F6F7FB;
border-radius: 10rpx 10rpx 10rpx 10rpx;