init commit
This commit is contained in:
@ -335,12 +335,12 @@ Page({
|
||||
phoneNumber: '15955151737',
|
||||
})
|
||||
},
|
||||
viewLogisticsDetails() {
|
||||
viewLogisticsDetails(e) {
|
||||
const { logisticsNum } = e.currentTarget.dataset
|
||||
wx.navigateTo({
|
||||
url: "/pages/logistics_details/logistics_details",
|
||||
url: `/pages/logistics_details/logistics_details`,
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
|
||||
|
||||
<!--待收货-->
|
||||
<view class="logistics-all" data-item='{{goods}}' catchtap="express" wx:if='{{goods.status==3}}'>
|
||||
<view class="logistics-all" data-item='{{goods}}' data-logistics-num="{{goods.logisticsNum}}" catchtap="viewLogisticsDetails" wx:if='{{goods.status==3}}'>
|
||||
<view class="logistics display_J_B">
|
||||
<view class="logistics-l display_J_S display_A_C">
|
||||
<image src="/icon/express_icon.png"></image>
|
||||
@ -118,8 +118,16 @@
|
||||
<view class="order-l">快速解决问题</view>
|
||||
<!-- <view class="order-r">暂无</view> -->
|
||||
<view class="contact-b">
|
||||
<button bind:tap="callCustomService" type="primary">客服电话</button>
|
||||
<button type="primary" plain open-type="contact">在线客服</button>
|
||||
<view bind:tap="callCustomService" class="contact-bth">
|
||||
<image style="width: 36rpx;height: 36rpx;margin-right: 12rpx;" src="/icon/kefu.svg" />
|
||||
客服电话
|
||||
</view>
|
||||
<view style="position: relative;" class="contact-bth">
|
||||
<image style="width: 36rpx; height: 36rpx; margin-right: 12rpx;" src="/icon/zaixiankefu.svg" />
|
||||
在线客服
|
||||
<button type="primary" class="open-type-contact" plain open-type="contact"></button>
|
||||
</view>
|
||||
<!-- <button bind:tap="callCustomService" type="primary"></button> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -130,15 +138,15 @@
|
||||
</view>
|
||||
<view class="code-cont">核销时请出示此核销码~</view>
|
||||
</view>
|
||||
<view class="display_J_A display_A_C">
|
||||
<button class="rounded-full" plain bind:tap="viewLogisticsDetails">查看物流</button>
|
||||
</view>
|
||||
<!-- <view class="display_J_E display_A_C">
|
||||
<button class="logistics-btn rounded-full" type="warn" size="mini" plain bind:tap="viewLogisticsDetails">查看物流</button>
|
||||
</view> -->
|
||||
<view style="height:230rpx;"></view>
|
||||
|
||||
<view wx:if="{{!shops}}">
|
||||
<view class="b-btn display_J_E display_A_C" wx:if="{{goods.status>2&&goods.status<6}}">
|
||||
<view class="btn" wx:if="{{goods.status==5||goods.status==4}}" catchtap="del">删除订单</view>
|
||||
<view class="btn" wx:if="{{goods.status==3}}" data-item='{{goods}}' catchtap="express">物流查询</view>
|
||||
<view class="btn" wx:if="{{goods.status==3}}" data-item='{{goods}}' data-logistics-num='{{goods.logisticsNum}}' catchtap="viewLogisticsDetails">物流查询</view>
|
||||
<view class="btn btn-red" catchtap="confirm" wx:if="{{goods.status==3}}">确认收货</view>
|
||||
</view>
|
||||
|
||||
|
||||
@ -323,16 +323,44 @@ page {
|
||||
}
|
||||
|
||||
.contact-b {
|
||||
margin-top: 20rpx;
|
||||
margin-top: 32rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.contact-bth {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.contact-bth:last-child {
|
||||
margin-left: 160rpx;
|
||||
}
|
||||
|
||||
.open-type-contact {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
z-index: 99;
|
||||
width: 100% !important;
|
||||
height: 100%;
|
||||
color: transparent !important;
|
||||
border-color: transparent !important;
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
||||
.rounded-full {
|
||||
border-radius: 9999px;
|
||||
}
|
||||
|
||||
.logistics-btn {
|
||||
margin-left: 0;
|
||||
margin-right: 40rpx;
|
||||
color: orange !important;
|
||||
border-color: orange !important;
|
||||
}
|
||||
|
||||
.code {
|
||||
width: 750rpx;
|
||||
height: 240rpx;
|
||||
|
||||
Reference in New Issue
Block a user