暂存代码
This commit is contained in:
@@ -79,7 +79,7 @@
|
||||
<!-- <view class="operate_comm operate_but_1" v-if="item.status === ORDER_TYPE.COMPLETED">申请退款</view> -->
|
||||
<view class="operate_comm operate_but_2" v-if="item.status === ORDER_TYPE.NOT_RECEIVE" @click="confirmReceiptOk(item)">确认收货</view>
|
||||
<!-- <view class="operate_comm operate_but_3" v-if="item.status === ORDER_TYPE.UNSHIPPED">提醒发货</view> -->
|
||||
<!-- <view class="operate_comm operate_but_1" v-if="item.status === ORDER_TYPE.COMPLETED">申请售后</view> -->
|
||||
<view class="operate_comm operate_but_1" v-if="[ORDER_TYPE.NOT_RECEIVE,ORDER_TYPE.UNSHIPPED].includes(item.status)" @click="afterShow=true;">申请售后</view>
|
||||
<!-- <view class="operate_comm operate_but_1" v-if="item.status === ORDER_TYPE.AFTER_SALE">查看售后</view> -->
|
||||
<!-- <view class="operate_comm operate_but_1" v-if="[ORDER_TYPE.COMPLETED].includes(item.status)">删除记录</view> -->
|
||||
<!-- <view class="operate_comm operate_but_3" v-if="[ORDER_TYPE.COMPLETED,ORDER_TYPE.CANCELED].includes(item.status)">再次购买</view> -->
|
||||
@@ -143,6 +143,51 @@
|
||||
</view>
|
||||
</view>
|
||||
</up-modal>
|
||||
<!-- 申请售后 -->
|
||||
<up-modal :show="afterShow" :showConfirmButton = "false">
|
||||
<view class="slot-content">
|
||||
<view class="close_warp" @click="afterShow=false;">
|
||||
<up-image src="/static/common/close.png" width="20" height="20" bgColor="#f1f6ff00"></up-image>
|
||||
</view>
|
||||
<view class="content_">
|
||||
<view class="content_1">售后联系方式</view>
|
||||
<view class="content_2">如遇退/换货等问题,请联系客服处理</view>
|
||||
<view class="content_3">
|
||||
<view style="margin-left: 20rpx;">
|
||||
<up-image src="/static/common/kf_dh.png" width="40" height="40" bgColor="#f1f6ff00"></up-image>
|
||||
</view>
|
||||
<view class="content_info">
|
||||
<view class="content_info_title">客服电话</view>
|
||||
<view class="content_info_mobile">
|
||||
139 2278 6999
|
||||
<view style="margin-left: 20rpx;">
|
||||
<up-image src="/static/common/copy_c.png" width="14" height="14" bgColor="#f1f6ff00" @click="copyMobile(13922786999)"></up-image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="content_3">
|
||||
<view style="margin-left: 20rpx;">
|
||||
<up-image src="/static/common/kf_wx.png" width="40" height="40" bgColor="#f1f6ff00"></up-image>
|
||||
</view>
|
||||
<view class="content_info">
|
||||
<view class="content_info_title">客服微信</view>
|
||||
<view class="content_info_mobile">
|
||||
139 2278 6999
|
||||
<view style="margin-left: 20rpx;">
|
||||
<up-image src="/static/common/copy_c.png" width="14" height="14" bgColor="#f1f6ff00" @click="copyMobile(13922786999)"></up-image>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="but_">
|
||||
<!-- <view class="but_copy" @click="copyMobile('13922786999')">复制号码</view> -->
|
||||
<view class="but_close" @click="afterShow=false;">确定</view>
|
||||
</view>
|
||||
</view>
|
||||
</up-modal>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -225,6 +270,7 @@
|
||||
},
|
||||
loading: false, // 加载状态标志
|
||||
openShow:false,
|
||||
afterShow:false,// 售后申请
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
@@ -237,6 +283,10 @@
|
||||
getValue,
|
||||
formatDate1,
|
||||
copyData,
|
||||
copyMobile(mobile){
|
||||
copyData(mobile);
|
||||
this.afterShow = false;
|
||||
},
|
||||
jumpLeft(){
|
||||
uni.switchTab({
|
||||
url: '/pages/mine/mine',
|
||||
@@ -286,6 +336,7 @@
|
||||
if(newData.entitys && newData.entitys.length !==0){
|
||||
this.orderList = [...this.orderList, ...newData.entitys]; // 将新数据添加到列表中
|
||||
this.form.page++; // 页码加1
|
||||
console.log("this.orderList",this.orderList);
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('加载数据失败:', error);
|
||||
@@ -517,4 +568,45 @@
|
||||
font-weight: bold;
|
||||
font-size: 18rpx;
|
||||
}
|
||||
.content_2{
|
||||
font-size: 26rpx;
|
||||
color: rgba(0,0,0,0.4);
|
||||
margin-bottom: 40rpx;
|
||||
}
|
||||
.content_3{
|
||||
display: flex;
|
||||
background: #FFFFFF;
|
||||
box-shadow: 0rpx 4rpx 12rpx 0rpx rgba(0,0,0,0.06);
|
||||
border-radius: 12rpx;
|
||||
.content_info{
|
||||
display: grid;
|
||||
margin-left: 20rpx;
|
||||
text-align: left;
|
||||
}
|
||||
.content_info_title{
|
||||
font-weight: 600;
|
||||
font-size: 26rpx;
|
||||
color: rgba(0,0,0,0.9);
|
||||
line-height: 38rpx;
|
||||
}
|
||||
.content_info_mobile{
|
||||
font-size: 30rpx;
|
||||
color: rgba(0,0,0,0.4);
|
||||
display: flex;
|
||||
}
|
||||
}
|
||||
.but_{
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
margin-top: 40rpx;
|
||||
}
|
||||
.but_close{
|
||||
background: #F24A00;
|
||||
box-shadow: 0rpx 4rpx 8rpx 0rpx rgba(242,74,0,0.5);
|
||||
border-radius: 41rpx;
|
||||
width: 60%;
|
||||
padding: 20rpx 0;
|
||||
font-size: 30rpx;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user