This commit is contained in:
weipengfei 2024-05-11 16:45:33 +08:00
parent dc02bca062
commit 31dfb56c17
1 changed files with 10 additions and 3 deletions

View File

@ -4,7 +4,7 @@
还剩<text>{{countDown}}</text>订单自动取消 还剩<text>{{countDown}}</text>订单自动取消
</view> </view>
<view class="m-card m-address" style="margin-top: 20rpx;"> <view class="m-card m-address" style="margin-top: 20rpx;">
<view class="address-info"> <view class="address-info" @click="callPhone(shopInfo.service_phone)">
<view class="top" style="align-items: flex-start;"> <view class="top" style="align-items: flex-start;">
<view style="color: #333;display: flex;align-items: center;"> <view style="color: #333;display: flex;align-items: center;">
<up-icon name="map"></up-icon> <up-icon name="map"></up-icon>
@ -20,8 +20,8 @@
</view> </view>
</view> </view>
</view> </view>
<view class="address-btn"> <view class="address-btn" v-if="shopInfo.paid==0">
<view style="width: 80px;"><up-button @click="shopListShow=true" size="small" shape="circle" <view style="width: 80px;"><up-button @click.stop="shopListShow=true" size="small" shape="circle"
color="#f6f6f6" :customStyle="{color:'#666666'}">修改</up-button></view> color="#f6f6f6" :customStyle="{color:'#666666'}">修改</up-button></view>
</view> </view>
</view> </view>
@ -385,6 +385,13 @@
}) })
} }
//
const callPhone = (phone)=>{
uni.makePhoneCall({
phoneNumber: phone
})
}
onLoad((option) => { onLoad((option) => {
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
title: option.type == 0 ? '等待付款' : '订单详情' title: option.type == 0 ? '等待付款' : '订单详情'